Re: dynamically reading a property file

2007-04-12 Thread Jacob Kjome
What exactly are you trying to achieve here? In your example, you reference the name of the property you set the environment to ${myprop.${env}.abc} Why do you have the ".abc" there? I would think your goal would be to define each "env" value as a property,eg.. abc=123, def=456, then

dynamically reading a property file

2007-04-11 Thread pradhan
Hi there, Using ant, how can I dynamically read a property file? e.g. so now to reference a property in that file foo=bar All I have to do is ${myprop.foo} // prints bar however, I don't know how to do something like this envAll=abc,def abc=abhay def=pradhan now, say I pass in -Denv=