Re: I must be blind

2010-03-26 Thread Robert Menteer
I've looked at that before. The problem is it does not specify the valid attributes and nested elements for the path like structures which is what I'm looking for. On Mar 26, 2010, at 6:09 PM, glenn opdycke-hansen wrote: > I think that doc is found at > http://ant.apache.org/manual/conceptstype

RE: I must be blind

2010-03-26 Thread Martin Gainty
Hi Glenn- yes i was going to suggest a regular expression utility which reads these files to place the results in properties files then have your ant script read in the associated properties with the contents of the property file globmapper seems like the better option.. Greetings and

Re: I must be blind

2010-03-26 Thread glenn opdycke-hansen
I think that doc is found at http://ant.apache.org/manual/conceptstypeslist.html I find it a bit challenging, too. --glenn On Fri, Mar 26, 2010 at 16:20, Robert Menteer wrote: > I'm looking over the documentation that comes with Apache Ant version 1.8.0 > and can't find where classpath, path

I must be blind

2010-03-26 Thread Robert Menteer
I'm looking over the documentation that comes with Apache Ant version 1.8.0 and can't find where classpath, path and pathelement are documented. I've found a page that describes path like structures but it doesn't list the valid attributes or nested elements for these. Another thing I can't find

RE: delete task question

2010-03-26 Thread Shawn Castrianni
Now this is very strange. The following workflow causes NOT to work: 1. run my ant dependencies command that creates the dependencies directory 2. Use Windows 7 Explorer to check 2 subdirectories within the dependencies directory to see its contents 3. run my ant clean.dependencies command with

Re: AW: Rename a dir

2010-03-26 Thread Mike Stewart
try: Mike S. >>> "Knuplesch, Juergen" 26/03/2010 14:34 >>> Hello, I dont think so, because this will move the files inside the dir instead of just rename the name of the dir. juergen -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: St. Denis,

RE: delete task question

2010-03-26 Thread Shawn Castrianni
My code is: In this example, I do NOT have a "src" subdirectory so the exclude should do nothing. The first time I run it, everything is deleted UNDER dependencies except for a few empty directories. If I run a second time, then some more of tho

AW: delete task question

2010-03-26 Thread Knuplesch, Juergen
Please show us, what you want to do! If you just want to delete everything under a certain dir it should work with "**" in the fileset. -- Jürgen -Ursprüngliche Nachricht- Von: Shawn Castrianni [mailto:shawn.castria...@halliburton.com] Gesendet: Freitag, 26. März 2010 15:41 An: 'Ant

delete task question

2010-03-26 Thread Shawn Castrianni
I am trying to use the task to delete files AND directories. I have turned on the includeemptydirs and am explicitly specifying a nested instead of relying on the implicit one created by tag itself. My question is about includeemptydirs. It doesn't seem to work properly. Depending on wha

AW: Rename a dir

2010-03-26 Thread Knuplesch, Juergen
Hello, I dont think so, because this will move the files inside the dir instead of just rename the name of the dir. juergen -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: St. Denis, David [mailto:david.stde...@siemens.com] Gesendet: Freitag, 26. März 2010 15:2

RE: Rename a dir

2010-03-26 Thread St. Denis, David
Is this not what you are looking for? -Original Message- From: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de] Sent: Friday, March 26, 2010 2:04 AM To: Ant Users List Subject: AW: Rename a dir Thanks Antoine, The ANT docu says: Since Ant 1.6.3, the file attribut

AW: AW: Ant xmlproperty question,Please help me

2010-03-26 Thread Jan.Materne
Also, if you define Eclipse libraries only their name is referenced in the .classpath. You dont know the JARs then ... Jan > -Ursprüngliche Nachricht- > Von: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de] > Gesendet: Freitag, 26. März 2010 12:21 > An: Ant Users List > Betref

Re: Perforce Tasks P4Integrate fails for "nocopytargetfiles"

