Re: How to the currently used java version and java install path?

2010-07-27 Thread Leif Ershag
Some of these should give the correct value: http://www.ghidinelli.com/2008/04/01/built-in-ant-properties On Tue, Jul 27, 2010 at 5:02 PM, Ben Stover wrote: > How can I dsiplay at the console the currently used Java release and the > java installation path? > > If possible I want to display the

Re: Unsupported class version error

2010-07-27 Thread Leif Ershag
What java-version are you running ant with? It looks like the jsch-lib is compiled with a higher versionnr than you support? //Leif Ershag On Tue, Jul 27, 2010 at 1:31 PM, Lis Maria wrote: > Hi, > > I am trying to copy a zip file to a remote machine using the ant scp task. >

Re: Find out the installation path of ANT ?

2010-07-27 Thread Leif Ershag
Echo ${ant.home} from inside a target. //Leif Ershag On Tue, Jul 27, 2010 at 1:01 PM, Ben Stover wrote: > Assume I can successfully use/call Ant by typing in (at the command prompt > in Windows): > > ant -version > > How can I find out where (in which directory) this ANT i

Re: How to test a junit test case against multiple value of a property

2010-07-26 Thread Leif Ershag
On Mon, Jul 26, 2010 at 12:50 PM, shailja kumari wrote: > > Hi All, > > I've got a class whose behavior changes based on a boolean property. This > property is read in the static block of the class. Is there a way to write > test JUnit testcase that can verify the behavior of the class for both th