ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Piper <an...@bea.com>
Subject Re: Problems with ivy:install
Date Tue, 28 Aug 2007 12:32:25 GMT
So ant -v reveals:

[ivy:install] == resolving dependencies [ apache | ivy-install | 1.0 
]->[ featur
e | com.bea.core.ce | 3.0 ] [default->*]
[ivy:install] :: downloading artifacts to cache ::
[ivy:install] :: installing in shared ::
[ivy:install] :: install resolution report ::
         ---------------------------------------------------------------------
         |                  |            modules            ||   artifacts   |
         |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
         ---------------------------------------------------------------------
         |      default     |   1   |   0   |   0   |   0   ||   0   |   0   |
         ---------------------------------------------------------------------
[ivy:install] WARN:     ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] WARN:     ::          UNRESOLVED DEPENDENCIES         ::
[ivy:install] WARN:     ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] WARN:     :: [ feature | com.bea.core.ce | 3.0 ]: not found
[ivy:install] WARN:     ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install]   report for [ apache | ivy-install | 1.0 ] default 
produced in C:
\Documents and Settings\Andrew Piper\.ivy2\cache\apache-ivy-install-default.xml

Which is weird because a normal resolve works fine. The module is 
defined in the ivy.xml file in the current directory. Is there 
something special about where install expects modules to be defined?

For reference the ivy.xml looks something like this:

<?xml version="1.0" encoding="UTF-8"?>
<ivy-module xmlns:feature="http://www.bea.com/ns/cie/feature" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" 
xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd">
     <info organisation="feature" module="com.bea.core.ce" revision="3.0"/>
     <publications/>
     <dependencies>
         <dependency org="feature" name="com.bea.core.base" 
rev="latest.integration" conf="default->com.bea.core.base"/>
     </dependencies>
</ivy-module>

Thanks

andy

At 13:28 28/08/2007, Andy Piper wrote:
>So now to my real problem - nothing is installed.
>
>My build directive looks like this:
>
>
>      <target name="publish" depends="configure, clean-build">
>          <ivy:install from="ce-repository" to="shared" organisation="feature"
>   haltonfailure="false"
>                       module="com.bea.core.ce" revision="3.0"
>overwrite="true" transitive="true"/>
>      </target>
>
>my ivy file contains this module, but it is a virtual dependency (no
>publications) and its dependencies are also virtual. It is only the
>third layer down that actually specifies any real artifacts. However
>the transitive="true" setting should ensure they get copied right?
>Right now I get nothing, although the build successfully completes.
>
>Any help appreciated.
>
>Thanks
>
>andy
>
>
>Notice:  This email message, together with any attachments, may 
>contain information  of  BEA Systems,  Inc.,  its 
>subsidiaries  and  affiliated entities,  that may be 
>confidential,  proprietary,  copyrighted  and/or legally privileged, 
>and is intended solely for the use of the individual or entity named 
>in this message. If you are not the intended recipient, and have 
>received this message in error, please immediately return this by 
>email and then delete it.


Notice:  This email message, together with any attachments, may contain information  of  BEA
Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,
 copyrighted  and/or legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete it.

Mime
View raw message