Hi steve,

Nop, it compiles well. You can see if observe my output (also I tried ant
-v, everything is in the classpath).
I am getting a runtime exception if only I set fork="no", that is both in
linux and windows. But it runs in linux when fork="true". So I need a way to
run it in windows xp with fork="yes". 

Since it shows me the help for java commands when I set fork="true" in win
xp, I think I have to set jvmargs to set the "java" command again (because
fork="true" overrides junit values), if I set fork="true",  am I right? If
so how can I set jvmargs? If I am wrong, still need your help. :)

Thank you very much for the concern

Thanks
Gayan Asanka 

-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 20, 2005 5:37 PM
To: Ant Users List
Subject: Re: FW: problem with using fork in windows xp

Gayan Asanka wrote:
> 
> 
> Hi All,
> 
>  
> 
> I am working on Apache axis2 project. I am trying to run few test cases
> using a build.xml. I do codegeneration, compiling and run all via this
> build.xml. But I am getting a runtime exception if I set fork = "false"
both
> in linux and windows. Things are ok when fork="true" in linux(Ubuntu). But
> in windows it shows me the help to use java commands when fork = "true".
> Could somebody pls help me to overcome this triouble? 

probably means your classpath is bad, so javac is getting confused.

run in -verbose to see what command is generated, and look for too many 
quotes in the classpath argument

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to