Ant Tasks [was: Re: How to return values from targets?]

2003-07-16 Thread Daniel Joshua
Thanks Dale. I just realise that there are really alot of places to look for ant tasks (core and add-ons). These are the ones that I know: http://ant.apache.org/ http://ant-contrib.sourceforge.net/ http://antelope.sourceforge.net/ http://www.oopsconsultancy.com/software/xmltask.html Does anyone

AW: Ant CVS Login problem

2003-07-16 Thread Bansemir, Carsten
I think you have to add the passfile attribute to your checkout task. Without, CVS wants you to type in the password. but ant got problems with pipelining the cvs arguments from the console to the cvs executable. -Ursprüngliche Nachricht- Von: Vikas Phonsa [mailto:[EMAIL PROTECTED] Gese

RE: Copying based on fileset

2003-07-16 Thread Jan . Materne
There is a selector which can help: - patched files are different from their unpatched version So copy all source files into a new directory and patch the files. Then you can move the patched files (using the selector and comparing the tmp-directory and the original dir) into a new one. Then del

RE: Sending multiple arguments to the task

2003-07-16 Thread Jan . Materne
Use a fileset to get all IDL files and convert that to a normal property, but separated by space. Then you can give all idl-files to the parser ... ... But you have do use 'line' attribute here. With 'value' all spaces are masked. (not tested) Jan > -Original Messa

cvs checkout: Empty password used - try 'cvs login' with a real password

2003-07-16 Thread Vikas Phonsa
I am getting these errors when I try to run cvs task in my IDE WSAD Execute:Java13CommandLauncher: cvs -d :pserver:[EMAIL PROTECTED]:/asmc/users/t0064 checkout ComSuzBRSiebel cvs checkout: Empty password used - try 'cvs login' with a real password cvs [checkout aborted]: authorization failed: ser

Is .cvspass file encryted ?

2003-07-16 Thread Vikas Phonsa
The cvspass task writes the cvsroot and password to a .cvspass file. Now does that write the password in any encrypted form ? In my cvspass task I am specifying the password="pass" but here is the text of my .cvspass file: :pserver:[EMAIL PROTECTED]:/asmc/users/t0064 A,ooR1:3 Is that normal. Wh

AW: Has anyone ever attempted CVS Commit with Ant

2003-07-16 Thread Bansemir, Carsten
I'm usingt the task to commit: here is my task: It is important to add the "-m" commandline option

RE: Has anyone ever attempted CVS Commit with Ant

2003-07-16 Thread Jan . Materne
I think there was an answer to that question. The takes a command and doesn´t check against a special list. The command will be passed to cvs, so a 'commit' should work. But you have to pay attention about needed arguments. Because I not familiar with cvs (yet) I can´t tell you more about that.

Re: Has anyone ever attempted CVS Commit with Ant

2003-07-16 Thread Aurele Venet
Vikas, you could try posting your question on the dev mail list where you may find someone working in such a task for a future release it's worth a try, but watch out there is a lot of mails coming through when you subscribe to that list. Vrata Vikas Phonsa wrote: Hi I want to do CVS Comm

RE: How to return values from targets?

2003-07-16 Thread Jan . Materne
For : if the called target sets a property, the caller will not get that. I call that behaviour: "antcall creates a new namespace". All set properties in that namespace get loss. Therefore the only way (I know) to give values to the caller is via persistent medium (e.g. file: + ). So your scenar

How to return values from targets?

2003-07-16 Thread Daniel Joshua
Hi, Whats the best way to return values from targets? Here's my scenario in PseudoAnt: target A antcall B antcall C target B do stuff returnValue = antcall D if (returnValue = true) then do other stuff target C do stuff returnValue = antcall D if (returnValue = true) then

Re: Is this Ant Task feasable?

2003-07-16 Thread Stefan Bodewig
On Tue, 15 Jul 2003, James Asher <[EMAIL PROTECTED]> wrote: > We have an application that has a registration process > that creates dynamic pages with cookies. We'd like to > be able to check the validity of the (x)html through > the W3C's validator. We'd like to all have this as > one ant task.

Re: "too many open files" IOException

2003-07-16 Thread Stefan Bodewig
On Tue, 15 Jul 2003, Dan Guerrero <[EMAIL PROTECTED]> wrote: > I get a "java.io.IOException: Too many open files" during an ant > build. How can I eliminate this error? Hard to say without knowing what is causing the problem. Is it always the same task that is causing it? Is it a specific sequ

Re: "too many open files" IOException

2003-07-16 Thread Antoine Levy-Lambert
This error is really coming from the operating system. So you should see if the system administrator of the computer where the problem is occuring can allow more files open. On Solaris, ulimit will tell you what is the maximum number of open files. On PCs I don't know, there used to be a parameter