You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by José Ricardo da Silva <da...@gmail.com> on 2009/02/10 19:34:44 UTC

What's the fastest way to compile a just-compiled axis2 war?

Hi, I'm new to axis2 development. I'd like to know if there's a mvn
directive which I can use to compile the axis2 war faster.
By now I'm using the following command:

mvn -Drelease -Dtest=false install

But it keeps compiling a huge amount of things. I usually modify only
a couple of lines in the axis-kernel module.
Isn't there a way to reuse what a I have previously compiled?

Thank you very much,

José Ricardo.

Re: What's the fastest way to compile a just-compiled axis2 war?

Posted by José Ricardo da Silva <da...@gmail.com>.
Hi, thank you for your answers.

-o made things faster and instead of using "-Drelease install" I used
just "package" and I could cut the build time by a half (3 min and
some seconds).

That was still too much for me. Then, I noticed that after axis2.war
is deployed in Tomcat (which I'm using to make the tests) it
"explodes" it in the axis2/WEB-INF/lib directory. Now I just build the
kernel module and update the kernel jar file in the tomcat lib
directory and everything is fine.

Best regards,

José Ricardo.

On Wed, Feb 11, 2009 at 6:10 AM, keith chapman <ke...@gmail.com> wrote:
> Well you could just compile the axis2-kernel and replace the jar in the war.
> That would be the fastest way to do it.
>
> Thanks,
> Keith.
>
> On Wed, Feb 11, 2009 at 2:10 PM, Simon Massey <si...@60hertz.com> wrote:
>>
>> If you use "-o" then maven will work in offline mode which shaves off a
>> little bit of time.
>>
>> rgds
>>
>> Simon
>>
>> José Ricardo da Silva wrote:
>>>
>>> Hi, I'm new to axis2 development. I'd like to know if there's a mvn
>>> directive which I can use to compile the axis2 war faster.
>>> By now I'm using the following command:
>>>
>>> mvn -Drelease -Dtest=false install
>>>
>>> But it keeps compiling a huge amount of things. I usually modify only
>>> a couple of lines in the axis-kernel module.
>>> Isn't there a way to reuse what a I have previously compiled?
>>>
>>> Thank you very much,
>>>
>>> José Ricardo.
>>>
>>
>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>

Re: What's the fastest way to compile a just-compiled axis2 war?

Posted by keith chapman <ke...@gmail.com>.
Well you could just compile the axis2-kernel and replace the jar in the war.
That would be the fastest way to do it.

Thanks,
Keith.

On Wed, Feb 11, 2009 at 2:10 PM, Simon Massey <si...@60hertz.com> wrote:

>
> If you use "-o" then maven will work in offline mode which shaves off a
> little bit of time.
>
> rgds
>
> Simon
>
>
> José Ricardo da Silva wrote:
>
>> Hi, I'm new to axis2 development. I'd like to know if there's a mvn
>> directive which I can use to compile the axis2 war faster.
>> By now I'm using the following command:
>>
>> mvn -Drelease -Dtest=false install
>>
>> But it keeps compiling a huge amount of things. I usually modify only
>> a couple of lines in the axis-kernel module.
>> Isn't there a way to reuse what a I have previously compiled?
>>
>> Thank you very much,
>>
>> José Ricardo.
>>
>>
>
>


-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Re: What's the fastest way to compile a just-compiled axis2 war?

Posted by Simon Massey <si...@60hertz.com>.
If you use "-o" then maven will work in offline mode which shaves off a 
little bit of time.

rgds

Simon

José Ricardo da Silva wrote:
> Hi, I'm new to axis2 development. I'd like to know if there's a mvn
> directive which I can use to compile the axis2 war faster.
> By now I'm using the following command:
>
> mvn -Drelease -Dtest=false install
>
> But it keeps compiling a huge amount of things. I usually modify only
> a couple of lines in the axis-kernel module.
> Isn't there a way to reuse what a I have previously compiled?
>
> Thank you very much,
>
> José Ricardo.
>