You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Marc De Boeck (JIRA)" <ji...@apache.org> on 2008/11/25 15:49:44 UTC

[jira] Created: (IVY-977) publish fails when setting ivy.checksums via a property file

publish fails when setting  ivy.checksums via a property file
-------------------------------------------------------------

                 Key: IVY-977
                 URL: https://issues.apache.org/jira/browse/IVY-977
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.0.0-beta-2
         Environment: Windows XP
            Reporter: Marc De Boeck
            Priority: Minor


When setting the property ivy.checksums in a property file, each publish operation failed with the following error:

publish:package:
     [echo] >>> Publishing main package to local repository
[ivy:publish] :: publishing :: com.bene_system#common2-message
[ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part

BUILD FAILED
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect

Total time: 3 seconds

My ivysettings-file looked as follow:
<ivysettings>
	<properties file="${ivy.settings.dir}/var/default.properties"/>
      ....
</ivysettings>

In the property file default.properties ivy.checksums was defined as follows:
ivy.checksums = ""

Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.

I then tried to set the property directory in the ivysettings file:
<ivysettings>
	<properties file="${ivy.settings.dir}/var/default.properties"/>
     <property name="ivy.checksums" value="" />  

And that worked fine.
So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.


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


[jira] Updated: (IVY-977) publish fails when setting ivy.checksums via a property file

Posted by "Marc De Boeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marc De Boeck updated IVY-977:
------------------------------

    Description: 
When setting the property ivy.checksums in a property file, each publish operation failed with the following error:

publish:package:
     [echo] >>> Publishing main package to local repository
[ivy:publish] :: publishing :: com.bene_system#common2-message
[ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part

BUILD FAILED
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect

Total time: 3 seconds

My ivysettings-file looked as follow:
<ivysettings>
	<properties file="${ivy.settings.dir}/var/default.properties"/>
      ....
</ivysettings>

In the property file default.properties ivy.checksums was defined as follows:
ivy.checksums = ""

Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.

I then tried to set the property directly in the ivysettings file:
<ivysettings>
	<properties file="${ivy.settings.dir}/var/default.properties"/>
     <property name="ivy.checksums" value="" />  

And that worked fine.
So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.


  was:
When setting the property ivy.checksums in a property file, each publish operation failed with the following error:

publish:package:
     [echo] >>> Publishing main package to local repository
[ivy:publish] :: publishing :: com.bene_system#common2-message
[ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part

BUILD FAILED
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect

Total time: 3 seconds

My ivysettings-file looked as follow:
<ivysettings>
	<properties file="${ivy.settings.dir}/var/default.properties"/>
      ....
</ivysettings>

In the property file default.properties ivy.checksums was defined as follows:
ivy.checksums = ""

Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.

I then tried to set the property directory in the ivysettings file:
<ivysettings>
	<properties file="${ivy.settings.dir}/var/default.properties"/>
     <property name="ivy.checksums" value="" />  

And that worked fine.
So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.



> publish fails when setting  ivy.checksums via a property file
> -------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>         Environment: Windows XP
>            Reporter: Marc De Boeck
>            Priority: Minor
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Closed: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Marc De Boeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marc De Boeck closed IVY-977.
-----------------------------


Tested this issue with revision 721304. I now get the right error-message, so I closed this issue  (I suppose it's ok that I close it myself ?).

For example, here is the output I got now when using the double quotes in a property file:

ivy.checksums="" 
{quote}
BUILD FAILED
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message#C2.0;working@PO060001737: java.lang.IllegalArgumentException: Unknown checksum algorithm: ""
{quote}

ivy.checksums="md5" (set via the properties file)
{quote}
BUILD FAILED
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message#C2.0;working@PO060001737: java.lang.IllegalArgumentException: Unknown checksum algorithm: "md5"
{quote}

Thanks ! 

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: ant_stdout.txt
>
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Commented: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651362#action_12651362 ] 

Maarten Coene commented on IVY-977:
-----------------------------------

Marc,

Can you paste the stacktrace here when running ant in verbose mode (ant -v) ?

Maarten

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
>
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Assigned: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene reassigned IVY-977:
---------------------------------

    Assignee: Maarten Coene

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Resolved: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-977.
-------------------------------

       Resolution: Fixed
    Fix Version/s: trunk

I've updated the code in SVN trunk in an attempt to provide a more meaningfull error message.
Could you give it a try to see if the message is more clear now?

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
>
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Commented: (IVY-977) publish fails when setting ivy.checksums via a property file

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650750#action_12650750 ] 

Maarten Coene commented on IVY-977:
-----------------------------------

Marc,

just to be sure, but did you specify the ivy.checksums property in the properties file without the double quotest like this?

{noformat}
ivy.checksums=
{noformat}

> publish fails when setting  ivy.checksums via a property file
> -------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>         Environment: Windows XP
>            Reporter: Marc De Boeck
>            Priority: Minor
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Commented: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Marc De Boeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651361#action_12651361 ] 

Marc De Boeck commented on IVY-977:
-----------------------------------

Maarten,
I am afraid I still have the same error message:
[ivy:publish] :: Marc is publishing :: com.bene_system#common2-message
[ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\C2.0\20081127150815.part

BUILD FAILED
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message#C2.0;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect

I had first rebuilt ivy using SVN-revision 721019. I think I got the right version because the CHANGES.txt file included also this issue. I am also sure I have used the rebuilt ivy.jar (because I added "Marc is publishing" in the publish message).

Anyhow, for me this issue is not so important. But if you would consider making another change, I don't mind retesting it.
Marc

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
>
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Commented: (IVY-977) publish fails when setting ivy.checksums via a property file

Posted by "Marc De Boeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650874#action_12650874 ] 

Marc De Boeck commented on IVY-977:
-----------------------------------

Maarten,
No, I did put double quotes.
I tried the following settings in my property file (only one at a time of course):
{noformat}
ivy.checksums=""
ivy.checksums="md5"
ivy.checsums="sha1, md5"
{noformat}
In all cases, I had the same BUILD FAILED error. 

As soon as I comment out the definition of ivy.checksums in my properties file,  the publish is successful. So it is very reproducable for me.
By the way, I also have some other ivy-properties set in this properties file, and they don't cause any problems:
e.g. my ivy.cache.dir and and ivy.validate are set in that file.
Thanks,
Marc


> publish fails when setting  ivy.checksums via a property file
> -------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>         Environment: Windows XP
>            Reporter: Marc De Boeck
>            Priority: Minor
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Commented: (IVY-977) publish fails when setting ivy.checksums via a property file

Posted by "Marc De Boeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650898#action_12650898 ] 

Marc De Boeck commented on IVY-977:
-----------------------------------

Hi Maarten,
Sorry, I misunderstood your original question.
You are right: I now did some tests without the quotes, and it worked.
All of the three following options work:
{noformat}
ivy.checksums=
ivy.checksums=md5
ivy.checksums=sha1, md5
{noformat}
Actually, I should have seen this, because all other properties are also specified in the properties file without quotes.
Don't know if it is possible to output a more meaningful error message for this ? Or to generate already an error when reading in the settings file ? Now all other ivy-tasks were executed fine (without any warning) and so I spent a long time investigating and changing the resolvers, looking at the stack trace, trying the find out why windows complained that the fileformat was invalid etc.

Thanks a lot for your help.
Marc

> publish fails when setting  ivy.checksums via a property file
> -------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Priority: Minor
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Commented: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Marc De Boeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651365#action_12651365 ] 

Marc De Boeck commented on IVY-977:
-----------------------------------

Below is the stacktrace. I'll also attach the stdout from ant as an attachment to this issue.

R:\ext950_r_costa_INCEPTION_int_dn\costa\common2\mod\common2-message>cat ant_stderr.txt

BUILD FAILED
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message#C2.0;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
        at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
        at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message#C2.0;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
        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.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
        ... 16 more
Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1345)
        at java.io.File.createTempFile(File.java:1434)
        at java.io.File.createTempFile(File.java:1471)
        at org.apache.ivy.plugins.resolver.RepositoryResolver.putChecksum(RepositoryResolver.java:228)
        at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:222)
        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 ---
R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message#C2.0;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
        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.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        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.io.IOException: The filename, directory name, or volume label syntax is incorrect
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1345)
        at java.io.File.createTempFile(File.java:1434)
        at java.io.File.createTempFile(File.java:1471)
        at org.apache.ivy.plugins.resolver.RepositoryResolver.putChecksum(RepositoryResolver.java:228)
        at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:222)
        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.io.IOException: The filename, directory name, or volume label syntax is incorrect
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1345)
        at java.io.File.createTempFile(File.java:1434)
        at java.io.File.createTempFile(File.java:1471)
        at org.apache.ivy.plugins.resolver.RepositoryResolver.putChecksum(RepositoryResolver.java:228)
        at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:222)
        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.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        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


> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
>
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Updated: (IVY-977) publish fails when setting ivy.checksums via a property file

Posted by "Marc De Boeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marc De Boeck updated IVY-977:
------------------------------

    Environment: 
* Windows XP
* java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
* Apache Ant version 1.7.0 compiled on December 13 2006

  was:Windows XP


> publish fails when setting  ivy.checksums via a property file
> -------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Priority: Minor
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Updated: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-977:
------------------------------

    Fix Version/s:     (was: trunk)
                   2.0.1

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: 2.0.1
>
>         Attachments: ant_stdout.txt
>
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Updated: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-977:
------------------------------

    Issue Type: Improvement  (was: Bug)
       Summary: error message is not clear when specifying an invalid value for checksums  (was: publish fails when setting  ivy.checksums via a property file)

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Priority: Minor
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Commented: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651420#action_12651420 ] 

Maarten Coene commented on IVY-977:
-----------------------------------

Thank you for the extra information.
I've committed an additional fix into SVN trunk.
Could you give it another try?

thanks,
Maarten

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: ant_stdout.txt
>
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Updated: (IVY-977) error message is not clear when specifying an invalid value for checksums

Posted by "Marc De Boeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marc De Boeck updated IVY-977:
------------------------------

    Attachment: ant_stdout.txt

