You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eric Berry (JIRA)" <ji...@codehaus.org> on 2009/04/04 08:06:12 UTC

[jira] Created: (MECLIPSE-546) Aspectj libraries are included if using the aspectj jars from the springsource bundle repository

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

        

[jira] Commented: (MECLIPSE-546) Aspectj libraries are included if using the aspectj jars from the springsource bundle repository

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Closed: (MECLIPSE-546) Aspectj libraries are included if using the aspectj jars from the springsource bundle repository

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier closed MECLIPSE-546.
------------------------------------

         Assignee: Arnaud Heritier
       Resolution: Fixed
    Fix Version/s: 2.7

> 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
>            Assignee: Arnaud Heritier
>             Fix For: 2.7
>
>
> 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