The chainedresolvers-project does not pick up the settings file
---------------------------------------------------------------

                 Key: IVY-629
                 URL: https://issues.apache.org/jira/browse/IVY-629
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha-2
            Reporter: Jacob Grydholt Jensen


When I run the chainedresolvers-project example the ivysettings.xml file is not 
picked up. Instead the default ivysettings.xml file is picked up from the 
jar-file and the build fails. The output of the build:

[EMAIL 
PROTECTED]:~/workspace/ivy/src/example/chained-resolvers/chainedresolvers-project$
 ant -lib ../../../../build/artifact/
Buildfile: build.xml

resolve:
[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071020005610 - 20071020005610 :: 
http://incubator.apache.org/ivy/ ::
[ivy:retrieve] No ivy:settings found for the default reference 'ivy.instance'.  
A default instance will be used
[ivy:retrieve] no settings file found, using default...
[ivy:retrieve] :: loading settings :: url = 
jar:file:/home/grydholt/workspace/ivy/src/example/chained-resolvers/chainedresolvers-project/../../../../build/artifact/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: [ apache | chained-resolvers | 
[EMAIL PROTECTED] ]
[ivy:retrieve]  confs: [default]
[ivy:retrieve] :: resolution report ::
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   2   |   0   |   0   |   0   ||   0   |   0   |
        ---------------------------------------------------------------------
[ivy:retrieve] 
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          module not found: [ apache | commons-lang | 2.0 ]
[ivy:retrieve]  ==== local: tried
[ivy:retrieve]    
/home/grydholt/.ivy2/local/apache/commons-lang/2.0/ivys/ivy.xml
[ivy:retrieve]    -- artifact [ apache | commons-lang | 2.0 
]/commons-lang.jar[jar]:
[ivy:retrieve]    
/home/grydholt/.ivy2/local/apache/commons-lang/2.0/jars/commons-lang.jar
[ivy:retrieve]  ==== shared: tried
[ivy:retrieve]    
/home/grydholt/.ivy2/shared/apache/commons-lang/2.0/ivys/ivy.xml
[ivy:retrieve]    -- artifact [ apache | commons-lang | 2.0 
]/commons-lang.jar[jar]:
[ivy:retrieve]    
/home/grydholt/.ivy2/shared/apache/commons-lang/2.0/jars/commons-lang.jar
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]    
http://repo1.maven.org/maven2/apache/commons-lang/2.0/commons-lang-2.0.pom
[ivy:retrieve]    -- artifact [ apache | commons-lang | 2.0 
]/commons-lang.jar[jar]:
[ivy:retrieve]    
http://repo1.maven.org/maven2/apache/commons-lang/2.0/commons-lang-2.0.jar
[ivy:retrieve]          module not found: [ apache | test | 1.0 ]
[ivy:retrieve]  ==== local: tried
[ivy:retrieve]    /home/grydholt/.ivy2/local/apache/test/1.0/ivys/ivy.xml
[ivy:retrieve]    -- artifact [ apache | test | 1.0 ]/test.jar[jar]:
[ivy:retrieve]    /home/grydholt/.ivy2/local/apache/test/1.0/jars/test.jar
[ivy:retrieve]  ==== shared: tried
[ivy:retrieve]    /home/grydholt/.ivy2/shared/apache/test/1.0/ivys/ivy.xml
[ivy:retrieve]    -- artifact [ apache | test | 1.0 ]/test.jar[jar]:
[ivy:retrieve]    /home/grydholt/.ivy2/shared/apache/test/1.0/jars/test.jar
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]    http://repo1.maven.org/maven2/apache/test/1.0/test-1.0.pom
[ivy:retrieve]    -- artifact [ apache | test | 1.0 ]/test.jar[jar]:
[ivy:retrieve]    http://repo1.maven.org/maven2/apache/test/1.0/test-1.0.jar
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: [ apache | commons-lang | 2.0 ]: not found
[ivy:retrieve]          :: [ apache | test | 1.0 ]: not found
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/home/grydholt/workspace/ivy/src/example/chained-resolvers/chainedresolvers-project/build.xml:43:
 impossible to resolve dependencies: resolve failed - see output for details


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to