maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-3111) Classpath order incorrect
Date Sat, 02 Feb 2008 15:08:57 GMT

     [ http://jira.codehaus.org/browse/MNG-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Herve Boutemy closed MNG-3111.
------------------------------

         Assignee: Herve Boutemy
       Resolution: Duplicate
    Fix Version/s:     (was: 2.0.x)
                   2.0.9

duplicate of MNG-1412
BTW, fixed in 2.0.9-SNAPSHOT...

> Classpath order incorrect
> -------------------------
>
>                 Key: MNG-3111
>                 URL: http://jira.codehaus.org/browse/MNG-3111
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.7
>            Reporter: Luke Daley
>            Assignee: Herve Boutemy
>             Fix For: 2.0.9
>
>
> I have two sun jars defined as system dependencies ...
> <!-- AMSDK System Dependencies -->
> <dependency>
> <groupId>sun.amsdk</groupId>
>   <artifactId>amclientsdk</artifactId>
>   <version>2005q4</version>
>   <scope>system</scope>
>   <systemPath>${pom.basedir}/amsdk/1amclientsdk.jar</systemPath>
> </dependency>
> <dependency>
>   <groupId>sun.amsdk</groupId>
>   <artifactId>amservices</artifactId>
>   <version>2005q4</version>
>   <scope>system</scope>
>   <systemPath>${pom.basedir}/amsdk/am_services.jar</systemPath>
> </dependency>
> <dependency>
>   <groupId>sun.amsdk</groupId>
>   <artifactId>amconfig</artifactId>
>   <version>2005q4</version>
>   <scope>system</scope>
>   <systemPath>${pom.basedir}/amsdk</systemPath>
> </dependency>
> <!-- / AMSDK System Dependencies -->
> The reason for the last on is that the sun stuff demands a file called 'AMConfig.properties'
file which is actually in the ${pom.basedir}/amsdk dir.
> It is absolutely crucial that 1amclientsdk.jar is in the classpath *before* am_services.jar
as they define identical classes but the 1amclientsdk.jar versions are the ones I need (the
1 prefix is an attempt to force it to load early).
> 9 times out of 10, the 1amclientsdk.jar is *not* before the am_services.jar. I have confirmed
this using the -X option. 

-- 
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

        

Mime
View raw message