Message:

   The following issue has been closed.

   Resolver: Vincent Massol
       Date: Fri, 7 May 2004 3:29 PM

Hi Chad,

We have just committed in CVS a new rewrite of the plugin (version 3.0-SNAPSHOT). I'm 
closing this issue. Let us know if you have the same problem with this version.

Thanks
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPASPECTJ-4

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-4
    Summary: AspectJ iajc 1.1 task fails under JDK 1.4 (works fine under Ant)
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

 Original Estimate: 12 weeks
 Time Spent: Unknown
  Remaining: 12 weeks

    Project: maven-aspectj-plugin
   Fix Fors:
             3.0

   Assignee: Vincent Massol
   Reporter: Chad Woolley

    Created: Wed, 10 Sep 2003 12:25 AM
    Updated: Fri, 7 May 2004 3:29 PM
Environment: JDK 1.4, AspectJ 1.1

Description:
Here is the post I made on the mailing list regarding this bug:


Subject:
Re: [aspectj-users] Problem with iajc and jdk 1.4.1 - RESOLVED
From:
Chad Woolley <[EMAIL PROTECTED]>
Date:
Thu, 28 Aug 2003 23:18:26 -0700
To:
[EMAIL PROTECTED], [EMAIL PROTECTED]

Hi,

This is apparently a maven bug.  I converted my maven.xml to an ant build.xml, and now 
it works fine.  I'm crossposting this to the maven group, I'll open a bug if I get 
time.

Thanks for the help,
Chad

------------------------------

Wes Isberg wrote:

Try specifying the forkclasspath option.  But even if that fixes it, it's worth 
submitting
a bug along with enough info to identify the class conflict.

Please include a verbose trace (by Ant and the compiler) and the Ant
classpath (typically from removing "@echo off" from ant.bat or adding "set -vx" to
the ant shell script).

Wes

Chad Woolley wrote:


>> Hello,
>>
>> I am trying to use iajc in a maven build script.  I keep getting the
>> following error:
>>
>> [ERROR] java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessorImpl
>>
>> This looks very similar to the problem described in this thread:
>> http://www.mail-archive.com/[EMAIL PROTECTED]/msg21990.html
>>
>> Here is my maven task:
>>
>>       <!-- =================================================== -->
>>       <!--  performs aspectj compilation of compiled code -->
>>       <!-- =================================================== -->
>>       <goal name="virtualmock:compile:aspectj">
>>                 <taskdef
>> resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
>>                 <classpath>
>>                         <pathelement location="${lib.dir}/aspectjtools.jar"/>
>>                     </classpath>
>>                 </taskdef>
>>
>>             <iajc outjar="${aspectj.output.jarfile}"
>>                     fork="true"
>>                     copyInjars="true"
>>                     sourceRootCopyFilter="**/CVS/*,**/*.java" >
>>                     <injars>
>>                         <pathelement location="${jarfile}"/>
>>                         <pathelement location="${test.jarfile}"/>
>>                     </injars>
>>                     <classpath>
>>                         <pathelement location="${lib.dir}/aspectjrt.jar"/>
>>                     </classpath>
>>             </iajc>
>>       </goal>
>>
>> Thanks in advance,
>> Chad Woolley 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to