AspectJ 1.5.0 takes a long time to build [message #66648] |
Sun, 30 July 2006 14:22  |
Eclipse User |
|
|
|
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 #66713 is a reply to message #66671] |
Sun, 30 July 2006 17:25  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.04563 seconds