RE: Accessing the manifest within a jar file

2006-10-30 Thread Rebhan, Gilbert
Hi, Mike there's also another manifest reader task you may look at = http://www.codeproject.com/useritems/ManifestReader.asp my task is much simpler, but enough for me Regards, Gilbert -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 200

RE: Accessing the manifest within a jar file

2006-10-30 Thread Rebhan, Gilbert
Hi, Mike i've written a ManifestScanner task that scans the manifest of jar's in 1 - n filesets for a given key=value pair and writes all matches in a separated list. If you're interested, just let me know, please mail to = [EMAIL PROTECTED] Regards, Gilbert -Original Message- From:

AW: Re: Is it possible to "subclass" a macrodef?

2006-10-30 Thread Jan.Materne
Mmmh maybe you can ;-) Ok, not really "subclassing" a macrodef - but reusing its implementation: use xml entities. build.xml ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-< ]> &mdOneImpl;

Re: Accessing the manifest within a jar file

2006-10-30 Thread Ivan \"Rambius\" Ivanov
Hello, You can also use Ant 1.7 zipentry resource: Regards Ivan --- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hello Michael, > > this is an interesting question. > > I would write my own custom Ant task . You can use > java.util.jar.JarFile > and java.util.jar.Manifest to access wha

Re: Accessing the manifest within a jar file

2006-10-30 Thread Antoine Levy-Lambert
Hello Michael, this is an interesting question. I would write my own custom Ant task . You can use java.util.jar.JarFile and java.util.jar.Manifest to access whathever information you want. Actually, I am interested by the same sort of topic, for instance to collect Vendor/Version/Name informati

Accessing the manifest within a jar file

2006-10-30 Thread Nau, Michael
Anyone know of an easy way to access the manifest file within a jar file? I realize I can extract the manifest first using the task, but I was hoping for a way to directly access the manifest file. I need to check for some specific info within the manifest of several jar files from my ant script.

Re: Package prefix with ant build & ClassNotFoundException

2006-10-30 Thread Peter Reilly
The package of the class has changed, therefore the classname has changed from ClassName to package.ClassName, therefore the applet needs to be changed to refer to the new classname. Peter On 10/30/06, Prashant <[EMAIL PROTECTED]> wrote: Hi Tom, If you do not have these problems with the cla

RE: Re: Is it possible to "subclass" a macrodef?

2006-10-30 Thread cknell
Thanks. I'll just re-work the existing one and put it directly in the build file. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Dominique Devienne <[EMAIL PROTECTED]> Sent: Mon, 30 Oct 2006 13:42:34 -0600 To: "Ant Users List" Subject: Re: Is it pos

Re: Is it possible to "subclass" a macrodef?

2006-10-30 Thread Dominique Devienne
On 10/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: changing nothing but making an addition to the attribute list. Well, you necessarily will use that new attribute in the macro body, so you must effectively change more than just the attribute list, no? Can this be done No, AFAIK. I bet

Is it possible to "subclass" a macrodef?

2006-10-30 Thread cknell
I have a macrodef that I use in a number of build files. I now have a new project where I'd like to use this macrodef, but I need to add an attribute to the three defined in it. In a sense, I'd like to "subclass" this macrodef, changing nothing but making an addition to the attribute list. Can

Re: Interview questions on ANT and Mavem2?

2006-10-30 Thread Prashant
IMHO, If a software engg is good at Data structures and other basic computer science stuff, knowledge of ANT, its usage can be acquired. ANT, build/make files help people automate stuff that would otherwise be boring and error prone for a human to do. If i really have, to i would ask : In yo