ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Macsema <ledes...@amur.ru>
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
options:
<jar destfile="lib/amurnet.jar" update="false">
        <fileset dir="${basedir}/ledestin">
                <include name="**/*.class, **/*.policy, **/*.properties, **/*.bat"/>
        </fileset>
        <fileset dir="${basedir}/ru">
                <include name="**/*.class, **/*.policy, **/*.properties, **/*.bat"/>
        </fileset>
</jar>
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,
 Dmitry                            mailto:ledestin@amur.ru


--
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