Re: Ant + CVS - fail build on errors...

2002-02-14 Thread Stefan Bodewig
On Fri, 15 Feb 2002, Mark Derricutt <[EMAIL PROTECTED]> wrote: > the docs for the cvs tag don't mention a failonerror attribute, so > didn't know it was there. You are right, sorry.

Re: inheriting references

2002-02-14 Thread Stefan Bodewig
On Thu, 14 Feb 2002, Sean Landis <[EMAIL PROTECTED]> wrote: > Are reference identifiers inherited by default across ant tasks? Not in any released version of Ant, but in CVS (and only if you ask for it). > In a top level ant build file I have a path: > > Actually, inheriting a path is possibl

Re: Ant task for redeploying web applications on Tomcat

2002-02-14 Thread Steve Loughran
- Original Message - From: "Christopher Taylor" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 10:19 PM Subject: Re: Ant task for redeploying web applications on Tomcat > Hi all, > > It looks like Craig McClahahan has checked in some recen

Re: Ant task for redeploying web applications on Tomcat

2002-02-14 Thread Christopher Taylor
Hi all, It looks like Craig McClahahan has checked in some recent changes to the Tomcat tree that provide ANT support for deploying webapps to running servers. You'll need a nightly build after Feb 12th, and you'll want to read the documentation included for the Manager App HOWTO. You'll need t

Re: Using the 'Uptodate' task

2002-02-14 Thread Michael J McGonagle
Diane Holt wrote: Thanks Diane, I think my problem is that I am thinking of these as "variables" and not properties. It is all in how the task interprets the values of what is passed to them, it does not assume they are all "variables" and try to evaluate them. Mike > > --- Michael J McGonagle

Re: Problems with FTP task

2002-02-14 Thread Jay Riddell
This is the target that works for me: On 2/14/02 4:49 PM, "Christopher Randall" <[EMAIL PROTECTED]> wrote: > I am having a problem with the optional FTP task in Ant. There are > certain tasks which execute, a

Re: packages compiled in order?

2002-02-14 Thread Justin Lawler
when im compiling my project i want to have a number of differnet levels of code, each level only depending on all packages compiled before it. i dont want code in one package referencing code in a second package and code in the second package referencing code in the first. with makefiles you coul

Problems with FTP task

