Message: The following issue has been closed.
Resolver: Brett Porter Date: Fri, 7 May 2004 8:17 PM reopen if a reproducable test case is found --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1252 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-1252 Summary: Variable/Properties are messed up... Type: Bug Status: Closed Priority: Critical Resolution: CANNOT REPRODUCE Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Components: jelly/ant integration Fix Fors: 1.0-rc3 Versions: 1.0-rc2 Assignee: Reporter: Niclas Hedhman Created: Sat, 1 May 2004 4:40 AM Updated: Fri, 7 May 2004 8:17 PM Description: I have the following snippet in a plugin... <j:set var="destFile" value="${maven.increment.central.entities}/${pom.artifactId}.ent" /> <ant:echo> ${maven.increment.central.entities} ${destFile} </ant:echo> <ant:copy tofile="${destFile}" file="${plugin.resources}/entity-template.ent" filtering="true" overwrite="true" /> The output is; [echo] /home/niclas/dev/opensource/avalon/framework/api/../../buildsystem/../versioning /home/niclas/dev/opensource/avalon/framework/api/../../buildsystem/../versioning/avalon-framework-api.ent [copy] Copying 1 file to /home/niclas/dev/opensource/avalon/framework/api/versioning The destination filename is "avalon-framework-api.ent" but in the wrong directory. The "maven.increment.central.entities" is read into memory in the maven.xml, by; <util:properties file="${avalon.buildsystem}/project.properties" /> So, HOW on the earth does the <an:copy> manages to pick up the expression "${plugin-default-value}/${pom.artifactId}.ent", where plugin-default-value is the "maven.increment.central.entities" set in plugin.properties of the plugin?? My conclusion is that there are more than one set of Variables, and both are updated in the <j:set>, since manipulating the "value=" in the <j:set> will give me different printout and different destination file. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]