[ovirt-devel] How to build a particular module of code
Roy Golan
rgolan at redhat.com
Tue Oct 17 19:54:01 UTC 2017
The answer is in the pom.xml of uicommonweb, in its groupId:
grep parent -A 1 frontend/webadmin/modules/uicommonweb/pom.xml
So change it to "-pl *org.ovirt.engine.ui*:uicommonweb"
On Tue, 17 Oct 2017 at 21:54 shubham dubey <sdubey504 at gmail.com> wrote:
> Hi,
> I have tried to build uicommonweb alone using
> make install-dev PREFIX="$HOME/ovirt-engine" EXTRA_BUILD_FLAGS="-pl
> org.ovirt.engine.core:uicommonweb"
>
> but getting error that
> [ERROR] Could not find the selected project in the reactor:
> org.ovirt.engine.core:uicommonweb
>
> Am I doing something wrong?
>
> On Tue, Oct 17, 2017 at 11:50 PM, shubham dubey <sdubey504 at gmail.com>
> wrote:
>
>> Thanks,
>> This is exactly what I needed:)
>>
>> On Tue, Oct 17, 2017 at 11:37 PM, Greg Sheremeta <gshereme at redhat.com>
>> wrote:
>>
>>> I never do it, but
>>>
>>>
>>> https://www.ovirt.org/develop/developer-guide/engine/engine-development-environment
>>> has an example :
>>>
>>>
>>> To rebuild a single artifact, for example utils:
>>>
>>> make clean install-dev PREFIX=$HOME/ovirt-engine \
>>> EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.core:utils"
>>>
>>>
>>> You can also disable animal sniffer, check style, unit tests, and GWT to
>>> speed things up. Just make sure they actually run before you push :)
>>>
>>> Greg
>>>
>>> On Oct 17, 2017 1:56 PM, "shubham dubey" <sdubey504 at gmail.com> wrote:
>>>
>>>> Hi,
>>>> I have a simple query.
>>>>
>>>> Whenever I do any change in my code I
>>>> run "make install-dev PREFIX="$HOME/ovirt-engine"".
>>>> But it takes a large time to compile.
>>>> I think there is a way to compile only that part of code
>>>> which I have changed. Like if I make changes in
>>>> uicommonweb then, how I compile only that part?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Shubham
>>>>
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>>
>>>
>>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20171017/a1f0bdb2/attachment.html>
More information about the Devel
mailing list