[ovirt-devel] How to build a particular module of code

shubham dubey sdubey504 at gmail.com
Tue Oct 17 18:53:34 UTC 2017


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
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20171018/4b815ca3/attachment.html>


More information about the Devel mailing list