You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2009/04/04 15:25:12 UTC
[jira] Commented: (MECLIPSE-546) Aspectj libraries are included if
using the aspectj jars from the springsource bundle repository
[ http://jira.codehaus.org/browse/MECLIPSE-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172026#action_172026 ]
Arnaud Heritier commented on MECLIPSE-546:
------------------------------------------
String.contains is for Java 1.5. You'll have to use the indexOf(..) > 0
> Aspectj libraries are included if using the aspectj jars from the springsource bundle repository
> ------------------------------------------------------------------------------------------------
>
> Key: MECLIPSE-546
> URL: http://jira.codehaus.org/browse/MECLIPSE-546
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: AJDT support
> Affects Versions: 2.6
> Reporter: Eric Berry
>
> The dependency name from the springsource bundle repository is
> <dependency>
> <groupId>org.aspectj</groupId>
> <artifactId>com.springsource.org.aspectj.runtime</artifactId>
> <version>1.6.3.RELEASE</version>
> </dependency>
> so it fails the check in EclipseClasspathWriter on line 508. The line
> if( (config.getAjdtVersion() != 0) && dep.getArtifactId().toLowerCase().startsWith( "aspectj" ) )
> needs to be changed to
> if( (config.getAjdtVersion() != 0) && dep.getArtifactId().toLowerCase().contains( "aspectj" ) )
--
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