ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <Carlton.Br...@compucredit.com>
Subject RE: help getting latest.integration to work
Date Tue, 10 Feb 2009 18:13:18 GMT
After looking at your config file a bit more I see you're using Nexus...
Make sure your anonymous user (or whatever user you're using to access
the repo) has sufficient access privileges to list the directory
contents.  Also make sure when you test in the browser that you are
using these credentials. 

-----Original Message-----
From: Jonathan Roberts [mailto:jroberts@rjlg.com] 
Sent: Tuesday, February 10, 2009 11:29 AM
To: ivy-user@ant.apache.org
Subject: RE: help getting latest.integration to work

Sure,

Here's the relevant section from the log:

It looks like it's trying to list all the folders in
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/
But it's not returning anything.

If I browse to the site, I can see all the version numbers.

Maybe I need to set a pattern matcher somewhere?

LOG:
Finding class
org.apache.ivy.plugins.matcher.ExactOrRegexpPatternMatcher$ExactOrRegexp
Matcer
Loaded from C:\working\eshopstuff\ehmdrc-core-ws\build\work\ivy\ivy.jar
org/apache/ivy/plugins/matcher/ExactOrRegexpPatternMatcher$ExactOrRegexp
Matcher.class
Class
org.apache.ivy.plugins.matcher.ExactOrRegexpPatternMatcher$ExactOrRegexp
Matcher loaded from ant loader (parentFirst) Finding class
org.apache.ivy.plugins.matcher.ExactPatternMatcher$ExactMatcher
Loaded from C:\working\eshopstuff\ehmdrc-core-ws\build\work\ivy\ivy.jar
org/apache/ivy/plugins/matcher/ExactPatternMatcher$ExactMatcher.class
Class org.apache.ivy.plugins.matcher.ExactPatternMatcher$ExactMatcher
loaded from ant loader (parentFirst)
Finding class
org.apache.ivy.plugins.matcher.RegexpPatternMatcher$RegexpMatcher
Loaded from C:\working\eshopstuff\ehmdrc-core-ws\build\work\ivy\ivy.jar
org/apache/ivy/plugins/matcher/RegexpPatternMatcher$RegexpMatcher.class
Class org.apache.ivy.plugins.matcher.RegexpPatternMatcher$RegexpMatcher
loaded from ant loader (parentFirst)
[ivy:resolve] don't use cache for
rjlg#hibernate-deployer;latest.integration: changing=true
[ivy:resolve] 		tried
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/[revision]/ivy.xml
[ivy:resolve] 	listing all in
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/[revision]/ivy.xml
[ivy:resolve] 	using Ivy-Nexus to list all in
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/
Class java.io.BufferedReader loaded from parent loader (parentFirst)
Finding class org.apache.ivy.util.FileUtil Loaded from
C:\working\eshopstuff\ehmdrc-core-ws\build\work\ivy\ivy.jar
org/apache/ivy/util/FileUtil.class
Class org.apache.ivy.util.FileUtil loaded from ant loader (parentFirst)
Class java.lang.Runtime loaded from parent loader (parentFirst) Class
java.lang.Process loaded from parent loader (parentFirst)
[ivy:resolve] 		found 0 resources
[ivy:resolve] 	found revs: []
[ivy:resolve] 	Ivy-Nexus: no resource found for
rjlg#hibernate-deployer;latest.integration:
pattern=http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/[
organization]/[module]/[revision]/ivy.xml
[ivy:resolve] 		tried
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/[revision]/hibernate-deployer.jar
[ivy:resolve] 	listing all in
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/[revision]/hibernate-deployer.jar
[ivy:resolve] 	using Ivy-Nexus to list all in
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/
[ivy:resolve] 		found 0 resources
[ivy:resolve] 	found revs: []
[ivy:resolve] 	Ivy-Nexus: no resource found for
rjlg#hibernate-deployer;latest.integration:
pattern=http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/[
organization]/[module]/[revision]/[artifact].[ext]
[ivy:resolve] 	Ivy-Nexus: no ivy file nor artifact found for
rjlg#hibernate-deployer;latest.integration
[ivy:resolve] no cached resolved revision for
rjlg#hibernate-deployer;latest.integration



Settings:

