Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] POLL: How do you use ".lst" files with AJDT in Eclipse?

I use Maven for all of my builds.

Folder setup:
/src/
   /main/
       /aspects/
       /java/
       /resources/

project.xml
   <build>
       <nagEmailAddress>charlieh@xxxxxxxxx</nagEmailAddress>
       <sourceDirectory>src/main/java</sourceDirectory>
       <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
       <aspectSourceDirectory>src/main/aspects</aspectSourceDirectory>
   </build>

project.properties
maven.aspectj.debug = true
maven.compile.aspects = true
maven.aspectj.autoweave = true


> maven aspectj

That compiles all of my aspects in the "aspects" folder. I can also weave with aspects in a pre-compiled jar and weave into a pre-compiled jar of all class files.

       <dependency>
           <groupId>alloy-aspects</groupId>
           <type>jar</type>
           <artifactId>pre-compiled-aspects</artifactId>
           <version>1.0</version>
           <properties>
               <aspectj.weaveWith>true</aspectj.weaveWith>
           </properties>
       </dependency>

       <dependency>
           <groupId>alloy-jars</groupId>
           <type>jar</type>
           <artifactId>other-program-logic</artifactId>
           <version>1.0</version>
           <properties>
               <aspectj.weaveInto>true</aspectj.weaveInto>
           </properties>
       </dependency>


Hope some of that makes sense.  :)


Charlie





Mik Kersten said the following on 6/15/2004 1:12 PM:

To clarify, could those posting that they don't use an ".lst" expand their
statements along the following lines:
a) I don't use any kind of build configuration support to plug and unplug
aspects from my system.

b) I use another technique for build configurations. [e.g. In the Eclipse
IDE I use separate projects with different source folder configurations.]

Thanks,

Mik

-----Original Message-----
From: aspectj-users-admin@xxxxxxxxxxx [mailto:aspectj-users-
admin@xxxxxxxxxxx] On Behalf Of Alan Williamson
Sent: Tuesday, June 15, 2004 8:44 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] POLL: How do you use ".lst" files with AJDT
in Eclipse?



Charles N. Harvey III wrote:

I'm one of those who never use .lst files :)
Under eclipse I use the default .lst file.
i am the same i don't have any need for them

--
Alan Williamson, City Planner

w: http://www.BLOG-CITY.com/
b: http://alan.blog-city.com/
e: alan@xxxxxxxxxxxxx
p: http://www.blog-city.com/profiles/9.htm

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top