[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AJDT and build script generation

Hi Ron,

We have separate wizards for "Create Ant build file with AspectJ
support" for plug-ins, export as "JAR file with AspectJ support", and
export as "Eclipse Product with AspectJ support" etc, but we're
missing the general export as "Ant Buildfiles with AspectJ support".
Please raise an AJDT enhancement request for this.

Of course the ideal scenario would be for Eclipse to delegate the
build script generation to the project builder - we've raised this
request against PDE as bug 124467. Actually such an enhancement would
probably be needed at the platform level, not PDE, so I need to think
about this further. It's far too late for anything to happen in time
for Eclipse 3.2, but we can push for this after that release - for now
we have to live with all these "blah with AspectJ support" additions.

Also there's a little bit more to the build script generation as you
need a taskdef for iajc, and we set some different options, such as
giving iajc a little extra memory :)



On 12/05/06, Ron DiFrango <rdifrango@xxxxxxxxxxxxxxxxxxx> wrote:

I noticed an oddity when I was attempting to leverage Eclipse's built in ANT script export feature, when I did this, the generated build script still calls javac, instead of iajc.  Now I know this is a relatively trivial task, but it would be nice if during this process it generated the correct compiler call.  Here is the output I am talking about:

<javac destdir="Web Root/WEB-INF/classes">
            <src path="src"/>
            <classpath refid="project.classpath"/>