RE: Ant build problem URGENT!!!!!!

2002-09-24 Thread Naveen_JaiDayal
Hello All I have verified that tools.jar is in the classpath by echo'ing out ${java.class.path}. and it is showing correct directory structure for the JDK installation. I also tried setting build.compiler to modern in the build.xml file. Doing a java -version I saw that the java what I am using

RE: Telnet Verbose

2002-09-24 Thread Kervin, Stephen
more or less, yes. I gather its scanning incoming text for the keyword in the read, but it should output everything it scans so progress can be tracked. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 11:27 To: [EMAIL PROTECTED] Subject: RE:

RE: Ant build problem URGENT!!!!!!

2002-09-24 Thread Paidighantam Venkata Suresh
what is the value of runtime lib in your registry? Suresh -Original Message- From: Naveen_JaiDayal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 24 September 2002 2:05 PM To: Ant Users List Subject: RE: Ant build problem URGENT!! Hello All I have verified that tools.jar is in the

RE: Properties are causing problem in 1.5

2002-09-24 Thread Geoff Meakin
This looks like the same problem I had when designing foreach2 See http://www.geoff-meakin.com/antattack.html Basically you have the trouble because the first time a Task is performed, it maybeConfigures its environment (see RuntimeConfigurable and ProjectHelper.configure) which overrides the

deleting files older than a certain one

2002-09-24 Thread Jamie . Echlin
Hi, How would I delete all files older than a certain file that I touched before a certain task. There doesn't seem to be anything in fileset. With find I would use -newer, but I'd prefer to stay within ant to be cross-platform. thanks for any advice, jamie Visit our website at

AW: deleting files older than a certain one

2002-09-24 Thread Nick Pellow
Jamie, you could try a nested depend selector: http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#dependselect Cheers, Nick -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 24. September 2002 13:01 An: [EMAIL PROTECTED]

Re: deleting files older than a certain one

2002-09-24 Thread Erik Hatcher
Check out dependset Erik [EMAIL PROTECTED] wrote: Hi, How would I delete all files older than a certain file that I touched before a certain task. There doesn't seem to be anything in fileset. With find I would use -newer, but I'd prefer to stay within ant to be cross-platform.

RE: deleting files older than a certain one

2002-09-24 Thread Jamie . Echlin
thanks eric, nick -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: 24 September 2002 14:04 To: Ant Users List Subject: Re: deleting files older than a certain one Check out dependset Erik [EMAIL PROTECTED] wrote: Hi, How would I delete all files

Conditional Building of JAR/WAR Files

2002-09-24 Thread Georg, Dale
I have in my build file a target which builds a WAR file by jarring up the contents of several filesets. To speed the day-to-day development process, though, I'd really like to be able to skip the building of the WAR file if none of the contents have changed since the last time it was built. I

jvc conditional compilation

2002-09-24 Thread Olav Kvaale
Hi, I would like to know if anybody knows how to support 'Conditional Compilation' using jvc/J++. Command line argument is of form: '/D directive' (example: '/D DEBUG'). One way of solving the problem is to modify: org.apache.tools.ant.taskdefs.compilers.Jvc and add:

Capture build log

2002-09-24 Thread Dave Smith
Hi, I'm running ant from an automated build script, and I need to capture the build output to a log file. I'm using the output property of the ant task to accomplish this, but unfortunately the log file ends prematurely whenever there is a build failure. For example, if the build ends with a

Ant Conventions

2002-09-24 Thread Eric Lemings
Greetings all, For years now, the GNU Coding Standards (http://www.gnu.org/prep/standards.html) have specified a standard release process, typical distribution files, and Makefile conventions including standard variable names and targets. These conventions have over the years evolved into other

applying mappers to fileset

2002-09-24 Thread Duane Mattos
Can I apply a mapper (flatten in my case) to an arbitrary fileset? How do I do so? thanks! dM -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: applying mappers to fileset

2002-09-24 Thread Duane Mattos
BTW, I'm trying to use it in conjunction with foreach. dM -Original Message- From: Duane Mattos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 3:31 PM To: 'Ant Users List' Subject: applying mappers to fileset Can I apply a mapper (flatten in my case) to an arbitrary

Re: applying mappers to fileset

2002-09-24 Thread Erik Hatcher
No. That doesn't really make sense in a general sense, at least to me. A fileset is a set of existing files, so mapping them doesn't preserve that meaning. Mappers are associated directly with several tasks, such as copy. What do you have in mind specifically? Erik Duane Mattos

Ant Conventions

2002-09-24 Thread George_Schlitz
Return Receipt Your Ant Conventions document :

Re: applying mappers to fileset

2002-09-24 Thread Erik Hatcher
In this case, foreach should be modified to support mappers (and discussion of that belongs on the ant-contrib list, not here) :) Erik Duane Mattos wrote: BTW, I'm trying to use it in conjunction with foreach. dM -Original Message- From: Duane Mattos [mailto:[EMAIL

RE: applying mappers to fileset

2002-09-24 Thread Duane Mattos
I guess I'd like to create a new fileset from an old one. I'd like to use foreach on the new fileset (or the 'right' side of the map, no longer care about the left). I don't think the perforce tasks support wildcards, so I thought I could iterate through a fileset, but I need to flatten the

building 1.5 on solaris 9

2002-09-24 Thread Jonathan Ellis
what I've done so far: setenv JAVA_HOME / #(java/javac/etc. are in /bin/) setenv CLASSPATH /usr/j2se/lib/tools.jar what I get from build.sh: ... Bootstrapping Ant Distribution ... Compiling Ant Classes Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation

Re: applying mappers to fileset

2002-09-24 Thread Erik Hatcher
Again, a fileset only works on *existing* files, so flattening it would give a set of filenames that don't exist (yet?). It makes sense for foreach to support a mapper though. Erik Duane Mattos wrote: I guess I'd like to create a new fileset from an old one. I'd like to use

Re: jvc conditional compilation

2002-09-24 Thread Diane Holt
--- Olav Kvaale [EMAIL PROTECTED] wrote: I would like to know if anybody knows how to support 'Conditional Compilation' using jvc/J++. Command line argument is of form: '/D directive' (example: '/D DEBUG'). [snip] I am using ant-release: 1.4.1 If you can upgrade to 1.5 (recommended

Re: Capture build log

2002-09-24 Thread otisg
Have you tried record? This is what I use, for instance: target name=init !-- start the log file -- record name=${buildLogFilesDir}/Build_3.log action=start/ /target On Tue, 24 Sep 2002, Dave Smith ([EMAIL PROTECTED]) wrote: Hi, I'm running

Task Wierdness

2002-09-24 Thread chayim kirshen
Please help me. I've been racking my brain all day for this one and it just won't go away. I've got a build file that does ant dir=src/foo repeatedly, the build.xml in src/foo needs to set all sorts of properties as ../../. Which also works. But if I run buildfile a to call buildfile b my

RE: Task Wierdness

2002-09-24 Thread Scott Francis
I'm assuming you are calling ant script b from ant script a using the ant task. Make sure that you have the parameter inheritAll set to false. That might fix your issues. Scott -Original Message- From: chayim kirshen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 4:18

RE: Task Wierdness

2002-09-24 Thread chayim kirshen
I do in fact call ant script b from ant script a using the ant task (just to clarify). Ant inheritAll is set to false. BTW: 1.5.1beta1 didn't fix it either ergo it must be my script. --chayim On Tue, 2002-09-24 at 17:23, Scott Francis wrote: I'm assuming you are calling ant script b from ant

p4editing multiple files or RE: applying mappers to fileset

2002-09-24 Thread Duane Mattos
This stems from the fact I don't believe I can use wildcards in the p4edit task. (Someone correct me if I'm wrong, please!) So I do want to iterate on files that do exist. :-) Really, it isn't really foreach's responsibility, but it comes close to being able to help. mapper would make a nice

RE: Version of Java affecting get in Ant pvcs task?

2002-09-24 Thread Good, Brian
I tried JAVA_HOME=C:\j2sdk1.4.1 and still get the same error. I'm using the stable Ant 1.5 by the way. Is this more likely to be a bug in Ant or something obvious that I'm missing? I've verified that JAVA_HOME isn't set anywhere else but ant.bat. Brian -Original Message- From: Good,

filtering cvs output

