deploy & debug ovirt in the intellij ide

By | 2013年4月5日

Before we start, we need intellij enterprise version and a register tool..
[url]

[Summary]
1. We should open the pom.xml file instead of the project directory.
2. Modify the extension of the directory in the project properties.
3. Modify the .m2 file in your personal directory to make jboss know where to deploy the project.
4. We need seperate run/debug config to make it clearer.

[Steps]
OVIRT_HOME=/home/demo
JBOSS_HOME=/usr/jboss-as
JDK=/usr/java/jdk1.7.0_17
$ cmd as demo
# cmd as root

1.Compile the ovirt from src
in $OVIRT_HOME

2.Deploy ovirt
You need ~/.m2/settings.xml file in /root/ and /home/demo directory.

in $OVIRT_HOME/ear

3.Run jboss
You should export an environment variant and a runtime configuration file.

UPDATE:
Now there is README.developer in the source dir, just follow it.

发表评论

邮箱地址不会被公开。