Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-520 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-520 Summary: <if test="${empty var}> fails if variable contains "." character Type: Bug Status: Unassigned Priority: Major Time Spent: Unknown Estimate: 0 minutes Project: maven Components: jelly-integ Versions: 1.0-beta-9 Assignee: Reporter: Steve Ovens Created: Thu, 26 Jun 2003 7:24 AM Updated: Thu, 26 Jun 2003 7:24 AM Environment: Win2K, Sun JDK 1.4.1_01 Description: Setting a variable called "a" to a value and then testing it to see if it is empty works as expected (i.e. the variable is NOT empty). If the variable is called "a.b" - i.e. contains a "." character - then the "empty" test will fail. This maven.xml file demonstrates what I mean - in my environment it reports "single" as NOT being empty, but "two.levels" as being empty. <project default="tag:test-empty" xmlns:j="jelly:core"> <goal name="tag:test-empty"> <j:set var="single" value="${1 == 1}"/> Maven says single = ${single}. Is single empty? Maven says [${empty single}]. <echo message="Flush output"/> <j:set var="two.levels" value="${1 == 1}"/> Maven says two.levels = ${two.levels}. Is two.levels empty? Maven says [${empty two.levels}]. <echo message="Flush output"/> </goal> </project> --------------------------------------------------------------------- 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/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]