how to get all folder names in a directory

2006-02-07 Thread Parambathu Kandy, Yasser Arafat \(Cognizant\)
Hi, I have many projects in my cvs repo. I want to get all the folder names (not the entire path) into a list, so that I can use the same in the foreach task. Thanks in advance, Yasser This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and m

Re: Ant Property Names

2006-02-07 Thread Stefan Bodewig
On Tue, 7 Feb 2006, Paul Duncan <[EMAIL PROTECTED]> wrote: > How long can an Ant Property name be? No limit. > What characters am I allowed to put in an Ant property name? Any. But you won't be able to use a property whose name contains the character } from inside your build file. Also XML se

A not good example in ant manual

2006-02-07 Thread 肖华
In the "apache-ant-1.6.2\docs\manual\CoreTasks\ant.html" file, in the example section, there is an example: I think it's not a good one. Better like below: because the file "subbuild.xml" is relative to the dir "subproject", not current dir.

Re: Custom tasks

2006-02-07 Thread Patrick Martin
Hello, If you want a GUI, I would recommend antform as well. What you are trying to do could be done this way: Regards, Patrick M. On 2/7/06, bill/wilandra <[EMAIL PROTECTED]> wrote: > There is also an OpenSource project on SourceForge.net called AntForm. It > will display a menu or f

RE: Custom tasks

2006-02-07 Thread bill/wilandra
There is also an OpenSource project on SourceForge.net called AntForm. It will display a menu or form that can be used for input. I found it fairly easy to use although it has some idiosyncrasies about how it places objects in the dialog window. Bill -Original Message- From: Anderson, Rob

RE: Custom tasks

2006-02-07 Thread Anderson, Rob (Global Trade)
You could probably accomplish what you are trying to do with the and tasks. Give it a try. -Rob Anderson > -Original Message- > From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 07, 2006 5:28 AM > To: user@ant.apache.org > Subject: Custom tasks > > I would like t

RE: Ant & plsql

2006-02-07 Thread Anderson, Rob (Global Trade)
You can accomplish 2) with the task. For procedures, pay attention to the keepformat attribute of the sql task, you will probably want to set it to true. For 1) the backup of an existing procedure... You should have a copy of it in version control. If not, you should consider keeping your plsql co

RE: send email about status of the build

2006-02-07 Thread Anderson, Rob (Global Trade)
Indeed MailLogger is probably your best option. Combine that with and you can have the subject of the email reflect the status of the build. -Rob Anderson > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, February 06, 2006 10:12 PM > To: user@ant

Ant Property Names

2006-02-07 Thread Paul Duncan
Hello, How long can an Ant Property name be? What characters am I allowed to put in an Ant property name? I am setting Ant properties with names set according to the values of macrodef attributes and want to ensure that I will not potentially attempt to set an invalid name. I am using Ant 1.6.

Re: *****spam***** Adding files to CVS with Ant

2006-02-07 Thread Giovanni Mesturini
I found the problem. The problem is that I was attemping to upload a file in a tagged branch, checked out like a readonly release. My fault, I'm sorry. If you checkout a readonly release from CVS you must have an alternative branch to commit in. Now I have succesfully solved this problem, but othe

Re: send email about status of the build

2006-02-07 Thread Ivan \"Rambius\" Ivanov
Hello, In general you can send emails from Ant using task. However, it is not useful for emailing the status of the build, because the build may fail and stop before reaching the target with task, i.e. in case of failure you will not receive an email. --- Deep Chand <[EMAIL PROTECTED]> wrote:

Re: *****spam***** Adding files to CVS with Ant

2006-02-07 Thread Geoffrey Mitchell
I had problems with this too. I think what is happening is that it is trying to add your files in a directory called cvs-local/test-module, which doesn't exist in cvs, so it is failing, which is good, because this isn't what you want anyway. If you were going to do this from the command line,

AW: Custom tasks

2006-02-07 Thread Jan.Materne
Manual::Developing with Ant http://ant.apache.org/manual/developlist.html * Writing Your Own Task http://ant.apache.org/manual/develop.html#writingowntask * Tutorial Writing Tasks http://ant.apache.org/manual/tutorial-writing-tasks.html * Tutorial Tasks using Properties, Filesets & Paths

Custom tasks

2006-02-07 Thread chuanjiang lo
I would like to ask what is the steps of creating a task like this. In the ant build file i have something, Compile Javadoc and the output on the console would be the menu items and asking for user input I know how to create simple task, but how should i tackle the items within the tag. Is

Ant & plsql

2006-02-07 Thread Karthik
Hi Form Please I am a beginner in here... Are there any Ant Tasks avaliable and used for PLSQL details 1)Backup of a Existing Procedure 2)OverWite a new Procedure of same name 3)Compile the new Procedure which has been copied. with regards Karthik ---

Re: Adding files to CVS with Ant

2006-02-07 Thread Andrew Goktepe
Is the new file in a directory that is also new? The cvs add command is not recursive; you will need to add any new directories first. Try doing the add and commit of the same file manually on the command line and see if you get an error that way too. If so, then this is not a problem with Ant. -

Adding files to CVS with Ant

2006-02-07 Thread Giovanni Mesturini
Scenario: I have to add a file to CVS from client to server using an Ant script. This is my build.xml: ... ...

Re: Merge manifest files

2006-02-07 Thread Giovanni Mesturini
Thank you very much Conor. We just have passed over the problem making Maven to build up the manifest following instructions defined in POMs. So we completely ignore old manifest files from single projects in order to follow artifact dependencies defined in POMs. Thank you once again Jo --- Con

Exception: cvs checkout: cannot open temp file ...

2006-02-07 Thread akkachotu
I am using ANT 1.6.3 on WindowsXP. I am using below ANT task cvs to check out files from CVS Server. However I am getting an En like "cvs checkout: cannot open temp file BLAH BLAH" as shown below: [CODE] ... ... [cvs] Using cvs passfile: .mycvspassfile [cvs] cvs server: Updating WIFMCo