ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim McCune <t...@channelpoint.com>
Subject Running a Jar file
Date Mon, 13 Nov 2000 22:45:04 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The <java> 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 <http://www.pgp.com>

iQA/AwUBOhBu59UPOr8a7vy5EQJ4swCZAbfZLXADKNjfub0Dfq3fJi1d4+UAnjNu
0+7Mv3dmt15RQ/ZhYSoPE/tP
=LRtp
-----END PGP SIGNATURE-----

Mime
View raw message