ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Александр Случик" <a.slutsc...@gmail.com>
Subject UNRESOLVED DEPENDENCIES in stacktrace
Date Mon, 01 Oct 2007 10:43:45 GMT
Hi,
I've met some difficulties while trying to bind ivy 1.4.1 to current
project. Would you help me with it?

Here is ivy config

<ivyconf>
<conf defaultResolver="sftp-resolver" />
<resolvers>
    <chain name="sftp-resolver">
        <sftp user="ivyrepo" userPassword="0000" host="127.0.0.1">
            <artifact
pattern="[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
        </sftp>
    </chain>
</resolvers>
</ivyconf>





<ivy-module version="1.0">
    <info organisation="sm org"
           module="ivy"
           type="jar"
           status="integration"
    />

    <dependencies>
        <dependency org="apache" name="commons-cli" rev="2.1"/>
    </dependencies>
</ivy-module>

run it from console
                    java -cp ivy-1.4.1.jar;.\lib\commons-cli-1.0.jar
;.\lib\jsch-0.1.25.jar fr.jayasoft.ivy.Main -conf ivyconfig.xml -ivy
ivy.xmlpublish sftp-resolver

as result

 java -cp ivy-1.4.1.jar;.\lib\commons-cli-1.0.jar;.\lib\jsch-0.1.25.jar f
r.jayasoft.ivy.Main -conf ivyconfig.xml -ivy ivy.xml publish sftp-resolver
:: Ivy 1.4.1 - 20061109165313 :: http://ivy.jayasoft.org/ ::
:: configuring :: file = ivyconfig.xml
WARNING: problem while setting JAXP validating property on SAXParser... XML
vali
dation will not be done: Property:
http://java.sun.com/xml/jaxp/properties/schem
aLanguage
:: resolving dependencies :: [ sm org| ivy | working@MCC ]
        confs: [default]
:: resolution report ::

---------------------------------------------------------------------
        |                  |            modules            ||   artifacts
|
        |       conf       | number| search|dwnlded|evicted||
number|dwnlded|

---------------------------------------------------------------------
        |      default     |   1   |   0   |   0   |   0   ||   0   |   0
|

---------------------------------------------------------------------

:: problems summary ::
:::: WARNINGS
                module not found: [ apache | commons-cli | 2.1 ]

                        null: tried no ivy pattern => no attempt to find
module
descriptor file for [ apache | commons-cli | 2.1 ]

                        null: tried artifact [ apache | commons-cli | 2.1]/comm
ons-cli.jar[jar]:

                                apache/commons-cli/jars/commons-cli-2.1.jar

                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: [ apache | commons-cli | 2.1 ]: not found

                ::::::::::::::::::::::::::::::::::::::::::::::



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
NMAKE : fatal error U1077: 'java' : return code '0x1'
Stop.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message