Hi,

There is now a maven accessible version of AspectJ that includes the
xmlconfigured option in AjcTask.  It is in this repository:

<repository>
   <id>maven.springframework.org</id>
   <name>SpringSource milestones</name>
   <url>http://maven.springframework.org/milestone</url>
</repository>

and is called 1.6.10.M1

This should allow you to say xmlConfigured="true" in the iajc task call.

Andy


On 12 July 2010 08:56, Andy Clement <[email protected]> wrote:
> Hi Candy,
>
> Unfortunately it is not yet in the AjcTask as it is a bit of a work in
> progress.  Unlike loadtime weaving, -xmlConfigured doesn't go hunting
> for aop.xml files, so it wouldn't actually discover the one in your
> jar file.  It only processes XML files passed to it - so it should
> work for you I think.  Let me see about putting the flag into AjdcTask
> and releasing a build snapshot including the change.
>
> Andy
>
> On 9 July 2010 17:50, Candy Chiu <[email protected]> wrote:
>> Andy,
>> Thanks for your detailed reply.
>> The example you gave is exactly the scenario I am facing except that I am
>> using a third party jar.  I can change the aop.xml in the jar, although I
>> prefer not to do so.  My project already includes an aop.xml that
>> selectively weave certain aspects using load time weaving.   In any case, I
>> am still stuck at compiling the code with maven.  Does the latest ajc ant
>> task include the -xmlConfigured option?  I can try embedding the ant task in
>> the pom.
>> Candy
>>
>>
>> _______________________________________________
>> aspectj-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>
>>
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to