ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ear <erica.ram...@gmail.com>
Subject property files
Date Wed, 05 Sep 2007 18:15:24 GMT

Hello,
is it possible to execute a an ant-task inside of a property file? I'm using
netbeans mobility, and I want to define some abilities in a separate file
and someone source it into variables. There is a file called;
   C:\myprojects\projectXYZ\nbproject\project.properties
and inside of it there are a bunch of properties for the project. 

abilities=DUMP_DOCDESC=off,JSR179=1.0,WMA=2.0,JSR75=1.0,ScreenHeight=416,CLDC=1.1,NOKIAUI=1.0,OBEX=1.0,MMAPI=1.0,JSR184=1.0,JSR172=1.0,ScreenWidth=352,ScreenColorDepth=12,MIDP=2.0,ColorScreen,JSR82=1.0
build.classes.dir=${build.dir}/compiled
build.classes.excludes=**/*.java,**/*.form,**/*.class,**/.nbintdb,**/*.mvd,**/*.wsclient
build.dir=build/${config.active}
build.root.dir=build

etc....

I want to someone replace;
  
abilities=DUMP_DOCDESC=off,JSR179=1.0,WMA=2.0,JSR75=1.0,ScreenHeight=416,CLDC=1.1,NOKIAUI=1.0,OBEX=1.0,MMAPI=1.0,JSR184=1.0,JSR172=1.0,ScreenWidth=352,ScreenColorDepth=12,MIDP=2.0,ColorScreen,JSR82=1.0

with

abilities=<property
file="mysymbols.properties"/>,JSR179=1.0,WMA=2.0,JSR75=1.0,ScreenHeight=416,CLDC=1.1,NOKIAUI=1.0,OBEX=1.0,MMAPI=1.0,JSR184=1.0,JSR172=1.0,ScreenWidth=352,ScreenColorDepth=12,MIDP=2.0,ColorScreen,JSR82=1.0

is this possible?

-- 
View this message in context: http://www.nabble.com/property-files-tf4387165.html#a12507917
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message