ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IVY-1412) publication date provided in bad format - random failures - thread safety parsing dates
Date Thu, 28 Feb 2013 22:53:12 GMT

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

Maarten Coene resolved IVY-1412.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.0

Fixed in SVN trunk!
Thanks for reporting.
                
> publication date provided in bad format - random failures - thread safety parsing dates
> ---------------------------------------------------------------------------------------
>
>                 Key: IVY-1412
>                 URL: https://issues.apache.org/jira/browse/IVY-1412
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.3.0
>         Environment: Windows
>            Reporter: Martin Sillence
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> The text appears to be correct and when run though test code is OK but it fails randomly
in production.
> We are using the ant contrib concurrency foreach task.
> I think this is a threading issue:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4146524
> Can we add synchronised around this method?
> Normally rerunning the build succeeds.
> Error log is:
>   [foreach] Caused by: d:\jenkins\jobs\xxxx\BuildAndPublish.xml:418: publication date
provided in bad format. should be yyyyMMddHHmmss and not 20130228123237
>   [foreach] 	at org.apache.ivy.ant.IvyTask.getPubDate(IvyTask.java:197)
>   [foreach] 	at org.apache.ivy.ant.IvyDeliver.doExecute(IvyDeliver.java:376)
> method signature is currenty:
> protected static Date getPubDate(String date, Date def) {

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message