RE: Avoid repeat of completed tasks

2005-10-12 Thread Nir Geier
You can do with a tiny workaround: define property that will be set once (in your "base" target) then in the tas check to see if the property is set using the unless statment <... unless="property.name"...> Then you run it only once. sample code:

RE: Copying files to unknown folder name (jboss war deployed folder)

2005-08-09 Thread Nir Geier
deployed folder) Just thoughts: - create a fileset from the jboss directory including your deploy-dir -- use selectors to get the newest one - use to get the target location - use that property as todir for Jan >-Ursprüngliche Nachricht- >Von: Nir Geier [mailto:[EMAIL PRO

Copying files to unknown folder name (jboss war deployed folder)

2005-08-09 Thread Nir Geier
Hi all, I'm trying to achieve this simple task: I want to copy files to my jboss deploy dir. The deploy dir is generated automatically every server start/deploy and get the following name pattern: XMyAppName.war now i want to copy files from c:\aaa into the above directory.

RE: Ant with Eclipse question

2005-07-20 Thread Nir Geier
the major differences between Eclipse and Net beans is that net Beans generate the build automatically while eclipse doesn't, Net beans allow you to write code for several cases and using the ant build its generate the appropriate class. ex: # if some param exist code based upon param1 # if

RE: Ant with Eclipse question

2005-07-20 Thread Nir Geier
Hi there. Eclipse build [output] dir and ant dir make no difference. unless you have relation between the 2. ex. if you don't use ant to compile the classes and take the compiled one form eclipse you should set both to the same location - since ant needs the complied class

RE: Where from can i donwload catalina-ant.jar?

2005-07-14 Thread Nir Geier
I can find it any where unless i download Tomcat. Is there any other way to download this library ? -Original Message- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 8:44 PM To: Ant Users List Subject: Where from can i donwload catalina-ant.jar? Where from can i

Where from can i donwload catalina-ant.jar?

2005-07-14 Thread Nir Geier
Where from can i donwload catalina-ant.jar? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How can i update DTD file?

2005-06-30 Thread Nir Geier
found this : http://www.wutka.com/dtdparserdoc.html. You might be able to make use of this somehow. Of course if you were using XML Schemas your options would be more plentiful But I suspect you knew that already! Nir Geier wrote: >TY, > >Rhino > >I want an ant task which can

RE: How can i update DTD file?

2005-06-29 Thread Nir Geier
TY, Rhino I want an ant task which can update the DTD list. :-)) Nir. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How can i update DTD file?

2005-06-29 Thread Nir Geier
script: -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Wed, June 29, 2005 11:47 am, Nir Geier said: > Hi again > > I have a DTD list (inside DTD file) > which i n

How can i update DTD file?

2005-06-29 Thread Nir Geier
Hi again I have a DTD list (inside DTD file) which i need to update. how can i do this? ex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: another problem (solution)

2005-06-29 Thread Nir Geier
10 a lot Brian. I manage to find a solution. Im posting it here so everyone will be able to use it when neded

another quetion

2005-06-29 Thread Nir Geier
Hi again, When using how can i update the same file. using the insert is looking for dest="file name". im using fileset so i dont have the file name in the source im using the following: No changes are made

RE: problem:

