You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by bhatia <Bh...@OFAC.CH> on 2007/08/28 13:45:38 UTC

problem resolving/retrieving using a chain resolver

Hello,

Problem scenario:

Step 1) Project "nr" has a dependency on Project "ad".

Step 2) I check out my working copy of both project "nr" and project "ad" in
Eclipse workspace.

Step 3) I make my changes to project "ad" in my workspace and publish it
using a local resolver into my local filesystem using a "local" resolver
like this:

In ivy.xml of project "ad", I declare revision="CURRENT" like this:

<info organisation="ofac" module="ad" revision="CURRENT"/>

In my common.xml, I publish to the local repository like this:

<target name="publish-war-en-locale" depends="make-war-en-locale"
description="-> publish this project's war and its sources in the local user
repository">		
		<ivy:publish resolver="local"
artifactspattern="[type]/[artifact](-[revision]).[ext]"
pubrevision="${revision}"/>
	</target>

After publishing of "ad" is successful in my "local" repository, I get the
following:

publish-war-en-locale:
[ivy:publish] :: delivering :: [ ofac | ad | CURRENT ] :: CURRENT ::
integration :: Tue Aug 28 13:15:17 CEST 2007
[ivy:publish] delivering ivy file to ivy/ivy-CURRENT.xml
[ivy:publish] :: publishing :: [ ofac | ad ]
[ivy:publish] published ad to
c:\myrep/local/ofac/ad/CURRENT/sources/ad-CURRENT.src.jar
[ivy:publish] published ad to
c:\myrep/local/ofac/ad/CURRENT/wars/ad-CURRENT.war
[ivy:publish] published ivy to c:\myrep/local/ofac/ad/CURRENT/ivys/ivy.xml
BUILD SUCCESSFUL

step 4) Resolve/retrieve project "ad" which I recently published to my
"local" repository (revision="CURRENT") from project "nr" like this:

project "nr" ivy.xml:

<ivy-module version="1.0">
 <info organisation="ofac" module="nr" revision="prod"/>
<configurations>
	<conf name="compile" description="compile-time deps only" transitive="true"
visibility="public"/>
	<conf name="run" description="run-time deps only, also used for creating
and publishing an artifact" transitive="false" visibility="public"/>
</configurations>
<publications>
	<artifact name="nr" type="war"/>
	<artifact name="nr" type="source" ext="src.jar"/>
</publications>
 <dependencies>    
    <dependency org="ofac" name="ad" rev="CURRENT" conf="compile">
        <artifact name="ad" type="war"/>
    </dependency>   
 </dependencies>
 <conflicts>
    <manager name="ofac-cm" org="ofac"/>
    <manager name="latest-revision" org="(?!ofac).*"/>
 </conflicts>
</ivy-module>

In common.xml, when I launch "retrieve-compile" like this:

<target name="retrieve-compile" depends="init" description="-> retrieve
compile-time dependencies in the lib folder of this project, if it doesnt
exist, create it">
		<fail>
			Il n'y a pas de fichier ivy.xml dans ce projet
			<condition>
				<not>
					<available file="${basedir}/ivy.xml" type="file" />
				</not>
			</condition>
		</fail>
		<mkdir dir="${compile.conf.dir}" />
		<ivy:retrieve pattern="${compile.conf.dir}/[artifact](-[revision]).[ext]"
type="jar,war" conf="compile"/>
	</target>

I get the following error on the console:

[ivy:retrieve] :: evicted modules:
[ivy:retrieve] [ ofac | ad | prod ] by [[ ofac | ad | CURRENT ]] in
[compile]
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      compile     |  159  |   0   |   0   |   1   ||  208  |   0   |
---------------------------------------------------------------------

[ivy:retrieve] module not found: [ ofac | ad | CURRENT ]
[ivy:retrieve] internal: tried I:/shared/ofac/ad/CURRENT/ivys/ivy.xml
[ivy:retrieve] internal: tried artifact [ ofac | ad | CURRENT ]/ad.war[war]:
[ivy:retrieve] I:/shared/ofac/ad/CURRENT/wars/ad-CURRENT.war

