The following comment has been added to this issue:

     Author: Jeanfrancois Arcand
    Created: Mon, 14 Feb 2005 5:54 PM
       Body:
Hi,

I'm getting the same exception when using 1.0.2 and trying to mavenize Tomcat 5 
build. Any properties that contains '-' (ex: tomcat.common-modeler will 
demonstrate that behaviour) :-(. I'm getting the same error if I invoke the 
current Tomcat's 5 main build.xml from maven.xml. So there is no real 
workaround :-( 

-- Jeanfrancois
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1521?page=comments#action_29870

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1521

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1521
    Summary: loading properties file via Ant property task does not work from 
maven.xml
       Type: Bug

     Status: Reopened
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             jelly/ant integration
   Fix Fors:
             1.1-beta-1
   Versions:
             1.0.1

   Assignee: dion gillard
   Reporter: Ian Springer

    Created: Tue, 30 Nov 2004 12:44 PM
    Updated: Mon, 14 Feb 2005 5:54 PM
Environment: n/a

Description:
If I have the following line in maven.xml, either within a goal or outside of 
any goals:

<property file="my.properties" />  

where my.properties exists and is a valid Java props file, any properties that 
are in my.properties end up with a value of "0" (yes, simply the zero 
character) in Maven.



---------------------------------------------------------------------
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]

Reply via email to