Attached also stdout output (when running ant -v)

> error message is not clear when specifying an invalid value for checksums
> -------------------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: ant_stdout.txt
>
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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


[jira] Commented: (IVY-977) publish fails when setting ivy.checksums via a property file

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650890#action_12650890 ] 

Maarten Coene commented on IVY-977:
-----------------------------------

Marc,

can you give it a try *without* the double quotes?
If that doesn't work, could you post the console log when running ant in debug mode (ant -d), together with your settings.xml and your properties file?

Maarten

> publish fails when setting  ivy.checksums via a property file
> -------------------------------------------------------------
>
>                 Key: IVY-977
>                 URL: https://issues.apache.org/jira/browse/IVY-977
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>         Environment: * Windows XP
> * java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
> * Apache Ant version 1.7.0 compiled on December 13 2006
>            Reporter: Marc De Boeck
>            Priority: Minor
>
> When setting the property ivy.checksums in a property file, each publish operation failed with the following error:
> publish:package:
>      [echo] >>> Publishing main package to local repository
> [ivy:publish] :: publishing :: com.bene_system#common2-message
> [ivy:publish]   publish aborted: deleted R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\var\my_local_repo\com.bene_system\common2-message\20081125153702.part
> BUILD FAILED
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:786: The following error occurred while executing this line:
> R:\ext950_r_costa_INCEPTION_int_dn\devtools\oobs\oobs-java.xml:787: impossible to publish artifacts for com.bene_system#common2-message;working@PO060001737: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> Total time: 3 seconds
> My ivysettings-file looked as follow:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>       ....
> </ivysettings>
> In the property file default.properties ivy.checksums was defined as follows:
> ivy.checksums = ""
> Even when setting ivy.checksums="md5, sha1" or any other value, the build still failed.
> I then tried to set the property directly in the ivysettings file:
> <ivysettings>
> 	<properties file="${ivy.settings.dir}/var/default.properties"/>
>      <property name="ivy.checksums" value="" />  
> And that worked fine.
> So there is a workaround, but it took me a very long time to find out the root cause of this failure. So I propose that at least this is documented somewhere.

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