Thomas, may be you should enter your problem as a bug in the bugzilla
tracking system
nagoya.apache.org/bugzilla
----- Original Message -----
From: "Thomas Bauer" <[EMAIL PROTECTED]>
To: "Martin" <[EMAIL PROTECTED]>
Cc: "ANT User Mailingliste" <[EMAIL PROTECTED]>
Sent: Sunday, February 09, 2003 6:43 AM
Subject: Re: jar building problem
> Martin-
> Am Fre, 2002-08-16 um 04.12 schrieb Martin:
> > Thomas-
> >
> > The problem exists with the lack of documentation for specifying a
Directory
> > in excludes/includes
> > TRY THIS:
> > > When I run it with ant I use:
> > > <jar jarfile="${dist}/${jarfilename}" manifest="${MF}/MANIFEST.MF"
> > > duplicate="preserve">
> > > <fileset dir="${build}">
> > > <includes="**/*.class"/>
> > <excludes="/**/*.class"/>
> > > </fileset>
> > > </jar>
> >
> > die Zustimmung?
> > -Martin
> Well, your time is somehow broken (August 2002?) so I really don't know
> anymore if that's your last reply (maybe it is, because I'm coding since
> yesterday afternoon ;-)).
> I wrote you why I need a jar without directory-entries.
> I don't know exactly what you intend with the excludes, but the result
> is the same, I have directory-entries in the jar-file.
> But try it yourself:
> create a directory structure like this:
>
> mypackage/First.class
> mypackage/Second.class
>
> then try to build a jar with ant and on the commandline.
> when I run it on the commandline I get a jar: (jar tf myjar.jar)
> META-INF/
> META-INF/MANIFEST.MF
> mypackage/First.class
> mypackage/Second.class
>
> on the other hand when I run the ant task I get:
> META-INF/
> META-INF/MANIFEST.MF
> mypackage/
> mypackage/First.class
> mypackage/Second.class
>
> And this is not usable for WebStart (jnlp), because jarsigner does not
> sign the directory-entry "mypackage/"!
> best regards,
>
> Thomas
> --
> Thomas Bauer <[EMAIL PROTECTED]>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]