ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bahri Gençsoy <bahri.genc...@gmail.com>
Subject Publish Overwrite Silently Failing On Solaris
Date Fri, 05 Mar 2010 14:47:03 GMT
Hello, I cannot make ivy publish an artifact with overwrite="true" on
solaris.

Exactly same project can be published on windows, on solaris it doesn't fail
but does not overwrite the artifact either.

I use ivy 2.1.0 and ant 1.7.1 on both platforms.

This is the target I use in build.xml:

     <target name="publish" depends="build" description="--> publish this
project in the local ivy repository">
        <property name="revision" value="${revision}" />
        <ivy:publish overwrite="true" forcedeliver="true"
artifactspattern="${dist.dir}/[artifact].[ext]" resolver="local"
pubrevision="${revision}" status="release" />
        <echo message="project ${ant.project.name} released with version
${revision} with status: ${ivy.status}" />
    </target>

This is the log output of ant -v -d  on solaris (company name changed):

publish:
Override ignored for property "revision"
Finding class org.apache.ivy.ant.IvyPublish$ArtifactsPattern
Loaded from /mp_slice5/bahri/tmp/MFng/ivy/ivy.jar
org/apache/ivy/ant/IvyPublish$ArtifactsPattern.class
Class org.apache.ivy.ant.IvyPublish$ArtifactsPattern loaded from ant loader
(parentFirst)
Finding class org.apache.ivy.ant.IvyPublish$PublishArtifact
Loaded from /mp_slice5/bahri/tmp/MFng/ivy/ivy.jar
org/apache/ivy/ant/IvyPublish$PublishArtifact.class
Class org.apache.ivy.ant.IvyPublish$PublishArtifact loaded from ant loader
(parentFirst)
Overriding previous definition of property "ivy.version"
Setting project property: ivy.version -> 2.1.0
[ivy:publish] parameter found as ivy variable:
ivy.organisation=com.mycompany
[ivy:publish] parameter found as ivy variable: ivy.module=MFng
[ivy:publish] parameter found as ivy variable: ivy.revision=working@HULK
[ivy:publish] parameter not found: ivy.deliver.branch
[ivy:publish] parameter found as attribute value: ivy.deliver.revision=0.1
[ivy:publish] parameter found as attribute value: ivy.status=release
Overriding previous definition of property "ivy.version"
Setting project property: ivy.version -> 2.1.0
[ivy:publish] parameter found as attribute value:
ivy.organisation=com.mycompany
[ivy:publish] parameter found as attribute value: ivy.module=MFng
[ivy:publish] parameter found as attribute value: ivy.revision=working@HULK
[ivy:publish] parameter not found: ivy.deliver.branch
[ivy:publish] parameter found as attribute value: ivy.deliver.revision=0.1
[ivy:publish] parameter found as attribute value:
ivy.deliver.ivy.pattern=dist/[artifact].[ext]
[ivy:publish] parameter found as attribute value: ivy.status=release
[ivy:publish] parameter not found: ivy.delivery.list.file
   +Task: property
 [property] Loading /var/tmp/delivery.properties
 [property] Unable to find property file: /var/tmp/delivery.properties
Class org.apache.tools.ant.BuildEvent loaded from parent loader
(parentFirst)
Finding class org.apache.ivy.core.deliver.DeliverOptions
Loaded from /mp_slice5/bahri/tmp/MFng/ivy/ivy.jar
org/apache/ivy/core/deliver/DeliverOptions.class
Class org.apache.ivy.core.deliver.DeliverOptions loaded from ant loader
(parentFirst)
:: delivering :: com.mycompany#MFng;working@HULK :: 0.1 :: release :: Fri
Mar 05 16:29:33 EET 2010
Resource org/apache/ivy/plugins/parser/xml/ivy.xsd loaded from ant loader
        delivering ivy file to /mp_slice5/bahri/tmp/MFng/dist/ivy.xml
Finding class org.apache.ivy.core.publish.PublishOptions
Loaded from /mp_slice5/bahri/tmp/MFng/ivy/ivy.jar
org/apache/ivy/core/publish/PublishOptions.class
Class org.apache.ivy.core.publish.PublishOptions loaded from ant loader
(parentFirst)
:: publishing :: com.mycompany#MFng
Finding class org.apache.ivy.util.CopyProgressEvent
Loaded from /mp_slice5/bahri/tmp/MFng/ivy/ivy.jar
org/apache/ivy/util/CopyProgressEvent.class
Class org.apache.ivy.util.CopyProgressEvent loaded from ant loader
(parentFirst)
        published MFng to
/mp_slice5/bahri/.ivy2/local/com.mycompany/MFng/0.1/jars/MFng.jar
        published ivy to
/mp_slice5/bahri/.ivy2/local/com.mycompany/MFng/0.1/ivys/ivy.xml
     [echo] project MF Next Generation released with version 0.1 with
status: integration

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