OK, so a close look at that error message says

"Target file to set checksum on doesn't exist: 
mmodal-integration-local:com.mmodal/devTools/4.0.101//XCalibur-ant-4.0.101.jar"

Note the "//"   I know why it's there, it's because I'm using some optional 
custom ivy tokens in my resolver pattern, .../([os])([platform])/  ... which 
exist for some artifacts and not others.   If they don't exist, fine.  But now, 
something - in artifactory? -- is not collapsing "//" into "/"  This seemed to 
work fine with my previous artifactory installation.

When I change my resolver to remove the optional tokens, it works.   And, I can 
rewrite my resolver pattern as /([os])([platform]/) and again make it work.   
Still, the previous installation was functioning.

Installation differences:
    artifactory v2.2.2, as a webapp within glassfish, on Windows platform, "//" 
is ok
vs
    artifactory v2.2.3, running standalone on a Linux platform, "//" fails

-Nate




From: Nathan Franzen [mailto:[email protected]]
Sent: Thursday, June 17, 2010 9:23 AM
To: '[email protected]'
Subject: [Artifactory-users] checksum problem publishing via ivy
Importance: High

I just set up a new artifactory installation on a linux host, and now have 
problems publishing from my ant/ivy builds.  The logs indicate there's a 
checksum or file modification problem

Ivy build target ( <ivy:publish ... ) says:

BUILD FAILED
C:\home\nfranzen\nfranzen_gendev_2010\isibase\devTools\buildstar.xml:69: 
impossible to publish artifacts for com.mmodal#devTools;4.0.101: 
java.io.IOException: PUT operation to URL 
http://vhost5:8081/artifactory/mmodal-integration-local/com.mmodal/devTools/4.0.101//XCalibur-ant-4.0.101.jar.sha1<http://vhost5:8081/artifactory/mmodal-integration-local/com.mmodal/devTools/4.0.101/XCalibur-ant-4.0.101.jar.sha1>
 failed with status code 404: Target file to set checksum on doesn't exist: 
mmodal-integration-local:com.mmodal/devTools/4.0.101//XCalibur-ant-4.0.101.jar

Artifactory log says:

2010-06-17 09:04:28,610 [pool-1-thread-4] [ERROR] 
(o.a.j.l.SessionLockEntry:274) - Immutable item 
/repositories/mmodal-integration-local/com.mmodal/devTools/4.0.101/XCalibur-ant-4.0.101.jar
 has local modifications that will be ignored.
2010-06-17 09:04:28,611 [pool-1-thread-4] [ERROR] (o.a.w.s.RepoFilter :139) - 
Sending HTTP error code 500: Items are not identical after save 
/repositories/mmodal-integration-local/com.mmodal/devTools/4.0.101/XCalibur-ant-4.0.101.jar
 
/repositories/mmodal-integration-local/com.mmodal/devTools/4.0.101/XCalibur-ant-4.0.101.jar

I'm not sure where to look next for more information about what's gone wrong.   
This is artifactory 2.2.3 by the way.  Any suggestions appreciated.

Cheers,
Nate


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to