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
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel