From user-return-42925-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue May 04 20:25:07 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45510 invoked from network); 4 May 2004 20:25:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 May 2004 20:25:07 -0000 Received: (qmail 77947 invoked by uid 500); 4 May 2004 20:24:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 77915 invoked by uid 500); 4 May 2004 20:24:45 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 77902 invoked from network); 4 May 2004 20:24:45 -0000 Received: from unknown (HELO ext-nj2gw-5.online-age.net) (64.14.56.41) by daedalus.apache.org with SMTP; 4 May 2004 20:24:45 -0000 Received: from int-nj2gw-5.online-age.net (int-nj2gw-5 [3.159.236.69]) by ext-nj2gw-5.online-age.net (8.12.9/8.12.9/990426-RLH) with ESMTP id i44KOSX1027471 for ; Tue, 4 May 2004 16:24:47 -0400 (EDT) Received: from ncwlmx01nege.wilm.ge.com (localhost [127.0.0.1]) by int-nj2gw-5.online-age.net (8.12.9/8.12.8/990426-RLH) with ESMTP id i44KOQbN029968 for ; Tue, 4 May 2004 16:24:27 -0400 (EDT) Received: by ncwlmx01nege.wilm.ge.com with Internet Mail Service (5.5.2653.19) id ; Tue, 4 May 2004 16:24:10 -0400 Message-ID: <42C9EFEA1737D511BA420008C78641510E04ABA9@ncwlmx01nege.wilm.ge.com> From: "Conelly, Luis (GNF, Contractor)" To: Ant Users List Subject: RE: Help: using with appletviewer Date: Tue, 4 May 2004 16:24:05 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C43215.BED16534" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C43215.BED16534 Content-Type: text/plain; charset="iso-8859-1" Guy, Why don't you use task and pass the argument with . I.e. [snippet - untested] [snippet - untested] HTH Luis -----Original Message----- From: Guy Davis [mailto:guy.davis@pason.com] Sent: Tuesday, May 04, 2004 3:18 PM To: user@ant.apache.org Subject: Help: using with appletviewer Hello, I'm trying to exec 'appletviewer' from Ant, however I'm not able to get Ant to pass the command line arguments correctly. What I want on the command line is this: appletviewer -J-classpath -Jbuild_dir:../../some/libs/lib1.jar run.html I've tried this from my Bash shell and the viewer launches correctly. The reason I want Ant to exec this is that it already has a reference for the classpath: ... I'd like to have this classpath expand into the above command when the target is run. I've tried a number of combinations, but the closest I could get was: Unfortunately, this leaves out the '-J' just before the class path expansion. Everything else I try doesn't expand the class path. I'd appreciate any help the list can provide. I looked for a appletviewer task but couldn't find one. Thanks in advance. Guy --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C43215.BED16534--