ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mandie Smith <man...@houseofgnomes.net>
Subject Re: enabling webdav support
Date Mon, 08 Mar 2010 22:52:25 GMT
Here's the verbose output of the publish task, it's long.

Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: build.xml
Detected Java version: 1.6 in: /usr/local/jdk1.6.0_10/jre
Detected OS: Linux

publish:
Overriding previous definition of property "ivy.version"
     [echo]
-------------------------------------------------------------------
Property "publish.local" has not been set
     [echo] PUBLISHING REPOSITORY: SNAPSHOTS
     [echo]
-------------------------------------------------------------------
Overriding previous definition of property "ivy.version"
[ivy:publish] Loading
jar:file:/home/testUser/temp/artifact/target/build/tools/ivy.jar!/org/apache/ivy/core/settings/ivy.properties
Override ignored for property "ivy.log.modules.in.use"
Override ignored for property "ivy.resolver.default.check.modified"
Override ignored for property "ivy.default.always.check.exact.revision"
Override ignored for property "ivy.retrieve.pattern"
Override ignored for property "ivy.configurations"
Override ignored for property "ivy.buildlist.ivyfilepath"
Override ignored for property "ivy.status"
Override ignored for property "ivy.resolve.default.type.filter"
Override ignored for property "ivy.project.dir"
Override ignored for property "ivy.dep.file"
Override ignored for property "ivy.settings.file"
Override ignored for property "ivy.report.output.pattern"
Override ignored for property "ivy.cache.ttl.default"
Override ignored for property "ivy.publish.src.artifacts.pattern"
Override ignored for property "ivy.deliver.ivy.pattern"
Override ignored for property "ivy.build.artifacts.dir"
Override ignored for property "ivy.checksums"
Override ignored for property "ivy.distrib.dir"
Override ignored for property "ivy.lib.dir"
[ivy:publish] :: loading settings :: file =
/home/testUser/temp/artifact/target/build/headers/ivypublisher.xml
[ivy:publish] loading properties:
/home/testUser/temp/artifact/target/build/headers/ivypublisher.properties
[ivy:publish] settings loaded (49ms)
[ivy:publish]   default cache: /home/testUser/.ivy2/cache
[ivy:publish]   default resolver: write-snapshots-module
[ivy:publish]   -- 3 resolvers:
[ivy:publish]   write-local-module [file]
[ivy:publish]   write-snapshots-module [vfs]
[ivy:publish]   write-releases-module [sftp]
Overriding previous definition of property "ivy.version"
 [property] Loading /tmp/delivery.properties
 [property] Unable to find property file: /tmp/delivery.properties
:: delivering :: organization#artifact;3.1.0.128.20100308174323 ::
3.1.0.128.20100308174323 :: integration :: Mon Mar 08 17:43:25 EST 2010
    delivering ivy file to /home/testUser/temp/artifact/target/lib/ivy.xml
:: publishing :: organization#artifact
Mar 8, 2010 5:43:25 PM org.apache.commons.vfs.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.

BUILD FAILED
/home/testUser/temp/artifact/target/build/headers/ivybuilder.xml:488: The
following error occurred while executing this line:
/home/testUser/temp/artifact/target/build/headers/ivybuilder.xml:1208:
impossible to publish artifacts for
organization#artifact;3.1.0.128.20100308174323:
java.lang.IllegalArgumentException: invalid vfs uri
webdav://hostname/archiva/repository/snapshots/organization/artifact/3.1.0.128.20100308174323/artifact-3.1.0.128.20100308174323.pom
to put data to: resource has no content
    at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by:
/home/testUser/temp/artifact/target/build/headers/ivybuilder.xml:1208:
impossible to publish artifacts for
organization#artifact;3.1.0.128.20100308174323:
java.lang.IllegalArgumentException: invalid vfs uri
webdav://hostname/archiva/repository/snapshots/organization/artifact/3.1.0.128.20100308174323/artifact-3.1.0.128.20100308174323.pom
to put data to: resource has no content
    at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:318)
    at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    ... 16 more
Caused by: java.lang.IllegalArgumentException: invalid vfs uri
webdav://hostname/archiva/repository/snapshots/organization/artifact/3.1.0.128.20100308174323/artifact-3.1.0.128.20100308174323.pom
to put data to: resource has no content
    at
org.apache.ivy.plugins.repository.vfs.VfsRepository.put(VfsRepository.java:209)
    at
org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
    at
org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:227)
    at
org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
    at org.apache.ivy.Ivy.publish(Ivy.java:600)
    at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
    ... 31 more
--- Nested Exception ---
/home/testUser/temp/artifact/target/build/headers/ivybuilder.xml:1208:
impossible to publish artifacts for
organization#artifact;3.1.0.128.20100308174323:
java.lang.IllegalArgumentException: invalid vfs uri
webdav://hostname/archiva/repository/snapshots/organization/artifact/3.1.0.128.20100308174323/artifact-3.1.0.128.20100308174323.pom
to put data to: resource has no content
    at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:318)
    at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.IllegalArgumentException: invalid vfs uri
webdav://hostname/archiva/repository/snapshots/organization/artifact/3.1.0.128.20100308174323/artifact-3.1.0.128.20100308174323.pom
to put data to: resource has no content
    at
org.apache.ivy.plugins.repository.vfs.VfsRepository.put(VfsRepository.java:209)
    at
org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
    at
org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:227)
    at
org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
    at org.apache.ivy.Ivy.publish(Ivy.java:600)
    at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
    ... 31 more
--- Nested Exception ---
java.lang.IllegalArgumentException: invalid vfs uri
webdav://hostname/archiva/repository/snapshots/organization/artifact/3.1.0.128.20100308174323/artifact-3.1.0.128.20100308174323.pom
to put data to: resource has no content
    at
org.apache.ivy.plugins.repository.vfs.VfsRepository.put(VfsRepository.java:209)
    at
org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
    at
org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:227)
    at
org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
    at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
    at org.apache.ivy.Ivy.publish(Ivy.java:600)
    at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
    at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 4 seconds

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