2002-02-14 Thread Christopher Randall
I am having a problem with the optional FTP task in Ant. There are certain tasks which execute, and certain ones which do not. Ant normally works like a charm, which all other functionality working perfectly. I have done the following: 1. Installed Ant (am using Ant 1.4.1 on RedHat 7.0 with Sun

RE: packages compiled in order?

2002-02-14 Thread Ylan Segal
> when ant compiles a project, is there any order to the way the > packages are compiled, or does it add them all to javac at once? > and if so can you get it to compile the packages in a specific > order. Im setting up a project that has a number of different > levels of dependency and i dont wa

RE: How can I copy and replace in a file multiple times based on valu es in a loaded props file.

2002-02-14 Thread Diane Holt
--- Matt Small <[EMAIL PROTECTED]> wrote: > Thanks for the response Diane. I really want to keep the databases > indeterminate since I will be doing this for lots of different apps, so > it looks like I am going to go with a custom task. Or you might want to consider picking up the available tas

Re: Using the 'Uptodate' task

2002-02-14 Thread Diane Holt
--- Michael J McGonagle <[EMAIL PROTECTED]> wrote: > The problem turned out that I was using 'unless="${file3.isBuilt}"' when > it should have been 'unless="file3.isBuilt"'. > > Is it just a matter of the difference between testing for the > 'exsistance of' and getting the 'value of'? Nope -- 'i

RE: How can I copy and replace in a file multiple times based on valu es in a loaded props file.

2002-02-14 Thread Matt Small
Thanks for the response Diane. I really want to keep the databases indeterminate since I will be doing this for lots of different apps, so it looks like I am going to go with a custom task. Thanks again. Matt -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Thursday

Re: CVS Changelog...

2002-02-14 Thread Mark Derricutt
Hey, this looks like it'll do the trick, it generates an XML file of the changelog, then all I'd need to do is some form of XSL transformation... which might already be in the Alexandria project as well... --On Thursday, 14 February 2002 4:54 p.m. +0100 Stefan Bodewig <[EMAIL PROTECTED]> wro

Re: License problem with ant-contrib?

2002-02-14 Thread Scott Ellsworth
On Thursday, February 14, 2002, at 07:01 AM, Stefan Bodewig wrote: > You didn't expect that I would use a license more restrictive than the > Apache Software Foundation license, I hope. No, but similarly innocuous subject lines have, occasionally hidden great whacking huge cans of worms. Gla

Re: How can I copy and replace in a file multiple times based on valu es in a loaded props file.

2002-02-14 Thread Diane Holt
--- Matt Small <[EMAIL PROTECTED]> wrote: > Does anybody have any suggestions on what I can do here. I think I can > do this with the script tag but I'd like to stay away from that. > Could I do this with a custom task maybe? You can do just about anything with a custom task :) But if you'd rath

Re: Ant task for redeploying web applications on Tomcat

2002-02-14 Thread Christopher Taylor
Yeah, I noticed that although the manager APIs appeared to "work", they actually didn't work as advertised when I tried to see if my site changed. So the task invokes the API, but it doesn't actually work because of the manager code in Tomcat... guess I better do a CVS checkout for tomcat now...

packages compiled in order?

2002-02-14 Thread Justin Lawler
hi all, when ant compiles a project, is there any order to the way the packages are compiled, or does it add them all to javac at once? and if so can you get it to compile the packages in a specific order. Im setting up a project that has a number of different levels of dependency and i dont w

Re: rmic compiler

2002-02-14 Thread Robert Williams
>> If I have some files that use rmi I use the following task: You should point build.classes to the directory containing all your compiled Java class files. If you are using your own package naming (package com.myco.apackage;) then your class files will be compiled to /a/directory/com/myco/a

RE: Calling Ant from Java: An example please ?

2002-02-14 Thread Dominique Devienne
The classpath in normally a built-in system property called java.class.path (env.class.path is the property used by the Javac compiler), but accessing it in ANT will just show you the classpath that the ANT VM is using, which might not be the one you care about. Otherwise, if the classpath you wan

Re: Calling Ant from Java: An example please ?

2002-02-14 Thread Jay Riddell
EUREKA !! An ANSWER to my problem !! I wanted to use Ant to compile. But my REAL requirement was just to be able to invoke the compiler without issuing a command line. I did *NOT* know that the compiler was there in the JDK distribution waiting for me to use it !! Thanks to all who responded.

Re: Property of used target

2002-02-14 Thread Steve Holdener
Michael Wenig wrote: > I do have a script which builds distributables for 2 systems (production > and test-system). > Which system will be used depends on command-line-called target. Because > there are differences between these distributables (e.g. > deployment-descriptors) I want to include the

How can I copy and replace in a file multiple times based on values in a loaded props file.

2002-02-14 Thread Matt Small
Does anybody have any suggestions on what I can do here. I think I can do this with the script tag but I'd like to stay away from that. Could I do this with a custom task maybe? What I want to do is have ant generically read a dbNames property, and for each name in that load a set of configurati

Re: Calling Ant from Java: An example please ?

2002-02-14 Thread Blaine Kendall
I ended up solving my problem. Hopefully this will help others as well. I added into my build.xml and then I added another line pass that environment variable into my target. (I had to pass in my Path since it could never find vb6.program.dir if it couldn't access the system path). Also, note t

Re: ejbjar "naming" attribute

2002-02-14 Thread Conor MacNeill
Joel Trunick wrote: > The following complains that "naming" is not a valid attribute of ejbjar. > What's up? > > descriptordir="${classes}" > >classpath="${smartprice.lib.path}"/> > > > > > TIA, > Joel > Have you got the corr

Re: Problem with ejbjar, log4j

2002-02-14 Thread T Master
This is what i do in my build file within an tag. Works nicely for me. T Master - Original Message - From: "Molitor, Stephen" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[

Re: Problem with ejbjar, log4j

2002-02-14 Thread T Master
Umm. ClassDefNotFoundError indicates classpath issue. Use the following line appropriately: - Original Message - From: "Molitor, Stephen" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 1:27 PM Subject: Problem with ejbja

Re: How to warn when jar-file in classpath does not exist?

2002-02-14 Thread Martin Monsorno
"Broderick, Kevin" <[EMAIL PROTECTED]> writes: > Ant has an "available" task that you could use to check that > your jar file is where you want it to be. You could use this > with an if or unless to follow a certain path of execution. I hoped I could spare this. The really bad thing is, that an

Re: How to warn when jar-file in classpath does not exist?

2002-02-14 Thread Steve Loughran
- Original Message - From: "Martin Monsorno" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 05:23 Subject: How to warn when jar-file in classpath does not exist? > Hi *, > > I have the following problem: I add a jar-file to the classpath I use > for compil

RE: Problem with ejbjar, log4j

2002-02-14 Thread Jean-Louis, Erwin
Make sure you are also using the right version of log4j. We had the same problem and we found out we were using the old log4j (the one without apache in the package name) -Original Message- From: Eddie Bernard [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 3:45 PM To: 'An

RE: Problem with ejbjar, log4j

2002-02-14 Thread Eddie Bernard
Could you provide output of the run using the -debug option and also provide the snippet of the build.xml target? I suspect that the weblogic classpath is not configured correctly, however this output will confirm it. -Original Message- From: Molitor, Stephen [mailto:[EMAIL PROTECTED]] S

Re: Ant + CVS - fail build on errors...

2002-02-14 Thread Mark Derricutt
Hi, mmm, the docs for the cvs tag don't mention a failonerror attribute, so didn't know it was there. Also, the reason I mentioned the MSG_WARN/MSG_ERROR idea was that I was thinking the messages from cvs might have been only being MSG_WARN, and not triggering a fail... --On Thursday, Februar

Problem with ejbjar, log4j

2002-02-14 Thread Molitor, Stephen
I'm having trouble using the ejbjar task to build EJB's that use Log4J. I'm using Ant 1.4, with WebLogic 5.1. I get an error that says: java.lang.NoClassDefFoundError: Lorg/apache/log4j/Category; I do have log4j.jar in my classpath. For grins, I also put log4j.jar under ant/lib. 'Lorg' is no

Re: Expanding a list of jars

2002-02-14 Thread Scott Ellsworth
On Thursday, February 14, 2002, at 12:03 PM, Magesh Umasankar wrote: > From: "Stefan Bodewig" <[EMAIL PROTECTED]> >> On Fri, 8 Feb 2002, Scott Ellsworth <[EMAIL PROTECTED]> wrote: >>> I have a multi stage build using ANT 1.4.1. Each stage produces a >>> jar containing the complete product of t

Re: Expanding a list of jars

2002-02-14 Thread Magesh Umasankar
From: "Stefan Bodewig" <[EMAIL PROTECTED]> > On Fri, 8 Feb 2002, Scott Ellsworth <[EMAIL PROTECTED]> wrote: > > > I have a multi stage build using ANT 1.4.1. Each stage produces a > > jar containing the complete product of that stage. We want to > > combine the results of several of those sta

inheriting references

2002-02-14 Thread Sean Landis
Are reference identifiers inherited by default across ant tasks? In a top level ant build file I have a path: I have a target that uses the ant task to call a subproject build file. In that file I try to use 'foo' but I get an error that foo is an invalid reference. If I duplicate the path ta

Re: Using the 'Uptodate' task

2002-02-14 Thread Michael J McGonagle
Michael J McGonagle wrote: > > Michael J McGonagle wrote: > > > > Hello all, > > > > I am working with trying get target execution based on the files > > timestamp. According to what I read about 'uptodate', this is what I > > should need. > > I moved all of the properties and the 'uptodate' tas

Re: Using gcc with Ant

2002-02-14 Thread Michael J McGonagle
Stefan Bodewig wrote: > > On Wed, 13 Feb 2002, Michael J. McGonagle <[EMAIL PROTECTED]> > wrote: > > > I have heard remarks made to people who are creating an Ant task for > > 'gcc'? > > Wow! this is pretty serious. My needs are now where near thi

Re: Script task, listing of available objects

2002-02-14 Thread Dylan Schiemann
I have placed a first draft of my learning about JavaScript in Ant at http://www.sitepen.com/javascript.html It is a modest start, with the only useful example so far showing how to create and execute an xslt task from JavaScript, but I hope someone will find it useful. The next thing I hope to

RE: Environment Variable

2002-02-14 Thread Paul Gregoire
Heres an example put it at the top of your script.. After putting this line in your scripts you can access environmental vars like so..

Re: Ant + CVS - fail build on errors...

2002-02-14 Thread Stefan Bodewig
On Wed, 13 Feb 2002, Mark Derricutt <[EMAIL PROTECTED]> wrote: > As part of my qa release target, I'm using to tag my source > code with the timestamp, only, if various files are modified in the > source base, cvs will fail to tag and exit, is it possible to get > ant to recognise this failure an

Re: Problem with DirectoryScannner

2002-02-14 Thread Klaus Petzold
>Property expansion is something that happens automatically when tasks >get configured, neither DirectoryScanner nor any other internal class >of Ant will perform this step itself. > >If you literally invoke setIncludes("${src}"), DirectoryScanner will >see exactly this String. Sorry, my message

Re: Problem with DirectoryScannner

2002-02-14 Thread Stefan Bodewig
On Thu, 14 Feb 2002, Klaus Petzold <[EMAIL PROTECTED]> wrote: > I have a Problem with the DirectoryScanner class. When I set a path > like "${src}/prj/*.java" with the setIncludes method no files are > selected. Property expansion is something that happens automatically when tasks get configured

Re: AElfred parser [patch]

2002-02-14 Thread Stefan Bodewig
On 14 Feb 2002, Andreas Voegele <[EMAIL PROTECTED]> wrote: > The following patch modifies ProjectHelper.java so that a SAX2 > XMLReader and an XMLReaderAdapter are used if no SAX1 parser is > available. Thanks, the patch has been committed. Stefan -- To unsubscribe, e-mail:

RE: -nowarn for the Javac target

2002-02-14 Thread David Roe
Erik, Yes, thank you. I see that now. I was lead astray by my browser bookmark which was pointing to documentation that is now outdated - it was meant for Ant release 1.3 which I have running and for which I had printed out the documentation. All of which were leading me down the wrong path but co

RE: 540 character limit in sql task

2002-02-14 Thread Charles Hudak
Since you mentioned BEA... I ran into an issue a few months back with BEA's JDBC driver for mssqlserver in regards to VARCHAR fields > 255 characters. It seems that the newer ms sql database (e.g. sql server 2000) can handle this but the driver can't. The driver simply truncates incoming or outgo

Re: Any Windows experts out there????

2002-02-14 Thread Kevin Toomey
I'll answer all the responses I got at once: #1 response - Does it have the 'interact with desktop' checkbox on in the service definition? #1 answer - No it didn't. I tried that and it didn't work. See below for output of another test I did. #2+3 response - Is your PATH set in the system/environ

Re: 540 character limit in sql task

2002-02-14 Thread Stefan Bodewig
On Thu, 14 Feb 2002, Scott Thompson <[EMAIL PROTECTED]> wrote: > Can anyone confirm/deny of the sql task has a 540 character limit on > the SQL statements? I haven't hit such a limit using DB2's net JDBC driver. Stefan -- To unsubscribe, e-mail: For additional comma

Re: Using gcc with Ant

2002-02-14 Thread Stefan Bodewig
On Wed, 13 Feb 2002, Michael J. McGonagle <[EMAIL PROTECTED]> wrote: > I have heard remarks made to people who are creating an Ant task for > 'gcc'? > I am also interested in its cousin 'gcj' as well. supports gcj as one of its compiler's, what e

Re: Is there a Jython build task

2002-02-14 Thread Stefan Bodewig
On Wed, 13 Feb 2002, Jeffery Lee Wilsbacher <[EMAIL PROTECTED]> wrote: > I looked around on the net but didn't see anything. Is there a > pre-existing Jython ant task?

RE: Better property handling...

2002-02-14 Thread Dominique Devienne
Well, I do use this property in another target if/unless attribute. So I used Diane Holt suggestion below: -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent:

Re: proposed mod to zipfileset

2002-02-14 Thread Stefan Bodewig
On Tue, 12 Feb 2002, Scott Ellsworth <[EMAIL PROTECTED]> wrote: > The second is either making the zip task take a "zipfilelist" > consisting of a comma separated list of files, or modifying a > zipfileset to understand that format. Each entry is expanded as the > src of a zip fileset, producing

FTP and del

2002-02-14 Thread Kyle Adams
I'm using Ant 1.4 and accompanying optional jar. I just want the task to delete a directory, or failing that, all the files in the directory. What I get: ftp: [ftp] deleting files [ftp] 0 files deleted This is unfortunate, because whe

Re: JavaC fileset order order

2002-02-14 Thread Stefan Bodewig
On 11 Feb 2002, Vadim Zaliva <[EMAIL PROTECTED]> wrote: > What is order in which JAVAC tasks provides .java files to compiler? It shouldn't matter (and it is not really defined). Ant passes all files that are newer than the corresponding .class files to javac at once. > destdir="${classes}" i

Re: Better property handling...

2002-02-14 Thread Stefan Bodewig
On Mon, 11 Feb 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > Ideally, I would like to see false instead of > ${awregister.manifest-up2date}! Assuming you don't want to use the property for if/unless attributes: > > > file="${classes}" >

Problem with DirectoryScannner

2002-02-14 Thread Klaus Petzold
Hello. I have a Problem with the DirectoryScanner class. When I set a path like "${src}/prj/*.java" with the setIncludes method no files are selected. The property src was set to ".". But when I change the path to "prj/*.java" it works correctly. Why is it wrong to have a "./" in front of the

Re: Moving the Ant1.4.1.

2002-02-14 Thread Stefan Bodewig
On Mon, 11 Feb 2002, Tarun Kumar Jain <[EMAIL PROTECTED]> wrote: > are there are known issues with moving from Ant 1.3 to Ant 1.4.1 The main "known issue" is that the default for the debug attribute of has changed. I.e. debug="no" doesn't mean the same in Ant 1.3 and 1.4.x (in 1.4 it really me

RE: Any Windows experts out there????

2002-02-14 Thread Rollo, Dan
Hi Kevin, Not sure if it's the same on W2K, but on NT we had problems with the capitalization of the PATH environment variable and tcsh. Basically, we had to use the equivalent of ${myenv.Path} from a DOS shell, but if running from within tcsh, we could only read the path in Ant using ${myenv.PAT

Re: jar MANIFEST.MF

2002-02-14 Thread Stefan Bodewig
On Mon, 11 Feb 2002, Diane Holt <[EMAIL PROTECTED]> wrote: > The functionality was added to the task in August, but it > didn't get documented until December, so it's only in the CVS file > at this point. Just to clarify. The documentation is in CVS only, but the functionality is in Ant 1.4.1

ejbjar "naming" attribute

2002-02-14 Thread Joel Trunick
The following complains that "naming" is not a valid attribute of ejbjar. What's up? TIA, Joel -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: CVS Changelog...

2002-02-14 Thread Stefan Bodewig
On Sun, 10 Feb 2002, Mark Derricutt <[EMAIL PROTECTED]> wrote: > Has anyone ported cvs2cl.pl to java at all? I don't know this script at all, but there is a ChangeLog task in the Alexandria project, see

Re: Expanding a list of jars

2002-02-14 Thread Stefan Bodewig
On Fri, 8 Feb 2002, Scott Ellsworth <[EMAIL PROTECTED]> wrote: > I have a multi stage build using ANT 1.4.1. Each stage produces a > jar containing the complete product of that stage. We want to > combine the results of several of those stages to build a final jar > for customer deployment cont

AW: Setting Properties for Scripts

2002-02-14 Thread Koegel, Michael
I use the script task, so this is not gonna help me as is not available in script. Regards, Michael -Ursprüngliche Nachricht- Von: Dominique Devienne [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 14. Februar 2002 16:43 An: 'Ant Users List' Betreff: RE: Setting Properties for Scri

Re: AW: Setting Properties for Scripts

2002-02-14 Thread Diane Holt
--- "Koegel, Michael" <[EMAIL PROTECTED]> wrote: > maybe this works on Unix, but not on M$ or did I do it wrong? > > > > > > > > That wouldn't be right on Unix, either. Try (for M$): Diane = ([EMAIL PROTECTED])

RE: Setting Properties for Scripts

2002-02-14 Thread Dominique Devienne
Well, I don't think you can change the environment of the java process running ANT by forking a child process running cmd.exe /c set name=value (which is what would need to happen for your echo task to give the result your hoping). What you can do an the other hand is change the environment of the

Running files thru weblogic DD converter utility

2002-02-14 Thread Joel Trunick
What is wrong with this? It says "no mapper specified": Joel -- To unsubscr

AW: Setting Properties for Scripts

2002-02-14 Thread Koegel, Michael
Hi, maybe this works on Unix, but not on M$ or did I do it wrong? Regards, Michael -Ursprüngliche Nachricht- Von: Broderick, Kevin [mailto:[EMAIL PROTECTED]] Gesendet am: Mittwoch, 13. Februar 2002 15:33 An: Ant Users List Betre

RE: Calling Ant from Java: An example please ?

2002-02-14 Thread Dominique Devienne
I agree that using ANT is no more cross-platform than using the JDK directly to compile Java code. Enclosed is a zip of 2 classes and a manifest that I wrote that encapsulate calling the Javac compiler without java.exe. The main reason I wrote it was so it found the JDK (1.2+) tools.jar containi

Re: jaxp.jar

2002-02-14 Thread Stefan Bodewig
On Wed, 13 Feb 2002, Sujan Digumarti <[EMAIL PROTECTED]> wrote: > Is jaxp.jar needed for ant to run.. It depends. Ant needs a JAXP 1.1 compliant parser and it needs the JAXP classes themselves. In the reference implementation of JAXP 1.1, the "the JAXP classes themselves" are in jaxp.jar and An

Re: License problem with ant-contrib?

2002-02-14 Thread Stefan Bodewig
On Tue, 12 Feb 2002, Scott Ellsworth <[EMAIL PROTECTED]> wrote: > I note that in the cvs tree at sourceforge, there is a comment "fix > license - I'll send a mail to the list to explain this better" by > "bodewig" (Stefan, I assume.) Yes, it was me (and I sent it to the ant-contrib list ;-). No

RE: background

2002-02-14 Thread Dominique Devienne
Hi Bill, Would you have the link to the equivalent Windows work around please? I would appreciate. Thanks, --DD -Original Message- From: Bill Burton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 6:11 PM To: Ant Users List Subject:Re: background Hello,

Re: rmic compiler

2002-02-14 Thread Thomas Brox Røst
- Original Message - From: "Rosemarie Hannan (Financial IQ)" <[EMAIL PROTECTED]> To: "Ant Users (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 3:07 PM Subject: rmic compiler | Hi | | If I have some files that use rmi - can I compile them with the normal javac | or do I

rmic compiler

2002-02-14 Thread Rosemarie Hannan (Financial IQ)
Hi If I have some files that use rmi - can I compile them with the normal javac or do I have to specify that they get compiled with the rmic compiler? Thanks Rose -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: How to warn when jar-file in classpath does not exist?

2002-02-14 Thread Broderick, Kevin
Hi, Ant has an "available" task that you could use to check that your jar file is where you want it to be. You could use this with an if or unless to follow a certain path of execution. Cheers, Kevin -Original Message- From: Martin Monsorno [mailto:[EMAIL PROTECTED]] Sent: 14 February 200

Re:

2002-02-14 Thread Holger Faltinsky/Denic
additional note: using ant 1.4.1! I also tried it without command=".." because the command checkout is default, but it didn't work either. Has someone any idea what's going on here? Holger

How to warn when jar-file in classpath does not exist?

2002-02-14 Thread Martin Monsorno
Hi *, I have the following problem: I add a jar-file to the classpath I use for compiling like this: If the jar-file does not exist in this place, ant removes it quietly from the classpath it handles over to the java compiler. Even with -v there is no error message printed. Is this

AElfred parser [patch]

2002-02-14 Thread Andreas Voegele
I've read an article about problems with the AElfred parser in the ant-user list archive. AElfred comes with the XSLT processor Saxon. The problem is that jakarta-ant/src/main/org/apache/tools/ant/ProjectHelper.java uses the deprecated SAX1 API, which is not supported by AElfred. The following

Re: Any Windows experts out there????

2002-02-14 Thread Mark Gibson
>Does anyone know why Ant running under a Service on W2K might not have >access to all environment variables (specifically Path)? Are some of your environment variables USER or SYSTEM? If the relevant ones are USER - NT Services run against a particular account. By default it's something lik

Re: Using the 'Uptodate' task

2002-02-14 Thread Conor MacNeill
Michael J McGonagle wrote: > Hello all, > > I am working with trying get target execution based on the files > timestamp. According to what I read about 'uptodate', this is what I > should need. > > Well, I get an error with Ant complaining that: > > /build.xml:22: Unexpected element "uptodate

Re: Using the 'Uptodate' task

2002-02-14 Thread Michael J McGonagle
Michael J McGonagle wrote: > > Hello all, > > I am working with trying get target execution based on the files > timestamp. According to what I read about 'uptodate', this is what I > should need. I moved all of the properties and the 'uptodate' task into an 'init' target, and that part seems t

Using the 'Uptodate' task

2002-02-14 Thread Michael J McGonagle
Hello all, I am working with trying get target execution based on the files timestamp. According to what I read about 'uptodate', this is what I should need. Well, I get an error with Ant complaining that: /build.xml:22: Unexpected element "uptodate" from here it dies. I am running version 1.