delete is not working...

2002-04-17 Thread jinwei
Hi, I am new to ant. I try to use delete to delete some files and folders. But the error message says it is unable to delete the files. The buildClassesDir contains all the class files, whereas the distDir contains the jar files. I am able to delete the ${buildClassesDir} folder but not the

RE: delete is not working...

2002-04-17 Thread Sujan Digumarti
There is no reason why it shouldn't delete ${distDir} , i think you should check your property distDir also use the -verbose option with ant and see whats going on Rgds, Sujan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 11:53

RE: delete is not working...

2002-04-17 Thread Conor MacNeill
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] May I know under what circumstances I cannot delete any folders? Under windows you may not delete a file (or directory) which is locked by a process. This includes explorer if you are looking at the directory and also the Java VM if the

RE: GUI for Ant?

2002-04-17 Thread Jon Skeet
Ant is the thing that allows the freedom to choose your own IDE, and I believe that was Steve's point. Well, Ant is only *one* way of building without an IDE. I must admit we still use batch files for our actual builds (apart from VSS fetching) for historical reasons. No IDE dependence

Re: jar file locking with ant.

2002-04-17 Thread Stefan Bodewig
On Tue, 16 Apr 2002, Daniel Barclay [EMAIL PROTECTED] wrote: Does Sun know about the problem? I think so, the NetBeans folks have been bitten by it as well, judging from Jesse's comments here http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2366. I'm sure they will have told the compiler

RE: jpcoverage/junit intergration: how do I capture junit coverage with with JProbe?

2002-04-17 Thread Stephane Bailliez
Gordon, I have already answer to Mohamed prior to your his post here but guess I was not clear. You can achieve what you do easily and avoid extra code stuff. You just have to call Ant from jpcoverage... not use antcall of course. Consider Ant as the junit runner here as it does everything you

Run time commands

2002-04-17 Thread Oisin Kim
Hi All, I've googled to no avail and still can't find a solution to this problem, I need to give runtime inputs to programs run using targets which contain the java command. I know I can pass inputs using an argument arg value=xxx/ but I need to input data base on the output from the program I'm

Delete did not fail

2002-04-17 Thread Truesdale, Jay
I am using ant 1.4.1. I have this in build.xml: delete failonerror=true quiet=false verbose=true file=${root_dir}/${release_version}/wlconf.${prod_mach_1}/cluster${nosi_web logic_port}/conf/DB2DataSync.properties / If one of the properties (say ${release_version}) is not defined then I would

Re: Delete did not fail

2002-04-17 Thread Diane Holt
--- Truesdale, Jay [EMAIL PROTECTED] wrote: I have this in build.xml: delete failonerror=true quiet=false verbose=true file=${root_dir}/${release_version}/wlconf.${prod_mach_1}/cluster${nosi_web logic_port}/conf/DB2DataSync.properties / If one of the properties (say ${release_version})

Re: SCCS and Ant Question

2002-04-17 Thread Diane Holt
--- Laura E. Frost [EMAIL PROTECTED] wrote: How does Ant integrate with SCCS? I don't know of an Ant task for doing SCCS commands (doesn't mean there isn't one out there somewhere, just that I don't know of it if there is). You could probably write one pretty easily, snarfing from the other SCM

RE: Deleting files that are X days old

2002-04-17 Thread Mike Lecza
This script works great but now I want to delete entire directories. Is there a wat to check the date on a subdirectory then delete the entire thing if it is old? Regards, Mike -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 11:20 AM To:

Re: Task for ejb compiling for websphere

2002-04-17 Thread Diane Holt
--- subhendukumar mohanty [EMAIL PROTECTED] wrote: I am developing a J2ee Application having websphere 3.5.5 Application server. I uses Ant for build process. But i can not compile ejbc through Ant. So is there any way to compile ejb through build . How are you doing things outside of Ant? Is

Re: Task for ejb compiling for websphere

2002-04-17 Thread Mason Taube
--- subhendukumar mohanty [EMAIL PROTECTED] wrote: I am developing a J2ee Application having websphere 3.5.5 Application server. I uses Ant for build process. But i can not compile ejbc through Ant. So is there any way to compile ejb through build . The difficulty is generating the

RE: Deleting files that are X days old

2002-04-17 Thread Diane Holt
--- Mike Lecza [EMAIL PROTECTED] wrote: This script works great but now I want to delete entire directories. Is there a wat to check the date on a subdirectory then delete the entire thing if it is old? I'm glad it's working for you (although I hope you've made it a bit more robust and added