[ 
https://issues.apache.org/jira/browse/IVY-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Berry updated IVY-733:
--------------------------

    Description: 
I am attempting to use the new atomic publishing functionality in the 
filesystem resolver (fix for IVY-492.)

The publishing process appears to complete, and does not show any errors, but 
the artifacts are left in a directory named '[revision].part'.

See attached file for the ivy settings I am using.

I am running Ivy from an MSBuild script using a command line like the following:

java.exe -cp ivy.jar;commons-cli.jar -Drepository.dir=C:\Temp 
org.apache.ivy.Main -settings ivysettings.Nightly.xml -ivy ivy.xml -revision 
1.0.0.0 -publish Nightly -deliverto build\ivy.xml -status integration 
-publishpattern build\[artifact](.[ext])

  was:
I am attempting to use the new atomic publishing functionality in the 
filesystem resolver (fix for IVY-492.)

The publishing process appears to complete, and does not show any errors, but 
the artifacts are left in a directory named '[revision].part'.

I am using the following ivy settings:

<ivysettings>
        <settings defaultResolver="Mustang" latest="latest-revision" 
circularDependencyStrategy="error" defaultConflictManager="strict" 
defaultBranch="trunk" />
        <cache lockStrategy="artifact-lock" />
        <resolvers>
                <chain name="Mustang">
                        <filesystem name="Permanent" transactional="true">
                                <ivy 
pattern="${repository.dir}\Permanent\[module]\[branch]\[revision]\ivy.xml" />
                                <artifact 
pattern="${repository.dir}\Permanent\[module]\[branch]\[revision]\[artifact](.[ext])"
 />
                        </filesystem>
                        <filesystem name="Nightly" transactional="true">
                                <ivy 
pattern="${repository.dir}\Nightly\[module]\[branch]\[revision]\ivy.xml" />
                                <artifact 
pattern="${repository.dir}\Nightly\[module]\[branch]\[revision]\[artifact](.[ext])"
 />
                        </filesystem>
                </chain>
        </resolvers>
</ivysettings>

I am running Ivy from an MSBuild script using a command line like the following:

java.exe -cp ivy.jar;commons-cli.jar -Drepository.dir=C:\Temp 
org.apache.ivy.Main -settings ivysettings.Nightly.xml -ivy ivy.xml -revision 
1.0.0.0 -publish Nightly -deliverto build\ivy.xml -status integration 
-publishpattern build\[artifact](.[ext])


> File system resolver fails to rename artifact directory during atomic publish
> -----------------------------------------------------------------------------
>
>                 Key: IVY-733
>                 URL: https://issues.apache.org/jira/browse/IVY-733
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-beta-2
>         Environment: Windows XP Professional SP2 and Windows Vista Ultimate.
> Java version 1.6.0_04.
> Ivy running standalone (called from MSBuild scripts.)
>            Reporter: Tim Berry
>         Attachments: ivysettings.Nightly.xml
>
>
> I am attempting to use the new atomic publishing functionality in the 
> filesystem resolver (fix for IVY-492.)
> The publishing process appears to complete, and does not show any errors, but 
> the artifacts are left in a directory named '[revision].part'.
> See attached file for the ivy settings I am using.
> I am running Ivy from an MSBuild script using a command line like the 
> following:
> java.exe -cp ivy.jar;commons-cli.jar -Drepository.dir=C:\Temp 
> org.apache.ivy.Main -settings ivysettings.Nightly.xml -ivy ivy.xml -revision 
> 1.0.0.0 -publish Nightly -deliverto build\ivy.xml -status integration 
> -publishpattern build\[artifact](.[ext])

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to