[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] Help in Eclipse + AspectJ using AJDT
|
One problem with that, when I want to run the program I need to use the
Class files from the aspect project and since I do not have all other
libraries
And classes copied to the aspect project, I can not run them. Can I
Simply copy these modified files back to original java project manually
And run the existing launch scripts?
Is creating another source dir within the existing project a good
solution
as opposed to creating a separate project?
I am sure someone has solved this multi-project setup issue.
Srini
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Andy Clement
Sent: Wednesday, July 25, 2007 2:13 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Help in Eclipse + AspectJ using AJDT
Hmmmmmmm - if your aspect isn't independent of the base application then
I think you have to do it the other way round. Leave your java project
as pure java and use inpath on the aspect project.
On 24/07/07, Srinivas Palthepu <spalthepu@xxxxxxxxxxxxxx> wrote:
>
> >You either need it one way or the other. If you are weaving the
> standard java project with the aspect project >(using inpath on the
> aspect project) then the standard java project doesnt need to know
> anything about the
> >AspectJ project (dont create a dependency). If you are doing it the
> other way (using aspectpath after making
> > the standard java project an AspectJ one) then add the aspectj
> > project
> as a dependency for your standard java >
> >project - in this case the aspectj project does not need a dependency
> on the converted project.
>
> I am using the second case. But Aspects files in AspectJ project
> need to know the classes and packages
> in starndard project to which I am writing pointcuts and advices.
> If I do not put
> project dependencies those classes are not recognized. Is there a
> better way
> to make them vissible to AspectJ project?
>
> Srini
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users