2005-06-29 Thread Nir Geier
xml exists...). It seems me that all 'relative' path are relative from this point. If needed, add some lines to copy your DTD at the right place befor to use xmltask and to delete it when it's no more needed... -Message d'origine- De : Nir Geier [mailto:[EMAIL PROTECT

problem:

2005-06-29 Thread Nir Geier
hi again, im trying to use and I keep getting the following exception: (make no difference if there is no internal task or not). [xmltask] org.xml.sax.SAXParseException: Relative URI "xxx.dtd"; can not be resolved without a base URI. My xxx.dtd is found under the same dir as the xml and the x

RE: XML question

2005-06-29 Thread Nir Geier
/ Nir Geier wrote: >Hi all, > >Im trying to manipulate XML by adding new node at some point. >ex: > > > > > > > > > > > > > > >Does any one has an idea how to do it without writing my own t

RE: XML question

2005-06-29 Thread Nir Geier
ost address: Postbus 29126 3001 GC Rotterdam Mobile: +31 (0)6-43068619 Phone: +31 (0)10-2900304 Fax: +31 (0)10-2900305 -Original Message- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 12:22 PM To: user@ant.apache.org Subject: XML question Hi all, Im trying

XML question

2005-06-29 Thread Nir Geier
Hi all, Im trying to manipulate XML by adding new node at some point. ex: Does any one has an idea how to do it without writing my own task or using XML parser? I want to do it in a pure ant script if its possible. If not i wil

Ninju: How to stop process using exec?

2005-05-30 Thread Nir Geier
uld highly recommend NOT using the OS to kill a process. OS killing of process is a very messy deal (particulary on Windows) which can result in resource leakage, Protection faults and Process Termination Dialog boxes appearing. It is advisable to seek another way to accomplish your goal. Later,

How to stop process using exec?

2005-05-29 Thread Nir Geier
hi all, Does anyone knows how can I stop process under windows? For example: executing the following (Under Windows): is there any way to write ant to stop the target? Nir Geier. - To

RE: How to open URL from ANT.

2005-05-19 Thread Nir Geier
> wrote: > On Wed, 18 May 2005, Nir Geier > <[EMAIL PROTECTED]> wrote: > > > src="http://localhost:7701/manager/reload?path=/cc"; > > dest="${logs.dir}/reload_cc.log" > > verbose="${verbos

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
URL from ANT. On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > http://localhost:7701/manager/reload?path=/cc"; >dest="${logs.dir}/reload_cc.log" >verbose="${verbose}" >usetimestamp=&

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
The Link generate the following error: http://localhost:7701/manager/reload?path=/cc"; dest="${logs.dir}/reload_cc.log" verbose="${verbose}" usetimestamp="true" password="tomcat" username="tomc

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
Thats what i didnt know. the task -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 2:18 PM To: user@ant.apache.org Subject: Re: How to open URL from ANT. On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > Im using it

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
. -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 2:05 PM To: user@ant.apache.org Subject: Re: How to open URL from ANT. On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > Is there any option to open URL with Browser? Not a

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
ow to open URL from ANT. Even I like to find out the same. But in the meantime I am using the exec task, i.e. running system command, to open my url in the browser, in Win2k. http://ant.apache.org"; /> -Original Message----- From:

How to open URL from ANT.

2005-05-18 Thread Nir Geier
Hi all. How can I open url from ant? For example I have a documentation page that I want to display (HTML page) I want to click on ant target which opens the page in browser. Is there any option to open URL with Browser? Ty in advance. --

How to set CDATA in property.

2005-05-05 Thread Nir Geier
re". more - special characters <here >" I wonder if I can use CDATA in property value? Thank u all in Advance. Nir Geier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Looking for task to add text to file.

2005-05-04 Thread Nir Geier
ument. Then you could echo the three properties into a new file in the exact order you want. Also, if you're doing loadfile, you could do expandproperties and turn any ${}'s in the files into their actual values. On Apr 28, 2005, at 11:35 AM, Nir Geier wrote: > To tell u the tru

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
the like then you'll run into other issues. Butn like I say, it's all dependent on what you're trying to achieve (tactical vs.strategic and so on) Nir Geier wrote: >im using x; to inser < > > > >-Original Message- >From: Brian Agnew [mailto:[EMAIL PROTE

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
then you'll end up with invalid XML. Brian Nir Geier wrote: >i didnt fin teh : > >2) using and filters while ing > - extract part before > - extract part after > using to combine before, new and after parts > >y

RE: set to new a file.

2005-04-28 Thread Nir Geier
Hi there. use the append in teh echo: true= append to file false= overwrite with new file. Nir. --- Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote: > Hi, > > For initialize my logs files I need to create a new > file or delete the > existing one. I don't know how to do this. I w

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
i didnt fin teh : 2) using and filters while ing - extract part before - extract part after using to combine before, new and after parts you mentioned before. where are the tail and head? (which task?) Nir. - To un

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 2:19 PM To: user@ant.apache.org Subject: AW: Looking for task to add text to file. Ok - four steps back ... What is your current DTD and where you want to add the "node"? Jan > -Ursprüngliche Nachricht---

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
of the DTD would be needed any more. Jan > -Ursprüngliche Nachricht----- > Von: Nir Geier [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 28. April 2005 14:24 > An: Ant Users List > Betreff: RE: Looking for task to add text to file. > > Hi again. > i MUST c

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
Ursprüngliche Nachricht----- > Von: Nir Geier [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 28. April 2005 13:10 > An: Ant Users List > Betreff: RE: Looking for task to add text to file. > > My task is the following: > > I have XML file and the corresponding DTD. > I nee

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
e-write" the text to the file after modification to the list. This means that i have to read the context and change it inside the build file (or task class). Ty all for your fast help. -Original Message- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 12

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
with while ing and having a ${propname} inside your "template". Not any particular order ... Jan > -Ursprüngliche Nachricht- > Von: Nir Geier [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 28. April 2005 12:42 > An: Ant Users List > Betref

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
> -Ursprüngliche Nachricht- > Von: Nir Geier [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 28. April 2005 12:16 > An: Ant Users List > Betreff: RE: Looking for task to add text to file. > > > Ty Gilbert. > I will look into it in details. >

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
http://marc.theaimsgroup.com/?l=ant-user&m=110691291123439&w=2 for a solution, if you don't want to use concat/replace ... Since i needed to put in a property i changed the example of Jan to take a property. Gilbert -Original Message----- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: Thursd

Looking for task to add text to file.

2005-04-28 Thread Nir Geier
Hi all, Im trying to append text to file and I could't find any suitable task for doing so. As a workaround im using the 'Replace' task. (http://ant.apache.org/manual/CoreTasks/replace.html) Another option is the 'Concat' ( http://ant.apache.org/manual/CoreTasks/concat.html ) but it is limited

RE: SVNAnt

2005-03-16 Thread Nir Geier
http://savant.sourceforge.net/download.html -Original Message- From: James Abley [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 3:33 PM To: Ant Users List Subject: Re: SVNAnt On Wed, 2005-03-16 at 10:22, Andrea Quintavalle wrote: > Try here > > http://subclipse.tigris.org/svn

RE: Is there a way of telling that ant is run in verbose mode?

2004-12-20 Thread Nir Geier
you can simply use: ex: -Original Message- From: Daniel Blaukopf [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 5:03 PM To: Ant Users List Subject: Is there a way of telling that ant is run in verbose mode? I invoke a makefile from ant, and would like to invoke it with diff