Re: Setting variable classpath based on user input

2005-01-15 Thread Rhino
Let me give you an example that does something comparable. I think you will see how it works without much difficulty. Then you can imitate the technique for your own situation. I have a build.xml where I want to be able to upload some files to either Server A or Server B and I want to be able to d

Setting variable classpath based on user input

2005-01-15 Thread Swathi Rao
Hello, While defining a macrodef, I needed the Classpath refid to take 2 different values based on an option which is set by the user. For ex: if the user sets the option as Opt1, then I wanted the classpath refid to be classpath1 else if the user sets the option as Opt2 then I wanted the classpath

Enabling assertions without forking for each test. Can I fork junit itself?

2005-01-15 Thread Paul Elschot
Good day, I'd like to have jvm assertions enabled without forking a jvm for each junit test to speed up testing. This might be possible by forking junit with the -ea:my.package... option, but I don't know how to do that. Is it possible to fork junit itself, instead of each test case? Or is ther