<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 07/03/2013 03:02 PM, Roy Golan
      wrote:<br>
    </div>
    <blockquote cite="mid:51D412DE.8000406@redhat.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      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>
      &nbsp; 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 moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://gerrit.ovirt.org/16395">http://gerrit.ovirt.org/16395</a>
      to rectify that.<br>
      <br>
    </blockquote>
    now its working cleaner. a one liner to re-build the frontend and
    the server ear which its dependent on:<br>
    <i>&nbsp;&nbsp;&nbsp; make clean install-dev PREFIX=$HOME/ovirt-engine&nbsp;
      EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.ui:frontend-all -amd"</i><br>
    <blockquote cite="mid:51D412DE.8000406@redhat.com" type="cite"> 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>
    </blockquote>
    <br>
    <blockquote cite="mid:51D412DE.8000406@redhat.com" type="cite"> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Engine-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>