[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: [ ofac | ad | CURRENT ]: not found
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
C:\ivylivraison\24082007\common.xml:88: impossible to resolve dependencies:
resolve failed - see output for details

I have defined a chain like this in my ivyconf.xml:

<resolvers checksums="false">
	 <chain name="chainresolver" returnFirst="true">
	  <!-- resolver for local artifacts in local filesystem -->
		<filesystem name="local">
      <ivy
pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
      <artifact
pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />
    </filesystem>
	  <!-- resolver for OFAC internal artifacts in the cellar -->
		<filesystem name="internal">
			<ivy
pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
/>
			<artifact
pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
/>
		</filesystem>
		<!-- resolver for external third party artifacts in the cellar -->
		<filesystem name="thirdparty">
			<ivy
pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
/>
			<artifact
pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
/>
		</filesystem>		    
    </chain>
	</resolvers>

I am not referencing "chainresolver" specified here in my common.xml in any
of the targets. Is this the right way to do it ? 

I dont know why Ivy doesnt find my ad-CURRENT artifacts in the "local"
repository. It seems to be searching in thirdparty and/or shared repository
only.

Any help would be welcome.

thanks



-- 
View this message in context: http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12366464
Sent from the ivy-user mailing list archive at Nabble.com.


Re: problem resolving/retrieving using a chain resolver

Posted by bhatia <Bh...@OFAC.CH>.
Well I tried again. This time by cleaning both my local and .ivy caches. I
cleaned the lib directories of all projects in my workspace because the ivy
console got my suspicious as to what is going in with my workspace.

Strangely enough, when I do a resolve on project "nr" in my workspace, it
doesnt even mention the "local" repository location C:/myrep in the ivy
console ie its not searching there in the first place, maybe.

The following is the trace from IvyConsole. It retrieves depndencies from
the .ivy cache into a project OFACAD's lib directory and I dont know why. In
the project "nr" properties for Ivy, I have not specified that it should
retrieve anything nor did I specify any pattern although I would like to add
this later if the resolve works from IvyDE.

my Eclipse workspace is: C:\RAD7\CURRENT
my shared cache is here: C:\Documents and Settings\{username}\.ivy\cache
my local cache is here: C:\myrep\cache

thanks
**********************************************************************

	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACOF\sources\OFACOF-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACOF-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\gnu\regex\jars\regex-0.1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\regex-0.1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\oro\jars\oro-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\oro-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-collections\jars\commons-collections-3.2.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-collections-3.2.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\mozilla\mozilla\jars\js-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\js-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACGD\jars\OFACGD-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACDI\jars\OFACDI-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\ifxjdbc\jars\ifxjdbc-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\ifxjdbc-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACMN\sources\OFACMN-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACMN-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACBA\sources\OFACBA-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBA-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACIM\sources\OFACIM-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIM-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\electric\exml\jars\exml-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\exml-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jayasoft\ivy-core\jars\ivy-core-1.4.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-core-1.4.1.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACXML\sources\OFACXML-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXML-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCD\sources\OFACCD-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCD-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\IBMLogging\jars\IBMLogging-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMLogging-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\axis\jars\axis-1.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\axis-1.1.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-httpclient\jars\commons-httpclient-2.0-rc3.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-httpclient-2.0-rc3.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACIntranet\sources\OFACIntranet-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIntranet-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jcraft\jsch\jars\jsch-0.1.23.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\jsch-0.1.23.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-net\jars\commons-net-1.1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-net-1.1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jayasoft\ivy\jars\ivy-1.4.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-1.4.1.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACFD\jars\OFACFD-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\birt-report\jars\birt-report-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\birt-report-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jrefinery\JFreeChart\jars\JFreeChart-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\JFreeChart-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\omg\ots-jts\jars\ots-jts-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\ots-jts-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\sun\mail\jars\mail-1.1.3.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\mail-1.1.3.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACWS\sources\OFACWS-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACWS-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\wutka\jox\jars\jox-1.17b3.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\jox-1.17b3.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACGA\sources\OFACGA-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGA-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACLib\jars\OFACLib-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACNR\jars\OFACNR-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-fileupload\jars\commons-fileupload-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-fileupload-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACGNU\sources\OFACGNU-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGNU-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\emf-ecore-xmi\jars\org.eclipse.emf.ecore.xmi-2.1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.ecore.xmi-2.1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\opensymphony\propertyset\jars\propertyset-1.4.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\propertyset-1.4.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACSSO\jars\OFACSSO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACFramework\sources\OFACFramework-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFramework-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\exolab\castor\jars\castor-0.9.5.2.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\castor-0.9.5.2.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCZ\jars\OFACCZ-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACBatch\sources\OFACBatch-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBatch-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\db2jcc\jars\db2jcc-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\birt-data-engine\jars\dte-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\dte-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCommon\sources\OFACCommon-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCommon-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\sun\servlet\jars\servlet-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\servlet-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\fop\jars\fop-0.20.5.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\fop-0.20.5.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\sun\saaj\jars\saaj-1.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\saaj-1.1.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-logging\jars\commons-logging-1.0.3.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-logging-1.0.3.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCS\jars\OFACCS-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\wutka\dtdparser\jars\dtdparser-119.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\dtdparser-119.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACXEDO\sources\OFACXEDO-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACFC\jars\OFACFC-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFC-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACEDO\jars\OFACEDO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACEDO-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACGD\sources\OFACGD-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACDI\sources\OFACDI-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPH\jars\OFACPH-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPH-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\opensymphony\oscore\jars\oscore-2.2.5.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\oscore-2.2.5.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\emf-common\jars\org.eclipse.emf.common-2.1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.common-2.1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\wsdl4j\jars\wsdl4j-1.5.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\wsdl4j-1.5.1.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\w3c\Tidy\jars\Tidy-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\Tidy-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\w3c\flute\jars\flute-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\flute-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPP\jars\OFACPP-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPP-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\IBMUtil\jars\IBMUtil-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMUtil-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\IBMSecurity\jars\IBMSecurity-0.1.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMSecurity-0.1.1.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cisuz\jars\db2jcc-license-cisuz-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-license-cisuz-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACFD\sources\OFACFD-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\taglibs-i18n\jars\taglibs-i18n-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-i18n-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\log4j\jars\log4j-1.2.8.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\log4j-1.2.8.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\batik\jars\batik-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\batik-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\resolver\jars\resolver-1.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\resolver-1.1.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACLib\sources\OFACLib-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACNR\sources\OFACNR-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\meterware\httpunit\jars\httpunit-1.5.4.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\httpunit-1.5.4.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jpedal\JPedal\jars\JPedal-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\JPedal-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\runtime\jars\runtime-5.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\runtime-5.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACSSO\sources\OFACSSO-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACDO\jars\OFACDO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDO-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPage\jars\OFACPage-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPage-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCZ\sources\OFACCZ-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPool\jars\OFACPool-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPool-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\birt-report-engine\jars\engine-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\engine-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACConverter\jars\OFACConverter-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACConverter-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\w3c\css-sac\jars\sac-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\sac-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cu\jars\db2jcc-license-cu-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-license-cu-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\datatools-connectivity\jars\oda-consumer-helper-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\oda-consumer-helper-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\birt-chart\jars\chart-engine-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\chart-engine-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCS\sources\OFACCS-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.src.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\sun\activation\jars\activation-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\activation-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCQ\jars\OFACCQ-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCQ-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\xalan\jars\xalan-2.4.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\xalan-2.4.1.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPO\jars\OFACPO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPO-prod.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\taglibs-i18n-ofac\jars\taglibs-i18n-ofac-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-i18n-ofac-1.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\soap\jars\soapcfg-1.3.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\soapcfg-1.3.0.jar
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\xmlsec\jars\xmlsec-1.0.4.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\xmlsec-1.0.4.jar
	181 artifacts copied, 0 already retrieved
	retrieve done (7050ms)
resolving dependencies of C:\RAD7\CURRENT\OFACCommon\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\sso\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\nr\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\medicpool\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\intranet\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\di\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\nr\ivy.xml
pre 1.3 ivy file: using exactOrRegexp as default matcher
pre 1.3 ivy file: using exactOrRegexp as default matcher
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-prod.jar
*****************************************************************************



bhatia wrote:
> 
> I am using RAD7, IvyDE 1.2.0, apache-ant-1.6.5.
> 
> I also noticed that I now have 2 caches, one for the local resolver
> "local" (which got created when I added a new local resolver) and the
> default one in ${user}\.ivy\cache.
> 
> Here is what I get when I do a resolve from IvyDE on the ivy container:
> 
> "Impossible to resolve dependencies of [ofac¦nr¦prod]: unresolved
> dependency: [ofac¦ad¦CURRENT]: not found"
> 
> This is what I have in the Ivy Console in RAD7. From the Ivy console, it
> is clear that its not searching for ad-CURRENT in my local repository but
> its looking in my RAD7 workspace where of course it wont find this
> artifact. The "retrieve-compile" target in my common.xml works cool
> though.
> 
> thanks
> 
> ***************************************************************************
> 
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACXEDO\jars\OFACXEDO-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACOF\sources\OFACOF-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACOF-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\gnu\regex\jars\regex-0.1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\regex-0.1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\oro\jars\oro-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\oro-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-collections\jars\commons-collections-3.2.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-collections-3.2.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\mozilla\mozilla\jars\js-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\js-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACGD\jars\OFACGD-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACDI\jars\OFACDI-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\ifxjdbc\jars\ifxjdbc-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\ifxjdbc-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACMN\sources\OFACMN-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACMN-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACBA\sources\OFACBA-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBA-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACIM\sources\OFACIM-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIM-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\electric\exml\jars\exml-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\exml-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jayasoft\ivy-core\jars\ivy-core-1.4.1.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-core-1.4.1.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACXML\sources\OFACXML-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXML-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCD\sources\OFACCD-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCD-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\IBMLogging\jars\IBMLogging-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMLogging-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\axis\jars\axis-1.1.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\axis-1.1.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-httpclient\jars\commons-httpclient-2.0-rc3.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-httpclient-2.0-rc3.jar
> [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACIntranet\sources\OFACIntranet-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIntranet-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jcraft\jsch\jars\jsch-0.1.23.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\jsch-0.1.23.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-net\jars\commons-net-1.1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-net-1.1.0.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jayasoft\ivy\jars\ivy-1.4.1.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-1.4.1.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACFD\jars\OFACFD-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\birt-report\jars\birt-report-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\birt-report-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jrefinery\JFreeChart\jars\JFreeChart-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\JFreeChart-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\omg\ots-jts\jars\ots-jts-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\ots-jts-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\sun\mail\jars\mail-1.1.3.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\mail-1.1.3.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACWS\sources\OFACWS-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACWS-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\wutka\jox\jars\jox-1.17b3.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\jox-1.17b3.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACGA\sources\OFACGA-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGA-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACLib\jars\OFACLib-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACNR\jars\OFACNR-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-fileupload\jars\commons-fileupload-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-fileupload-1.0.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACGNU\sources\OFACGNU-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGNU-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\emf-ecore-xmi\jars\org.eclipse.emf.ecore.xmi-2.1.0.jar
> 		to
> C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.ecore.xmi-2.1.0.jar
> [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\opensymphony\propertyset\jars\propertyset-1.4.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\propertyset-1.4.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACSSO\jars\OFACSSO-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACFramework\sources\OFACFramework-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFramework-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\exolab\castor\jars\castor-0.9.5.2.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\castor-0.9.5.2.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCZ\jars\OFACCZ-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACBatch\sources\OFACBatch-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBatch-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\db2jcc\jars\db2jcc-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\birt-data-engine\jars\dte-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\dte-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCommon\sources\OFACCommon-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCommon-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\sun\servlet\jars\servlet-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\servlet-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\fop\jars\fop-0.20.5.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\fop-0.20.5.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\sun\saaj\jars\saaj-1.1.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\saaj-1.1.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-logging\jars\commons-logging-1.0.3.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-logging-1.0.3.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCS\jars\OFACCS-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\wutka\dtdparser\jars\dtdparser-119.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\dtdparser-119.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACXEDO\sources\OFACXEDO-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACFC\jars\OFACFC-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFC-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACEDO\jars\OFACEDO-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACEDO-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACGD\sources\OFACGD-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACDI\sources\OFACDI-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPH\jars\OFACPH-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPH-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\opensymphony\oscore\jars\oscore-2.2.5.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\oscore-2.2.5.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\emf-common\jars\org.eclipse.emf.common-2.1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.common-2.1.0.jar
> [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\wsdl4j\jars\wsdl4j-1.5.1.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\wsdl4j-1.5.1.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\w3c\Tidy\jars\Tidy-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\Tidy-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\w3c\flute\jars\flute-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\flute-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPP\jars\OFACPP-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPP-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\IBMUtil\jars\IBMUtil-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMUtil-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\IBMSecurity\jars\IBMSecurity-0.1.1.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMSecurity-0.1.1.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cisuz\jars\db2jcc-license-cisuz-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-license-cisuz-1.0.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACFD\sources\OFACFD-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\taglibs-i18n\jars\taglibs-i18n-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-i18n-1.0.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\log4j\jars\log4j-1.2.8.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\log4j-1.2.8.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\batik\jars\batik-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\batik-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\resolver\jars\resolver-1.1.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\resolver-1.1.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACLib\sources\OFACLib-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACNR\sources\OFACNR-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\meterware\httpunit\jars\httpunit-1.5.4.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\httpunit-1.5.4.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jpedal\JPedal\jars\JPedal-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\JPedal-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\runtime\jars\runtime-5.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\runtime-5.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACSSO\sources\OFACSSO-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.src.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACDO\jars\OFACDO-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDO-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPage\jars\OFACPage-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPage-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCZ\sources\OFACCZ-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPool\jars\OFACPool-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPool-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\birt-report-engine\jars\engine-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\engine-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACConverter\jars\OFACConverter-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACConverter-prod.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\w3c\css-sac\jars\sac-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\sac-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cu\jars\db2jcc-license-cu-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-license-cu-1.0.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\datatools-connectivity\jars\oda-consumer-helper-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\oda-consumer-helper-1.0.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\birt-chart\jars\chart-engine-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\chart-engine-1.0.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCS\sources\OFACCS-prod.src.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.src.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\sun\activation\jars\activation-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\activation-1.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCQ\jars\OFACCQ-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCQ-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\xalan\jars\xalan-2.4.1.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\xalan-2.4.1.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPO\jars\OFACPO-prod.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPO-prod.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\taglibs-i18n-ofac\jars\taglibs-i18n-ofac-1.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-i18n-ofac-1.0.jar [NOT
> REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\soap\jars\soapcfg-1.3.0.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\soapcfg-1.3.0.jar [NOT REQUIRED]
> 	retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\xmlsec\jars\xmlsec-1.0.4.jar
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\xmlsec-1.0.4.jar [NOT REQUIRED]
> 	0 artifacts copied, 181 already retrieved
> 	retrieve done (283ms)
> resolving dependencies of C:\RAD7\CURRENT\nr\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\medicpool\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\OFACCommon\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\sso\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\intranet\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\di\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\ad\ivy.xml
> 		to C:\RAD7\CURRENT\OFACAD\lib\compile\webservice-runtime-1.0.jar [NOT
> REQUIRED]
> 
> ***********************************************************************
> 
> 
> 
> 
> 
> 
> 
> Xavier Hanin wrote:
>> 
>> On 8/28/07, bhatia <Bh...@ofac.ch> wrote:
>>>
>>>
>>> Hello,
>>>
>>> When I use my ant target "retrieve-compile", no problems and its able to
>>> fetch the ad-CURRENT artifacts from the local resolver.
>>>
>>> But when I do a resolve from IvyDE container, it cant resolve. my ant
>>> target
>>> and IvyDE have the same ivyconf so I dont know why something would work
>>> from
>>> the ant target but not from the IvyDE container.
>> 
>> 
>> This is strange. Which versions of both are you using? What is the
>> message
>> you get from IvyDE? What do you see on the IvyConsole in eclipse?
>> 
>> Xavier
>> 
>> thanks
>>>
>>>
>>> **************************************************************************3
>>>         <target name="retrieve-compile" depends="init" description="->
>>> retrieve
>>> compile-time dependencies of this project">
>>>                 <fail>
>>>                         Il n'y a pas de fichier ivy.xml dans ce projet
>>>                         <condition>
>>>                                 <not>
>>>                                         <available
>>> file="${basedir}/ivy.xml" type="file" />
>>>                                 </not>
>>>                         </condition>
>>>                 </fail>
>>>                 <mkdir dir="${compile.conf.dir}" />
>>>                 <ivy:retrieve pattern="${compile.conf.dir
>>> }/[artifact](-[revision]).[ext]"
>>> type="jar,war" conf="compile"/>
>>>         </target>
>>>
>>> ********************************************************************
>>>
>>> <ivyconf>
>>>
>>>         <conf defaultResolver="chainresolver" />
>>>         <!-- this is the shared repository using ivy configurations -->
>>>         <property name="cellier" value="I:/shared" />
>>>         <!-- do not generated checksums -->
>>>         <property name="ivy.checksums" value="" />
>>>         <!-- define property for local ivy repository -->
>>>         <!--<property name="ivy.default.ivy.user.dir"
>>> value="c:/myrep"/>-->
>>>
>>>   <!-- define properties for the local developer repository -->
>>>   <!-- artifacts found here will be taken first even if a more recent
>>> version is found in the cellar -->
>>>   <!-- this is necessary to resolve delta artifacts in the local
>>> filesystem
>>> -->
>>>         <property name="ivy.local.default.root"
>>> value="${ivy.default.ivy.user.dir}/local" override="false"/>
>>>   <property name="ivy.local.default.ivy.pattern"
>>> value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>>> override="false"/>
>>>   <property name="ivy.local.default.artifact.pattern"
>>>
>>> value="[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>>> override="false"/>
>>>
>>>         <resolvers checksums="false">
>>>          <chain name="chainresolver" returnFirst="true">
>>>           <!-- resolver for local artifacts in local filesystem -->
>>>                 <filesystem name="local">
>>>       <ivy
>>> pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
>>>       <artifact
>>> pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}"
>>> />
>>>     </filesystem>
>>>           <!-- resolver for OFAC internal artifacts in the cellar -->
>>>                 <filesystem name="internal">
>>>                         <ivy
>>>
>>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>>> />
>>>                         <artifact
>>>
>>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>>> />
>>>                 </filesystem>
>>>                 <!-- resolver for external third party artifacts in the
>>> cellar -->
>>>                 <filesystem name="thirdparty">
>>>                         <ivy
>>>
>>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>>> />
>>>                         <artifact
>>>
>>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>>> />
>>>                 </filesystem>
>>>     </chain>
>>>         </resolvers>
>>>
>>>   <!-- module resolver mappings -->
>>>         <modules>
>>>                 <module organisation="ofac"
>>> name="*"    resolver="chainresolver" />
>>>                 <module organisation="apache"
>>> name="*"  resolver="thirdparty" />
>>>                 <module organisation="dbunit"
>>> name="*"  resolver="thirdparty" />
>>>                 <module organisation="easymock"
>>> name="*"        resolver="thirdparty" />
>>>                 <module organisation="eclipse" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="electric"
>>> name="*"        resolver="thirdparty" />
>>>                 <module organisation="exolab"
>>> name="*"  resolver="thirdparty" />
>>>                 <module organisation="gnu" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="ibm" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="jayasoft"
>>> name="*"        resolver="thirdparty" />
>>>                 <module organisation="jcraft"
>>> name="*"  resolver="thirdparty" />
>>>                 <module organisation="jpedal"
>>> name="*"  resolver="thirdparty" />
>>>                 <module organisation="jrefinery" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="junit" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="lowagie" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="meterware" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="mirrorworlds"
>>> name="*"    resolver="thirdparty" />
>>>                 <module organisation="mousepushers"
>>> name="*"    resolver="thirdparty" />
>>>                 <module organisation="mozilla" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="omg" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="opensymphony"
>>> name="*"    resolver="thirdparty" />
>>>                 <module organisation="oroinc"
>>> name="*"  resolver="thirdparty" />
>>>                 <module organisation="sourceforge" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="sqlj"
>>> name="*"    resolver="thirdparty" />
>>>                 <module organisation="sun" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="tyrex" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="w3c" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="sqlj"
>>> name="*"    resolver="thirdparty" />
>>>                 <module organisation="wutka" name="*"
>>> resolver="thirdparty" />
>>>                 <module organisation="xmlparser" name="*"
>>> resolver="thirdparty" />
>>>         </modules>
>>>
>>>          <!-- points to my local livraisons -->
>>>          <classpath     file="C:/ivylivraison/24082007/OFACDependencies-
>>> CURRENT.jar" />
>>>          <!-- points to server repository used by all OFAC
>>>          <classpath
>>> file="I:/shared/ivyconf/ivylivraison/23082007/OFACDependencies-CURRENT.jar
>>> "
>>> />
>>>          -->
>>>
>>>         <!-- strategie qui considere que CURRENT est plus recent que
>>> HEAD
>>> qui est
>>> plus recent que prod etc...
>>>                 OfacLatestStrategyTest donne une bonne idee de son
>>> comportement. -->
>>>         <typedef name="ofac-latest-strategy"
>>>                 classname="ch.ofac.ivy.latest.OfacLatestStrategy" />
>>>         <latest-strategies>
>>>                 <ofac-latest-strategy name="ofac-latest" />
>>>         </latest-strategies>
>>>
>>>         <!-- Conflict manager qui utilise la strategie definie plus haut
>>> -->
>>>         <conflict-managers>
>>>                 <latest-cm name="ofac-cm" latest="ofac-latest" />
>>>                 <latest-revision name="latest-revision" />
>>>         </conflict-managers>
>>>
>>> </ivyconf>
>>> ***************************************************************
>>>
>>>
>>>
>>> bhatia wrote:
>>> >
>>> > Hello,
>>> >
>>> > Problem scenario:
>>> >
>>> > Step 1) Project "nr" has a dependency on Project "ad".
>>> >
>>> > Step 2) I check out my working copy of both project "nr" and project
>>> "ad"
>>> > in Eclipse workspace.
>>> >
>>> > Step 3) I make my changes to project "ad" in my workspace and publish
>>> it
>>> > using a local resolver into my local filesystem using a "local"
>>> resolver
>>> > like this:
>>> >
>>> > In ivy.xml of project "ad", I declare revision="CURRENT" like this:
>>> >
>>> > <info organisation="ofac" module="ad" revision="CURRENT"/>
>>> >
>>> > In my common.xml, I publish to the local repository like this:
>>> >
>>> > <target name="publish-war-en-locale" depends="make-war-en-locale"
>>> > description="-> publish this project's war and its sources in the
>>> local
>>> > user repository">
>>> >               <ivy:publish resolver="local"
>>> > artifactspattern="[type]/[artifact](-[revision]).[ext]"
>>> > pubrevision="${revision}"/>
>>> >       </target>
>>> >
>>> > After publishing of "ad" is successful in my "local" repository, I get
>>> the
>>> > following:
>>> >
>>> > publish-war-en-locale:
>>> > [ivy:publish] :: delivering :: [ ofac | ad | CURRENT ] :: CURRENT ::
>>> > integration :: Tue Aug 28 13:15:17 CEST 2007
>>> > [ivy:publish] delivering ivy file to ivy/ivy-CURRENT.xml
>>> > [ivy:publish] :: publishing :: [ ofac | ad ]
>>> > [ivy:publish] published ad to
>>> > c:\myrep/local/ofac/ad/CURRENT/sources/ad-CURRENT.src.jar
>>> > [ivy:publish] published ad to
>>> > c:\myrep/local/ofac/ad/CURRENT/wars/ad-CURRENT.war
>>> > [ivy:publish] published ivy to
>>> c:\myrep/local/ofac/ad/CURRENT/ivys/ivy.xml
>>> > BUILD SUCCESSFUL
>>> >
>>> > step 4) Resolve/retrieve project "ad" which I recently published to my
>>> > "local" repository (revision="CURRENT") from project "nr" like this:
>>> >
>>> > project "nr" ivy.xml:
>>> >
>>> > <ivy-module version="1.0">
>>> >  <info organisation="ofac" module="nr" revision="prod"/>
>>> > <configurations>
>>> >       <conf name="compile" description="compile-time deps only"
>>> > transitive="true" visibility="public"/>
>>> >       <conf name="run" description="run-time deps only, also used for
>>> creating
>>> > and publishing an artifact" transitive="false" visibility="public"/>
>>> > </configurations>
>>> > <publications>
>>> >       <artifact name="nr" type="war"/>
>>> >       <artifact name="nr" type="source" ext="src.jar"/>
>>> > </publications>
>>> >  <dependencies>
>>> >     <dependency org="ofac" name="ad" rev="CURRENT" conf="compile">
>>> >         <artifact name="ad" type="war"/>
>>> >     </dependency>
>>> >  </dependencies>
>>> >  <conflicts>
>>> >     <manager name="ofac-cm" org="ofac"/>
>>> >     <manager name="latest-revision" org="(?!ofac).*"/>
>>> >  </conflicts>
>>> > </ivy-module>
>>> >
>>> > In common.xml, when I launch "retrieve-compile" like this:
>>> >
>>> > <target name="retrieve-compile" depends="init" description="->
>>> retrieve
>>> > compile-time dependencies in the lib folder of this project, if it
>>> doesnt
>>> > exist, create it">
>>> >               <fail>
>>> >                       Il n'y a pas de fichier ivy.xml dans ce projet
>>> >                       <condition>
>>> >                               <not>
>>> >                                       <available
>>> file="${basedir}/ivy.xml" type="file" />
>>> >                               </not>
>>> >                       </condition>
>>> >               </fail>
>>> >               <mkdir dir="${compile.conf.dir}" />
>>> >               <ivy:retrieve
>>> > pattern="${compile.conf.dir}/[artifact](-[revision]).[ext]"
>>> type="jar,war"
>>> > conf="compile"/>
>>> >       </target>
>>> >
>>> > I get the following error on the console:
>>> >
>>> > [ivy:retrieve] :: evicted modules:
>>> > [ivy:retrieve] [ ofac | ad | prod ] by [[ ofac | ad | CURRENT ]] in
>>> > [compile]
>>> > ---------------------------------------------------------------------
>>> > |                  |            modules            ||   artifacts   |
>>> > |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
>>> > ---------------------------------------------------------------------
>>> > |      compile     |  159  |   0   |   0   |   1   ||  208  |   0   |
>>> > ---------------------------------------------------------------------
>>> >
>>> > [ivy:retrieve] module not found: [ ofac | ad | CURRENT ]
>>> > [ivy:retrieve] internal: tried I:/shared/ofac/ad/CURRENT/ivys/ivy.xml
>>> > [ivy:retrieve] internal: tried artifact [ ofac | ad | CURRENT
>>> > ]/ad.war[war]:
>>> > [ivy:retrieve] I:/shared/ofac/ad/CURRENT/wars/ad-CURRENT.war
>>> >
>>> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>>> > [ivy:retrieve] ::          UNRESOLVED DEPENDENCIES         ::
>>> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>>> > [ivy:retrieve] :: [ ofac | ad | CURRENT ]: not found
>>> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>>> > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>>> >
>>> > BUILD FAILED
>>> > C:\ivylivraison\24082007\common.xml:88: impossible to resolve
>>> > dependencies: resolve failed - see output for details
>>> >
>>> > I have defined a chain like this in my ivyconf.xml:
>>> >
>>> > <resolvers checksums="false">
>>> >        <chain name="chainresolver" returnFirst="true">
>>> >         <!-- resolver for local artifacts in local filesystem -->
>>> >               <filesystem name="local">
>>> >       <ivy
>>> > pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}"
>>> />
>>> >       <artifact
>>> >
>>> pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern
>>> }"
>>> > />
>>> >     </filesystem>
>>> >         <!-- resolver for OFAC internal artifacts in the cellar -->
>>> >               <filesystem name="internal">
>>> >                       <ivy
>>> >
>>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>>> > />
>>> >                       <artifact
>>> >
>>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>>> > />
>>> >               </filesystem>
>>> >               <!-- resolver for external third party artifacts in the
>>> cellar -->
>>> >               <filesystem name="thirdparty">
>>> >                       <ivy
>>> >
>>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>>> > />
>>> >                       <artifact
>>> >
>>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>>> > />
>>> >               </filesystem>
>>> >     </chain>
>>> >       </resolvers>
>>> >
>>> > I am not referencing "chainresolver" specified here in my common.xml
>>> in
>>> > any of the targets. Is this the right way to do it ?
>>> >
>>> > I dont know why Ivy doesnt find my ad-CURRENT artifacts in the "local"
>>> > repository. It seems to be searching in thirdparty and/or shared
>>> > repository only.
>>> >
>>> > Any help would be welcome.
>>> >
>>> > thanks
>>> >
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12368006
>>> Sent from the ivy-user mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -- 
>> Xavier Hanin - Independent Java Consultant
>> http://xhab.blogspot.com/
>> http://incubator.apache.org/ivy/
>> http://www.xoocode.org/
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12382548
Sent from the ivy-user mailing list archive at Nabble.com.


