ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40561] - property expansion with prefix troubles in property files
Date Thu, 21 Sep 2006 13:09:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40561





------- Additional Comments From peterreilly@apache.org  2006-09-21 13:09 -------
I not not dispute that there there is a bug,
I am just not too sure about the solution.

Another solution to your problem using current ant would be to
have multiple property files:
  project_1.properties
  project_2.properties
etc
and get the properties by

<property file="${project_name}.properties"}

where project_1.properties would be:

project_1.interfaces.package=model
project_1.interfaces.prefix=
project_1.interfaces.suffix=BO
project_1.interfaces.format={1}.${project_1.interfaces.package}.${project_1.interfaces.prefix}{2}${project_1.interfaces.suffix}



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message