junit tests in single jvm

2006-04-18 Thread P.S.Lokesh
hi, I have been looking through the docs to run my junit tests in the same jvm where server is started, but i could not achieve it through parallel task, shown below is the sample code: **

AW: Printing out patternsets and/or filesets

2006-04-18 Thread Jan.Materne
patternset: ${ps.value}"/> Jan >With pathconvert you can convert the fileset to a property >which will list the files in the fileset. >> I need to know if there is a way to print out a patternset >or fileset >> for debugging. Likesay if I've specified a patternset and >given it an -

AW: checking property values

2006-04-18 Thread Jan.Materne
1. Ant is NOT a programming language ;-) 2. ensure to have AntContrib . (if,for,trycatch) 3. a "clean" Ant way of a switch could be 4. Maybe it would easier writing the installer in java than in xml You could reuse the Ant classes from the java side. Maybe via including build

Re: SCP Task Error

2006-04-18 Thread Atsuhiko Yamanaka
Hi, 2005/7/16, Rich Harris <[EMAIL PROTECTED]>: > Anyone get this when using the 'scp' task: > com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: > Invalid argument or cannot assign requested address > ERROR - How about adding -Djava.net.preferIPv4Stack=true to javaVM?

Re: Scp: reject HostKey error?

2006-04-18 Thread Atsuhiko Yamanaka
Hi, 2005/12/21, Rhino <[EMAIL PROTECTED]>: > I am puzzled by an error I get from my scp task that doesn't afflict my > sshexec task, even though they use the same properties. Here is the relevant > property (with my hostname munged for security)and my target: > > --- >

Re: checking property values

2006-04-18 Thread Jeffrey E Care
Ant is not a functional programming language - it's a declarative build tool. You can probably hack what you want by using the tasks from antcontrib but, FWIW, my advice would be to rethink your approach. __

Re: Printing out patternsets and/or filesets

2006-04-18 Thread Antoine Levy-Lambert
Hello Carlton, With pathconvert you can convert the fileset to a property which will list the files in the fileset. Please read the manual. For the patternset nothing obvious. Regards, Antoine Just to rule it out, I tried the obvious which of course didn't work. Brown, Carlton wrote:

Re: checking property values

2006-04-18 Thread Antoine Levy-Lambert
Hello Leo, yes you can. you have 3 possibilities : - use a combination of Ant and Groovy, so that you script around ant tasks and datatypes, but with the possibility of using all possible procedural logic, - the traditional ant way : you need to create special targets which set properties us

Printing out patternsets and/or filesets

2006-04-18 Thread Brown, Carlton
Hi, I need to know if there is a way to print out a patternset or fileset for debugging. Likesay if I've specified a patternset and given it an ID: Or for a fileset, similar situation. How do I go about displaying the list of what the f

checking property values

2006-04-18 Thread Leo
Hi, Iam trying to write a Ant based installer. It basically will ask for input from the user and then based on that information does different things. Iam not sure how to check if certain property is something? Ex: ... Now I need to do different things depending on the

RE: Multiple JVM

2006-04-18 Thread Guttula, Mohan
Hello Jaysheel, Could you please double check if you have hard coded JDK in the Environment Variables? i.e., right click on the "My Computer" and then click Properties. Choose "Advanced" and click "Environment Variables". In the "System variables" check if you have a variable "JAVA_HOME"? If so, r

Re: Multiple JVM

2006-04-18 Thread Antoine Levy-Lambert
Bandaru, Jaysheel wrote: Thanks Antoine for your help. Following is the verbose : Apache Ant version 1.5.3 compiled on August 13 2003 Buildfile: .\project.xml Detected Java version: 1.4 in: C:\bea\jdk141_05\jre Detected OS: Windows XP parsing buildfile .\project.xml with URI = file:C:/scripts/.

RE: Multiple JVM

2006-04-18 Thread Bandaru, Jaysheel
Thanks Antoine for your help. Following is the verbose : Apache Ant version 1.5.3 compiled on August 13 2003 Buildfile: .\project.xml Detected Java version: 1.4 in: C:\bea\jdk141_05\jre Detected OS: Windows XP parsing buildfile .\project.xml with URI = file:C:/scripts/./project.xml Project base d