Re: problem resolving/retrieving using a chain resolver

Posted by bhatia <Bh...@OFAC.CH>.
Yes, it works with absolute paths. 
Thanks a lot.


Xavier Hanin wrote:
> 
> This may be a problem of relative paths. Try using absolute paths only,
> for
> instance by using paths relative to the ivy settings file (using ${
> ivy.conf.dir} in 1.4).
> 
> Xavier
> 
> On 8/29/07, bhatia <Bh...@ofac.ch> wrote:
>>
>>
>> I am using RAD7, IvyDE 1.2.0, apache-ant-1.6.5.
>>
>> I also noticed that I now have 2 caches, one for the local resolver
>> "local"
>> (which got created when I added a new local resolver) and the default one
>> in
>> ${user}\.ivy\cache.
>>
>> Here is what I get when I do a resolve from IvyDE on the ivy container:
>>
>> "Impossible to resolve dependencies of [ofac¦nr¦prod]: unresolved
>> dependency: [ofac¦ad¦CURRENT]: not found"
>>
>> This is what I have in the Ivy Console in RAD7. From the Ivy console, it
>> is
>> clear that its not searching for ad-CURRENT in my local repository but
>> its
>> looking in my RAD7 workspace where of course it wont find this artifact.
>> The
>> "retrieve-compile" target in my common.xml works cool though.
>>
>> thanks
>>
>>
>> ***************************************************************************
>>
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACXEDO\jars\OFACXEDO-prod.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-prod.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACOF\sources\OFACOF-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACOF-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\gnu\regex\jars\regex-0.1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\regex-0.1.0.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\oro\jars\oro-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\oro-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\commons-collections\jars\commons-
>> collections-3.2.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
>> collections-3.2.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\mozilla\mozilla\jars\js-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\js-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACGD\jars\OFACGD-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACDI\jars\OFACDI-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\ifxjdbc\jars\ifxjdbc-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\ifxjdbc-1.0.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACMN\sources\OFACMN-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACMN-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACBA\sources\OFACBA-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBA-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACIM\sources\OFACIM-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIM-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\electric\exml\jars\exml-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\exml-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\jayasoft\ivy-core\jars\ivy-core-1.4.1.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-core-1.4.1.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACXML\sources\OFACXML-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXML-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACCD\sources\OFACCD-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCD-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\IBMLogging\jars\IBMLogging-1.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\IBMLogging-1.0.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\axis\jars\axis-1.1.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\axis-1.1.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\commons-httpclient\jars\commons-
>> httpclient-2.0-rc3.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
>> httpclient-2.0-rc3.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACIntranet\sources\OFACIntranet-
>> prod.src.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIntranet-
>> prod.src.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\jcraft\jsch\jars\jsch-0.1.23.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\jsch-0.1.23.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\commons-net\jars\commons-net-1.1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
>> net-1.1.0.jar [NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\jayasoft\ivy\jars\ivy-1.4.1.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-1.4.1.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACFD\jars\OFACFD-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\eclipse\birt-report\jars\birt-report-1.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\birt-report-1.0.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\jrefinery\JFreeChart\jars\JFreeChart-1.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\JFreeChart-1.0.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\omg\ots-jts\jars\ots-jts-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\ots-jts-1.0.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\sun\mail\jars\mail-1.1.3.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\mail-1.1.3.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACWS\sources\OFACWS-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACWS-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\wutka\jox\jars\jox-1.17b3.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\jox-1.17b3.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACGA\sources\OFACGA-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGA-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACLib\jars\OFACLib-prod.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACNR\jars\OFACNR-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\commons-fileupload\jars\commons-
>> fileupload-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
>> fileupload-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACGNU\sources\OFACGNU-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGNU-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>>
>> Settings\bhatia\.ivy\cache\eclipse\emf-ecore-xmi\jars\org.eclipse.emf.ecore.xmi-
>> 2.1.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.ecore.xmi-2.1.0.jar
>> [NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\opensymphony\propertyset\jars\propertyset-
>> 1.4.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\propertyset-1.4.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACSSO\jars\OFACSSO-prod.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACFramework\sources\OFACFramework-
>> prod.src.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFramework-
>> prod.src.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\exolab\castor\jars\castor-0.9.5.2.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\castor-0.9.5.2.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACCZ\jars\OFACCZ-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACBatch\sources\OFACBatch-prod.src.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBatch-
>> prod.src.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\db2jcc\jars\db2jcc-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\eclipse\birt-data-engine\jars\dte-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\dte-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACCommon\sources\OFACCommon-prod.src.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCommon-
>> prod.src.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\sun\servlet\jars\servlet-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\servlet-1.0.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\fop\jars\fop-0.20.5.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\fop-0.20.5.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\sun\saaj\jars\saaj-1.1.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\saaj-1.1.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\commons-logging\jars\commons-
>> logging-1.0.3.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
>> logging-1.0.3.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACCS\jars\OFACCS-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\wutka\dtdparser\jars\dtdparser-119.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\dtdparser-119.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACXEDO\sources\OFACXEDO-prod.src.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-
>> prod.src.jar [NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACFC\jars\OFACFC-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFC-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACEDO\jars\OFACEDO-prod.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACEDO-prod.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACGD\sources\OFACGD-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACDI\sources\OFACDI-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACPH\jars\OFACPH-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPH-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\opensymphony\oscore\jars\oscore-2.2.5.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\oscore-2.2.5.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\eclipse\emf-common\jars\org.eclipse.emf.common-
>> 2.1.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.common-2.1.0.jar
>> [NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\wsdl4j\jars\wsdl4j-1.5.1.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\wsdl4j-1.5.1.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\w3c\Tidy\jars\Tidy-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\Tidy-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\w3c\flute\jars\flute-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\flute-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACPP\jars\OFACPP-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPP-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\IBMUtil\jars\IBMUtil-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMUtil-1.0.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\IBMSecurity\jars\IBMSecurity-0.1.1.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMSecurity-
>> 0.1.1.jar [NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cisuz\jars\db2jcc-
>> license-cisuz-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-
>> license-cisuz-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACFD\sources\OFACFD-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\taglibs-i18n\jars\taglibs-i18n-1.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-i18n-1.0.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\log4j\jars\log4j-1.2.8.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\log4j-1.2.8.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\batik\jars\batik-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\batik-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\resolver\jars\resolver-1.1.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\resolver-1.1.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACLib\sources\OFACLib-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACNR\sources\OFACNR-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\meterware\httpunit\jars\httpunit-1.5.4.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\httpunit-1.5.4.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\jpedal\JPedal\jars\JPedal-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\JPedal-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\runtime\jars\runtime-5.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\runtime-5.0.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACSSO\sources\OFACSSO-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACDO\jars\OFACDO-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDO-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACPage\jars\OFACPage-prod.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPage-prod.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACCZ\sources\OFACCZ-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACPool\jars\OFACPool-prod.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPool-prod.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\eclipse\birt-report-engine\jars\engine-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\engine-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACConverter\jars\OFACConverter-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACConverter-
>> prod.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\w3c\css-sac\jars\sac-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\sac-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cu\jars\db2jcc-
>> license-cu-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-
>> license-cu-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\eclipse\datatools-connectivity\jars\oda-
>> consumer-helper-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\oda-
>> consumer-helper-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\eclipse\birt-chart\jars\chart-engine-1.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\chart-engine-1.0.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACCS\sources\OFACCS-prod.src.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.src.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\sun\activation\jars\activation-1.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\activation-1.0.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACCQ\jars\OFACCQ-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCQ-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\xalan\jars\xalan-2.4.1.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\xalan-2.4.1.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ofac\OFACPO\jars\OFACPO-prod.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPO-prod.jar
>> [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\taglibs-i18n-ofac\jars\taglibs-
>> i18n-ofac-1.0.jar
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-
>> i18n-ofac-1.0.jar [NOT
>> REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\ibm\soap\jars\soapcfg-1.3.0.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\soapcfg-1.3.0.jar[NOT REQUIRED]
>>         retrieving C:\Documents and
>> Settings\bhatia\.ivy\cache\apache\xmlsec\jars\xmlsec-1.0.4.jar
>>                 to
>> C:\RAD7\CURRENT\OFACAD\lib\compile\xmlsec-1.0.4.jar[NOT REQUIRED]
>>         0 artifacts copied, 181 already retrieved
>>         retrieve done (283ms)
>> resolving dependencies of C:\RAD7\CURRENT\nr\ivy.xml
>> resolving dependencies of C:\RAD7\CURRENT\medicpool\ivy.xml
>> resolving dependencies of C:\RAD7\CURRENT\OFACCommon\ivy.xml
>> resolving dependencies of C:\RAD7\CURRENT\sso\ivy.xml
>> resolving dependencies of C:\RAD7\CURRENT\intranet\ivy.xml
>> resolving dependencies of C:\RAD7\CURRENT\di\ivy.xml
>> resolving dependencies of C:\RAD7\CURRENT\ad\ivy.xml
>>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\webservice-
>> runtime-1.0.jar [NOT
>> REQUIRED]
>>
>> ***********************************************************************
>>
>>
>>
>>
>>
>>
>>
>> Xavier Hanin wrote:
>> >
>> > On 8/28/07, bhatia <Bh...@ofac.ch> wrote:
>> >>
>> >>
>> >> Hello,
>> >>
>> >> When I use my ant target "retrieve-compile", no problems and its able
>> to
>> >> fetch the ad-CURRENT artifacts from the local resolver.
>> >>
>> >> But when I do a resolve from IvyDE container, it cant resolve. my ant
>> >> target
>> >> and IvyDE have the same ivyconf so I dont know why something would
>> work
>> >> from
>> >> the ant target but not from the IvyDE container.
>> >
>> >
>> > This is strange. Which versions of both are you using? What is the
>> message
>> > you get from IvyDE? What do you see on the IvyConsole in eclipse?
>> >
>> > Xavier
>> >
>> > thanks
>> >>
>> >>
>> >>
>> **************************************************************************3
>> >>         <target name="retrieve-compile" depends="init" description="->
>> >> retrieve
>> >> compile-time dependencies of this project">
>> >>                 <fail>
>> >>                         Il n'y a pas de fichier ivy.xml dans ce projet
>> >>                         <condition>
>> >>                                 <not>
>> >>                                         <available
>> >> file="${basedir}/ivy.xml" type="file" />
>> >>                                 </not>
>> >>                         </condition>
>> >>                 </fail>
>> >>                 <mkdir dir="${compile.conf.dir}" />
>> >>                 <ivy:retrieve pattern="${compile.conf.dir
>> >> }/[artifact](-[revision]).[ext]"
>> >> type="jar,war" conf="compile"/>
>> >>         </target>
>> >>
>> >> ********************************************************************
>> >>
>> >> <ivyconf>
>> >>
>> >>         <conf defaultResolver="chainresolver" />
>> >>         <!-- this is the shared repository using ivy configurations
>> -->
>> >>         <property name="cellier" value="I:/shared" />
>> >>         <!-- do not generated checksums -->
>> >>         <property name="ivy.checksums" value="" />
>> >>         <!-- define property for local ivy repository -->
>> >>         <!--<property name="ivy.default.ivy.user.dir"
>> >> value="c:/myrep"/>-->
>> >>
>> >>   <!-- define properties for the local developer repository -->
>> >>   <!-- artifacts found here will be taken first even if a more recent
>> >> version is found in the cellar -->
>> >>   <!-- this is necessary to resolve delta artifacts in the local
>> >> filesystem
>> >> -->
>> >>         <property name="ivy.local.default.root"
>> >> value="${ivy.default.ivy.user.dir}/local" override="false"/>
>> >>   <property name="ivy.local.default.ivy.pattern"
>> >> value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> >> override="false"/>
>> >>   <property name="ivy.local.default.artifact.pattern"
>> >>
>> >>
>> value="[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>> >> override="false"/>
>> >>
>> >>         <resolvers checksums="false">
>> >>          <chain name="chainresolver" returnFirst="true">
>> >>           <!-- resolver for local artifacts in local filesystem -->
>> >>                 <filesystem name="local">
>> >>       <ivy
>> >> pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}"
>> />
>> >>       <artifact
>> >>
>> pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern
>> }"
>> >> />
>> >>     </filesystem>
>> >>           <!-- resolver for OFAC internal artifacts in the cellar -->
>> >>                 <filesystem name="internal">
>> >>                         <ivy
>> >>
>> >>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> >> />
>> >>                         <artifact
>> >>
>> >>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>> >> />
>> >>                 </filesystem>
>> >>                 <!-- resolver for external third party artifacts in
>> the
>> >> cellar -->
>> >>                 <filesystem name="thirdparty">
>> >>                         <ivy
>> >>
>> >>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> >> />
>> >>                         <artifact
>> >>
>> >>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> >> />
>> >>                 </filesystem>
>> >>     </chain>
>> >>         </resolvers>
>> >>
>> >>   <!-- module resolver mappings -->
>> >>         <modules>
>> >>                 <module organisation="ofac"
>> >> name="*"    resolver="chainresolver" />
>> >>                 <module organisation="apache"
>> >> name="*"  resolver="thirdparty" />
>> >>                 <module organisation="dbunit"
>> >> name="*"  resolver="thirdparty" />
>> >>                 <module organisation="easymock"
>> >> name="*"        resolver="thirdparty" />
>> >>                 <module organisation="eclipse" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="electric"
>> >> name="*"        resolver="thirdparty" />
>> >>                 <module organisation="exolab"
>> >> name="*"  resolver="thirdparty" />
>> >>                 <module organisation="gnu" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="ibm" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="jayasoft"
>> >> name="*"        resolver="thirdparty" />
>> >>                 <module organisation="jcraft"
>> >> name="*"  resolver="thirdparty" />
>> >>                 <module organisation="jpedal"
>> >> name="*"  resolver="thirdparty" />
>> >>                 <module organisation="jrefinery" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="junit" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="lowagie" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="meterware" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="mirrorworlds"
>> >> name="*"    resolver="thirdparty" />
>> >>                 <module organisation="mousepushers"
>> >> name="*"    resolver="thirdparty" />
>> >>                 <module organisation="mozilla" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="omg" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="opensymphony"
>> >> name="*"    resolver="thirdparty" />
>> >>                 <module organisation="oroinc"
>> >> name="*"  resolver="thirdparty" />
>> >>                 <module organisation="sourceforge" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="sqlj"
>> >> name="*"    resolver="thirdparty" />
>> >>                 <module organisation="sun" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="tyrex" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="w3c" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="sqlj"
>> >> name="*"    resolver="thirdparty" />
>> >>                 <module organisation="wutka" name="*"
>> >> resolver="thirdparty" />
>> >>                 <module organisation="xmlparser" name="*"
>> >> resolver="thirdparty" />
>> >>         </modules>
>> >>
>> >>          <!-- points to my local livraisons -->
>> >>          <classpath
>> file="C:/ivylivraison/24082007/OFACDependencies-
>> >> CURRENT.jar" />
>> >>          <!-- points to server repository used by all OFAC
>> >>          <classpath
>> >> file="I:/shared/ivyconf/ivylivraison/23082007/OFACDependencies-
>> CURRENT.jar
>> >> "
>> >> />
>> >>          -->
>> >>
>> >>         <!-- strategie qui considere que CURRENT est plus recent que
>> HEAD
>> >> qui est
>> >> plus recent que prod etc...
>> >>                 OfacLatestStrategyTest donne une bonne idee de son
>> >> comportement. -->
>> >>         <typedef name="ofac-latest-strategy"
>> >>                 classname="ch.ofac.ivy.latest.OfacLatestStrategy" />
>> >>         <latest-strategies>
>> >>                 <ofac-latest-strategy name="ofac-latest" />
>> >>         </latest-strategies>
>> >>
>> >>         <!-- Conflict manager qui utilise la strategie definie plus
>> haut
>> >> -->
>> >>         <conflict-managers>
>> >>                 <latest-cm name="ofac-cm" latest="ofac-latest" />
>> >>                 <latest-revision name="latest-revision" />
>> >>         </conflict-managers>
>> >>
>> >> </ivyconf>
>> >> ***************************************************************
>> >>
>> >>
>> >>
>> >> bhatia wrote:
>> >> >
>> >> > Hello,
>> >> >
>> >> > Problem scenario:
>> >> >
>> >> > Step 1) Project "nr" has a dependency on Project "ad".
>> >> >
>> >> > Step 2) I check out my working copy of both project "nr" and project
>> >> "ad"
>> >> > in Eclipse workspace.
>> >> >
>> >> > Step 3) I make my changes to project "ad" in my workspace and
>> publish
>> >> it
>> >> > using a local resolver into my local filesystem using a "local"
>> >> resolver
>> >> > like this:
>> >> >
>> >> > In ivy.xml of project "ad", I declare revision="CURRENT" like this:
>> >> >
>> >> > <info organisation="ofac" module="ad" revision="CURRENT"/>
>> >> >
>> >> > In my common.xml, I publish to the local repository like this:
>> >> >
>> >> > <target name="publish-war-en-locale" depends="make-war-en-locale"
>> >> > description="-> publish this project's war and its sources in the
>> local
>> >> > user repository">
>> >> >               <ivy:publish resolver="local"
>> >> > artifactspattern="[type]/[artifact](-[revision]).[ext]"
>> >> > pubrevision="${revision}"/>
>> >> >       </target>
>> >> >
>> >> > After publishing of "ad" is successful in my "local" repository, I
>> get
>> >> the
>> >> > following:
>> >> >
>> >> > publish-war-en-locale:
>> >> > [ivy:publish] :: delivering :: [ ofac | ad | CURRENT ] :: CURRENT ::
>> >> > integration :: Tue Aug 28 13:15:17 CEST 2007
>> >> > [ivy:publish] delivering ivy file to ivy/ivy-CURRENT.xml
>> >> > [ivy:publish] :: publishing :: [ ofac | ad ]
>> >> > [ivy:publish] published ad to
>> >> > c:\myrep/local/ofac/ad/CURRENT/sources/ad-CURRENT.src.jar
>> >> > [ivy:publish] published ad to
>> >> > c:\myrep/local/ofac/ad/CURRENT/wars/ad-CURRENT.war
>> >> > [ivy:publish] published ivy to
>> >> c:\myrep/local/ofac/ad/CURRENT/ivys/ivy.xml
>> >> > BUILD SUCCESSFUL
>> >> >
>> >> > step 4) Resolve/retrieve project "ad" which I recently published to
>> my
>> >> > "local" repository (revision="CURRENT") from project "nr" like this:
>> >> >
>> >> > project "nr" ivy.xml:
>> >> >
>> >> > <ivy-module version="1.0">
>> >> >  <info organisation="ofac" module="nr" revision="prod"/>
>> >> > <configurations>
>> >> >       <conf name="compile" description="compile-time deps only"
>> >> > transitive="true" visibility="public"/>
>> >> >       <conf name="run" description="run-time deps only, also used
>> for
>> >> creating
>> >> > and publishing an artifact" transitive="false" visibility="public"/>
>> >> > </configurations>
>> >> > <publications>
>> >> >       <artifact name="nr" type="war"/>
>> >> >       <artifact name="nr" type="source" ext="src.jar"/>
>> >> > </publications>
>> >> >  <dependencies>
>> >> >     <dependency org="ofac" name="ad" rev="CURRENT" conf="compile">
>> >> >         <artifact name="ad" type="war"/>
>> >> >     </dependency>
>> >> >  </dependencies>
>> >> >  <conflicts>
>> >> >     <manager name="ofac-cm" org="ofac"/>
>> >> >     <manager name="latest-revision" org="(?!ofac).*"/>
>> >> >  </conflicts>
>> >> > </ivy-module>
>> >> >
>> >> > In common.xml, when I launch "retrieve-compile" like this:
>> >> >
>> >> > <target name="retrieve-compile" depends="init" description="->
>> retrieve
>> >> > compile-time dependencies in the lib folder of this project, if it
>> >> doesnt
>> >> > exist, create it">
>> >> >               <fail>
>> >> >                       Il n'y a pas de fichier ivy.xml dans ce projet
>> >> >                       <condition>
>> >> >                               <not>
>> >> >                                       <available
>> >> file="${basedir}/ivy.xml" type="file" />
>> >> >                               </not>
>> >> >                       </condition>
>> >> >               </fail>
>> >> >               <mkdir dir="${compile.conf.dir}" />
>> >> >               <ivy:retrieve
>> >> > pattern="${compile.conf.dir}/[artifact](-[revision]).[ext]"
>> >> type="jar,war"
>> >> > conf="compile"/>
>> >> >       </target>
>> >> >
>> >> > I get the following error on the console:
>> >> >
>> >> > [ivy:retrieve] :: evicted modules:
>> >> > [ivy:retrieve] [ ofac | ad | prod ] by [[ ofac | ad | CURRENT ]] in
>> >> > [compile]
>> >> >
>> ---------------------------------------------------------------------
>> >> > |                  |            modules            ||   artifacts  
>> |
>> >> > |       conf       | number| search|dwnlded|evicted||
>> number|dwnlded|
>> >> >
>> ---------------------------------------------------------------------
>> >> > |      compile     |  159  |   0   |   0   |   1   ||  208  |   0  
>> |
>> >> >
>> ---------------------------------------------------------------------
>> >> >
>> >> > [ivy:retrieve] module not found: [ ofac | ad | CURRENT ]
>> >> > [ivy:retrieve] internal: tried
>> I:/shared/ofac/ad/CURRENT/ivys/ivy.xml
>> >> > [ivy:retrieve] internal: tried artifact [ ofac | ad | CURRENT
>> >> > ]/ad.war[war]:
>> >> > [ivy:retrieve] I:/shared/ofac/ad/CURRENT/wars/ad-CURRENT.war
>> >> >
>> >> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>> >> > [ivy:retrieve] ::          UNRESOLVED DEPENDENCIES         ::
>> >> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>> >> > [ivy:retrieve] :: [ ofac | ad | CURRENT ]: not found
>> >> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>> >> > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE
>> DETAILS
>> >> >
>> >> > BUILD FAILED
>> >> > C:\ivylivraison\24082007\common.xml:88: impossible to resolve
>> >> > dependencies: resolve failed - see output for details
>> >> >
>> >> > I have defined a chain like this in my ivyconf.xml:
>> >> >
>> >> > <resolvers checksums="false">
>> >> >        <chain name="chainresolver" returnFirst="true">
>> >> >         <!-- resolver for local artifacts in local filesystem -->
>> >> >               <filesystem name="local">
>> >> >       <ivy
>> >> > pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}"
>> />
>> >> >       <artifact
>> >> > pattern="${ivy.local.default.root}/${
>> ivy.local.default.artifact.pattern
>> >> }"
>> >> > />
>> >> >     </filesystem>
>> >> >         <!-- resolver for OFAC internal artifacts in the cellar -->
>> >> >               <filesystem name="internal">
>> >> >                       <ivy
>> >> >
>> >>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> >> > />
>> >> >                       <artifact
>> >> >
>> >>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>> >> > />
>> >> >               </filesystem>
>> >> >               <!-- resolver for external third party artifacts in
>> the
>> >> cellar -->
>> >> >               <filesystem name="thirdparty">
>> >> >                       <ivy
>> >> >
>> >>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> >> > />
>> >> >                       <artifact
>> >> >
>> >>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> >> > />
>> >> >               </filesystem>
>> >> >     </chain>
>> >> >       </resolvers>
>> >> >
>> >> > I am not referencing "chainresolver" specified here in my
>> common.xmlin
>> >> > any of the targets. Is this the right way to do it ?
>> >> >
>> >> > I dont know why Ivy doesnt find my ad-CURRENT artifacts in the
>> "local"
>> >> > repository. It seems to be searching in thirdparty and/or shared
>> >> > repository only.
>> >> >
>> >> > Any help would be welcome.
>> >> >
>> >> > thanks
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12368006
>> >> Sent from the ivy-user mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Xavier Hanin - Independent Java Consultant
>> > http://xhab.blogspot.com/
>> > http://incubator.apache.org/ivy/
>> > http://www.xoocode.org/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12382046
>> Sent from the ivy-user mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://incubator.apache.org/ivy/
> http://www.xoocode.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12386550
Sent from the ivy-user mailing list archive at Nabble.com.


