RE: Recursive javadoc

2002-03-27 Thread Wannheden, Knut
[snip] Just beware that packagenames=* will NOT work, you need to specify part of the packag name. I have actually been using packagenames=*.* which seems to work quite well too. -- knut

Re: BuildFile DTD

2002-03-27 Thread Stefan Bodewig
This is a user question, thus I've answered it there. On Tue, 26 Mar 2002, Carlo DeRossi [EMAIL PROTECTED] wrote: where do I find the DTD (or Schema) for validating a BuildFile.xml ? http://jakarta.apache.org/ant/faq.html#dtd Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: reg: cvs / clearcase task

2002-03-27 Thread stephan beal
On Tuesday 26 March 2002 22:25 pm, Diane Holt wrote: --- stephan beal [EMAIL PROTECTED] wrote: One of Cvs's problems is that it also doesn't give a non-0 error code on some commands which (IMO), should. For example, 'cvs status foo' does not fail if foo does not exist (it should, IMO),

Re: ftp-ing only new files

2002-03-27 Thread Denis McCarthy
- Original Message - From: Steve Loughran [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 6:10 PM Subject: Re: ftp-ing only new files - Original Message - From: Denis McCarthy [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent:

using ant to tail -f a log

2002-03-27 Thread Denis McCarthy
Hey, Does anyone know if it is possible to have a build file that could finish up actually 'tail -f ' -ing a unix log? I'm running the build from a windows machine that distributes code and restarts a webserver on a remote unix machine. I would like to enable the user to actually see the

Re: Renaming the directories recursively

2002-03-27 Thread stephan beal
On Wednesday 27 March 2002 04:32 am, Adam Murdoch wrote: -Original Message- Unfortunately, to solve your particular problem, I think you will have to write your own mapper implementation. It's not particularaly hard - implement FileNameMapper to do the appropriate conversion,

Re: reg: cvs / clearcase task

2002-03-27 Thread Diane Holt
--- stephan beal [EMAIL PROTECTED] wrote: On Tuesday 26 March 2002 22:25 pm, Diane Holt wrote: But 'cvs log' does give you a return code of 1. And 'cvs diff' returns 0 for no diffs, 1 for diffs. So it's all doable using currently available Ant tasks. Nope. How does the user get the

RE: reg: cvs / clearcase task

2002-03-27 Thread Richard.OShea
Here Here, I consider myself a background newbie user of Ant. Not overly active in the forums, and only asking questions for which I have neither the time or the knowledge to resolve myself. I have made the following observations from monitoring the Ant forum. High volume of queries High

RE: reg: cvs / clearcase task

2002-03-27 Thread Stephane Bailliez
-Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] [...] The ant-user list is a place where people can ask for solutions to their problems, and hopefully we can offer them some. Constantly poohpoohing those proffered solutions that use what's already available seems

How to get the calling target in a script?

2002-03-27 Thread Sebastien Diot
Most of our build.xml looks like this: target name=CalcExt depends=edlohn-enhanced,eurodata,PayrollExt antcall target=buildSubDir param name=subDir value=CalcExt/ param name=classpath

Re: reg: cvs / clearcase task

2002-03-27 Thread stephan beal
On Wednesday 27 March 2002 12:41 pm, Stephane Bailliez wrote: -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] [...] The ant-user list is a place where people can ask for solutions to their problems, and hopefully we can offer them some. Constantly poohpoohing

Re: Does anyone want this?

2002-03-27 Thread Stefan Bodewig
On Wed, 27 Mar 2002, Bob Hays [EMAIL PROTECTED] wrote: If there's interest, Yes. we can return that change to the group Please do. (if someone will kindly point me to the right instruction page http://jakarta.apache.org/site/source.html scroll down to Patches. Stefan -- To

Re: ftp-ing only new files

2002-03-27 Thread Diane Holt
--- Denis McCarthy [EMAIL PROTECTED] wrote: The behaviour seems funny; each time I ftp the files across to my AIX machine, they are given as a new timestamp the time at which they were ftp'd. It seems that with this behaviour the files will all be ftp'd across each time, because the ftp

Re: Add my vote for the no banner logger being the default

2002-03-27 Thread Stefano Mancarella
- Original Message - From: Scott Ellsworth [EMAIL PROTECTED] I also like NoBannerLogger, but in the ant wrapper version in cvs you can specify ANT_ARGS environment variable and the wrapper will pass that to ant, so that I have: ANT_ARGS=-logger

Anybody here using IBM's JDK 1.2 on AIX?

2002-03-27 Thread Stefan Bodewig
Hi, in Ant's bootstrap script we have some special cases for this particular JDK as it has some strange directory layout (different from Sun's, that is). In particular javac is in $JAVA_HOME/sh and java in $JAVA_HOME/jre/sh. Can anybody tell me where javadoc and rmic are in this layout? I

Re: Programmatically stopping build

