ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: using includes listing file with JAR command and inner classes
Date Wed, 02 Jan 2002 20:27:38 GMT
"$" is special to almost all Ant scenarios (prefix to property references).
If you double them ("$$") then it should work.

It seems odd that an includes file interpretation would take the property
resolution into account though, but thats just the way it is.

    Erik


----- Original Message -----
From: "drs. Mark C. Prins" <mark.prins@caris.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, January 02, 2002 3:20 PM
Subject: using includes listing file with JAR command and inner classes


>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> Anyone know how to build a jar file with inner classes included,
> using a file for include?
>
> I have a file with the following listing:
>
> applet\awt\zoom-3.gif
> applet\awt\zoom1.gif
> applet\awt\zoom2.gif
> applet\awt\zoom3.gif
> com\caris\fusion\awt\button\JDMC_OverViewPanelButton$1.class
> com\caris\fusion\awt\button\JDMC_OverViewPanelButton$OverViewFrame.cla
> ss
> com\caris\fusion\awt\button\JDMC_OverViewPanelButton.class
> com\caris\fusion\awt\canvas\JDMC_AWTOverviewCanvas$1.class
> com\caris\fusion\awt\canvas\JDMC_AWTOverviewCanvas$2.class
> com\caris\fusion\awt\canvas\JDMC_AWTOverviewCanvas$3.class
> com\caris\fusion\awt\canvas\JDMC_AWTOverviewCanvas$4.class
> com\caris\fusion\awt\canvas\JDMC_AWTOverviewCanvas$CoordinateTransform
> .class
> com\caris\fusion\awt\canvas\JDMC_AWTOverviewCanvas.class
>
> and I use the jar command as follows:
>
>   <jar jarfile="${applet}/overviewapplet.jar" basedir="${build}"
> update="no"
>        includesfile="project_files/overviewlist.txt">
>   </jar>
>
> I end up with a jar file that contains all but the innerclasses
> (those with the "$") which is not what I want..
>
> thanx, Mark
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 7.1
> Comment: Authenticated by Mark Prins
>
> iQA/AwUBPDNrmA+nhaE7SmS7EQJlDACg8kgWQ+230yt+KL1SdK3BQ1Oj6SMAoO7f
> rqCpx6Vw2Y87X76wcqmmQ9dI
> =7R13
> -----END PGP SIGNATURE-----
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message