Re: problem resolving/retrieving using a chain resolver

Posted by Xavier Hanin <xa...@gmail.com>.
This may be a problem of relative paths. Try using absolute paths only, for
instance by using paths relative to the ivy settings file (using ${
ivy.conf.dir} in 1.4).

Xavier

On 8/29/07, bhatia <Bh...@ofac.ch> wrote:
>
>
> I am using RAD7, IvyDE 1.2.0, apache-ant-1.6.5.
>
> I also noticed that I now have 2 caches, one for the local resolver
> "local"
> (which got created when I added a new local resolver) and the default one
> in
> ${user}\.ivy\cache.
>
> Here is what I get when I do a resolve from IvyDE on the ivy container:
>
> "Impossible to resolve dependencies of [ofac¦nr¦prod]: unresolved
> dependency: [ofac¦ad¦CURRENT]: not found"
>
> This is what I have in the Ivy Console in RAD7. From the Ivy console, it
> is
> clear that its not searching for ad-CURRENT in my local repository but its
> looking in my RAD7 workspace where of course it wont find this artifact.
> The
> "retrieve-compile" target in my common.xml works cool though.
>
> thanks
>
>
> ***************************************************************************
>
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACXEDO\jars\OFACXEDO-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-prod.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACOF\sources\OFACOF-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACOF-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\gnu\regex\jars\regex-0.1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\regex-0.1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\oro\jars\oro-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\oro-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-collections\jars\commons-
> collections-3.2.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
> collections-3.2.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\mozilla\mozilla\jars\js-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\js-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACGD\jars\OFACGD-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACDI\jars\OFACDI-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\ifxjdbc\jars\ifxjdbc-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\ifxjdbc-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACMN\sources\OFACMN-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACMN-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACBA\sources\OFACBA-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBA-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACIM\sources\OFACIM-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIM-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\electric\exml\jars\exml-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\exml-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jayasoft\ivy-core\jars\ivy-core-1.4.1.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-core-1.4.1.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACXML\sources\OFACXML-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXML-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCD\sources\OFACCD-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCD-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\IBMLogging\jars\IBMLogging-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMLogging-1.0.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\axis\jars\axis-1.1.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\axis-1.1.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-httpclient\jars\commons-
> httpclient-2.0-rc3.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
> httpclient-2.0-rc3.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACIntranet\sources\OFACIntranet-
> prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIntranet-
> prod.src.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jcraft\jsch\jars\jsch-0.1.23.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\jsch-0.1.23.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-net\jars\commons-net-1.1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
> net-1.1.0.jar [NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jayasoft\ivy\jars\ivy-1.4.1.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-1.4.1.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACFD\jars\OFACFD-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\birt-report\jars\birt-report-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\birt-report-1.0.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jrefinery\JFreeChart\jars\JFreeChart-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\JFreeChart-1.0.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\omg\ots-jts\jars\ots-jts-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\ots-jts-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\sun\mail\jars\mail-1.1.3.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\mail-1.1.3.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACWS\sources\OFACWS-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACWS-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\wutka\jox\jars\jox-1.17b3.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\jox-1.17b3.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACGA\sources\OFACGA-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGA-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACLib\jars\OFACLib-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACNR\jars\OFACNR-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-fileupload\jars\commons-
> fileupload-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
> fileupload-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACGNU\sources\OFACGNU-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGNU-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
>
> Settings\bhatia\.ivy\cache\eclipse\emf-ecore-xmi\jars\org.eclipse.emf.ecore.xmi-
> 2.1.0.jar
>                 to
> C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.ecore.xmi-2.1.0.jar
> [NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\opensymphony\propertyset\jars\propertyset-
> 1.4.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\propertyset-1.4.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACSSO\jars\OFACSSO-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACFramework\sources\OFACFramework-
> prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFramework-
> prod.src.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\exolab\castor\jars\castor-0.9.5.2.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\castor-0.9.5.2.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCZ\jars\OFACCZ-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACBatch\sources\OFACBatch-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBatch-
> prod.src.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\db2jcc\jars\db2jcc-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\birt-data-engine\jars\dte-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\dte-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCommon\sources\OFACCommon-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCommon-
> prod.src.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\sun\servlet\jars\servlet-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\servlet-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\fop\jars\fop-0.20.5.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\fop-0.20.5.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\sun\saaj\jars\saaj-1.1.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\saaj-1.1.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\commons-logging\jars\commons-
> logging-1.0.3.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-
> logging-1.0.3.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCS\jars\OFACCS-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\wutka\dtdparser\jars\dtdparser-119.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\dtdparser-119.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACXEDO\sources\OFACXEDO-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-
> prod.src.jar [NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACFC\jars\OFACFC-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFC-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACEDO\jars\OFACEDO-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACEDO-prod.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACGD\sources\OFACGD-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACDI\sources\OFACDI-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPH\jars\OFACPH-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPH-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\opensymphony\oscore\jars\oscore-2.2.5.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\oscore-2.2.5.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\emf-common\jars\org.eclipse.emf.common-
> 2.1.0.jar
>                 to
> C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.common-2.1.0.jar
> [NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\wsdl4j\jars\wsdl4j-1.5.1.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\wsdl4j-1.5.1.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\w3c\Tidy\jars\Tidy-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\Tidy-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\w3c\flute\jars\flute-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\flute-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPP\jars\OFACPP-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPP-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\IBMUtil\jars\IBMUtil-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMUtil-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\IBMSecurity\jars\IBMSecurity-0.1.1.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMSecurity-
> 0.1.1.jar [NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cisuz\jars\db2jcc-
> license-cisuz-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-
> license-cisuz-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACFD\sources\OFACFD-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\taglibs-i18n\jars\taglibs-i18n-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-i18n-1.0.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\log4j\jars\log4j-1.2.8.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\log4j-1.2.8.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\batik\jars\batik-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\batik-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\resolver\jars\resolver-1.1.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\resolver-1.1.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACLib\sources\OFACLib-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACNR\sources\OFACNR-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\meterware\httpunit\jars\httpunit-1.5.4.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\httpunit-1.5.4.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\jpedal\JPedal\jars\JPedal-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\JPedal-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\runtime\jars\runtime-5.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\runtime-5.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACSSO\sources\OFACSSO-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACDO\jars\OFACDO-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDO-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPage\jars\OFACPage-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPage-prod.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCZ\sources\OFACCZ-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPool\jars\OFACPool-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPool-prod.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\birt-report-engine\jars\engine-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\engine-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACConverter\jars\OFACConverter-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACConverter-
> prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\w3c\css-sac\jars\sac-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\sac-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cu\jars\db2jcc-
> license-cu-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-
> license-cu-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\datatools-connectivity\jars\oda-
> consumer-helper-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\oda-
> consumer-helper-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\eclipse\birt-chart\jars\chart-engine-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\chart-engine-1.0.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCS\sources\OFACCS-prod.src.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.src.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\sun\activation\jars\activation-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\activation-1.0.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACCQ\jars\OFACCQ-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCQ-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\xalan\jars\xalan-2.4.1.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\xalan-2.4.1.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ofac\OFACPO\jars\OFACPO-prod.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPO-prod.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\taglibs-i18n-ofac\jars\taglibs-
> i18n-ofac-1.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-
> i18n-ofac-1.0.jar [NOT
> REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\ibm\soap\jars\soapcfg-1.3.0.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\soapcfg-1.3.0.jar[NOT REQUIRED]
>         retrieving C:\Documents and
> Settings\bhatia\.ivy\cache\apache\xmlsec\jars\xmlsec-1.0.4.jar
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\xmlsec-1.0.4.jar[NOT REQUIRED]
>         0 artifacts copied, 181 already retrieved
>         retrieve done (283ms)
> resolving dependencies of C:\RAD7\CURRENT\nr\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\medicpool\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\OFACCommon\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\sso\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\intranet\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\di\ivy.xml
> resolving dependencies of C:\RAD7\CURRENT\ad\ivy.xml
>                 to C:\RAD7\CURRENT\OFACAD\lib\compile\webservice-
> runtime-1.0.jar [NOT
> REQUIRED]
>
> ***********************************************************************
>
>
>
>
>
>
>
> Xavier Hanin wrote:
> >
> > On 8/28/07, bhatia <Bh...@ofac.ch> wrote:
> >>
> >>
> >> Hello,
> >>
> >> When I use my ant target "retrieve-compile", no problems and its able
> to
> >> fetch the ad-CURRENT artifacts from the local resolver.
> >>
> >> But when I do a resolve from IvyDE container, it cant resolve. my ant
> >> target
> >> and IvyDE have the same ivyconf so I dont know why something would work
> >> from
> >> the ant target but not from the IvyDE container.
> >
> >
> > This is strange. Which versions of both are you using? What is the
> message
> > you get from IvyDE? What do you see on the IvyConsole in eclipse?
> >
> > Xavier
> >
> > thanks
> >>
> >>
> >>
> **************************************************************************3
> >>         <target name="retrieve-compile" depends="init" description="->
> >> retrieve
> >> compile-time dependencies of this project">
> >>                 <fail>
> >>                         Il n'y a pas de fichier ivy.xml dans ce projet
> >>                         <condition>
> >>                                 <not>
> >>                                         <available
> >> file="${basedir}/ivy.xml" type="file" />
> >>                                 </not>
> >>                         </condition>
> >>                 </fail>
> >>                 <mkdir dir="${compile.conf.dir}" />
> >>                 <ivy:retrieve pattern="${compile.conf.dir
> >> }/[artifact](-[revision]).[ext]"
> >> type="jar,war" conf="compile"/>
> >>         </target>
> >>
> >> ********************************************************************
> >>
> >> <ivyconf>
> >>
> >>         <conf defaultResolver="chainresolver" />
> >>         <!-- this is the shared repository using ivy configurations -->
> >>         <property name="cellier" value="I:/shared" />
> >>         <!-- do not generated checksums -->
> >>         <property name="ivy.checksums" value="" />
> >>         <!-- define property for local ivy repository -->
> >>         <!--<property name="ivy.default.ivy.user.dir"
> >> value="c:/myrep"/>-->
> >>
> >>   <!-- define properties for the local developer repository -->
> >>   <!-- artifacts found here will be taken first even if a more recent
> >> version is found in the cellar -->
> >>   <!-- this is necessary to resolve delta artifacts in the local
> >> filesystem
> >> -->
> >>         <property name="ivy.local.default.root"
> >> value="${ivy.default.ivy.user.dir}/local" override="false"/>
> >>   <property name="ivy.local.default.ivy.pattern"
> >> value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> >> override="false"/>
> >>   <property name="ivy.local.default.artifact.pattern"
> >>
> >>
> value="[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
> >> override="false"/>
> >>
> >>         <resolvers checksums="false">
> >>          <chain name="chainresolver" returnFirst="true">
> >>           <!-- resolver for local artifacts in local filesystem -->
> >>                 <filesystem name="local">
> >>       <ivy
> >> pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
> >>       <artifact
> >> pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern
> }"
> >> />
> >>     </filesystem>
> >>           <!-- resolver for OFAC internal artifacts in the cellar -->
> >>                 <filesystem name="internal">
> >>                         <ivy
> >>
> >>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> >> />
> >>                         <artifact
> >>
> >>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
> >> />
> >>                 </filesystem>
> >>                 <!-- resolver for external third party artifacts in the
> >> cellar -->
> >>                 <filesystem name="thirdparty">
> >>                         <ivy
> >>
> >>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> >> />
> >>                         <artifact
> >>
> >>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> >> />
> >>                 </filesystem>
> >>     </chain>
> >>         </resolvers>
> >>
> >>   <!-- module resolver mappings -->
> >>         <modules>
> >>                 <module organisation="ofac"
> >> name="*"    resolver="chainresolver" />
> >>                 <module organisation="apache"
> >> name="*"  resolver="thirdparty" />
> >>                 <module organisation="dbunit"
> >> name="*"  resolver="thirdparty" />
> >>                 <module organisation="easymock"
> >> name="*"        resolver="thirdparty" />
> >>                 <module organisation="eclipse" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="electric"
> >> name="*"        resolver="thirdparty" />
> >>                 <module organisation="exolab"
> >> name="*"  resolver="thirdparty" />
> >>                 <module organisation="gnu" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="ibm" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="jayasoft"
> >> name="*"        resolver="thirdparty" />
> >>                 <module organisation="jcraft"
> >> name="*"  resolver="thirdparty" />
> >>                 <module organisation="jpedal"
> >> name="*"  resolver="thirdparty" />
> >>                 <module organisation="jrefinery" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="junit" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="lowagie" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="meterware" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="mirrorworlds"
> >> name="*"    resolver="thirdparty" />
> >>                 <module organisation="mousepushers"
> >> name="*"    resolver="thirdparty" />
> >>                 <module organisation="mozilla" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="omg" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="opensymphony"
> >> name="*"    resolver="thirdparty" />
> >>                 <module organisation="oroinc"
> >> name="*"  resolver="thirdparty" />
> >>                 <module organisation="sourceforge" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="sqlj"
> >> name="*"    resolver="thirdparty" />
> >>                 <module organisation="sun" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="tyrex" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="w3c" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="sqlj"
> >> name="*"    resolver="thirdparty" />
> >>                 <module organisation="wutka" name="*"
> >> resolver="thirdparty" />
> >>                 <module organisation="xmlparser" name="*"
> >> resolver="thirdparty" />
> >>         </modules>
> >>
> >>          <!-- points to my local livraisons -->
> >>          <classpath
> file="C:/ivylivraison/24082007/OFACDependencies-
> >> CURRENT.jar" />
> >>          <!-- points to server repository used by all OFAC
> >>          <classpath
> >> file="I:/shared/ivyconf/ivylivraison/23082007/OFACDependencies-
> CURRENT.jar
> >> "
> >> />
> >>          -->
> >>
> >>         <!-- strategie qui considere que CURRENT est plus recent que
> HEAD
> >> qui est
> >> plus recent que prod etc...
> >>                 OfacLatestStrategyTest donne une bonne idee de son
> >> comportement. -->
> >>         <typedef name="ofac-latest-strategy"
> >>                 classname="ch.ofac.ivy.latest.OfacLatestStrategy" />
> >>         <latest-strategies>
> >>                 <ofac-latest-strategy name="ofac-latest" />
> >>         </latest-strategies>
> >>
> >>         <!-- Conflict manager qui utilise la strategie definie plus
> haut
> >> -->
> >>         <conflict-managers>
> >>                 <latest-cm name="ofac-cm" latest="ofac-latest" />
> >>                 <latest-revision name="latest-revision" />
> >>         </conflict-managers>
> >>
> >> </ivyconf>
> >> ***************************************************************
> >>
> >>
> >>
> >> bhatia wrote:
> >> >
> >> > Hello,
> >> >
> >> > Problem scenario:
> >> >
> >> > Step 1) Project "nr" has a dependency on Project "ad".
> >> >
> >> > Step 2) I check out my working copy of both project "nr" and project
> >> "ad"
> >> > in Eclipse workspace.
> >> >
> >> > Step 3) I make my changes to project "ad" in my workspace and publish
> >> it
> >> > using a local resolver into my local filesystem using a "local"
> >> resolver
> >> > like this:
> >> >
> >> > In ivy.xml of project "ad", I declare revision="CURRENT" like this:
> >> >
> >> > <info organisation="ofac" module="ad" revision="CURRENT"/>
> >> >
> >> > In my common.xml, I publish to the local repository like this:
> >> >
> >> > <target name="publish-war-en-locale" depends="make-war-en-locale"
> >> > description="-> publish this project's war and its sources in the
> local
> >> > user repository">
> >> >               <ivy:publish resolver="local"
> >> > artifactspattern="[type]/[artifact](-[revision]).[ext]"
> >> > pubrevision="${revision}"/>
> >> >       </target>
> >> >
> >> > After publishing of "ad" is successful in my "local" repository, I
> get
> >> the
> >> > following:
> >> >
> >> > publish-war-en-locale:
> >> > [ivy:publish] :: delivering :: [ ofac | ad | CURRENT ] :: CURRENT ::
> >> > integration :: Tue Aug 28 13:15:17 CEST 2007
> >> > [ivy:publish] delivering ivy file to ivy/ivy-CURRENT.xml
> >> > [ivy:publish] :: publishing :: [ ofac | ad ]
> >> > [ivy:publish] published ad to
> >> > c:\myrep/local/ofac/ad/CURRENT/sources/ad-CURRENT.src.jar
> >> > [ivy:publish] published ad to
> >> > c:\myrep/local/ofac/ad/CURRENT/wars/ad-CURRENT.war
> >> > [ivy:publish] published ivy to
> >> c:\myrep/local/ofac/ad/CURRENT/ivys/ivy.xml
> >> > BUILD SUCCESSFUL
> >> >
> >> > step 4) Resolve/retrieve project "ad" which I recently published to
> my
> >> > "local" repository (revision="CURRENT") from project "nr" like this:
> >> >
> >> > project "nr" ivy.xml:
> >> >
> >> > <ivy-module version="1.0">
> >> >  <info organisation="ofac" module="nr" revision="prod"/>
> >> > <configurations>
> >> >       <conf name="compile" description="compile-time deps only"
> >> > transitive="true" visibility="public"/>
> >> >       <conf name="run" description="run-time deps only, also used for
> >> creating
> >> > and publishing an artifact" transitive="false" visibility="public"/>
> >> > </configurations>
> >> > <publications>
> >> >       <artifact name="nr" type="war"/>
> >> >       <artifact name="nr" type="source" ext="src.jar"/>
> >> > </publications>
> >> >  <dependencies>
> >> >     <dependency org="ofac" name="ad" rev="CURRENT" conf="compile">
> >> >         <artifact name="ad" type="war"/>
> >> >     </dependency>
> >> >  </dependencies>
> >> >  <conflicts>
> >> >     <manager name="ofac-cm" org="ofac"/>
> >> >     <manager name="latest-revision" org="(?!ofac).*"/>
> >> >  </conflicts>
> >> > </ivy-module>
> >> >
> >> > In common.xml, when I launch "retrieve-compile" like this:
> >> >
> >> > <target name="retrieve-compile" depends="init" description="->
> retrieve
> >> > compile-time dependencies in the lib folder of this project, if it
> >> doesnt
> >> > exist, create it">
> >> >               <fail>
> >> >                       Il n'y a pas de fichier ivy.xml dans ce projet
> >> >                       <condition>
> >> >                               <not>
> >> >                                       <available
> >> file="${basedir}/ivy.xml" type="file" />
> >> >                               </not>
> >> >                       </condition>
> >> >               </fail>
> >> >               <mkdir dir="${compile.conf.dir}" />
> >> >               <ivy:retrieve
> >> > pattern="${compile.conf.dir}/[artifact](-[revision]).[ext]"
> >> type="jar,war"
> >> > conf="compile"/>
> >> >       </target>
> >> >
> >> > I get the following error on the console:
> >> >
> >> > [ivy:retrieve] :: evicted modules:
> >> > [ivy:retrieve] [ ofac | ad | prod ] by [[ ofac | ad | CURRENT ]] in
> >> > [compile]
> >> > ---------------------------------------------------------------------
> >> > |                  |            modules            ||   artifacts   |
> >> > |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
> >> > ---------------------------------------------------------------------
> >> > |      compile     |  159  |   0   |   0   |   1   ||  208  |   0   |
> >> > ---------------------------------------------------------------------
> >> >
> >> > [ivy:retrieve] module not found: [ ofac | ad | CURRENT ]
> >> > [ivy:retrieve] internal: tried I:/shared/ofac/ad/CURRENT/ivys/ivy.xml
> >> > [ivy:retrieve] internal: tried artifact [ ofac | ad | CURRENT
> >> > ]/ad.war[war]:
> >> > [ivy:retrieve] I:/shared/ofac/ad/CURRENT/wars/ad-CURRENT.war
> >> >
> >> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> >> > [ivy:retrieve] ::          UNRESOLVED DEPENDENCIES         ::
> >> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> >> > [ivy:retrieve] :: [ ofac | ad | CURRENT ]: not found
> >> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> >> > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> >> >
> >> > BUILD FAILED
> >> > C:\ivylivraison\24082007\common.xml:88: impossible to resolve
> >> > dependencies: resolve failed - see output for details
> >> >
> >> > I have defined a chain like this in my ivyconf.xml:
> >> >
> >> > <resolvers checksums="false">
> >> >        <chain name="chainresolver" returnFirst="true">
> >> >         <!-- resolver for local artifacts in local filesystem -->
> >> >               <filesystem name="local">
> >> >       <ivy
> >> > pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}"
> />
> >> >       <artifact
> >> > pattern="${ivy.local.default.root}/${
> ivy.local.default.artifact.pattern
> >> }"
> >> > />
> >> >     </filesystem>
> >> >         <!-- resolver for OFAC internal artifacts in the cellar -->
> >> >               <filesystem name="internal">
> >> >                       <ivy
> >> >
> >>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> >> > />
> >> >                       <artifact
> >> >
> >>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
> >> > />
> >> >               </filesystem>
> >> >               <!-- resolver for external third party artifacts in the
> >> cellar -->
> >> >               <filesystem name="thirdparty">
> >> >                       <ivy
> >> >
> >>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> >> > />
> >> >                       <artifact
> >> >
> >>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> >> > />
> >> >               </filesystem>
> >> >     </chain>
> >> >       </resolvers>
> >> >
> >> > I am not referencing "chainresolver" specified here in my common.xmlin
> >> > any of the targets. Is this the right way to do it ?
> >> >
> >> > I dont know why Ivy doesnt find my ad-CURRENT artifacts in the
> "local"
> >> > repository. It seems to be searching in thirdparty and/or shared
> >> > repository only.
> >> >
> >> > Any help would be welcome.
> >> >
> >> > thanks
> >> >
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12368006
> >> Sent from the ivy-user mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Xavier Hanin - Independent Java Consultant
> > http://xhab.blogspot.com/
> > http://incubator.apache.org/ivy/
> > http://www.xoocode.org/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12382046
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://incubator.apache.org/ivy/
http://www.xoocode.org/

