james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Carrasco Moñino <man...@apache.org>
Subject Re: hupa build very slow
Date Wed, 17 Feb 2010 17:30:05 GMT
I'm using ubuntu 9.10 and Eclipse Galileo.
When I make a clean from eclipse (Project->clean) it takes about 20-30
seconds to rebuild all the classes. When I change a class it compiles
instantaneously.
Running the project in develop mode (Run -> run as -> web app) takes a
while until the browser is ready to communicate with eclipse but not
more than 60 seconds.

I don't run any maven goal from eclipse because it is not necessary,
but I have checked two goals and these are the results: maven test
(run -> run as -> maven test) take 16 seconds, and a full build takes
a very long time (run -> run as -> maven package), but this is normal
because you only need to package the project when you need to deploy
the war in a servlet container.

Maybe you are packaging the project and you what this process to be
faster, but this is the normal behavior of GWT applications, think
that all the java code for the client side has to be converted to
javascript, this is a complex process which includes compilation,
bundle, permutations for each browser/language pair, obfuscate,
compress, etc.

Cheers
Manolo


On Wed, Feb 17, 2010 at 12:08 PM, Avdhesh Yadav <avd@avdheshyadav.com> wrote:
> Yes i am using both maven and google plugin for eclipse...
> my os is Ubuntu 8.04
>
> On Wed, Feb 17, 2010 at 4:14 PM, Manuel Carrasco Moñino
> <manolo@apache.org>wrote:
>
>> It's weird, because for me, once maven has downloaded all the stuff,
>> eclipse works fast enough.
>> Are you using both maven and google plugin for eclipse?. What is your OS?
>>
>> On Mon, Feb 15, 2010 at 12:37 PM, Avdhesh Yadav <avd@avdheshyadav.com>
>> wrote:
>> > Build is slow on eclipse..On  command line its ok...
>> >
>> >
>> > On Mon, Feb 15, 2010 at 12:55 PM, Manuel Carrasco Moñino
>> > <manolo@apache.org>wrote:
>> >
>> >> Are you using maven in command line, or the slow build is in eclipse?
>> >>
>> >> Think that building hupa (mvn package)is a slow process because client
>> >> part has to be compiled into javascript. Nevertheless, compiling or
>> >> testing should be faster (mvn compile test).
>> >>
>> >> Manolo
>> >>
>> >> On Sun, Feb 14, 2010 at 6:13 AM, Avdhesh Yadav <avd@avdheshyadav.com>
>> >> wrote:
>> >> > Hupa build seems to be very slow using m2eclipse plugin.
>> >> > Environment: ubuntu 8.04,java 1.6_17 , eclipse 3.5.1
>> >> >
>> >> > Anyone else having same issue ?
>> >> >
>> >> > [INFO] Reactor Summary:
>> >> > [INFO]
>> >> >
>> ------------------------------------------------------------------------
>> >> > [INFO] hupa-parent ........................................... SUCCESS
>> >> > [1.195s]
>> >> > [INFO] hupa-shared ........................................... SUCCESS
>> >> > [3.257s]
>> >> > [INFO] hupa-server ........................................... SUCCESS
>> >> > [12.569s]
>> >> > [INFO] hupa-widgets .......................................... SUCCESS
>> >> > [1.720s]
>> >> > [INFO] hupa .................................................. SUCCESS
>> >> > [6:54.674s]
>> >> > [INFO]
>> >> >
>> ------------------------------------------------------------------------
>> >> > [INFO]
>> >> >
>> ------------------------------------------------------------------------
>> >> > [INFO] BUILD SUCCESSFUL
>> >> > [INFO]
>> >> >
>> ------------------------------------------------------------------------
>> >> > [INFO] Total time: 7 minutes 15 seconds
>> >> > [INFO] Finished at: Sun Feb 14 10:41:29 IST 2010
>> >> > [INFO] Final Memory: 15M/55M
>> >> >
>> >> > --
>> >> > Avdhesh Yadav
>> >> > http://www.avdheshyadav.com
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> >> For additional commands, e-mail: server-dev-help@james.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > Avdhesh Yadav
>> > http://www.avdheshyadav.com
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>
>
> --
> Avdhesh Yadav
> http://www.avdheshyadav.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message