This is a multi-part message in MIME format.
--------------020804090700040200030704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
For those of us of dream of clean install a single project like maven
please note that
mvn has a flag which enables you to build a specific artifact even if
your not at that directory
mvn -pl groupID:artifactId
so say you modified a single class in vdsbroker do this:
/make clean install-dev PREFIX=$HOME/ovirt-engine
DEV_EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.core:vdsbroker"
EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.core:vdsbroker"/
note: the usage of DEV_EXTRA_BUILD_FLAGS and EXTRA_BUILD_FLAGS is not a
mistake. the "clean" target uses EXTRA_BUILD_FLAGS - please review
http://gerrit.ovirt.org/16395 to rectify that.
now make the ear:
/make clean install-dev PREFIX=$HOME/ovirt-engine
DEV_EXTRA_BUILD_FLAGS="-pl org.ovirt.engine:engine-server-ear"
EXTRA_BUILD_FLAGS="-pl org.ovirt.engine:engine-server-ear"/
now your updated artifact is in place.
Thanks,
Roy
--------------020804090700040200030704
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
For those of us of dream of clean install a single project like
maven please note that<br>
mvn has a flag which enables you to build a specific artifact even
if your not at that directory<br>
<br>
mvn -pl groupID:artifactId<br>
<br>
so say you modified a single class in vdsbroker do this:<br>
<br>
<i>make clean install-dev PREFIX=$HOME/ovirt-engine
DEV_EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.core:vdsbroker"
EXTRA_BUILD_FLAGS="-pl
org.ovirt.engine.core:vdsbroker"</i><br>
<br>
note: the usage of DEV_EXTRA_BUILD_FLAGS and EXTRA_BUILD_FLAGS is
not a mistake. the "clean" target uses EXTRA_BUILD_FLAGS - please
review <br>
<a class="moz-txt-link-freetext"
href="http://gerrit.ovirt.org/16395">http://gerrit.ovirt.org...
to rectify that.<br>
<br>
now make the ear:<br>
<br>
<i>make clean install-dev PREFIX=$HOME/ovirt-engine
DEV_EXTRA_BUILD_FLAGS="-pl org.ovirt.engine:engine-server-ear"
EXTRA_BUILD_FLAGS="-pl
org.ovirt.engine:engine-server-ear"</i><br>
<br>
<br>
now your updated artifact is in place.<br>
<br>
Thanks,<br>
Roy<br>
</body>
</html>
--------------020804090700040200030704--