Re: problem resolving/retrieving using a chain resolver

Posted by bhatia <Bh...@OFAC.CH>.
I am using RAD7, IvyDE 1.2.0, apache-ant-1.6.5.

I also noticed that I now have 2 caches, one for the local resolver "local"
(which got created when I added a new local resolver) and the default one in
${user}\.ivy\cache.

Here is what I get when I do a resolve from IvyDE on the ivy container:

"Impossible to resolve dependencies of [ofac¦nr¦prod]: unresolved
dependency: [ofac¦ad¦CURRENT]: not found"

This is what I have in the Ivy Console in RAD7. From the Ivy console, it is
clear that its not searching for ad-CURRENT in my local repository but its
looking in my RAD7 workspace where of course it wont find this artifact. The
"retrieve-compile" target in my common.xml works cool though.

thanks

***************************************************************************

	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACXEDO\jars\OFACXEDO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACOF\sources\OFACOF-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACOF-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\gnu\regex\jars\regex-0.1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\regex-0.1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\oro\jars\oro-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\oro-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-collections\jars\commons-collections-3.2.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-collections-3.2.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\mozilla\mozilla\jars\js-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\js-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACGD\jars\OFACGD-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACDI\jars\OFACDI-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\ifxjdbc\jars\ifxjdbc-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\ifxjdbc-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACMN\sources\OFACMN-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACMN-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACBA\sources\OFACBA-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBA-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACIM\sources\OFACIM-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIM-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\electric\exml\jars\exml-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\exml-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jayasoft\ivy-core\jars\ivy-core-1.4.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-core-1.4.1.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACXML\sources\OFACXML-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXML-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCD\sources\OFACCD-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCD-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\IBMLogging\jars\IBMLogging-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMLogging-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\axis\jars\axis-1.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\axis-1.1.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-httpclient\jars\commons-httpclient-2.0-rc3.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-httpclient-2.0-rc3.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACIntranet\sources\OFACIntranet-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACIntranet-prod.src.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jcraft\jsch\jars\jsch-0.1.23.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\jsch-0.1.23.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-net\jars\commons-net-1.1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-net-1.1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jayasoft\ivy\jars\ivy-1.4.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\ivy-1.4.1.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACFD\jars\OFACFD-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\birt-report\jars\birt-report-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\birt-report-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jrefinery\JFreeChart\jars\JFreeChart-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\JFreeChart-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\omg\ots-jts\jars\ots-jts-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\ots-jts-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\sun\mail\jars\mail-1.1.3.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\mail-1.1.3.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACWS\sources\OFACWS-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACWS-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\wutka\jox\jars\jox-1.17b3.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\jox-1.17b3.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACGA\sources\OFACGA-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGA-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACLib\jars\OFACLib-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACNR\jars\OFACNR-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-fileupload\jars\commons-fileupload-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-fileupload-1.0.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACGNU\sources\OFACGNU-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGNU-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\emf-ecore-xmi\jars\org.eclipse.emf.ecore.xmi-2.1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.ecore.xmi-2.1.0.jar
[NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\opensymphony\propertyset\jars\propertyset-1.4.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\propertyset-1.4.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACSSO\jars\OFACSSO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACFramework\sources\OFACFramework-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFramework-prod.src.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\exolab\castor\jars\castor-0.9.5.2.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\castor-0.9.5.2.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCZ\jars\OFACCZ-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACBatch\sources\OFACBatch-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACBatch-prod.src.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\db2jcc\jars\db2jcc-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\birt-data-engine\jars\dte-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\dte-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCommon\sources\OFACCommon-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCommon-prod.src.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\sun\servlet\jars\servlet-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\servlet-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\fop\jars\fop-0.20.5.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\fop-0.20.5.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\sun\saaj\jars\saaj-1.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\saaj-1.1.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\commons-logging\jars\commons-logging-1.0.3.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\commons-logging-1.0.3.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCS\jars\OFACCS-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\wutka\dtdparser\jars\dtdparser-119.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\dtdparser-119.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACXEDO\sources\OFACXEDO-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACXEDO-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACFC\jars\OFACFC-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFC-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACEDO\jars\OFACEDO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACEDO-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACGD\sources\OFACGD-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACGD-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACDI\sources\OFACDI-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDI-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPH\jars\OFACPH-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPH-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\opensymphony\oscore\jars\oscore-2.2.5.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\oscore-2.2.5.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\emf-common\jars\org.eclipse.emf.common-2.1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\org.eclipse.emf.common-2.1.0.jar
[NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\wsdl4j\jars\wsdl4j-1.5.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\wsdl4j-1.5.1.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\w3c\Tidy\jars\Tidy-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\Tidy-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\w3c\flute\jars\flute-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\flute-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPP\jars\OFACPP-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPP-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\IBMUtil\jars\IBMUtil-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMUtil-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\IBMSecurity\jars\IBMSecurity-0.1.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\IBMSecurity-0.1.1.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cisuz\jars\db2jcc-license-cisuz-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-license-cisuz-1.0.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACFD\sources\OFACFD-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACFD-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\taglibs-i18n\jars\taglibs-i18n-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-i18n-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\log4j\jars\log4j-1.2.8.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\log4j-1.2.8.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\batik\jars\batik-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\batik-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\resolver\jars\resolver-1.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\resolver-1.1.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACLib\sources\OFACLib-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACLib-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACNR\sources\OFACNR-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACNR-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\meterware\httpunit\jars\httpunit-1.5.4.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\httpunit-1.5.4.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\jpedal\JPedal\jars\JPedal-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\JPedal-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\runtime\jars\runtime-5.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\runtime-5.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACSSO\sources\OFACSSO-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACSSO-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACDO\jars\OFACDO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACDO-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPage\jars\OFACPage-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPage-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCZ\sources\OFACCZ-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCZ-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPool\jars\OFACPool-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPool-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\birt-report-engine\jars\engine-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\engine-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACConverter\jars\OFACConverter-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACConverter-prod.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\w3c\css-sac\jars\sac-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\sac-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\db2jcc-license-cu\jars\db2jcc-license-cu-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\db2jcc-license-cu-1.0.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\datatools-connectivity\jars\oda-consumer-helper-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\oda-consumer-helper-1.0.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\eclipse\birt-chart\jars\chart-engine-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\chart-engine-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCS\sources\OFACCS-prod.src.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCS-prod.src.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\sun\activation\jars\activation-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\activation-1.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACCQ\jars\OFACCQ-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACCQ-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\xalan\jars\xalan-2.4.1.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\xalan-2.4.1.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ofac\OFACPO\jars\OFACPO-prod.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\OFACPO-prod.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\taglibs-i18n-ofac\jars\taglibs-i18n-ofac-1.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\taglibs-i18n-ofac-1.0.jar [NOT
REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\ibm\soap\jars\soapcfg-1.3.0.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\soapcfg-1.3.0.jar [NOT REQUIRED]
	retrieving C:\Documents and
Settings\bhatia\.ivy\cache\apache\xmlsec\jars\xmlsec-1.0.4.jar
		to C:\RAD7\CURRENT\OFACAD\lib\compile\xmlsec-1.0.4.jar [NOT REQUIRED]
	0 artifacts copied, 181 already retrieved
	retrieve done (283ms)
resolving dependencies of C:\RAD7\CURRENT\nr\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\medicpool\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\OFACCommon\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\sso\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\intranet\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\di\ivy.xml
resolving dependencies of C:\RAD7\CURRENT\ad\ivy.xml
		to C:\RAD7\CURRENT\OFACAD\lib\compile\webservice-runtime-1.0.jar [NOT
REQUIRED]

***********************************************************************







Xavier Hanin wrote:
> 
> On 8/28/07, bhatia <Bh...@ofac.ch> wrote:
>>
>>
>> Hello,
>>
>> When I use my ant target "retrieve-compile", no problems and its able to
>> fetch the ad-CURRENT artifacts from the local resolver.
>>
>> But when I do a resolve from IvyDE container, it cant resolve. my ant
>> target
>> and IvyDE have the same ivyconf so I dont know why something would work
>> from
>> the ant target but not from the IvyDE container.
> 
> 
> This is strange. Which versions of both are you using? What is the message
> you get from IvyDE? What do you see on the IvyConsole in eclipse?
> 
> Xavier
> 
> thanks
>>
>>
>> **************************************************************************3
>>         <target name="retrieve-compile" depends="init" description="->
>> retrieve
>> compile-time dependencies of this project">
>>                 <fail>
>>                         Il n'y a pas de fichier ivy.xml dans ce projet
>>                         <condition>
>>                                 <not>
>>                                         <available
>> file="${basedir}/ivy.xml" type="file" />
>>                                 </not>
>>                         </condition>
>>                 </fail>
>>                 <mkdir dir="${compile.conf.dir}" />
>>                 <ivy:retrieve pattern="${compile.conf.dir
>> }/[artifact](-[revision]).[ext]"
>> type="jar,war" conf="compile"/>
>>         </target>
>>
>> ********************************************************************
>>
>> <ivyconf>
>>
>>         <conf defaultResolver="chainresolver" />
>>         <!-- this is the shared repository using ivy configurations -->
>>         <property name="cellier" value="I:/shared" />
>>         <!-- do not generated checksums -->
>>         <property name="ivy.checksums" value="" />
>>         <!-- define property for local ivy repository -->
>>         <!--<property name="ivy.default.ivy.user.dir"
>> value="c:/myrep"/>-->
>>
>>   <!-- define properties for the local developer repository -->
>>   <!-- artifacts found here will be taken first even if a more recent
>> version is found in the cellar -->
>>   <!-- this is necessary to resolve delta artifacts in the local
>> filesystem
>> -->
>>         <property name="ivy.local.default.root"
>> value="${ivy.default.ivy.user.dir}/local" override="false"/>
>>   <property name="ivy.local.default.ivy.pattern"
>> value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> override="false"/>
>>   <property name="ivy.local.default.artifact.pattern"
>>
>> value="[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>> override="false"/>
>>
>>         <resolvers checksums="false">
>>          <chain name="chainresolver" returnFirst="true">
>>           <!-- resolver for local artifacts in local filesystem -->
>>                 <filesystem name="local">
>>       <ivy
>> pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
>>       <artifact
>> pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}"
>> />
>>     </filesystem>
>>           <!-- resolver for OFAC internal artifacts in the cellar -->
>>                 <filesystem name="internal">
>>                         <ivy
>>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> />
>>                         <artifact
>>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>> />
>>                 </filesystem>
>>                 <!-- resolver for external third party artifacts in the
>> cellar -->
>>                 <filesystem name="thirdparty">
>>                         <ivy
>>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> />
>>                         <artifact
>>
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> />
>>                 </filesystem>
>>     </chain>
>>         </resolvers>
>>
>>   <!-- module resolver mappings -->
>>         <modules>
>>                 <module organisation="ofac"
>> name="*"    resolver="chainresolver" />
>>                 <module organisation="apache"
>> name="*"  resolver="thirdparty" />
>>                 <module organisation="dbunit"
>> name="*"  resolver="thirdparty" />
>>                 <module organisation="easymock"
>> name="*"        resolver="thirdparty" />
>>                 <module organisation="eclipse" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="electric"
>> name="*"        resolver="thirdparty" />
>>                 <module organisation="exolab"
>> name="*"  resolver="thirdparty" />
>>                 <module organisation="gnu" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="ibm" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="jayasoft"
>> name="*"        resolver="thirdparty" />
>>                 <module organisation="jcraft"
>> name="*"  resolver="thirdparty" />
>>                 <module organisation="jpedal"
>> name="*"  resolver="thirdparty" />
>>                 <module organisation="jrefinery" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="junit" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="lowagie" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="meterware" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="mirrorworlds"
>> name="*"    resolver="thirdparty" />
>>                 <module organisation="mousepushers"
>> name="*"    resolver="thirdparty" />
>>                 <module organisation="mozilla" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="omg" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="opensymphony"
>> name="*"    resolver="thirdparty" />
>>                 <module organisation="oroinc"
>> name="*"  resolver="thirdparty" />
>>                 <module organisation="sourceforge" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="sqlj"
>> name="*"    resolver="thirdparty" />
>>                 <module organisation="sun" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="tyrex" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="w3c" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="sqlj"
>> name="*"    resolver="thirdparty" />
>>                 <module organisation="wutka" name="*"
>> resolver="thirdparty" />
>>                 <module organisation="xmlparser" name="*"
>> resolver="thirdparty" />
>>         </modules>
>>
>>          <!-- points to my local livraisons -->
>>          <classpath     file="C:/ivylivraison/24082007/OFACDependencies-
>> CURRENT.jar" />
>>          <!-- points to server repository used by all OFAC
>>          <classpath
>> file="I:/shared/ivyconf/ivylivraison/23082007/OFACDependencies-CURRENT.jar
>> "
>> />
>>          -->
>>
>>         <!-- strategie qui considere que CURRENT est plus recent que HEAD
>> qui est
>> plus recent que prod etc...
>>                 OfacLatestStrategyTest donne une bonne idee de son
>> comportement. -->
>>         <typedef name="ofac-latest-strategy"
>>                 classname="ch.ofac.ivy.latest.OfacLatestStrategy" />
>>         <latest-strategies>
>>                 <ofac-latest-strategy name="ofac-latest" />
>>         </latest-strategies>
>>
>>         <!-- Conflict manager qui utilise la strategie definie plus haut
>> -->
>>         <conflict-managers>
>>                 <latest-cm name="ofac-cm" latest="ofac-latest" />
>>                 <latest-revision name="latest-revision" />
>>         </conflict-managers>
>>
>> </ivyconf>
>> ***************************************************************
>>
>>
>>
>> bhatia wrote:
>> >
>> > Hello,
>> >
>> > Problem scenario:
>> >
>> > Step 1) Project "nr" has a dependency on Project "ad".
>> >
>> > Step 2) I check out my working copy of both project "nr" and project
>> "ad"
>> > in Eclipse workspace.
>> >
>> > Step 3) I make my changes to project "ad" in my workspace and publish
>> it
>> > using a local resolver into my local filesystem using a "local"
>> resolver
>> > like this:
>> >
>> > In ivy.xml of project "ad", I declare revision="CURRENT" like this:
>> >
>> > <info organisation="ofac" module="ad" revision="CURRENT"/>
>> >
>> > In my common.xml, I publish to the local repository like this:
>> >
>> > <target name="publish-war-en-locale" depends="make-war-en-locale"
>> > description="-> publish this project's war and its sources in the local
>> > user repository">
>> >               <ivy:publish resolver="local"
>> > artifactspattern="[type]/[artifact](-[revision]).[ext]"
>> > pubrevision="${revision}"/>
>> >       </target>
>> >
>> > After publishing of "ad" is successful in my "local" repository, I get
>> the
>> > following:
>> >
>> > publish-war-en-locale:
>> > [ivy:publish] :: delivering :: [ ofac | ad | CURRENT ] :: CURRENT ::
>> > integration :: Tue Aug 28 13:15:17 CEST 2007
>> > [ivy:publish] delivering ivy file to ivy/ivy-CURRENT.xml
>> > [ivy:publish] :: publishing :: [ ofac | ad ]
>> > [ivy:publish] published ad to
>> > c:\myrep/local/ofac/ad/CURRENT/sources/ad-CURRENT.src.jar
>> > [ivy:publish] published ad to
>> > c:\myrep/local/ofac/ad/CURRENT/wars/ad-CURRENT.war
>> > [ivy:publish] published ivy to
>> c:\myrep/local/ofac/ad/CURRENT/ivys/ivy.xml
>> > BUILD SUCCESSFUL
>> >
>> > step 4) Resolve/retrieve project "ad" which I recently published to my
>> > "local" repository (revision="CURRENT") from project "nr" like this:
>> >
>> > project "nr" ivy.xml:
>> >
>> > <ivy-module version="1.0">
>> >  <info organisation="ofac" module="nr" revision="prod"/>
>> > <configurations>
>> >       <conf name="compile" description="compile-time deps only"
>> > transitive="true" visibility="public"/>
>> >       <conf name="run" description="run-time deps only, also used for
>> creating
>> > and publishing an artifact" transitive="false" visibility="public"/>
>> > </configurations>
>> > <publications>
>> >       <artifact name="nr" type="war"/>
>> >       <artifact name="nr" type="source" ext="src.jar"/>
>> > </publications>
>> >  <dependencies>
>> >     <dependency org="ofac" name="ad" rev="CURRENT" conf="compile">
>> >         <artifact name="ad" type="war"/>
>> >     </dependency>
>> >  </dependencies>
>> >  <conflicts>
>> >     <manager name="ofac-cm" org="ofac"/>
>> >     <manager name="latest-revision" org="(?!ofac).*"/>
>> >  </conflicts>
>> > </ivy-module>
>> >
>> > In common.xml, when I launch "retrieve-compile" like this:
>> >
>> > <target name="retrieve-compile" depends="init" description="-> retrieve
>> > compile-time dependencies in the lib folder of this project, if it
>> doesnt
>> > exist, create it">
>> >               <fail>
>> >                       Il n'y a pas de fichier ivy.xml dans ce projet
>> >                       <condition>
>> >                               <not>
>> >                                       <available
>> file="${basedir}/ivy.xml" type="file" />
>> >                               </not>
>> >                       </condition>
>> >               </fail>
>> >               <mkdir dir="${compile.conf.dir}" />
>> >               <ivy:retrieve
>> > pattern="${compile.conf.dir}/[artifact](-[revision]).[ext]"
>> type="jar,war"
>> > conf="compile"/>
>> >       </target>
>> >
>> > I get the following error on the console:
>> >
>> > [ivy:retrieve] :: evicted modules:
>> > [ivy:retrieve] [ ofac | ad | prod ] by [[ ofac | ad | CURRENT ]] in
>> > [compile]
>> > ---------------------------------------------------------------------
>> > |                  |            modules            ||   artifacts   |
>> > |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
>> > ---------------------------------------------------------------------
>> > |      compile     |  159  |   0   |   0   |   1   ||  208  |   0   |
>> > ---------------------------------------------------------------------
>> >
>> > [ivy:retrieve] module not found: [ ofac | ad | CURRENT ]
>> > [ivy:retrieve] internal: tried I:/shared/ofac/ad/CURRENT/ivys/ivy.xml
>> > [ivy:retrieve] internal: tried artifact [ ofac | ad | CURRENT
>> > ]/ad.war[war]:
>> > [ivy:retrieve] I:/shared/ofac/ad/CURRENT/wars/ad-CURRENT.war
>> >
>> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>> > [ivy:retrieve] ::          UNRESOLVED DEPENDENCIES         ::
>> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>> > [ivy:retrieve] :: [ ofac | ad | CURRENT ]: not found
>> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
>> > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>> >
>> > BUILD FAILED
>> > C:\ivylivraison\24082007\common.xml:88: impossible to resolve
>> > dependencies: resolve failed - see output for details
>> >
>> > I have defined a chain like this in my ivyconf.xml:
>> >
>> > <resolvers checksums="false">
>> >        <chain name="chainresolver" returnFirst="true">
>> >         <!-- resolver for local artifacts in local filesystem -->
>> >               <filesystem name="local">
>> >       <ivy
>> > pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
>> >       <artifact
>> > pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern
>> }"
>> > />
>> >     </filesystem>
>> >         <!-- resolver for OFAC internal artifacts in the cellar -->
>> >               <filesystem name="internal">
>> >                       <ivy
>> >
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> > />
>> >                       <artifact
>> >
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
>> > />
>> >               </filesystem>
>> >               <!-- resolver for external third party artifacts in the
>> cellar -->
>> >               <filesystem name="thirdparty">
>> >                       <ivy
>> >
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> > />
>> >                       <artifact
>> >
>> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
>> > />
>> >               </filesystem>
>> >     </chain>
>> >       </resolvers>
>> >
>> > I am not referencing "chainresolver" specified here in my common.xml in
>> > any of the targets. Is this the right way to do it ?
>> >
>> > I dont know why Ivy doesnt find my ad-CURRENT artifacts in the "local"
>> > repository. It seems to be searching in thirdparty and/or shared
>> > repository only.
>> >
>> > Any help would be welcome.
>> >
>> > thanks
>> >
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12368006
>> Sent from the ivy-user mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://incubator.apache.org/ivy/
> http://www.xoocode.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12382046
Sent from the ivy-user mailing list archive at Nabble.com.


