ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Holmes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IVY-1349) [originalname] pattern does not behave as documented
Date Thu, 17 May 2012 15:46:18 GMT
Daniel Holmes created IVY-1349:
----------------------------------

             Summary: [originalname] pattern does not behave as documented
                 Key: IVY-1349
                 URL: https://issues.apache.org/jira/browse/IVY-1349
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.2.0
         Environment: Linux using with ant 1.8.0
            Reporter: Daniel Holmes
            Priority: Minor


According to here http://ant.apache.org/ivy/history/latest-milestone/concept.html#patterns

[originalname] (since 1.4)
the original artifact name (including the extension) 

What I am seeing however is that originalname is the artifact name with the final file level
.<ext> removed.  It is not even the actual defined [ext] pattern that is removed.

For example, for eclipse compatibility, we have source jars in our internal repository with
ext="src.jar", so the filename is artifact.src.jar I see the originalname when used is artifact.src
and when I set my cache pattern as [originalname].[ext] in trying to work around this, I get
artifact.src.src.jar

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

        

Mime
View raw message