Deploy to Tomcat

2007-04-20 Thread Denis Bessmertnyj
Beautiful day, I need to deploy jar file to Tomcat server with Ant help. What I need to do? Thank you --- Denis Bessmertnyj, GUI SoftWeb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: UnDeploy to Tomcat

2007-04-20 Thread Denis Bessmertnyj
Also, it is interesting, how then I may undeploy jar file from Tomcat. - Original Message - From: "Denis Bessmertnyj" <[EMAIL PROTECTED]> To: Sent: Friday, April 20, 2007 10:41 AM Subject: Deploy to Tomcat Beautiful day, I need to deploy jar file to Tomcat server with Ant help. Wh

If one execution is failed

2007-04-20 Thread Denis Bessmertnyj
I have a lot of Note that all this info. --- Denis Bessmertnyj, GUI SoftWeb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Deploy to Tomcat

2007-04-20 Thread Jan.Materne
? ;-) On the other hand, Tomcat has a task (afaik). Jan >-Ursprüngliche Nachricht- >Von: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 20. April 2007 09:41 >An: user@ant.apache.org >Betreff: Deploy to Tomcat > >Beautiful day, > >I need to deploy jar file to Tomcat

AW: UnDeploy to Tomcat

2007-04-20 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 20. April 2007 09:43 >An: Ant Users List >Betreff: Re: UnDeploy to Tomcat > >Also, it is interesting, how then I may undeploy jar file from Tomcat. > >- Original Message - >F

RE: If one execution is failed

2007-04-20 Thread Rebhan, Gilbert
Hi, have a look on antcontrib's / : http://ant-contrib.sourceforge.net/tasks/tasks/trycatch.html you could put those critical java tasks inside a try catch construct and do an echo or other stuff before fail. Regards, Gilbert -Original Message- From: Denis Bessmertnyj [mailto:[EM

AW: If one execution is failed

2007-04-20 Thread Jan.Materne
What is with failonerror or resultproperty? Jan >-Ursprüngliche Nachricht- >Von: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 20. April 2007 11:04 >An: Ant Users List >Betreff: If one execution is failed >I have a lot of If one execution is failed I need to know abou

with ibm jdk ?

2007-04-20 Thread Rebhan, Gilbert
Hi, i need to build stuff that runs under WAS 6.1 Build should use ibm's jdk instead of sun jdk Question = the ibm jdk isn't contained in the manual of for ant 1.6.5 / 1.7.0 and there's also no corresponding class in the org.apache.tools.ant.taskdefs.compilers package. So do i need to write

RE: with ibm jdk ?

2007-04-20 Thread Gilles Scokart
I tried once to do that by running ant in the ibm JRE (setting JAVA_HOME correctly). If I remember well, it worked. I'm curious, why do want to use specifically the ibm compiler? You can perfectly use the sun standard compiler and run your application on WAS 6.1. Gilles > -Original Messa

RE: with ibm jdk ?

2007-04-20 Thread Rebhan, Gilbert
Hi, -Original Message- From: Gilles Scokart [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 11:47 AM To: 'Ant Users List' Subject: RE: with ibm jdk ? /* I tried once to do that by running ant in the ibm JRE (setting JAVA_HOME correctly). If I remember well, it worked. */ that

Re: with ibm jdk ?

2007-04-20 Thread Steve Loughran
Rebhan, Gilbert wrote: Hi, i need to build stuff that runs under WAS 6.1 Build should use ibm's jdk instead of sun jdk Question = the ibm jdk isn't contained in the manual of for ant 1.6.5 / 1.7.0 and there's also no corresponding class in the org.apache.tools.ant.taskdefs.compilers package

RE: with ibm jdk ?

2007-04-20 Thread Gilles Scokart
> > Do you have any facts that building with ibm jdk ain't necessary > or better than sun jdk 1.5 ? > No, I never compared the performance. Gilles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: UnDeploy to Tomcat

2007-04-20 Thread Steve Loughran
Denis Bessmertnyj wrote: Also, it is interesting, how then I may undeploy jar file from Tomcat. - Original Message - From: "Denis Bessmertnyj" <[EMAIL PROTECTED]> To: Sent: Friday, April 20, 2007 10:41 AM Subject: Deploy to Tomcat Beautiful day, I need to deploy jar file to Tomcat ser

Re: If one execution is failed

2007-04-20 Thread Denis Bessmertnyj
How I may use a resultproperty? May you give me an example? thank you - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, April 20, 2007 12:22 PM Subject: AW: If one execution is failed -Ursprüngliche Nachricht- Von: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] G