Re: problem resolving/retrieving using a chain resolver

Posted by Xavier Hanin <xa...@gmail.com>.
On 8/28/07, bhatia <Bh...@ofac.ch> wrote:
>
>
> Hello,
>
> When I use my ant target "retrieve-compile", no problems and its able to
> fetch the ad-CURRENT artifacts from the local resolver.
>
> But when I do a resolve from IvyDE container, it cant resolve. my ant
> target
> and IvyDE have the same ivyconf so I dont know why something would work
> from
> the ant target but not from the IvyDE container.


This is strange. Which versions of both are you using? What is the message
you get from IvyDE? What do you see on the IvyConsole in eclipse?

Xavier

thanks
>
>
> **************************************************************************3
>         <target name="retrieve-compile" depends="init" description="->
> retrieve
> compile-time dependencies of this project">
>                 <fail>
>                         Il n'y a pas de fichier ivy.xml dans ce projet
>                         <condition>
>                                 <not>
>                                         <available
> file="${basedir}/ivy.xml" type="file" />
>                                 </not>
>                         </condition>
>                 </fail>
>                 <mkdir dir="${compile.conf.dir}" />
>                 <ivy:retrieve pattern="${compile.conf.dir
> }/[artifact](-[revision]).[ext]"
> type="jar,war" conf="compile"/>
>         </target>
>
> ********************************************************************
>
> <ivyconf>
>
>         <conf defaultResolver="chainresolver" />
>         <!-- this is the shared repository using ivy configurations -->
>         <property name="cellier" value="I:/shared" />
>         <!-- do not generated checksums -->
>         <property name="ivy.checksums" value="" />
>         <!-- define property for local ivy repository -->
>         <!--<property name="ivy.default.ivy.user.dir"
> value="c:/myrep"/>-->
>
>   <!-- define properties for the local developer repository -->
>   <!-- artifacts found here will be taken first even if a more recent
> version is found in the cellar -->
>   <!-- this is necessary to resolve delta artifacts in the local
> filesystem
> -->
>         <property name="ivy.local.default.root"
> value="${ivy.default.ivy.user.dir}/local" override="false"/>
>   <property name="ivy.local.default.ivy.pattern"
> value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> override="false"/>
>   <property name="ivy.local.default.artifact.pattern"
>
> value="[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
> override="false"/>
>
>         <resolvers checksums="false">
>          <chain name="chainresolver" returnFirst="true">
>           <!-- resolver for local artifacts in local filesystem -->
>                 <filesystem name="local">
>       <ivy
> pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
>       <artifact
> pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}"
> />
>     </filesystem>
>           <!-- resolver for OFAC internal artifacts in the cellar -->
>                 <filesystem name="internal">
>                         <ivy
>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> />
>                         <artifact
>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
> />
>                 </filesystem>
>                 <!-- resolver for external third party artifacts in the
> cellar -->
>                 <filesystem name="thirdparty">
>                         <ivy
>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> />
>                         <artifact
>
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> />
>                 </filesystem>
>     </chain>
>         </resolvers>
>
>   <!-- module resolver mappings -->
>         <modules>
>                 <module organisation="ofac"
> name="*"    resolver="chainresolver" />
>                 <module organisation="apache"
> name="*"  resolver="thirdparty" />
>                 <module organisation="dbunit"
> name="*"  resolver="thirdparty" />
>                 <module organisation="easymock"
> name="*"        resolver="thirdparty" />
>                 <module organisation="eclipse" name="*"
> resolver="thirdparty" />
>                 <module organisation="electric"
> name="*"        resolver="thirdparty" />
>                 <module organisation="exolab"
> name="*"  resolver="thirdparty" />
>                 <module organisation="gnu" name="*"
> resolver="thirdparty" />
>                 <module organisation="ibm" name="*"
> resolver="thirdparty" />
>                 <module organisation="jayasoft"
> name="*"        resolver="thirdparty" />
>                 <module organisation="jcraft"
> name="*"  resolver="thirdparty" />
>                 <module organisation="jpedal"
> name="*"  resolver="thirdparty" />
>                 <module organisation="jrefinery" name="*"
> resolver="thirdparty" />
>                 <module organisation="junit" name="*"
> resolver="thirdparty" />
>                 <module organisation="lowagie" name="*"
> resolver="thirdparty" />
>                 <module organisation="meterware" name="*"
> resolver="thirdparty" />
>                 <module organisation="mirrorworlds"
> name="*"    resolver="thirdparty" />
>                 <module organisation="mousepushers"
> name="*"    resolver="thirdparty" />
>                 <module organisation="mozilla" name="*"
> resolver="thirdparty" />
>                 <module organisation="omg" name="*"
> resolver="thirdparty" />
>                 <module organisation="opensymphony"
> name="*"    resolver="thirdparty" />
>                 <module organisation="oroinc"
> name="*"  resolver="thirdparty" />
>                 <module organisation="sourceforge" name="*"
> resolver="thirdparty" />
>                 <module organisation="sqlj"
> name="*"    resolver="thirdparty" />
>                 <module organisation="sun" name="*"
> resolver="thirdparty" />
>                 <module organisation="tyrex" name="*"
> resolver="thirdparty" />
>                 <module organisation="w3c" name="*"
> resolver="thirdparty" />
>                 <module organisation="sqlj"
> name="*"    resolver="thirdparty" />
>                 <module organisation="wutka" name="*"
> resolver="thirdparty" />
>                 <module organisation="xmlparser" name="*"
> resolver="thirdparty" />
>         </modules>
>
>          <!-- points to my local livraisons -->
>          <classpath     file="C:/ivylivraison/24082007/OFACDependencies-
> CURRENT.jar" />
>          <!-- points to server repository used by all OFAC
>          <classpath
> file="I:/shared/ivyconf/ivylivraison/23082007/OFACDependencies-CURRENT.jar
> "
> />
>          -->
>
>         <!-- strategie qui considere que CURRENT est plus recent que HEAD
> qui est
> plus recent que prod etc...
>                 OfacLatestStrategyTest donne une bonne idee de son
> comportement. -->
>         <typedef name="ofac-latest-strategy"
>                 classname="ch.ofac.ivy.latest.OfacLatestStrategy" />
>         <latest-strategies>
>                 <ofac-latest-strategy name="ofac-latest" />
>         </latest-strategies>
>
>         <!-- Conflict manager qui utilise la strategie definie plus haut
> -->
>         <conflict-managers>
>                 <latest-cm name="ofac-cm" latest="ofac-latest" />
>                 <latest-revision name="latest-revision" />
>         </conflict-managers>
>
> </ivyconf>
> ***************************************************************
>
>
>
> bhatia wrote:
> >
> > Hello,
> >
> > Problem scenario:
> >
> > Step 1) Project "nr" has a dependency on Project "ad".
> >
> > Step 2) I check out my working copy of both project "nr" and project
> "ad"
> > in Eclipse workspace.
> >
> > Step 3) I make my changes to project "ad" in my workspace and publish it
> > using a local resolver into my local filesystem using a "local" resolver
> > like this:
> >
> > In ivy.xml of project "ad", I declare revision="CURRENT" like this:
> >
> > <info organisation="ofac" module="ad" revision="CURRENT"/>
> >
> > In my common.xml, I publish to the local repository like this:
> >
> > <target name="publish-war-en-locale" depends="make-war-en-locale"
> > description="-> publish this project's war and its sources in the local
> > user repository">
> >               <ivy:publish resolver="local"
> > artifactspattern="[type]/[artifact](-[revision]).[ext]"
> > pubrevision="${revision}"/>
> >       </target>
> >
> > After publishing of "ad" is successful in my "local" repository, I get
> the
> > following:
> >
> > publish-war-en-locale:
> > [ivy:publish] :: delivering :: [ ofac | ad | CURRENT ] :: CURRENT ::
> > integration :: Tue Aug 28 13:15:17 CEST 2007
> > [ivy:publish] delivering ivy file to ivy/ivy-CURRENT.xml
> > [ivy:publish] :: publishing :: [ ofac | ad ]
> > [ivy:publish] published ad to
> > c:\myrep/local/ofac/ad/CURRENT/sources/ad-CURRENT.src.jar
> > [ivy:publish] published ad to
> > c:\myrep/local/ofac/ad/CURRENT/wars/ad-CURRENT.war
> > [ivy:publish] published ivy to
> c:\myrep/local/ofac/ad/CURRENT/ivys/ivy.xml
> > BUILD SUCCESSFUL
> >
> > step 4) Resolve/retrieve project "ad" which I recently published to my
> > "local" repository (revision="CURRENT") from project "nr" like this:
> >
> > project "nr" ivy.xml:
> >
> > <ivy-module version="1.0">
> >  <info organisation="ofac" module="nr" revision="prod"/>
> > <configurations>
> >       <conf name="compile" description="compile-time deps only"
> > transitive="true" visibility="public"/>
> >       <conf name="run" description="run-time deps only, also used for
> creating
> > and publishing an artifact" transitive="false" visibility="public"/>
> > </configurations>
> > <publications>
> >       <artifact name="nr" type="war"/>
> >       <artifact name="nr" type="source" ext="src.jar"/>
> > </publications>
> >  <dependencies>
> >     <dependency org="ofac" name="ad" rev="CURRENT" conf="compile">
> >         <artifact name="ad" type="war"/>
> >     </dependency>
> >  </dependencies>
> >  <conflicts>
> >     <manager name="ofac-cm" org="ofac"/>
> >     <manager name="latest-revision" org="(?!ofac).*"/>
> >  </conflicts>
> > </ivy-module>
> >
> > In common.xml, when I launch "retrieve-compile" like this:
> >
> > <target name="retrieve-compile" depends="init" description="-> retrieve
> > compile-time dependencies in the lib folder of this project, if it
> doesnt
> > exist, create it">
> >               <fail>
> >                       Il n'y a pas de fichier ivy.xml dans ce projet
> >                       <condition>
> >                               <not>
> >                                       <available
> file="${basedir}/ivy.xml" type="file" />
> >                               </not>
> >                       </condition>
> >               </fail>
> >               <mkdir dir="${compile.conf.dir}" />
> >               <ivy:retrieve
> > pattern="${compile.conf.dir}/[artifact](-[revision]).[ext]"
> type="jar,war"
> > conf="compile"/>
> >       </target>
> >
> > I get the following error on the console:
> >
> > [ivy:retrieve] :: evicted modules:
> > [ivy:retrieve] [ ofac | ad | prod ] by [[ ofac | ad | CURRENT ]] in
> > [compile]
> > ---------------------------------------------------------------------
> > |                  |            modules            ||   artifacts   |
> > |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
> > ---------------------------------------------------------------------
> > |      compile     |  159  |   0   |   0   |   1   ||  208  |   0   |
> > ---------------------------------------------------------------------
> >
> > [ivy:retrieve] module not found: [ ofac | ad | CURRENT ]
> > [ivy:retrieve] internal: tried I:/shared/ofac/ad/CURRENT/ivys/ivy.xml
> > [ivy:retrieve] internal: tried artifact [ ofac | ad | CURRENT
> > ]/ad.war[war]:
> > [ivy:retrieve] I:/shared/ofac/ad/CURRENT/wars/ad-CURRENT.war
> >
> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve] ::          UNRESOLVED DEPENDENCIES         ::
> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve] :: [ ofac | ad | CURRENT ]: not found
> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> >
> > BUILD FAILED
> > C:\ivylivraison\24082007\common.xml:88: impossible to resolve
> > dependencies: resolve failed - see output for details
> >
> > I have defined a chain like this in my ivyconf.xml:
> >
> > <resolvers checksums="false">
> >        <chain name="chainresolver" returnFirst="true">
> >         <!-- resolver for local artifacts in local filesystem -->
> >               <filesystem name="local">
> >       <ivy
> > pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
> >       <artifact
> > pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern
> }"
> > />
> >     </filesystem>
> >         <!-- resolver for OFAC internal artifacts in the cellar -->
> >               <filesystem name="internal">
> >                       <ivy
> >
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> > />
> >                       <artifact
> >
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
> > />
> >               </filesystem>
> >               <!-- resolver for external third party artifacts in the
> cellar -->
> >               <filesystem name="thirdparty">
> >                       <ivy
> >
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> > />
> >                       <artifact
> >
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> > />
> >               </filesystem>
> >     </chain>
> >       </resolvers>
> >
> > I am not referencing "chainresolver" specified here in my common.xml in
> > any of the targets. Is this the right way to do it ?
> >
> > I dont know why Ivy doesnt find my ad-CURRENT artifacts in the "local"
> > repository. It seems to be searching in thirdparty and/or shared
> > repository only.
> >
> > Any help would be welcome.
> >
> > thanks
> >
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12368006
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://incubator.apache.org/ivy/
http://www.xoocode.org/

