RE: Adding sh script in ant

2006-02-13 Thread pritesh.saharey
Hi Steve, Can you explain giving the example? -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 1:04 PM To: Ant Users List Subject: Re: Adding sh script in ant bejoy wrote: > Hi , > > I have a Shell Script to set the environment v

Re: Change XML by Ant

2006-02-13 Thread Steve Loughran
Giovanni Mesturini wrote: Hi community, is there a way to change an XML file using Ant's script? I found the XMLProperty tasks that reads an XML, but it seems to be read-only. Ant1.7 will have for simple XML output. For complex stuff (xmlnamespaces, new headers, different encodings), is st

Re: Adding sh script in ant

2006-02-13 Thread Steve Loughran
bejoy wrote: Hi , I have a Shell Script to set the environment variables("setenv.sh").I want to put this script into my ant build sothat before doing any task the env variables has to set.How can I call this script in my build.xml. no, that wont work. The env variables set in a shell script

AW: Change XML by Ant

2006-02-13 Thread Jan.Materne
In THAT case (Ant+Eclipse) you should have a look at http://ant4eclipse.sourceforge.net/ Jan >-Ursprüngliche Nachricht- >Von: Patrick Martin [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 13. Februar 2006 15:52 >An: Ant Users List >Betreff: Re: Change XML by Ant > >Hello, > >You can also

Delima to use or not to use build.xml

2006-02-13 Thread Karthik
Hi Form I have a build.xml file with tags as displayed below... 1)How to set the Target name for ="TgtName" "" in property Using ANT API ("org.apache.tools.ant.*") 2)How to execute the argumented target using ANT API's. Please somebody expalin to me With

RE: Delima to use or not to use build.xml

2006-02-13 Thread Stephen McConnell
> Hi Form > I am a begineer in here > If One uses the API's of Ant from java to set/run the targets /tasks. > "org.apache.tools.ant.*" > then is the "buildfile.xml" still necessary for execution. No - the build.xml file is not necessary. > Please somebody explain. The centre of

Delima to use or not to use build.xml

2006-02-13 Thread Karthik
    Hi Form   I am a begineer in here    If One uses the API's of Ant  from java  to  set/run the targets /tasks.      "org.apache.tools.ant.*"     then is  the "buildfile.xml"  still necessary for execution.     Please somebody  explain.         with regards Karthik    

RE: Broken Junit targets

2006-02-13 Thread Stephen McConnell
> -Original Message- > From: Taemin Cim [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 14 February 2006 1:46 PM > To: user@ant.apache.org > Subject: RE: Broken Junit targets > > Hi again, > > >The ant-junit.jar is dependent on the JUnit jar file. > >You can add JUnit to ${ant.home}/lib, o

RE: Broken Junit targets

2006-02-13 Thread Taemin Cim
Hi again, The ant-junit.jar is dependent on the JUnit jar file. You can add JUnit to ${ant.home}/lib, or your ${user.home}/.ant/lib directory. /Steve. I have the junit.jar on the test.classpath in the build file. How else should I associate the junit,jar witht eh ant-junit.jar? Where shou

RE: Broken Junit targets

2006-02-13 Thread Stephen McConnell
> -Original Message- > From: Taemin Cim [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 14 February 2006 12:25 PM > To: user@ant.apache.org > Subject: Broken Junit targets > > Hi All! > > I've broken my junit task in Ant...I got an error in a side > project where it couldnt import TestCas

Broken Junit targets

2006-02-13 Thread Taemin Cim
Hi All! I've broken my junit task in Ant...I got an error in a side project where it couldnt import TestCase, so I copied the junit.jar into the lib dir for that project, and got "could not create task of type junit" when I ran Ant. So I realized Ant has its own ant-junit.jar, so I deleted the

Re: junit printsummary and showoutput

2006-02-13 Thread Paul Barry
Thanks for your help. The formatter does appear to be producing that output. Here is my target: Unit tests failed. For error messages, check the log files in ${test.logs.dir} or run "ant test-

RE: Help with Microsoft visual source safe ant task

2006-02-13 Thread Jon Skeet
> We learned the same lesson. If files are checked out of vss, > then getting the files will either not get the file or will > get an older version of the file (i do not recall which is true). Doing a "get latest" will get the latest version which has been checked into the VSS database. It (ob

Re: Change XML by Ant

2006-02-13 Thread Patrick Martin
Hello, You can also try xmltask : http://www.oopsconsultancy.com/software/xmltask/index.html Regards, Patrick M. On 2/13/06, Kees van Dieren <[EMAIL PROTECTED]> wrote: > You can try the Ant xslt task: > http://ant.apache.org/manual/CoreTasks/style.html > > Best regards, > > Kees van Dieren > Se

RE: Change XML by Ant

2006-02-13 Thread Kees van Dieren
You can try the Ant xslt task: http://ant.apache.org/manual/CoreTasks/style.html Best regards, Kees van Dieren Senior Software Engineer MP Objects Supply Chain Software Stationsplein 45 3013 AK Rotterdam The Netherlands Post address: Postbus 29126 3001 GC Rotterdam Mobile: +31 (0)6-43068619 P

Change XML by Ant

2006-02-13 Thread Giovanni Mesturini
Hi community, is there a way to change an XML file using Ant's script? I found the XMLProperty tasks that reads an XML, but it seems to be read-only. from a file I have to remove every that have value="1", in order to have as result

Re: Help with Microsoft visual source safe ant task

2006-02-13 Thread glenn opdycke-hansen
We learned the same lesson. If files are checked out of vss, then getting the files will either not get the file or will get an older version of the file (i do not recall which is true). So has anyone created a utility to list which files have been checked out from vss? That would be helpful to r

RE: Help with Microsoft visual source safe ant task

2006-02-13 Thread Jon Skeet
> I am new to Microsoft visual source ant task. I am trying to > checkout using ant.There is also get for vss.what is the > difference ? . what is the right syntax Under VSS, check out means "get the file and acquire a lock on it". It fetches it read-write instead of read-only, and locks it so t

RE: Adding sh script in ant

2006-02-13 Thread pritesh.saharey
Hi Bejoy, Try this Regards, Pritesh -Original Message- From: bejoy [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 2:20 PM To: user@ant.apache.org Subject: Adding sh script in ant Hi , I h

Adding sh script in ant

2006-02-13 Thread bejoy
Hi , I have a Shell Script to set the environment variables("setenv.sh").I want to put this script into my ant build sothat before doing any task the env variables has to set.How can I call this script in my build.xml. Thanks in advance, Bejoy This e-mail and any files transmitted with it a

RE: About running a ANT script on UNIX.

2006-02-13 Thread Shweta Bodade
Thanx a lot. Shweta.

RE: About running a ANT script on UNIX.

2006-02-13 Thread Shweta Bodade
Thankx a lot for your so quick response I am trying all things lets See What works best I will surely try to reach you if I have a problem. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: About running a ANT script on UNIX.

2006-02-13 Thread pritesh.saharey
Hi Raghavendra, You don't have to specify only the following will also do And I will suggest to use build-properties.xml file instead of build.properties file. Wishes Pritesh Fr

Re: About running a ANT script on UNIX.

2006-02-13 Thread Raghavendra S
put build.xml and linux.properties in a single directory.  and check it... is this what you were looking for...?   Thanks Raghavendra S  On 2/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: I wonder if you know the build-in (in Tomcat) deploy task? http://tomcat.apache.org/tomcat-5.0-doc/c