You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nicolas de loof <ni...@gmail.com> on 2006/12/22 10:48:40 UTC

AspectJ plugin and java 1.3 target JRE

Hello,

My project will run under Java 1.3, so I've configured the compiler plugin
to use a custom bootclasspath that points to Java1.3 rt.jar.

I'd like to do the same for the AspectJ compiler. According to
http://jira.codehaus.org/browse/MPASPECTJ-22, the aspectJ plugin doesn't
allow to configure the existing option of AJC.

Is there any alternative to set this option, or do I need to wait this issue
to be solved ? Beeing one year old with no vote (expect mine), it may take
some time...

Nico.

Re: AspectJ plugin and java 1.3 target JRE

Posted by nicolas de loof <ni...@gmail.com>.
I'll take a look and try to create a patch.
Thanks for the link.

2006/12/22, Tom Huybrechts <to...@gmail.com>:
>
> You can always try to fix it yourself...
>
> Take a look at
> https://svn.codehaus.org/mojo/trunk/mojo/aspectj-maven-plugin/src/main/java/org/codehaus/mojo/aspectj/AbstractAjcCompiler.java
>
> It doesn't look like it would be that hard to add a new parameter and
> pass it to the compiler.
>
> tom
>
> On 12/22/06, nicolas de loof <ni...@gmail.com> wrote:
> > Hello,
> >
> > My project will run under Java 1.3, so I've configured the compiler
> plugin
> > to use a custom bootclasspath that points to Java1.3 rt.jar.
> >
> > I'd like to do the same for the AspectJ compiler. According to
> > http://jira.codehaus.org/browse/MPASPECTJ-22, the aspectJ plugin doesn't
> > allow to configure the existing option of AJC.
> >
> > Is there any alternative to set this option, or do I need to wait this
> issue
> > to be solved ? Beeing one year old with no vote (expect mine), it may
> take
> > some time...
> >
> > Nico.
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: AspectJ plugin and java 1.3 target JRE

Posted by Tom Huybrechts <to...@gmail.com>.
You can always try to fix it yourself...

Take a look at https://svn.codehaus.org/mojo/trunk/mojo/aspectj-maven-plugin/src/main/java/org/codehaus/mojo/aspectj/AbstractAjcCompiler.java

It doesn't look like it would be that hard to add a new parameter and
pass it to the compiler.

tom

On 12/22/06, nicolas de loof <ni...@gmail.com> wrote:
> Hello,
>
> My project will run under Java 1.3, so I've configured the compiler plugin
> to use a custom bootclasspath that points to Java1.3 rt.jar.
>
> I'd like to do the same for the AspectJ compiler. According to
> http://jira.codehaus.org/browse/MPASPECTJ-22, the aspectJ plugin doesn't
> allow to configure the existing option of AJC.
>
> Is there any alternative to set this option, or do I need to wait this issue
> to be solved ? Beeing one year old with no vote (expect mine), it may take
> some time...
>
> Nico.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: AspectJ plugin and java 1.3 target JRE

Posted by nicolas de loof <ni...@gmail.com>.
I've created MOJO-606 for this and attached a patch.

Nico.

2006/12/22, nicolas de loof <ni...@gmail.com>:
>
> I was searching for the m2 plugin.
> I have no maven1 project that uses AspectJ compiler targeting a pre-java5
> runtime, so I have no build ready for testing a fix.
>
> Is there any similar issue for the AspectJ Mojo ?
>
>
> 2006/12/22, Lukas Theussl <lt...@apache.org>:
> >
> > MPASPECTJ-22 is for the m1 plugin. If this is what you want, it can be
> > fixed easily but I need someone to test it. Let me know if you're
> > interested.
> >
> > Cheers,
> > -Lukas
> >
> > nicolas de loof wrote:
> > > Hello,
> > >
> > > My project will run under Java 1.3, so I've configured the compiler
> > plugin
> > > to use a custom bootclasspath that points to Java1.3 rt.jar.
> > >
> > > I'd like to do the same for the AspectJ compiler. According to
> > > http://jira.codehaus.org/browse/MPASPECTJ-22, the aspectJ plugin
> > doesn't
> > > allow to configure the existing option of AJC.
> > >
> > > Is there any alternative to set this option, or do I need to wait this
> > > issue
> > > to be solved ? Beeing one year old with no vote (expect mine), it may
> > take
> > > some time...
> > >
> > > Nico.
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: AspectJ plugin and java 1.3 target JRE

Posted by nicolas de loof <ni...@gmail.com>.
I was searching for the m2 plugin.
I have no maven1 project that uses AspectJ compiler targeting a pre-java5
runtime, so I have no build ready for testing a fix.

Is there any similar issue for the AspectJ Mojo ?


2006/12/22, Lukas Theussl <lt...@apache.org>:
>
> MPASPECTJ-22 is for the m1 plugin. If this is what you want, it can be
> fixed easily but I need someone to test it. Let me know if you're
> interested.
>
> Cheers,
> -Lukas
>
> nicolas de loof wrote:
> > Hello,
> >
> > My project will run under Java 1.3, so I've configured the compiler
> plugin
> > to use a custom bootclasspath that points to Java1.3 rt.jar.
> >
> > I'd like to do the same for the AspectJ compiler. According to
> > http://jira.codehaus.org/browse/MPASPECTJ-22, the aspectJ plugin doesn't
> > allow to configure the existing option of AJC.
> >
> > Is there any alternative to set this option, or do I need to wait this
> > issue
> > to be solved ? Beeing one year old with no vote (expect mine), it may
> take
> > some time...
> >
> > Nico.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: AspectJ plugin and java 1.3 target JRE

Posted by Lukas Theussl <lt...@apache.org>.
MPASPECTJ-22 is for the m1 plugin. If this is what you want, it can be 
fixed easily but I need someone to test it. Let me know if you're 
interested.

Cheers,
-Lukas

nicolas de loof wrote:
> Hello,
> 
> My project will run under Java 1.3, so I've configured the compiler plugin
> to use a custom bootclasspath that points to Java1.3 rt.jar.
> 
> I'd like to do the same for the AspectJ compiler. According to
> http://jira.codehaus.org/browse/MPASPECTJ-22, the aspectJ plugin doesn't
> allow to configure the existing option of AJC.
> 
> Is there any alternative to set this option, or do I need to wait this 
> issue
> to be solved ? Beeing one year old with no vote (expect mine), it may take
> some time...
> 
> Nico.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org