2002-09-24 Thread Ken . Liu
Hi all - I would like to filter the output from the cvs task to show only files that have changed. I have a target that does a cvs update of all my project files. Currently the cvs task lists out all the directories that are traversed, and it's easy to visually miss some files in all that

Re: filtering cvs output

2002-09-24 Thread Erik Hatcher
How about setting quiet=true? That should do the trick for this particular need, I believe. Erik [EMAIL PROTECTED] wrote: Hi all - I would like to filter the output from the cvs task to show only files that have changed. I have a target that does a cvs update of all my

RE: Task Wierdness

2002-09-24 Thread Jacob Kjome
What error are you referring to when you say it breaks? Jake At 05:30 PM 9/24/2002 -0400, you wrote: I do in fact call ant script b from ant script a using the ant task (just to clarify). Ant inheritAll is set to false. BTW: 1.5.1beta1 didn't fix it either ergo it must be my script. --chayim

Re: Ant Conventions

2002-09-24 Thread Conor MacNeill
Eric Lemings wrote: Greetings all, For years now, the GNU Coding Standards (http://www.gnu.org/prep/standards.html) have specified a standard release process, typical distribution files, and Makefile conventions including standard variable names and targets. These conventions have over

Fw: ejbc for ejb2.0 in weblogic gives out-of-memory with ant version 1.3

2002-09-24 Thread Sarish Jain
Hi All, Can some bdy help me with the error, i am getting when i am trying to use ant to create ejb-jar using ejb-jar command. I am getting and out-of-memory exception during the ejbc process (with no stack trace.) My project has some 300 entity beans and using CMP, CMR ejb2.0 with local

How to wait for a Log Entry? / How to define a Condition?

2002-09-24 Thread Stefan Hoening
Hello, I am searching for some means inside a waitfor to wait for a given line in a log file. As I have read in the documentation, available may only be used to wait for the presence of a given file. If there is no way to do this, is there any way to provide a Condition like defining tasks?

trouble with single quotes

2002-09-24 Thread Brian Schmitt
i need to pass single quotes in an argument as in: arg line=-s 'T9LT.BWDD.TRIG'/ ant seems to parse this and remove the single quotes which causes me some difficulty. is there any way to escape these so that the will be passed on to the command line? thanks in advance -brian -- To

RE: applying mappers to fileset

2002-09-24 Thread Yyy Xxx
I second this wish. I'd like to see fileset have a mapper element which mapped includes, excludes and/or refid'd filesets. Consider a build that puts files *and their MD5 checksums* into a ZIP. It creates and populates a fileset which is passed to the checksum task. The same fileset is then

Re: building 1.5 on solaris 9

2002-09-24 Thread Robert J. Clark
On Tue, 24 Sep 2002 14:16:12 -0600 Jonathan Ellis [EMAIL PROTECTED] wrote: what I've done so far: setenv JAVA_HOME / #(java/javac/etc. are in /bin/) setenv CLASSPATH /usr/j2se/lib/tools.jar BUILD FAILED file:/usr/share/src/jakarta-ant-1.5/build.xml:468:

Re: correct use of style task

2002-09-24 Thread Stefan Bodewig
On Mon, 23 Sep 2002, Emerson Cargnin [EMAIL PROTECTED] wrote: I'm helping at uml2ejb project (sourceforge) and it used to use ant 1.4 which allowed the style to be a absolute path. This is still possible. style name of the stylesheet to use - given either relative to the project's basedir

Re: How to wait for a Log Entry? / How to define a Condition?

2002-09-24 Thread Stefan Bodewig
On Tue, 24 Sep 2002, Stefan Hoening [EMAIL PROTECTED] wrote: If there is no way to do this, is there any way to provide a Condition like defining tasks? Unfortunately not, org.apache.tools.ant.taskdefs.condition.ConditionBase has to be modified for each new condition ATM. Stefan -- To

Re: trouble with single quotes

2002-09-24 Thread Stefan Bodewig
On Tue, 24 Sep 2002, Brian Schmitt [EMAIL PROTECTED] wrote: arg line=-s 'T9LT.BWDD.TRIG'/ ant seems to parse this and remove the single quotes which causes me some difficulty. It does so because it tries to be smart when you use the line attribute of arg, the value attribute will make it