[aspectwerkz-dev] [jira] Deleted: (AW-84) AspectWerkzC fails if not base classes to instrumented class is in classpath

"[email protected] (JIRA)" <jira-yCVjj/[email protected]> Fri, 3 Aug 2007 07:07:39 +1000 (EST)
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
     [ http://jira.codehaus.org/browse/AW-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

[email protected] deleted AW-84:
--------------------------------


> AspectWerkzC fails if not base classes to instrumented class is in classpath
> ----------------------------------------------------------------------------
>
>                 Key: AW-84
>                 URL: http://jira.codehaus.org/browse/AW-84
>             Project: AspectWerkz
>          Issue Type: Bug
>            Reporter: Jonas Boner
>
> AWC fails if not base classes to instrumented class is in classpath. 
> This can be a problem when f.e. a class is subclassing a library class like junit's TestCase (as seen in this stack trace).
> Stack trace from AWC:
> org.codehaus.aspectwerkz.compiler.CompileException: weaver failed for
> class: org/expasy/models/sptr/DescriptionTest
>         at
> org.codehaus.aspectwerkz.compiler.AspectWerkzC.compileJar(Unknown
> Source)
>         at
> org.codehaus.aspectwerkz.compiler.AspectWerkzC.doCompile(Unknown Source)
>         at
> org.codehaus.aspectwerkz.compiler.AspectWerkzC.compile(Unknown Source)
>         at org.codehaus.aspectwerkz.compiler.AspectWerkzC.main(Unknown
> Source)
> nested:
> java.lang.ClassNotFoundException: junit.framework.TestCase not found.
>         at
> org.apache.bcel.util.ClassLoaderRepository.loadClass(ClassLoaderReposito
> ry.java:126)

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email