Mr. Changed File, are in my JAR?

2005-05-16 Thread RPearse
When I build the code base, I'm able to get a change list before the build. My developers are asking me to include a special entry in the MANIFEST.MF files for our JAR's that tracks the version of the JAR, but is not the build number. For example, the first time I run a build, the MANIFEST.MF w

How do I escape a white space in my nested include?

2005-05-16 Thread Eric Wood
I have a dirset which has two listings, one has a white space in it, but I can't get the dirset to recognize the fact that there are actually only two directories in my list. I'm using one include because there may be a variable number of items in my list for different modules that use this di

Re:

2005-05-16 Thread Dominique Devienne
On 5/14/05, Bevan Arps <[EMAIL PROTECTED]> wrote: > Any ideas? Any more information that would be useful to you? JDK 1.5 does not bundle Xalan anymore, but XSLTC (or something). redirect is a proprietary extension of Xalan, bound to a Xalan specific namespace, so I'm surprised it worked at all in

Re: dirset and relative path problem

2005-05-16 Thread Eric Wood
The ".." in the dir parameter for dirset seems to work. Thanks for you help. Eric Eric Wood [EMAIL PROTECTED] 207.552.2306 >>> [EMAIL PROTECTED] 05/16/05 09:10AM >>> Just a shot, but can you use ".." as the basedir of the dirset and then use include patterns that are relative to that? Also,

RE: updating jar file with existing file: overwrite?

2005-05-16 Thread Andreas Bothner [ MTN - Innovation Centre ]
Hi, Thanks Keith. I tried to do this using touch, however, this did not work because the date time stamp does not go down to milliseconds... Andreas -Original Message- From: Keith Hatton [mailto:[EMAIL PROTECTED] Sent: Monday, 16 May 2005 12:27 To: Ant Users List Subject: RE: updating

Re: dirset and relative path problem

2005-05-16 Thread Jeffrey E Care
Just a shot, but can you use ".." as the basedir of the dirset and then use include patterns that are relative to that? Also, it really doesn't look like you're using patterns for your includes here...why not just use a filelist for your directories? JEC -- Jeffrey E. Care ([EMAIL PROTECTED])

dirset and relative path problem

2005-05-16 Thread Eric Wood
I'm using a dirset to build a classpath: ... ... The problem is that it doesn't seem to like the relative references of the embedded includes. When I run the build.xml in debug mode I get t

RE: updating jar file with existing file: overwrite?

2005-05-16 Thread Keith Hatton
Andreas, update="true" can be used on etc. Make sure that the "new" versions of the files you wish to include really do have later date/time stamps as that is the basis for applying the update. Of course, underneath Ant is extracting and recreating the archive as you describe. Hope this helps Ke

updating jar file with existing file: overwrite?

2005-05-16 Thread Andreas Bothner [ MTN - Innovation Centre ]
Hi, I have an ear archive that contains an application.xml file which I need to replace. The jar, zip, and ear tasks all do not provide the functionality of replacing the file as far as I can see. The duplicate argument only takes "fail", "skip" and "add" as arguments. Does anybody know h

RE:

2005-05-16 Thread Keith Hatton
The 'divide and conquer' strategy would be good here. What happens if you run Ant 1.6.3 on JDK 1.4? That way you will find out whether it's likely to be the JDK or the Ant release that has broken things. Hope this helps Keith -Original Message- From: Bevan Arps [mailto:[EMAIL PROTECTED]