Re: Manifestations

2005-07-12 Thread Juergen Hermann
On Tue, 12 Jul 2005 18:11:21 +1000, Kai Hendry wrote: >Ok ${man2} has what I want. Though the JAR take wants a FILE for the >manifest. So how do I dump ${man2} temporarily to a file for the task. I >don't want >to overwrite MANIFEST1.MF or MANIFEST2.MF then do not use loadfile, but concat or co

Re: Manifestations

2005-07-12 Thread Kai Hendry
Ok ${man2} has what I want. Though the JAR take wants a FILE for the manifest. So how do I dump ${man2} temporarily to a file for the task. I don't want to overwrite MANIFEST1.MF or MANIFEST2.MF Thanks! First: ${man1} Second: ${man2} Juergen Hermann wrote: On Fri, 08 Jul

Re: Manifestations

2005-07-08 Thread Juergen Hermann
On Fri, 08 Jul 2005 17:37:53 +1000, Kai Hendry wrote: Seems easy enough. use and a filter to load the ear manifest EXCEPT the first line ( I think). btw, you could also load this easy manifest file as a property file, giving you a "class-path" property in memory. then use a 2nd filterchain

Re: Manifestations

2005-07-08 Thread Kai Hendry
Juergen Hermann wrote: On Fri, 08 Jul 2005 16:23:49 +1000, Kai Hendry wrote: Is there a way in ant to merge the content of two manifest files? Maybe by some (complex) filterchains, depends on what exactly you want to merge. Those two: Something specific to EAR [EMAIL PROTEC

Re: Manifestations

2005-07-08 Thread Juergen Hermann
On Fri, 08 Jul 2005 16:23:49 +1000, Kai Hendry wrote: >Is there a way in ant to merge the content of two manifest files? Maybe by some (complex) filterchains, depends on what exactly you want to merge. Ciao, Jürgen - To unsu

Re: Manifestations

2005-07-07 Thread Kai Hendry
Rainer Noack wrote: Both manifest entries are often used. 1) Class-path: lists "required" jars (typically if one application consists of many jars). Many classloaders evaluate this entry. Yes, couldn't this be automagically generated? It seems to be made by hand in my project. Is there a

RE: Manifestations

2005-07-03 Thread Rainer Noack
> -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 30, 2005 10:39 PM > To: 'Ant Users List'; [EMAIL PROTECTED] > Subject: RE: Manifestations > > > > 2) Main-Class: is used for the jar-version of ru

RE: Manifestations

2005-06-30 Thread Dominique Devienne
> 2) Main-Class: is used for the jar-version of running java. > (like: java myjar.jar) > (Afaik only available on windows) FYI: It's the direct execution of a Jar file that Windows can support. I prefer to link the .jar extension to WinZip myself. All platforms support java -jar jarfile.jar, whic

RE: Manifestations

2005-06-30 Thread Rainer Noack
Hi Kai, this is not really the correct list for this question. however, the answer is pretty simple. Both manifest entries are often used. 1) Class-path: lists "required" jars (typically if one application consists of many jars). Many classloaders evaluate this entry. See sun's description of the e