Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 20288 invoked from network); 20 Sep 2005 12:58:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2005 12:58:52 -0000 Received: (qmail 55384 invoked by uid 500); 20 Sep 2005 12:58:44 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 55320 invoked by uid 500); 20 Sep 2005 12:58:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 55266 invoked by uid 99); 20 Sep 2005 12:58:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 05:58:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 20 Sep 2005 05:58:52 -0700 Received: (qmail 80670 invoked from network); 20 Sep 2005 12:58:31 -0000 Received: from unknown (HELO lsfgayan) (unknown) by unknown with SMTP; 20 Sep 2005 12:58:31 -0000 X-pair-Authenticated: 220.247.230.244 From: "Gayan Asanka" To: "'Ant Users List'" Subject: RE: FW: problem with using fork in windows xp Date: Tue, 20 Sep 2005 18:58:20 +0600 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <432FF446.8060502@apache.org> Thread-Index: AcW91+D5I03s9PPZR3+4Gf2rbuEmgwACNPMQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20050920125853.48E8F10FB2B0@asf.osuosl.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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:stevel@apache.org] 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: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org