[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] IBM's Websphere App Developer Issue
- From: "Dale Asberry" <lists@xxxxxxxxxxxxxxx>
- Date: Thu, 06 Jan 2005 13:49:03 -0500
- Delivered-to: firstname.lastname@example.org
This problem occurs because the WSAD-AspectJ combo somehow gets confused with the libraries that use the replaceable variable names. If you go through your project and replace the path variables with hard-coded paths, your problem will go away.
> From: "Chandra Sreeraman" <chandra@xxxxxxxxxxx>
> Subject: Re: [aspectj-users] IBM's Websphere App Developer Issue
> Sent: 06 Jan 2005 12:05:44
> Thanks for volunteering. This problem has also been reported on JavaRanch site :http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=14&t=000438.
> My WSAD version is 5.1.1 and the Eclispe AspectJ Development tools 1.1.4. plugin. I use a W2K machine and run the project locally to test.
> The issue:
> We have a mid-size J2EE project with 6 components - the traditional EAR, Client, EJB, Web projects, plus a persistance layer and a messaging layer. I have no trouble adding AspectJ nature to the pure-java projects (persistence layer and the messaging layer). If I try it with the Web or EJB projects, I get a compile error (Compile failed: reason compile failed) and the stack trace below. If I remove references to the other projects (e.g., on the web project, if I remove the EJB, persistance and messaging projects) from the class path, the compile using AspectJ compiler goes through (with any build configaration specified).
> Hope this explanation helps. Adrian mentioned sending a sample project - should i create an EAR and send it to this e-mail address?