Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 16857 invoked from network); 13 Nov 2000 22:45:33 -0000 Received: from talisker.channelpoint.com (208.226.244.33) by locus.apache.org with SMTP; 13 Nov 2000 22:45:33 -0000 Received: from cpex1.channelpoint.com (cpex1.channelpoint.com [10.112.2.7]) by talisker.channelpoint.com (8.11.0/8.11.0) with ESMTP id eADMj6P21732 for ; Mon, 13 Nov 2000 15:45:06 -0700 (MST) Received: by cpex1.channelpoint.com with Internet Mail Service (5.5.2650.21) id <45XJL05N>; Mon, 13 Nov 2000 15:43:46 -0700 Message-ID: From: Tim McCune To: "'ant-dev@jakarta.apache.org'" Subject: Running a Jar file Date: Mon, 13 Nov 2000 15:45:04 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The task doesn't seem to do a very good job of letting you run a jar file (e.g. "java -jar foo.jar"). It requires you to provide a classname attribute, which isn't needed in this case. With Ant 1.1, I just used classname="" but Ant 1.2 complains about this. For now, I'm using classname=" " (a space) and it seems to work. But I thought someone might want to fix this before things break further. Tim McCune Software Architect, ChannelPoint "Why does the worst software always cost the most?" -- Anonymous -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use iQA/AwUBOhBu59UPOr8a7vy5EQJ4swCZAbfZLXADKNjfub0Dfq3fJi1d4+UAnjNu 0+7Mv3dmt15RQ/ZhYSoPE/tP =LRtp -----END PGP SIGNATURE-----