RE: tag inside some other tag(cvs)

2007-04-20 Thread Rebhan, Gilbert
Hi, -Original Message- From: prasad kumar [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 2:05 PM To: prasad kumar; Ant Users List; [EMAIL PROTECTED] Subject: Re: tag inside some other tag(cvs) /* HI, I THINK THE PROBLEM IS WITH CVS LOCK, WITH THAT IT IS COMING THE BELOW

RE: with ibm jdk ?

2007-04-20 Thread Lewis, Cory \(Genworth\)
> -Original Message- > From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Sent: Friday, April 20, 2007 8:25 AM > To: Ant Users List > Subject: RE: with ibm jdk ? > > > Hi, > > -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Friday, April 20, 2007

Re: Settting environment variables

2007-04-20 Thread Charles Paulet
Instead of using exec, you can use shellscript tag from ant-contrib (http://ant-contrib.sourceforge.net/tasks/tasks/shellscript.html) : export myvar=myvalue my_exec my_param query wrote: When I tried to use in and task, build compilation is failing with the following errors

AW: If one execution is failed

2007-04-20 Thread Jan.Materne
, , >-Ursprüngliche Nachricht- >Von: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 20. April 2007 12:12 >An: Ant Users List >Betreff: Re: If one execution is failed >How I may use a resultproperty? >May you give me an example? > >thank you > > >- Original Message

RE: with ibm jdk ?

2007-04-20 Thread Rebhan, Gilbert
Hi, -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 12:03 PM To: Ant Users List Subject: Re: with ibm jdk ? Rebhan, Gilbert wrote: > Hi, > > i need to build stuff that runs under WAS 6.1 > Build should use ibm's jdk instead of sun jdk >

RE: with ibm jdk ?

2007-04-20 Thread Rebhan, Gilbert
Hi, -Original Message- From: Lewis, Cory (Genworth) [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 2:39 PM To: Ant Users List Subject: RE: with ibm jdk ? /* IBM supplies their own ant tasks for compiling projects and exporting ears and the like. I'm not sure if you can run t

Re: tag inside some other tag(cvs)

2007-04-20 Thread prasad kumar
HI, I THINK THE PROBLEM IS WITH CVS LOCK, WITH THAT IT IS COMING THE BELOW ERROR OR DO I NEED TO MENTION THE SPECIAL CHARACTERS(`$,.:;@') IN ANY WAY TO AVOID THIS PROBLEM PLEASE GIVE ME SOLUTION IF ANYBODY KNOWS THANKS, PRASAD prasad kumar <[EMAIL PROTECTED]> wrote:

apply task -

2007-04-20 Thread Robert Schulz
Hi! I finally found my solution in the archives - but i think of it missing a lot of beauty ant intuitivity :( http://mail-archives.apache.org/mod_mbox/ant-user/200604.mbox/<5ea470920604061311l69be9500h39fef9f322a207f%40mail.gmail.com> what i expected the apply task to have is some possibility

RE: tag inside some other tag(cvs)

2007-04-20 Thread Loehr, Ruel
/* HI, I THINK THE PROBLEM IS WITH CVS LOCK, WITH THAT IT IS COMING THE BELOW ERROR OR DO I NEED TO MENTION THE SPECIAL CHARACTERS(`$,.:;@') IN ANY WAY TO AVOID THIS PROBLEM PLEASE GIVE ME SOLUTION IF ANYBODY KNOWS THANKS, PRASAD */ i think you have a problem with y

I want to ref to another build.xml and execute it

2007-04-20 Thread Denis Bessmertnyj
Inside thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: If one execution is failed

2007-04-20 Thread Wayne Cannon
Have you considered using the Logger (e.g., Log4J) to do this? --Wayne Denis Bessmertnyj wrote: I have a lot of If one execution is failed I need to know about it. How I may get this info? Note that all use this info. --- Denis Bessmertnyj, GUI SoftWeb --

RE: tag inside some other tag(cvs)

2007-04-20 Thread prasad kumar
hi all, i changed the code like below it saying that as "cvs [rtag aborted]: Can't parse date/time: Versions/build_xxx" if anybody knows give the reply immediately,i have been trying from morning onwards thanks, prasad "Rebhan, G

RE: I want to ref to another build.xml and execute it

2007-04-20 Thread Sean Tiley
Hi there, Have a look at the documentation (http://ant.apache.org/manual/index.html) Look at the "Ant" core task. HTH Sean -Original Message- From: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 10:23 AM To: Ant Users List Subject: I want to ref to another build

Re: Re: Settting environment variables

2007-04-20 Thread Ninju Bohra
Hello, Sorry about that...for the setting of evironment variables is done with the element...please read the documentation (http://ant.apache.org/manual/CoreTasks/exec.html) for specific details. Thanx - Original Message From: query <[EMAIL PROTECTED]> To: Ant Users List Cc: N

Check if directory is empty or not

2007-04-20 Thread Anderson, Rob (Global Trade)
I have a build.xml that runs a custom task to import documents into a document management system. After the custom import task runs I'd like to check the load directory for anything that may have been left behind. If the directory is not empty my build should fail. Is there an easy way to check i

Re: tag inside some other tag(cvs)

2007-04-20 Thread Gilbert Rebhan
Hi, prasad kumar wrote: hi all, i changed the code like below it saying that as "cvs [rtag aborted]: Can't parse date/time: Versions/build_xxx" if anybody knows give the reply immediately,i have been trying from morning onwards never sa

Re: I want to ref to another build.xml and execute it

2007-04-20 Thread Gilbert Rebhan
Hi, Denis Bessmertnyj wrote: Inside you may even call a specific target with = just have a look on the ant task as Sean already mentioned = http://ant.apache.org/manual/CoreTasks/ant.html Regards, Gilbert - To unsubs

Re: tag inside some other tag(cvs)

2007-04-20 Thread Geoffrey Mitchell
Your argument line should probably be: -D allows you to select file versions by date. You should use -r to select by revision number or tag name. Gilbert Rebhan wrote: Hi, prasad kumar wrote: hi all, i changed the code like below it saying that

JUnit task and tests in jars

2007-04-20 Thread Denis Bessmertnyj
Hi, I have a lot of jars with JUnit test cases. How I may run them. What is wrong in this approach:

JUnit reports

2007-04-20 Thread Denis Bessmertnyj
How I may do with JUnit & JUnitReport tasks the next: I have a lot of test cases each of wich contains tests. I need to run all of them and then I need gather together information about all test cases passing in one file in the next format. FirstTestCase - passed - testGetInfo - passed - test

Re: rookie - problem with xdoclet 2 - ANT doesnt work!!

2007-04-20 Thread dr_pompeii
thaks for the reply give me half week please, i am right now in a hell with a project regards Sabeesh wrote: > >> if i excute ant hibernate , i recieve this error >> /WEB-INF/build.xml:37: Class Not Found: Classloader URLs (classpath): >> well the line is > > Try running ant -d -v hibern

zip inculded files

2007-04-20 Thread prasad kumar
hi all, if iam using like below it is zipping but it is not not including all the required files.it is including only rtf,ear files.it is not including pdf,xml,properties files if iam using it is giving error as "problem opening 'srcfile".

zip inculded files

2007-04-20 Thread prasad kumar
hi all, if iam using like below it is zipping but it is not not including all the required files.it is including only rtf,ear files.it is not including pdf,xml,properties files if iam using it is giving error as "problem opening 'srcfile".

zip inculded files

2007-04-20 Thread prasad kumar
hi all, if iam using like below it is zipping but it is not not including all the required files.it is including only rtf,ear files.it is not including pdf,xml,properties files if iam using it is giving error as "problem opening 'srcfile".

zip inculded files

2007-04-20 Thread prasad kumar
hi all, if iam using like below it is zipping but it is not not including all the required files.it is including only rtf,ear files.it is not including pdf,xml,properties files if iam using it is giving error as "problem opening 'srcfile".

Re: Check if directory is empty or not

2007-04-20 Thread Bill Rich
A little while ago Jan Materne suggested the following for another question about files in a directory. Can you use something similar, maybe with a * or **/*, and check if the length of the file list is 0? HTH Bill Anderson, Rob (Global Trade) wrote: I have a build.xml that

What is $.. ?

2007-04-20 Thread Douglas McCarroll
Hi All, I ran across "$.." in an Ant file and am trying to understand what it does. Can't find any documentation. So basic as to not require explanation? When I run a C:\Projects\build.xml file with this code in it: I get this: [echo] $.. [echo] c:\Projects