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

Ross Clewley updated IVY-395:
-----------------------------

    Description: 
The pubblication attribute on <info /> element in IVY file is very useful.

When the attribute is not specified IVY set the attribute to the current 
timestamp. 

It would be very useful to access to 'publication' attribute from ANT during 
artifacts build using a ${ivy.publication} property. 

Using ANT task <tstamp /> to simulate that can create incoherent  situation 
because the two timestamps are not 'synchronized'

Similarly, a property for the 'branch' attribute could be added.

Access to the published artifacts declared in the ivy file as ant properties 
would also be useful. This would allow a multi-project build system with a 
common build file define the produced artifacts solely in the Ivy file and have 
the common build file retrieve the names of the artifacts that it needs to 
create from that ivy file via the <info/> task.

  was:
The pubblication attribute on <info /> element in IVY file is very useful.

When the attribute is not specified IVY set the attribute to the current 
timestamp. 

It would be very usefull to access to 'publication' attribute from ANT during 
artifacts build using a ${ivy.publication} property. 

Using ANT task <tstamp /> to simulate that can create incoherent  situation 
because the two timestamps are not 'synchronized'



        Summary: Enhance <info/> task to access the 'publication', 'branch' and 
published artifacts as ant propeties.  (was: Add an ${ivy.publication} ANT 
property to access the 'publication' timestamp information specified by 
'pubblicaiton' attribute on <info /> element)

As requested by Xavier, I've expanded this issue to incorporate all of the 
<info/> task enhancements that have been discussed recently on the mailing list.

> Enhance <info/> task to access the 'publication', 'branch' and published 
> artifacts as ant propeties.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: IVY-395
>                 URL: https://issues.apache.org/jira/browse/IVY-395
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Ant
>    Affects Versions: 1.4.1
>            Reporter: paolo di tommaso
>
> The pubblication attribute on <info /> element in IVY file is very useful.
> When the attribute is not specified IVY set the attribute to the current 
> timestamp. 
> It would be very useful to access to 'publication' attribute from ANT during 
> artifacts build using a ${ivy.publication} property. 
> Using ANT task <tstamp /> to simulate that can create incoherent  situation 
> because the two timestamps are not 'synchronized'
> Similarly, a property for the 'branch' attribute could be added.
> Access to the published artifacts declared in the ivy file as ant properties 
> would also be useful. This would allow a multi-project build system with a 
> common build file define the produced artifacts solely in the Ivy file and 
> have the common build file retrieve the names of the artifacts that it needs 
> to create from that ivy file via the <info/> task.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to