Re: problem resolving/retrieving using a chain resolver

Posted by bhatia <Bh...@OFAC.CH>.
Hello,

When I use my ant target "retrieve-compile", no problems and its able to
fetch the ad-CURRENT artifacts from the local resolver. 

But when I do a resolve from IvyDE container, it cant resolve. my ant target
and IvyDE have the same ivyconf so I dont know why something would work from
the ant target but not from the IvyDE container.

thanks

**************************************************************************3
	<target name="retrieve-compile" depends="init" description="-> retrieve
compile-time dependencies of this project">
		<fail>
			Il n'y a pas de fichier ivy.xml dans ce projet
			<condition>
				<not>
					<available file="${basedir}/ivy.xml" type="file" />
				</not>
			</condition>
		</fail>
		<mkdir dir="${compile.conf.dir}" />
		<ivy:retrieve pattern="${compile.conf.dir}/[artifact](-[revision]).[ext]"
type="jar,war" conf="compile"/>
	</target>

********************************************************************

<ivyconf>

	<conf defaultResolver="chainresolver" />
	<!-- this is the shared repository using ivy configurations -->
	<property name="cellier" value="I:/shared" />
	<!-- do not generated checksums -->
	<property name="ivy.checksums" value="" />
	<!-- define property for local ivy repository -->
	<!--<property name="ivy.default.ivy.user.dir" value="c:/myrep"/>-->
	
  <!-- define properties for the local developer repository --> 
  <!-- artifacts found here will be taken first even if a more recent
version is found in the cellar -->
  <!-- this is necessary to resolve delta artifacts in the local filesystem
-->
	<property name="ivy.local.default.root"
value="${ivy.default.ivy.user.dir}/local" override="false"/>
  <property name="ivy.local.default.ivy.pattern"
value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
override="false"/>
  <property name="ivy.local.default.artifact.pattern"
value="[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
override="false"/>
	
	<resolvers checksums="false">
	 <chain name="chainresolver" returnFirst="true">
	  <!-- resolver for local artifacts in local filesystem -->
		<filesystem name="local">
      <ivy
pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
      <artifact
pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />
    </filesystem>
	  <!-- resolver for OFAC internal artifacts in the cellar -->
		<filesystem name="internal">
			<ivy
pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
/>
			<artifact
pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
/>
		</filesystem>
		<!-- resolver for external third party artifacts in the cellar -->
		<filesystem name="thirdparty">
			<ivy
pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
/>
			<artifact
pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
/>
		</filesystem>		    
    </chain>
	</resolvers>

  <!-- module resolver mappings -->
	<modules>
		<module organisation="ofac" name="*"	resolver="chainresolver" />		
		<module organisation="apache" name="*"	resolver="thirdparty" />
		<module organisation="dbunit" name="*"	resolver="thirdparty" />
		<module organisation="easymock" name="*"	resolver="thirdparty" />
		<module organisation="eclipse" name="*"	resolver="thirdparty" />
		<module organisation="electric" name="*"	resolver="thirdparty" />
		<module organisation="exolab" name="*"	resolver="thirdparty" />
		<module organisation="gnu" name="*"	resolver="thirdparty" />
		<module organisation="ibm" name="*"	resolver="thirdparty" />		
		<module organisation="jayasoft" name="*"	resolver="thirdparty" />
		<module organisation="jcraft" name="*"	resolver="thirdparty" />
		<module organisation="jpedal" name="*"	resolver="thirdparty" />
		<module organisation="jrefinery" name="*"	resolver="thirdparty" />		
		<module organisation="junit" name="*"	resolver="thirdparty" />
		<module organisation="lowagie" name="*"	resolver="thirdparty" />
		<module organisation="meterware" name="*"	resolver="thirdparty" />
		<module organisation="mirrorworlds" name="*"	resolver="thirdparty" />				
		<module organisation="mousepushers" name="*"	resolver="thirdparty" />
		<module organisation="mozilla" name="*"	resolver="thirdparty" />
		<module organisation="omg" name="*"	resolver="thirdparty" />
		<module organisation="opensymphony" name="*"	resolver="thirdparty" />				
		<module organisation="oroinc" name="*"	resolver="thirdparty" />
		<module organisation="sourceforge" name="*"	resolver="thirdparty" />
		<module organisation="sqlj" name="*"	resolver="thirdparty" />
		<module organisation="sun" name="*"	resolver="thirdparty" />		
		<module organisation="tyrex" name="*"	resolver="thirdparty" />				
		<module organisation="w3c" name="*"	resolver="thirdparty" />
		<module organisation="sqlj" name="*"	resolver="thirdparty" />
		<module organisation="wutka" name="*"	resolver="thirdparty" />		
		<module organisation="xmlparser" name="*"	resolver="thirdparty" />
	</modules>

	 <!-- points to my local livraisons -->
	 <classpath	file="C:/ivylivraison/24082007/OFACDependencies-CURRENT.jar" />
	 <!-- points to server repository used by all OFAC
	 <classpath
file="I:/shared/ivyconf/ivylivraison/23082007/OFACDependencies-CURRENT.jar"
/>
	 -->

	<!-- strategie qui considere que CURRENT est plus recent que HEAD qui est
plus recent que prod etc...
		OfacLatestStrategyTest donne une bonne idee de son comportement. -->
	<typedef name="ofac-latest-strategy"
		classname="ch.ofac.ivy.latest.OfacLatestStrategy" />
	<latest-strategies>
		<ofac-latest-strategy name="ofac-latest" />
	</latest-strategies>

	<!-- Conflict manager qui utilise la strategie definie plus haut -->
	<conflict-managers>
		<latest-cm name="ofac-cm" latest="ofac-latest" />
		<latest-revision name="latest-revision" />
	</conflict-managers>

</ivyconf>
***************************************************************



bhatia wrote:
> 
> Hello,
> 
> Problem scenario:
> 
> Step 1) Project "nr" has a dependency on Project "ad".
> 
> Step 2) I check out my working copy of both project "nr" and project "ad"
> in Eclipse workspace.
> 
> Step 3) I make my changes to project "ad" in my workspace and publish it
> using a local resolver into my local filesystem using a "local" resolver
> like this:
> 
> In ivy.xml of project "ad", I declare revision="CURRENT" like this:
> 
> <info organisation="ofac" module="ad" revision="CURRENT"/>
> 
> In my common.xml, I publish to the local repository like this:
> 
> <target name="publish-war-en-locale" depends="make-war-en-locale"
> description="-> publish this project's war and its sources in the local
> user repository">		
> 		<ivy:publish resolver="local"
> artifactspattern="[type]/[artifact](-[revision]).[ext]"
> pubrevision="${revision}"/>
> 	</target>
> 
> After publishing of "ad" is successful in my "local" repository, I get the
> following:
> 
> publish-war-en-locale:
> [ivy:publish] :: delivering :: [ ofac | ad | CURRENT ] :: CURRENT ::
> integration :: Tue Aug 28 13:15:17 CEST 2007
> [ivy:publish] delivering ivy file to ivy/ivy-CURRENT.xml
> [ivy:publish] :: publishing :: [ ofac | ad ]
> [ivy:publish] published ad to
> c:\myrep/local/ofac/ad/CURRENT/sources/ad-CURRENT.src.jar
> [ivy:publish] published ad to
> c:\myrep/local/ofac/ad/CURRENT/wars/ad-CURRENT.war
> [ivy:publish] published ivy to c:\myrep/local/ofac/ad/CURRENT/ivys/ivy.xml
> BUILD SUCCESSFUL
> 
> step 4) Resolve/retrieve project "ad" which I recently published to my
> "local" repository (revision="CURRENT") from project "nr" like this:
> 
> project "nr" ivy.xml:
> 
> <ivy-module version="1.0">
>  <info organisation="ofac" module="nr" revision="prod"/>
> <configurations>
> 	<conf name="compile" description="compile-time deps only"
> transitive="true" visibility="public"/>
> 	<conf name="run" description="run-time deps only, also used for creating
> and publishing an artifact" transitive="false" visibility="public"/>
> </configurations>
> <publications>
> 	<artifact name="nr" type="war"/>
> 	<artifact name="nr" type="source" ext="src.jar"/>
> </publications>
>  <dependencies>    
>     <dependency org="ofac" name="ad" rev="CURRENT" conf="compile">
>         <artifact name="ad" type="war"/>
>     </dependency>   
>  </dependencies>
>  <conflicts>
>     <manager name="ofac-cm" org="ofac"/>
>     <manager name="latest-revision" org="(?!ofac).*"/>
>  </conflicts>
> </ivy-module>
> 
> In common.xml, when I launch "retrieve-compile" like this:
> 
> <target name="retrieve-compile" depends="init" description="-> retrieve
> compile-time dependencies in the lib folder of this project, if it doesnt
> exist, create it">
> 		<fail>
> 			Il n'y a pas de fichier ivy.xml dans ce projet
> 			<condition>
> 				<not>
> 					<available file="${basedir}/ivy.xml" type="file" />
> 				</not>
> 			</condition>
> 		</fail>
> 		<mkdir dir="${compile.conf.dir}" />
> 		<ivy:retrieve
> pattern="${compile.conf.dir}/[artifact](-[revision]).[ext]" type="jar,war"
> conf="compile"/>
> 	</target>
> 
> I get the following error on the console:
> 
> [ivy:retrieve] :: evicted modules:
> [ivy:retrieve] [ ofac | ad | prod ] by [[ ofac | ad | CURRENT ]] in
> [compile]
> ---------------------------------------------------------------------
> |                  |            modules            ||   artifacts   |
> |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
> ---------------------------------------------------------------------
> |      compile     |  159  |   0   |   0   |   1   ||  208  |   0   |
> ---------------------------------------------------------------------
> 
> [ivy:retrieve] module not found: [ ofac | ad | CURRENT ]
> [ivy:retrieve] internal: tried I:/shared/ofac/ad/CURRENT/ivys/ivy.xml
> [ivy:retrieve] internal: tried artifact [ ofac | ad | CURRENT
> ]/ad.war[war]:
> [ivy:retrieve] I:/shared/ofac/ad/CURRENT/wars/ad-CURRENT.war
> 
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: [ ofac | ad | CURRENT ]: not found
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> 
> BUILD FAILED
> C:\ivylivraison\24082007\common.xml:88: impossible to resolve
> dependencies: resolve failed - see output for details
> 
> I have defined a chain like this in my ivyconf.xml:
> 
> <resolvers checksums="false">
> 	 <chain name="chainresolver" returnFirst="true">
> 	  <!-- resolver for local artifacts in local filesystem -->
> 		<filesystem name="local">
>       <ivy
> pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
>       <artifact
> pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}"
> />
>     </filesystem>
> 	  <!-- resolver for OFAC internal artifacts in the cellar -->
> 		<filesystem name="internal">
> 			<ivy
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> />
> 			<artifact
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact](-[revision]).[ext]"
> />
> 		</filesystem>
> 		<!-- resolver for external third party artifacts in the cellar -->
> 		<filesystem name="thirdparty">
> 			<ivy
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> />
> 			<artifact
> pattern="${cellier}/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
> />
> 		</filesystem>		    
>     </chain>
> 	</resolvers>
> 
> I am not referencing "chainresolver" specified here in my common.xml in
> any of the targets. Is this the right way to do it ? 
> 
> I dont know why Ivy doesnt find my ad-CURRENT artifacts in the "local"
> repository. It seems to be searching in thirdparty and/or shared
> repository only.
> 
> Any help would be welcome.
> 
> thanks
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/problem-resolving-retrieving-using-a-chain-resolver-tf4341279.html#a12368006
Sent from the ivy-user mailing list archive at Nabble.com.