Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AspectJ 1.5.0 takes a long time to build
AspectJ 1.5.0 takes a long time to build [message #66648] Sun, 30 July 2006 14:22 Go to next message
Asaf is currently offline Asaf
Messages: 36
Registered: July 2009
Member
Hi all,

I am using Aspectj version 1.5.0 in my project.
The problem is that AspectJ build process takes a very long time (20-30
seconds approx.).
This time period is almost a constant for this project.

The project size is of about 900-1000 classes.
Is that reasonale time period for the AspectJ Builder?
Re: AspectJ 1.5.0 takes a long time to build [message #66671 is a reply to message #66648] Sun, 30 July 2006 15:26 Go to previous messageGo to next message
Eclipse User
Originally posted by: clemas.uk.ibm.com

Asaf Lahav wrote:
> Hi all,
>
> I am using Aspectj version 1.5.0 in my project.
> The problem is that AspectJ build process takes a very long time (20-30
> seconds approx.).
> This time period is almost a constant for this project.
>
> The project size is of about 900-1000 classes.
> Is that reasonale time period for the AspectJ Builder?
>
>

Are you in eclipse using AJDT or on the command line using ajc or Ant ?
AspectJ1.5.0 was quite memory hungry - 1.5.2 has since improved things
and the imminent dev builds are going to improve it even further. What
Xmx value are you using? it may be thrashing in garbage collection if it
is too low?

Is it still pure Java code (ie. have you added any aspects yet) - if you
have not, how long does javac take to build it?

Andy.
Re: AspectJ 1.5.0 takes a long time to build [message #66692 is a reply to message #66671] Sun, 30 July 2006 17:18 Go to previous messageGo to next message
Asaf is currently offline Asaf
Messages: 36
Registered: July 2009
Member
Hi Andy,

Yes, I am using Eclipse.
Is AspectJ 1.5.2 the latest released version?
My Xmx value is currently configured on 512mb.
Unfotunately I already incoporated AspectJ into my project. So I dont know
how long it takes for the javac to compile it.
However, when I perform the build using eclipse, the AspectJ builder takes
considerably longer than the Java builder.



"Andy Clement" <clemas@uk.ibm.com> wrote in message
news:eaj14d$4up$1@utils.eclipse.org...
> Asaf Lahav wrote:
>> Hi all,
>>
>> I am using Aspectj version 1.5.0 in my project.
>> The problem is that AspectJ build process takes a very long time (20-30
>> seconds approx.).
>> This time period is almost a constant for this project.
>>
>> The project size is of about 900-1000 classes.
>> Is that reasonale time period for the AspectJ Builder?
>
> Are you in eclipse using AJDT or on the command line using ajc or Ant ?
> AspectJ1.5.0 was quite memory hungry - 1.5.2 has since improved things and
> the imminent dev builds are going to improve it even further. What Xmx
> value are you using? it may be thrashing in garbage collection if it is
> too low?
>
> Is it still pure Java code (ie. have you added any aspects yet) - if you
> have not, how long does javac take to build it?
>
> Andy.
Re: AspectJ 1.5.0 takes a long time to build [message #66713 is a reply to message #66671] Sun, 30 July 2006 17:25 Go to previous message
Asaf is currently offline Asaf
Messages: 36
Registered: July 2009
Member
I downloaded the AspectJ 1.5.2 version.

The eclipse also has an ASPECTJRT_LIB.jar in the build path which is of
version 1.5.0.
Is it enough to replace the 1.5.0v using the 1.5.2v in my build path?


"Andy Clement" <clemas@uk.ibm.com> wrote in message
news:eaj14d$4up$1@utils.eclipse.org...
> Asaf Lahav wrote:
>> Hi all,
>>
>> I am using Aspectj version 1.5.0 in my project.
>> The problem is that AspectJ build process takes a very long time (20-30
>> seconds approx.).
>> This time period is almost a constant for this project.
>>
>> The project size is of about 900-1000 classes.
>> Is that reasonale time period for the AspectJ Builder?
>
> Are you in eclipse using AJDT or on the command line using ajc or Ant ?
> AspectJ1.5.0 was quite memory hungry - 1.5.2 has since improved things and
> the imminent dev builds are going to improve it even further. What Xmx
> value are you using? it may be thrashing in garbage collection if it is
> too low?
>
> Is it still pure Java code (ie. have you added any aspects yet) - if you
> have not, how long does javac take to build it?
>
> Andy.
Re: AspectJ 1.5.0 takes a long time to build [message #594564 is a reply to message #66648] Sun, 30 July 2006 15:26 Go to previous message
Andrew Clement is currently offline Andrew Clement
Messages: 162
Registered: July 2009
Senior Member
Asaf Lahav wrote:
> Hi all,
>
> I am using Aspectj version 1.5.0 in my project.
> The problem is that AspectJ build process takes a very long time (20-30
> seconds approx.).
> This time period is almost a constant for this project.
>
> The project size is of about 900-1000 classes.
> Is that reasonale time period for the AspectJ Builder?
>
>

Are you in eclipse using AJDT or on the command line using ajc or Ant ?
AspectJ1.5.0 was quite memory hungry - 1.5.2 has since improved things
and the imminent dev builds are going to improve it even further. What
Xmx value are you using? it may be thrashing in garbage collection if it
is too low?

Is it still pure Java code (ie. have you added any aspects yet) - if you
have not, how long does javac take to build it?

Andy.
Re: AspectJ 1.5.0 takes a long time to build [message #594574 is a reply to message #66671] Sun, 30 July 2006 17:18 Go to previous message
Asaf is currently offline Asaf
Messages: 36
Registered: July 2009
Member
Hi Andy,

Yes, I am using Eclipse.
Is AspectJ 1.5.2 the latest released version?
My Xmx value is currently configured on 512mb.
Unfotunately I already incoporated AspectJ into my project. So I dont know
how long it takes for the javac to compile it.
However, when I perform the build using eclipse, the AspectJ builder takes
considerably longer than the Java builder.



"Andy Clement" <clemas@uk.ibm.com> wrote in message
news:eaj14d$4up$1@utils.eclipse.org...
> Asaf Lahav wrote:
>> Hi all,
>>
>> I am using Aspectj version 1.5.0 in my project.
>> The problem is that AspectJ build process takes a very long time (20-30
>> seconds approx.).
>> This time period is almost a constant for this project.
>>
>> The project size is of about 900-1000 classes.
>> Is that reasonale time period for the AspectJ Builder?
>
> Are you in eclipse using AJDT or on the command line using ajc or Ant ?
> AspectJ1.5.0 was quite memory hungry - 1.5.2 has since improved things and
> the imminent dev builds are going to improve it even further. What Xmx
> value are you using? it may be thrashing in garbage collection if it is
> too low?
>
> Is it still pure Java code (ie. have you added any aspects yet) - if you
> have not, how long does javac take to build it?
>
> Andy.
Re: AspectJ 1.5.0 takes a long time to build [message #594582 is a reply to message #66671] Sun, 30 July 2006 17:25 Go to previous message
Asaf is currently offline Asaf
Messages: 36
Registered: July 2009
Member
I downloaded the AspectJ 1.5.2 version.

The eclipse also has an ASPECTJRT_LIB.jar in the build path which is of
version 1.5.0.
Is it enough to replace the 1.5.0v using the 1.5.2v in my build path?


"Andy Clement" <clemas@uk.ibm.com> wrote in message
news:eaj14d$4up$1@utils.eclipse.org...
> Asaf Lahav wrote:
>> Hi all,
>>
>> I am using Aspectj version 1.5.0 in my project.
>> The problem is that AspectJ build process takes a very long time (20-30
>> seconds approx.).
>> This time period is almost a constant for this project.
>>
>> The project size is of about 900-1000 classes.
>> Is that reasonale time period for the AspectJ Builder?
>
> Are you in eclipse using AJDT or on the command line using ajc or Ant ?
> AspectJ1.5.0 was quite memory hungry - 1.5.2 has since improved things and
> the imminent dev builds are going to improve it even further. What Xmx
> value are you using? it may be thrashing in garbage collection if it is
> too low?
>
> Is it still pure Java code (ie. have you added any aspects yet) - if you
> have not, how long does javac take to build it?
>
> Andy.
Previous Topic:AspectJ 1.5.0 takes a long time to build
Next Topic:AJDT 1.3.2 for Eclipse 3.1.2 released
Goto Forum:
  


Current Time: Sat Aug 30 20:29:08 EDT 2014

Powered by FUDForum. Page generated in 0.01863 seconds