2002-03-27 Thread Stefan Bodewig
On Tue, 26 Mar 2002, Gordon Tyler [EMAIL PROTECTED] wrote: As Steve Loughran suggested, perhaps a cancelBuild method could be added to Project which sets a flag and various points in the build code path check that flag and throw a BuildCancelledException if it is set. Sounds OK, but like

Re: new Ant article online

2002-03-27 Thread Stefan Bodewig
Hi Joseph, I'm mixing comments to both parts as I've read them both just today. Part 1: === (1) includes=**/*.java is not necessary in javac. Ant is even smarter than you think, javac already does exactly this. 8-) (2) I don't understand the comment regarding paths and javadoc vs. javac.

Re: Programmatically stopping build

2002-03-27 Thread Gordon Tyler
- Original Message - From: Steve Loughran [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 1:12 PM One problem with this is that Tasks themselves would have to be modified to also check this flag so that long-running Tasks don't prevent the build from being cancelled until

verbose output of get too late

2002-03-27 Thread Dominique Devienne
I've been adding a get task to my build, for a 26MB file, over http. It's taking a while, and wanted to provide feedback using the verbose=true attribute. I do get the dots for each 100KB of data, but only all at once when it's done, which kind of defeats the purpose of being verbose. Is that

Re: Recursive javadoc

2002-03-27 Thread Yiu Wing
[snip] Just beware that packagenames=* will NOT work, you need to specify part of the packag name. I have actually been using packagenames=*.* which seems to work quite well too. I just tried that it works like a charm. Maybe this should be included in the docs... Anyway,

Re: new Ant article online

2002-03-27 Thread Joseph Shelby
Stefan Bodewig wrote: Hi Joseph, I'm mixing comments to both parts as I've read them both just today. Part 1: === (1) includes=**/*.java is not necessary in javac. Ant is even smarter than you think, javac already does exactly this. 8-) actually, it doesn't, or it didn't

Re: new Ant article online

2002-03-27 Thread Diane Holt
--- Joseph Shelby [EMAIL PROTECTED] wrote: Stefan Bodewig wrote: (1) includes=**/*.java is not necessary in javac. Ant is even smarter than you think, javac already does exactly this. 8-) actually, it doesn't, or it didn't anyways. It always has for me (all the way back to release 1.2).

Re: reg: cvs / clearcase task

2002-03-27 Thread Diane Holt
--- stephan beal [EMAIL PROTECTED] wrote: I didn't say it's all doable using the Cvs task -- I said it's all doable using currently available Ant tasks. You cannot get the error code of a run program using any current (1.4x) Ant task without hacking that task. If i am wrong, please show

RE: Renaming the directories recursively

2002-03-27 Thread Kailash . Subramanian
I am compiling the jsps and that is how these directories are created with an _ infront of all the directories. Infact, I don't want the _. I don't know a way to tell the compiler not create the _ infront of the directories or it would be even better, if the java and class files from jsps can be

Re: Anybody here using IBM's JDK 1.2 on AIX?

2002-03-27 Thread Robert J. Clark
On 27 Mar 2002 14:19:08 +0100 Stefan Bodewig [EMAIL PROTECTED] wrote: [SNIP ... JDK 1.2.2 on AIX ...] Can anybody tell me where javadoc and rmic are in this layout? I assume they are in $JAVA_HOME/sh as these are JDK commands and not part of the JRE, but who knows. Both are in

wierd problem with ant1.5alpha

2002-03-27 Thread Charles Brunson
We're using Ant1.5 alpha and seeing a strange problem. If I do ant clean all test I get an error message saying: build.xml:143: You must specify the jar file to create! The strange part is that if I do: ant clean ant all ant test It seems like those two ways of building should be equivalent,

RE: Renaming the directories recursively

2002-03-27 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: I am compiling the jsps and that is how these directories are created with an _ infront of all the directories. Infact, I don't want the _. I don't know a way to tell the compiler not create the _ infront of the directories or it would be even better, if the java

RE: wierd problem with ant1.5alpha

2002-03-27 Thread Conor MacNeill
Charles, This issue is being discussed right now on ant-dev. A bug has been introduced in Zip/Jar. Conor -Original Message- From: Charles Brunson [mailto:[EMAIL PROTECTED]] Sent: Thursday, 28 March 2002 10:14 AM To: Ant Users List Subject: wierd problem with ant1.5alpha We're

Re: verbose output of get too late

2002-03-27 Thread Steve Loughran
looks like something is buffering the output. The task uses System.out.print(.); ... maybe a change to ant (like sticking our own output stream to system.out) has broken this. The original design bypassed the log completely see, and it looks like it has crept back in. why not file a bug

Re: new Ant article online

2002-03-27 Thread Stefan Bodewig
On Wed, 27 Mar 2002, Joseph Shelby [EMAIL PROTECTED] wrote: Stefan Bodewig wrote: (1) includes=**/*.java is not necessary in javac. Ant is even smarter than you think, javac already does exactly this. 8-) actually, it doesn't, or it didn't anyways. The only version that showed even