A few more details about what you're trying to do and what hasn't worked might be helpful.
But I'll assume you are using the java task. Are you trying to pass in command-line arguments or access the ant properties like system properties or ?
The ant manual on
Java Task indicates you can use nested arg, jvmarg, sysproperty, and syspropertyset elements with the java task.
If you have a bunch of properties defined elsewhere in your build file and you want to access them like system properties it sounds like the syspropertyset might handle that (syspropertyset is a
PropertySet Type)
[ March 15, 2005: Message edited by: Carol Enderlin ]