<ivysettings>
	<property name="rjlg.resolver.url"
value="http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public"/>
	<credentials host="dev-tools.ehmplusdrc.com" realm="EHM+DRC
Nexus Access" username="ehm_build" passwd="scr1pt"/>
	
  <settings defaultResolver="default"/>
  
  <resolvers>
	<chain name="public">      
		<url name="Ivy-Nexus" m2compatible="true"
changingPattern=".*">
		  <ivy
pattern="${rjlg.resolver.url}/[organization]/[module]/[revision]/ivy.xml
" />		  
		  <artifact
pattern="${rjlg.resolver.url}/[organization]/[module]/[revision]/[artifa
ct].[ext]" />
		</url>
        <ibiblio  name="Nexus" m2compatible="true" usepoms="true"
root="${rjlg.resolver.url}/"/>
	</chain>
    <!-- used only for publishing -->    
    <ibiblio  name="thirdparty" m2compatible="true" usepoms="true"
root="file:///j:/repo_thirdparty" />          
    <filesystem
      	name="snapshots">
      	<ivy
pattern="//hq.rjlg.com/dfs/software/repo_rjlg/snapshots/[organization]/[
module]/[revision]/ivy.xml" />
      	<artifact
pattern="//hq.rjlg.com/dfs/software/repo_rjlg/snapshots/[organization]/[
module]/[revision]/[artifact].[ext]" />
    </filesystem>
    <filesystem
      	name="releases">
      	<ivy
pattern="//hq.rjlg.com/dfs/software/repo_rjlg/releases/[organization]/[m
odule]/[revision]/ivy.xml" />
      	<artifact
pattern="//hq.rjlg.com/dfs/software/repo_rjlg/releases/[organization]/[m
odule]/[revision]/[artifact].[ext]" />
     </filesystem>    
  </resolvers>
  <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
  <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
  <resolvers>
    <chain name="main" dual="true">
      <resolver ref="public"/>
    </chain>
  </resolvers>
  <!-- this included file calls local then main -->
  <include
url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
  
  <statuses default="integration">
	  <status name="release" integration="false"/>
	  <status name="nightly" integration="true"/>
	  <status name="integration" integration="true"/>
  </statuses>
 </ivysettings>

Thanks,
Jon


-----Original Message-----
From: Maarten Coene [mailto:maarten_coene@yahoo.com]
Sent: Monday, February 09, 2009 4:42 AM
To: ivy-user@ant.apache.org
Subject: Re: help getting latest.integration to work

It should work,could you:
- post your settings.xml?
- post the log when running Ant in verbose mode?

Maarten




----- Original Message ----
From: Jonathan Roberts <jroberts@rjlg.com>
To: ivy-user@ant.apache.org
Sent: Friday, February 6, 2009 10:10:55 PM
Subject: help getting latest.integration to work

Hello,

Is there some special task or something that you have to run before
latest.integration and other statuses to work?

We've got ivy all setup and running smooth, this is our last hurtle.

My ivy file: 
<dependency org="rjlg" name="hibernate-deployer"
rev="latest.integration" conf="jar->master"/>

My ivy log:

:::: WARNINGS
[ivy:resolve]         module not found:
rjlg#hibernate-deployer;latest.integration
[ivy:resolve]     ==== local: tried
[ivy:resolve]       C:\Documents and
Settings\jroberts\.ivy2/local/rjlg/hibernate-deployer/[revision]/ivy.xml
[ivy:resolve]       -- artifact
rjlg#hibernate-deployer;latest.integration!hibernate-deployer.jar:
[ivy:resolve]       C:\Documents and
Settings\jroberts\.ivy2/local/rjlg/hibernate-deployer/[revision]/hiberna
te-deployer.jar
[ivy:resolve]     ==== Ivy-Nexus: tried
[ivy:resolve]
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/[revision]/ivy.xml
[ivy:resolve]       -- artifact
rjlg#hibernate-deployer;latest.integration!hibernate-deployer.jar:
[ivy:resolve]
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
rnate-deployer/[revision]/hibernate-deployer.jar
[ivy:resolve]     ==== Nexus: tried

Etc...

Thanks,
Jon



      

-----------------------------------------
====================================================
This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.
====================================================

Mime
View raw message