Re: JAR task not adding all files

2002-10-21 Thread Stefan Bodewig
On Tue, 22 Oct 2002, John C. Turnbull <[EMAIL PROTECTED]> wrote: > I have encountered a problem that appears to be with the JAR task > though I cannot be sure. A known (yet unfixed) problem. going back to 1.4.1 may look as if it would so

Re: JAR task not adding all files

2002-10-21 Thread John C. Turnbull
From: "Dominique Devienne" <[EMAIL PROTECTED]> > I do things a little differently... > > Instead of JARing the classes on disk (in classes dir), and then updating > that JAR with the resource files (stuff in your source dir not .java > usually), I copy the resources to the classes directory, and

RE: JAR task not adding all files

2002-10-21 Thread Dominique Devienne
I do things a little differently... Instead of JARing the classes on disk (in classes dir), and then updating that JAR with the resource files (stuff in your source dir not .java usually), I copy the resources to the classes directory, and then JAR everything from there in one pass. This has the a

Re: JAR task not adding all files

2002-10-21 Thread Mark Fortner
Did you mean for this read /*.* instead of /**? John C. Turnbull wrote: This is my first Ant project. I am using J2SE 1.4.0 on Windows 2000 SP3. I have encountered a problem that appears to be with the JAR task though I cannot be sure. The symptom is that an XML file (amongst others) is no

Re: jar task

2002-09-20 Thread Matt Benson
Maybe you should try using the basedir attribute if you're going to use the all-in-one approach... -Matt --- Guy McArthur <[EMAIL PROTECTED]> wrote: > On Fri, 20 Sep 2002, Matt Benson wrote: > > > I don't how to include the verbose option, or what > > good it would do you, but you can create th

Re: jar task

2002-09-20 Thread Guy McArthur
On Fri, 20 Sep 2002, Matt Benson wrote: > I don't how to include the verbose option, or what > good it would do you, but you can create the jar like > this: > > > > > Hmmm, see I'm trying which seems like it'd be eqvilant to what you wrote, only it produces an empty jar

Re: jar task

2002-09-20 Thread Matt Benson
I don't how to include the verbose option, or what good it would do you, but you can create the jar like this: -Matt --- Guy McArthur <[EMAIL PROTECTED]> wrote: > What is the jar task equivilant of > > jar cvf myclasses.jar `find . -name '*class' -print` > > ? > > > -- > To unsubscrib

RE: Jar task, manifest files and CRLF

2002-09-19 Thread Jay Yarbrough
We were having difficulties deploying an ear file... We thought this was the cause. Evidently, the problem is elsewhere. Thanks! -Jay -Original Message- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 10:36 AM To: Ant Users List Subject: Re: Jar

Re: Jar task, manifest files and CRLF

2002-09-19 Thread Conor MacNeill
Jay Yarbrough wrote: > > It would appear that ANT is opening the file, adding the "Created-By" line and >closing the file in the current OS (Win32), and in the process assumes I want the >^M's put back in the file. > The manifest code uses CRLF as an end of line marker. This does not depend

Re: Jar Task in 1.5 Produces .JAR with Missing Files

2002-07-30 Thread Diane Holt
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > OK, workarounds I can think of: [snip] Or just the jar back to a time earlier than the files you want to put in during the update -- eg. (from the Touch doc): Creates a timestamp, in the property touch.time, 5 hours before th

Re: Jar Task in 1.5 Produces .JAR with Missing Files

2002-07-29 Thread Stefan Bodewig
On Mon, 29 Jul 2002, Arthur Lim <[EMAIL PROTECTED]> wrote: > But I think the bug report does not suggest any workarounds. Is > there one? Fix the bug ;-) OK, workarounds I can think of: (1) Don't use multiple tasks but only a single one (for cases where the second in a row fails to update th

RE: Jar Task in 1.5 Produces .JAR with Missing Files

2002-07-28 Thread Arthur Lim
Thanks Stefan. But I think the bug report does not suggest any workarounds. Is there one? Thanks Arthur -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 8:00 PM To: [EMAIL PROTECTED] Subject: Re: Jar Task in 1.5 Produces .JAR with

Re: Jar Task in 1.5 Produces .JAR with Missing Files

2002-07-24 Thread Stefan Bodewig
Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: jar task broken in beta3?

2002-07-07 Thread Conor MacNeill
Dmitry Macsema wrote: > I was trying some pattern combinations of jar task, none of them work. How didn't they work? Did they - not say anything - say that a jar was created but nothing appeared What happens when you run with -debug option. Please provide more information. Conor -- To unsubs

Re: jar task and no manifest file

2002-06-06 Thread Charlton Barreto
Thanks! - Original Message - From: "Conor MacNeill" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 5:42 PM Subject: Re: jar task and no manifest file > Use the task. > > Charlton Barreto wrote: &g

Re: jar task and no manifest file

2002-06-05 Thread Conor MacNeill
Use the task. Charlton Barreto wrote: > Hi, > > I would like to use the jar task in my ant build environment. However, I have not >been able to find a way - that is using the task - to force the jar process to *not* >generate or package a manifest file (the equivalent of "jar -cM"). Is there

RE: Jar task adding file twice

2002-05-23 Thread Sayatovic, Brian
Never mind -- it was an honest, though stupid, mistake (I had the file ALSO existing in the ${build.classes.dir!}) Regards, Brian. -Original Message- From: Sayatovic, Brian Sent: Thursday, May 23, 2002 4:34 PM To: Ant Users List (E-mail) Subject: Jar task adding file twice With the h

RE: jar task in jakarta-ant-1.4.1

2002-03-14 Thread Richard.OShea
ginal Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: 14 March 2002 16:13 To: [EMAIL PROTECTED] Subject: Re: jar task in jakarta-ant-1.4.1 On Thu, 14 Mar 2002, Richard OShea <[EMAIL PROTECTED]> wrote: > > > excludes expects a pattern or a filename relati

Re: jar task in jakarta-ant-1.4.1

2002-03-14 Thread Stefan Bodewig
On Thu, 14 Mar 2002, Richard OShea <[EMAIL PROTECTED]> wrote: > > > excludes expects a pattern or a filename relative to the basedir of your jar task. You create R:\P7064\oshea\Repository Software\out\_dist\EUCLID.jar, zip up everything from R:\P7064\oshea\Repository Software\out and try

RE: jar task in jakarta-ant-1.4.1

2002-03-14 Thread Richard.OShea
EMAIL PROTECTED]] Sent: 14 March 2002 15:59 To: [EMAIL PROTECTED] Subject: Re: jar task in jakarta-ant-1.4.1 On Thu, 14 Mar 2002, Richard OShea <[EMAIL PROTECTED]> wrote: > When I call ant make_jar (using v1.4.1) it fails stating "a zip file > cannot contain itself" yet there ar

Re: jar task in jakarta-ant-1.4.1

2002-03-14 Thread Stefan Bodewig
On Thu, 14 Mar 2002, Richard OShea <[EMAIL PROTECTED]> wrote: > When I call ant make_jar (using v1.4.1) it fails stating "a zip file > cannot contain itself" yet there are no other zip files in the > directory structure. You are trying to zip up a directory and put the resulting archive in that

Re: jar task

2002-01-15 Thread Nic Ferrier
"Jon Skeet" <[EMAIL PROTECTED]> writes: > > Could you mail me both jar files (the working one and the ant one)? > > If they contain sensitive information, you could create dummy ones which = > just have a dummy class in. I'll take a look and see if I can see what's = > wrong. Jon Thanks

RE: jar task

2002-01-15 Thread Jon Skeet
> The jarfile I get as a result of this is really wierd, it > looks like this: > Note that the directories have been created and then the files. This > is not content I would expect to see; if I used the command line I'd > expect the jar file to look like this: > It looks like ANT is creati

Re: jar task bug?? It is..

2001-12-21 Thread Magesh Umasankar
From: "Magesh Umasankar" <[EMAIL PROTECTED]> > multiple Class-Path attributes in the same section. > All other attributes will not be allowed to be > repeated. I should have said - If any other attribute is repeated within a section, only the last value of that attribute will be con

RE: jar task bug?? It is..

2001-12-21 Thread Magesh Umasankar
On Sat, 22 Dec 2001 Mallampati, Suresh wrote : > <>If there are multiple individual sections for the > same file entry, the attributes in these sections are > merged. If a certain attribute have different values > in different sections, the last one is recognized. <> And how does this

RE: jar task bug??

2001-12-21 Thread Mallampati, Suresh
looks like there are inconsistencies..sorry ..please ignore my last one.. -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: jar task bug?? It is..

2001-12-21 Thread Mallampati, Suresh
n't seen the other (??) spec.. Please let me know if am wrong.. Thanks, Suresh -Original Message- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 4:32 AM To: Ant Users List Subject: Re: jar task bug?? It is.. Mallampati, Suresh wrote: > Yup, there

Re: jar task bug?? It is..

2001-12-21 Thread Conor MacNeill
Mallampati, Suresh wrote: > Yup, there were inconsistencies, which were fixed in jdk1.3. Now, there > arent any. Really? Read the Notes section of the *1.4* documentation of the Jar File Spec in the link Magesh has provided http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html * Attribu

RE: jar task bug??

2001-12-20 Thread Donnie Hale
I've just left it as-is with the funny-looking line(s) in the manifest. FWIW... Donnie > -Original Message- > From: T Master [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 20, 2001 1:34 PM > To: Ant Users List > Subject: Re: jar task bug?? > > > This has

RE: jar task bug?? It is..

2001-12-20 Thread Mallampati, Suresh
not offered the same treatment.. Thanks -Suresh -Original Message- From: Magesh Umasankar [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 1:12 PM To: Ant Users List Subject: RE: jar task bug?? It is.. Ant 1.5Alpha has the necessary fix to allow multiple Class-Path attributes to e

RE: jar task question

2001-12-20 Thread Steve Cohen
hich does make sense). -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 1:42 PM To: Ant Users List Subject: Re: jar task question Does: do what you need? (I'm not sure what correct "pathing" you wan

Re: jar task question

2001-12-20 Thread Diane Holt
Does: do what you need? (I'm not sure what correct "pathing" you want.) Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shoppi

RE: jar task question

2001-12-20 Thread Steve Cohen
But without basedir, I do not get the correct pathing information into the jar. -Original Message- From: Mallampati, Suresh [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 1:29 PM To: 'Ant Users List' Subject: RE: jar task question Hi, you could

RE: jar task question

2001-12-20 Thread Mallampati, Suresh
Hi, you could have tried this.. -Original Message- From: Steve Cohen [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 1:25 PM To: [EMAIL PROTECTED] Subject: jar task question I wish to create a jar after a build nested at a particular root, but no

RE: jar task bug?? It is..

2001-12-20 Thread Magesh Umasankar
Ant 1.5Alpha has the necessary fix to allow multiple Class-Path attributes to exist in the Manifest file. The Jar Specification and Manifest Specification by Sun are inconsistent. These links will show the inconsistencies: http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html http://java.

RE: jar task bug?? It is..

2001-12-20 Thread Mallampati, Suresh
ase let me know your comments on this Thanks -Suresh -Original Message- From: Ylan Segal [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 12:40 PM To: Ant Users List Subject: RE: jar task bug?? > > Hi, > I want to provide a manifest file to the jar task. One of m

RE: jar task bug??

2001-12-20 Thread Ylan Segal
> > Hi, > I want to provide a manifest file to the jar task. One of my > entries in the > manifest file is a bit long. > Class-Path: lib/asadfsdfsdfsd.jar lib/rdgdfsghsgsdfgsdfsg.jar > lib/asrfdsfasfsdaf.jar > > The jar task, puts in new line characters and additional spaces to the > entry..and t

Re: jar task bug??

2001-12-20 Thread T Master
This has been reported before, and a reply was that the ant jar taks folows the Java Spec. Search the mail archives for responses. T Master. - Original Message - From: "Mallampati, Suresh" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001

RE: jar task

2001-08-22 Thread Jon Skeet
> I wondered how I could update a jar, and not always > create/owerwrite the old one with the jar task? Download Ant 1.4beta. The Jar task now has an update flag (well, it's actually the Zip task, but Jar inherits from Zip) Jon

RE: Jar task

2001-07-20 Thread Peter . FLYNN
> Having looked a bit closer, there seems to be no difference between > using "m" and specifying a file to use as the manifest, and using "M" > and having a META-INF/MANIFEST.mf file, other than that the > former is a > bit more flexible. If this is the case, I suspect that just using the > manif

Re: Jar task

2001-07-20 Thread Stefan Bodewig
On Fri, 20 Jul 2001, Peter FLYNN <[EMAIL PROTECTED]> wrote: > > >tofile="${src}/META-INF/MANIFEST.mf"/> >compress="false" basedir="${src}"> > > > Should better be something like without any copying and deleting at all. Ste

RE: Jar task

2001-07-20 Thread Jon Skeet
> > I downloaded the 1.4alpha that was built last night, and used the > > update="true" flag. However, the problem is that I want to > > use jar with the update but also with the M option. The M does not > create a > > manifest for the entries. > Hmmm... not sure about that. Having looked a

RE: Jar task

2001-07-20 Thread Jon Skeet
> I downloaded the 1.4alpha that was built last night, and used the > update="true" flag. However, the problem is that I want to > use jar with the update but also with the M option. The M does not create a > manifest for the entries. Hmmm... not sure about that. As for *including* the mani

RE: Jar task

2001-07-20 Thread Peter . FLYNN
> Yup. I modified the Zip task (from which Jar inherits) to > allow updates. > If you get hold of the latest sources for 1.4, I believe it > should be in > there - you just need update="true" as a parameter along with > the normal > manifest specification. I think that should be enough... let

RE: Jar task

2001-07-20 Thread Jon Skeet
> Does anyone have any experience with performing a jar update > using ANT? Yup. I modified the Zip task (from which Jar inherits) to allow updates. If you get hold of the latest sources for 1.4, I believe it should be in there - you just need update="true" as a parameter along with the normal m

RE: "jar" task failing

2001-06-21 Thread J. Michael Caine
(sorry, this was a repost of an earlier post, please ignore it. ... and i am going to try the suggestions made to my earlier posts, though i think i've already tried them... more to come.) -Original Message- From: J. Michael Caine [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001

RE: Jar task

2001-02-26 Thread Sylvain Rey
> The default behavior for the task seems to be to create a jar. Can > anyone give me an example to update a jar. > Something like "Jar -uf tmp.jar com". See the optional jlink task http://jakarta.apache.org/ant/jakarta-ant/docs/jlink.html Sylvain

RE: jar task problem?

2001-02-25 Thread Tim Vernum
> Hi, I use ant 1.2 under Windows NT and seem to be having a problem when trying to >use the Jar task. > > includes="com/**" manifest="${manifest}"/> > Making a jar in ../build/jsqlide/lib/jsqlide.jar with classes from - >../build/jsqlide/classes > BUILD FAILED >

Re: Jar task does not get executed all the time

2001-01-23 Thread Ritendra Sinha
til.class END Regards, Ritendra r Message History From: Stefan Bodewig <[EMAIL PROTECTED]> on 23/01/2001 14:24 CET Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Jar task does not get ex

Re: Jar task does not get executed all the time

2001-01-23 Thread Stefan Bodewig
Ritendra Sinha <[EMAIL PROTECTED]> wrote: > REBUILD THE JAR ...The jar task is not called by ANT for some > reason! Is not called or does nothing? What does "ant rebuildejbjar -verbose" say here - even if you don't see anything wrong, maybe we can 8-) Stefan