ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Macsema <>
Subject Re[2]: jar task broken in beta3?
Date Mon, 08 Jul 2002 07:09:46 GMT
Hello Conor,

Monday, July 8, 2002, 3:26:40 PM, you wrote:

CM> Dmitry Macsema wrote:
>> I was trying some pattern combinations of jar task, none of them work.

CM> How didn't they work? Did they
CM> - not say anything
CM> - say that a jar was created but nothing appeared

CM> What happens when you run with -debug option.

Sorry for not providing sufficient info first time. It seems that
albeit update="false", file doesn't get overwritten, with -debug I saw
that it tries to add files to it, but says that the .jar is up-to-date,
while .jar only contained /meta-inf. That caused "pattern problem" in
the first place.

Another issue came up, however, nothing gets added to .jar with these
<jar destfile="lib/amurnet.jar" update="false">
        <fileset dir="${basedir}/ledestin">
                <include name="**/*.class, **/*.policy, **/*.properties, **/*.bat"/>
        <fileset dir="${basedir}/ru">
                <include name="**/*.class, **/*.policy, **/*.properties, **/*.bat"/>
With -debug I see
fileset: Setup scanner in dir C:\home\me\src\Java\ledestin with patternSet{ incl
udes: [**/*.class, **/*.policy, **/*.properties, **/*.bat] excludes: [] }
fileset: Setup scanner in dir C:\home\me\src\Java\ru with patternSet{ includes:
[**/*.class, **/*.policy, **/*.properties, **/*.bat] excludes: [] }

I tried setting basedir alse, but it adds everyting that is in
basedir, it doesn't find <fileset>s if basedir is set.

Best regards,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message