|
Re: AspectJ project dependent on normal java project [message #57212 is a reply to message #57185] |
Tue, 04 October 2005 15:12 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Matt Chapman![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=mpchapman%40gmail.com) Messages: 429 Registered: July 2009 |
Senior Member |
|
|
Hi Jason,
The first issue is unfortunately a known limitation - by using inpath it
only knows about the class files and isn't (yet) smart enough to figure
out when the source is in the workspace, and so link to it. One
alternative is to create linked source folders in the AspectJ project, so
then it thinks all the source code is local to the AspectJ project.
Although you might sometimes get issues with there appearing to be two
versions of each source file.
The second issue, the ever-increasing errors/warnings is clearly a bug -
no doubt specific to 3.2M2, as it doesn't seem to do that on 3.1. Please
raise a bug for this.
Regards,
Matt.
Jason King wrote:
> Hi,
> Java Version: 1.5.0_05 (win xpsp2)
> Eclipse: 3.2M2
> AJDT: 1.3.020050923175100
> I'm trying to create an AspectJ project to monitor the coding standards on
> serveral "vanilla" java projects.
> I created my AspectJ project, and added my Java projects to the build path
> as dependent projects (and exported the required entries). I put the
> output path (bin) in the AspectJ inpath.
> The Cross References View and Problems Tab don't seem to properly report
> the source file where my advice applies in the java project.
> e.g.
> In the cross references view, the advice is reported as "binary aspect:
> File.java" however I cannot click on it to take me to the location as I
> can normally.
> Also, the number of errors/warnings in the problems tab keeps on
> increasing each time I touch any java file and save it (the number doubles
> each time).
> I've tried changing the aspect-J compiler options, (incremental etc) but
> this does not help. The only way to reset the list of reported
> errors/problems is to clean all the projects.
> Any suggestions on how to fix this problem would be really helpful. I can
> log a bug if you think this a valid problem.
> Thanks
> Jason King
|
|
|
|
Re: AspectJ project dependent on normal java project [message #590282 is a reply to message #57185] |
Tue, 04 October 2005 15:12 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Matt Chapman![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=mpchapman%40gmail.com) Messages: 429 Registered: July 2009 |
Senior Member |
|
|
Hi Jason,
The first issue is unfortunately a known limitation - by using inpath it
only knows about the class files and isn't (yet) smart enough to figure
out when the source is in the workspace, and so link to it. One
alternative is to create linked source folders in the AspectJ project, so
then it thinks all the source code is local to the AspectJ project.
Although you might sometimes get issues with there appearing to be two
versions of each source file.
The second issue, the ever-increasing errors/warnings is clearly a bug -
no doubt specific to 3.2M2, as it doesn't seem to do that on 3.1. Please
raise a bug for this.
Regards,
Matt.
Jason King wrote:
> Hi,
> Java Version: 1.5.0_05 (win xpsp2)
> Eclipse: 3.2M2
> AJDT: 1.3.020050923175100
> I'm trying to create an AspectJ project to monitor the coding standards on
> serveral "vanilla" java projects.
> I created my AspectJ project, and added my Java projects to the build path
> as dependent projects (and exported the required entries). I put the
> output path (bin) in the AspectJ inpath.
> The Cross References View and Problems Tab don't seem to properly report
> the source file where my advice applies in the java project.
> e.g.
> In the cross references view, the advice is reported as "binary aspect:
> File.java" however I cannot click on it to take me to the location as I
> can normally.
> Also, the number of errors/warnings in the problems tab keeps on
> increasing each time I touch any java file and save it (the number doubles
> each time).
> I've tried changing the aspect-J compiler options, (incremental etc) but
> this does not help. The only way to reset the list of reported
> errors/problems is to clean all the projects.
> Any suggestions on how to fix this problem would be really helpful. I can
> log a bug if you think this a valid problem.
> Thanks
> Jason King
|
|
|
|
Powered by
FUDForum. Page generated in 0.03974 seconds