2010-03-26 Thread jhoomsharabi
HI, I tried building ant source after making chnages but build is failing for me, I think I need to download lots of other dependencies as mentioned on this page: http://ant.apache.org/manual/install.html#librarydependencies To which I don't think I will be bale to it immidetaly. -Orig

Re: Ant xmlproperty question,Please help me

2010-03-26 Thread wolfgang haefelinger
Amasha, there is 1) .classpath - an XML file 2) build.xml - also an XML file 3) ${basedir} - your build file's folder 4) ${ant.file} - your build file 5) http://ant.apache.org/manual/CoreTasks/style.html - a task allowing you to execute a XSLT stylesheet That's pretty all you need to run a X

AW: AW: Ant xmlproperty question,Please help me

2010-03-26 Thread Knuplesch, Juergen
Hello, I dont know what Xmltask is. We talk about ant, do we? Is xmltask a task in ANT or what is it? So why shouldnt you use XMLtask and ant4eclipse together? Some code fragment: This gets you the Eclipse runtime classpath of the project ${YourEclipseProject} in the workspace ${yourEc

Re: AW: http request handling

2010-03-26 Thread Robert Kirkpatrick
I initially submitted my use case to the antForm guys - see the spec and discussion in attachment. An ant-embedded http server looks to me as a natural extension to the ant-contrib AntServer task. Of course the purpose is not to play the role of a classical Web server, but well to drive a bu

Re: AW: Ant xmlproperty question,Please help me

2010-03-26 Thread amasha
Can you get me some script about ant4eclipse? and I want to use XmlTask! Would you have some suggestion? Thank you Knuplesch, Juergen wrote: > > Hello, > > I use ant4eclipse a lot and encourage as well to use it. > > Greetings Jürgen > > > -- > Jürgen Knuplesch > -Ursprüngliche Na

Re: AW: Ant xmlproperty question,Please help me

2010-03-26 Thread amasha
But I want to use XmlTask! Would you have some suggestion? Thank you Jan.Materne wrote: > > Have you tried Ant4Eclipse? > http://www.ant4eclipse.org/ > > > Jan > >> -Ursprüngliche Nachricht- >> Von: amasha [mailto:amasha_z...@hotmail.com] >> Gesendet: Freitag, 26. März 2010 09:49

AW: Ant xmlproperty question,Please help me

2010-03-26 Thread Knuplesch, Juergen
Hello, I use ant4eclipse a lot and encourage as well to use it. Greetings Jürgen -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: amasha [mailto:amasha_z...@hotmail.com] Gesendet: Freitag, 26. März 2010 09:49 An: user@ant.apache.org Betreff: Ant xmlproperty question,Please help me

AW: Ant xmlproperty question,Please help me

2010-03-26 Thread Jan.Materne
Have you tried Ant4Eclipse? http://www.ant4eclipse.org/ Jan > -Ursprüngliche Nachricht- > Von: amasha [mailto:amasha_z...@hotmail.com] > Gesendet: Freitag, 26. März 2010 09:49 > An: user@ant.apache.org > Betreff: Ant xmlproperty question,Please help me > > > I have a .classpath: > >

Ant xmlproperty question,Please help me

2010-03-26 Thread amasha
I have a .classpath: And I want compile the source coding by ant. The ant script:

RE: Rename a dir

2010-03-26 Thread Chakravarthy, Srikanth
Hi, This chunk of code in the build.xml renames both the file and the folder The folder srikm had subfolders in it and also files in them. The rename was successful. As you had rightly said, if you use todir, it will move the first dir into the seco

AW: Rename a dir

2010-03-26 Thread Knuplesch, Juergen
Thanks Antoine, The ANT docu says: Since Ant 1.6.3, the file attribute may be used to move (rename) an entire directory. If tofile denotes an existing file, or there is a directory by the same name in todir, the action will fail. So my code seems to be correct. I think todir will move the fi