incubator-wookie-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Wilson <scott.bradley.wil...@gmail.com>
Subject Branch merged... but a weird ivy problem
Date Mon, 02 Nov 2009 16:53:21 GMT
Hi everyone,

I've merged the standalone branch into the trunk of the SVN repository.

When testing in Eclipse (just using the ant "run" configuration) all  
works perfectly fine.

However when I've tested it by doing "ant" in the terminal, I keep  
coming up with an Ivy bug:

[ivy:resolve] :::: WARNINGS
[ivy:resolve] 		module not found: ${groupId}#hibernate-core;3.3.1.GA
[ivy:resolve] 	==== main: tried
[ivy:resolve] 	  -- artifact ${groupId}#hibernate-core;3.3.1.GA! 
hibernate-core.jar:
[ivy:resolve] 	  /Users/scott/Documents/workspace2/test/trunk/ant/lib/ 
hibernate-core-3.3.1.GA.jar
[ivy:resolve] 	==== public: tried
[ivy:resolve] 	  http://repo1.maven.org/maven2/${groupId}/hibernate- 
core/3.3.1.GA/hibernate-core-3.3.1.GA.pom
[ivy:resolve] 	  -- artifact ${groupId}#hibernate-core;3.3.1.GA! 
hibernate-core.jar:
[ivy:resolve] 	  http://repo1.maven.org/maven2/${groupId}/hibernate- 
core/3.3.1.GA/hibernate-core-3.3.1.GA.jar
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] 		::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] 		:: ${groupId}#hibernate-core;3.3.1.GA: not found
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

Taking a look at http://repo1.maven.org/maven2/org/hibernate/hibernate-c3p0/3.3.1.GA/hibernate-c3p0-3.3.1.GA.pom

  reveals:

         <dependency>
             <groupId>${groupId}</groupId>
             <artifactId>hibernate-core</artifactId>
             <version>${version}</version>
         </dependency>
Presumably the variable isn't being picked up for ${groupId} when ant  
is run on the command line, resulting in the dependency not being  
found. But somehow this works OK in Eclipse.
Trying to exclude this dependency causes problems elsewhere as  
something then goes wrong with the hibernate dependencies (jta,  
javassist) not being loaded even though they are in the configuration.
Is this just a problem with my Ivy configuration, has something gone  
wrong with the repository, or is it something else?
(It all worked just fine last week!)
S
Mime
View raw message