Deploy to Tomcat
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 PROTECTED]
Re: UnDeploy to Tomcat
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. What I need to do? Thank you --- Denis Bessmertnyj, GUI SoftWeb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
If one execution is failed
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
? ;-) 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 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 PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: UnDeploy to Tomcat
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 - >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. >> What I need to do? >> >> Thank you >> >> --- >> Denis Bessmertnyj, >> GUI SoftWeb >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: If one execution is failed
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:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 11:04 AM To: Ant Users List Subject: If one execution is failed
AW: If one execution is failed
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 about it. How I may >get this info? >Note that all can't use >this info. > >--- >Denis Bessmertnyj, >GUI SoftWeb > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
with ibm jdk ?
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 my own compiler adapter or better go via exec ? Is there already an existing task (maybe shipped with WAS or ibm jdk) out there ? Anyone doing builds for WAS 6.1 ? Anyone using ibm jdk for builds with ant ? What's your experience with those builds ? Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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. 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 Message- > From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Sent: vendredi 20 avril 2007 11:33 > To: user@ant.apache.org > Subject: with ibm jdk ? > > > 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 my own compiler adapter > or better go via exec ? > > Is there already an existing task (maybe shipped > with WAS or ibm jdk) out there ? > > Anyone doing builds for WAS 6.1 ? > Anyone using ibm jdk for builds with ant ? > > What's your experience with those builds ? > > Regards, > Gilbert > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: with ibm jdk ?
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 would be the easiest solution, but running ant with ibm JRE is no option, as the whole deployment workflow (also for other stuff beside the WAS projects) runs on jdk 1.4 */ 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. */ me too ;-) someone stated that would be better, because WAS 6.1 would run with ibm jre. Before they said, it must be build with sun jdk 5 Do you have any facts that building with ibm jdk ain't necessary or better than sun jdk 1.5 ? Gilbert > -Original Message- > From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Sent: vendredi 20 avril 2007 11:33 > To: user@ant.apache.org > Subject: with ibm jdk ? > > > 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 my own compiler adapter > or better go via exec ? > > Is there already an existing task (maybe shipped > with WAS or ibm jdk) out there ? > > Anyone doing builds for WAS 6.1 ? > Anyone using ibm jdk for builds with ant ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 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. I dont think you need anything special to build with the IBM JDK...try it and see - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: with ibm jdk ?
> > 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: [EMAIL PROTECTED]
Re: UnDeploy to Tomcat
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 server with Ant help. What I need to do? Easiest is to to copy, to delete. There are custom tasks with tomcat, but they are more brittle, and don't port to other app servers. Whereas copy works with JBOss, WebLogc, Glassfish...etc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: If one execution is failed
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] Gesendet: Freitag, 20. April 2007 11:04 An: Ant Users List Betreff: If one execution is failed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tag inside some other tag(cvs)
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 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 your keyboard and CAPS Lock No it's no CVS lock (btw. lock means there are files / dirs with leading '.#') The errormessage says all = "[cvs] cvs [rtag aborted]: tag must not contain the characters `$,.:;@'" means your tag contains characaters that are not allowed. there are rules for cvs tags, i.e. the tag must not start with a digit and contain no '.' and so on ... so it looks like the construction of the versionstring goes wrong. get the cvs bible = http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.22/cederqvist-1.11.22. pdf here you'll find all the details you need to know when dealing with cvs Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: with ibm jdk ?
> -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 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 > > > > 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. > > > > /* > I dont think you need anything special to build with the IBM > JDK...try > it and see > */ > > sorry when boring again = > > first calculate then implement, means i wanted to know, whether > it's better to use ibm jdk with exec or if it's better to write > a compiler adapter class, as manual says = > > "... > Valid values for either the build.compiler property or the > compiler attribute are: > ... > " > and ibm jdk is not contained. > > So i have to use exec or write a compiler adapter, no ? > And i asked because i never wrote such a task, are > there any extras, what must / should be implemented > in such a task. > > Or is it even simpler ? > > Regards, Gilbert > As an FYI, because this may not help you(but it's always nice to have options), If you're writing your applications with IBM's Rational Application Developer, you can launch it "headless" and have it run ant scripts. IBM supplies their own ant tasks for compiling projects and exporting ears and the like. I'm not sure if you can run them outside of RAD or not, though. http://publib.boulder.ibm.com/infocenter/radhelp/v6r0m1/index.jsp?topic= /com.ibm.etools.j2eeapp.doc/topics/tantproj.html That will get you in the general area. We actually use this for all of our autobuilds, though somewhat heavily customized. Works nicely. Cory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Settting environment variables
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. javac doesn't support the nested "sysproperty" element. exec doesn't support the nested "sysproperty" element. It looks like that element is supported only with . But I want to set env variables for and tasks. Can anyone help me ??? On Thu, 19 Apr 2007 Ninju Bohra wrote : Hello, By the time ANT starts, the PATH and INCLUDE environment variables values are set (by the ant.bat or OS command script) and can not be altered. However if one you target needs to start seperate process (, , , etc...) you can control the value of the enviroment variables that the child process will have...use the sub element to correct that. Hope that make sense Ninju - Original Message From: query <[EMAIL PROTECTED]> To: ant Sent: Thursday, April 19, 2007 9:25:39 AM Subject: Settting environment variables Hi, I am having a set of ANT build files. I want to change "Path" and "include" environment variables only in build file. I tried the following options to reset "include" variable in the build file. 1. 2. 3. 4. When I tried to echo "include" variable in the same build file, it is still showing the default old settings. Is there any other way to modify the environment variables only for some instance and not for other? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: If one execution is failed
, , >-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 - >From: <[EMAIL PROTECTED]> >To: >Sent: Friday, April 20, 2007 12:22 PM >Subject: AW: If one execution is failed > >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 about it. How I may >>get this info? >>Note that all >can't use >>this info. >> >>--- >>Denis Bessmertnyj, >>GUI SoftWeb >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: with ibm jdk ?
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 > > 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. > /* I dont think you need anything special to build with the IBM JDK...try it and see */ sorry when boring again = first calculate then implement, means i wanted to know, whether it's better to use ibm jdk with exec or if it's better to write a compiler adapter class, as manual says = "... Valid values for either the build.compiler property or the compiler attribute are: ... " and ibm jdk is not contained. So i have to use exec or write a compiler adapter, no ? And i asked because i never wrote such a task, are there any extras, what must / should be implemented in such a task. Or is it even simpler ? Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: with ibm jdk ?
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 them outside of RAD or not, though. http://publib.boulder.ibm.com/infocenter/radhelp/v6r0m1/index.jsp?topic= /com.ibm.etools.j2eeapp.doc/topics/tantproj.html That will get you in the general area. We actually use this for all of our autobuilds, though somewhat heavily customized. Works nicely. */ thanks for the pointer ! i once tried headless builds with eclipse 2.1 but forgot that option ;-) Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tag inside some other tag(cvs)
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: hi shankar, thanks for u r help.but while creating the tag it is saying that as "[cvs] cvs [rtag aborted]: tag must not contain the characters `$,.:;@'" iam using windows xp professional o/s and wincvs,eclipse if u have already resolved this issue,please give me the reply.. iam waiting for u r reply thanks, prasad Shankar S <[EMAIL PROTECTED]> wrote: Prasad, Why don't you just do this? cvstag.name} ${module.name}" /> If you are not clear with this then read about CVS tags by doing a quick Google. On 4/20/07, prasad kumar wrote: > > hi Tanguy, > > http://www.wincvs.org/wincvs_app.png > > from what ur showing in the picture,let us assume 'cvsgui' is module > name in HEAD tag.then i updated the 'cvsgui' module with clean copy option > from HEAD tag.ofter getting clean copy of 'cvsgui',i create the tag(let us > assume build_xxx) as follows: > > remote---> create a tag by module-->tag name-->change from uncheck to > check "Overwrite existing existing tags with the same name"-->click ok > > why iam creating because to maintain all version of files in the > particular tag(build_xxx).with cvs it is possible 'One version of a file can > have multiple tags' > like above. > > then come to ant,with ant i have written code to take fresh checkout > > > > cvs.package}" dest=".." tag="HEAD" /> > > > but from above it will take fresh checkout with existing(already > created) tag.i.e from HEAD. > > but i require to maintain all version of files in the particular > tag(build_xxx) ,ofter creating the this tag i have to take fresh checkout > from this tag(build_xxx). > > is it possible with ant to create new tag to maintain all version of > files in the particular tag(build_xxx)? > > i think there is no option in ant to create new tag,i chekced the ant > docs no option was available. > > if no option is there in ant,please respond becuase i need to give the > report to my superiors as saying "there is no option in ant to create new > tag to maintain all version of files in the particular tag(build_xxx)?" > > if any person knows,respond that's a great appreciation > > thanks, > > prasad > > > > > > RADEMAKERS Tanguy wrote: > Hello Prasad, > > OK, i have checked the WinCvs site, and it seems that WinCvs has a > window (they call it the "browser status window") that shows you which > cvs calls are being made as you use the tool. > > In this picture: > > http://www.wincvs.org/wincvs_app.png > > it is the window at the bottom of the screen showing the text "cvs -z9 > -q" etc etc etc. > > Please carry out the *entire* series of cvs operations you wish to > automate with ant (this means start with a checkout), and copy and paste > the contents of this window (as text!) into a mail *directly to me* at > this address. If i can help you, i will, and i will copy the list on the > solution. > > I am not promising anything! But i will try. > > Regs, > /t > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > Check out what you're missing if you're not on Yahoo! Messenger - Check out what you're missing if you're not on Yahoo! Messenger - Check out what you're missing if you're not on Yahoo! Messenger
apply task -
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 to store srcfile value and targetfile value in properties. e.g.: - a attribute "srcproperty" in which property to store the srcfile value - a attribute "targetproperty" in which property to store the targetfile value thus writing something like this would become possible: and even i miss some echoing for each applied file - e.g. something like inserting all then becomes: in make's Makefile this all would be even more simple: %.in: %.in.done echo "processing file $<" sh $< file://$< $@ best regards! Robert -- HFN-Medien GmbH Robert Schulz Ehlbeek 8 D-30938 Grossburgwedel Tel.: +49 (0) 5139 - 89 79 27 Mobil: +49 (0) 173 - 51 08 769 Mail: [EMAIL PROTECTED] Web:www.hfn-medien.de Testen Sie natürlichsprachliches Dialog Design: H F N - B a l l o n d e m o 0 5 1 3 9 - 8 9 7 9 8 9 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tag inside some other tag(cvs)
/* 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 your keyboard and CAPS Lock ROFL. Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
I want to ref to another build.xml and execute it
Inside thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: If one execution is failed
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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tag inside some other tag(cvs)
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, Gilbert" <[EMAIL PROTECTED]> wrote: 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 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 your keyboard and CAPS Lock No it's no CVS lock (btw. lock means there are files / dirs with leading '.#') The errormessage says all = "[cvs] cvs [rtag aborted]: tag must not contain the characters `$,.:;@'" means your tag contains characaters that are not allowed. there are rules for cvs tags, i.e. the tag must not start with a digit and contain no '.' and so on ... so it looks like the construction of the versionstring goes wrong. get the cvs bible = http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.22/cederqvist-1.11.22. pdf here you'll find all the details you need to know when dealing with cvs Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Check out what you're missing if you're not on Yahoo! Messenger
RE: I want to ref to another build.xml and execute it
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.xml and execute it Inside
Re: Re: Settting environment variables
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: Ninju Bohra <[EMAIL PROTECTED]> Sent: Friday, April 20, 2007 2:21:38 AM Subject: Re: Re: Settting environment variables When I tried to use in and task, build compilation is failing with the following errors. javac doesn't support the nested "sysproperty" element. exec doesn't support the nested "sysproperty" element. It looks like that element is supported only with . But I want to set env variables for and tasks. Can anyone help me ??? On Thu, 19 Apr 2007 Ninju Bohra wrote : >Hello, > >By the time ANT starts, the PATH and INCLUDE environment variables values are >set (by the ant.bat or OS command script) and can not be altered. > >However if one you target needs to start seperate process (, , >, etc...) you can control the value of the enviroment variables that the >child process will have...use the sub element to correct that. > >Hope that make sense > >Ninju > > > >- Original Message > From: query <[EMAIL PROTECTED]> >To: ant >Sent: Thursday, April 19, 2007 9:25:39 AM >Subject: Settting environment variables > > > > >Hi, > >I am having a set of ANT build files. I want to change "Path" and "include" >environment variables only in build file. >I tried the following options to reset "include" variable in the build file. > > >1. > > > >2. > >3. > >4. > > >When I tried to echo "include" variable in the same build file, it is still >showing the default old settings. > >Is there any other way to modify the environment variables only for some >instance and not for other? > >__ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Check if directory is empty or not
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 if a directory is empty or not? Thanks in advance. __ Robert Anderson Sr. System Engineer Nike - Global Trade IT 503-532-6803 Never let me slip, cuz if I slip, then I'm slippin. - Dr. Dre
Re: tag inside some other tag(cvs)
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 saw that error message, we use the ported cvs version --> cvsnt for windows seems to be a bug with your cvs version, googling gave as first match = http://ximbiot.com/cvs/cvshome/cyclic/cvs/dev-y2k.html Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I want to ref to another build.xml and execute it
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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tag inside some other tag(cvs)
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 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 saw that error message, we use the ported cvs version --> cvsnt for windows seems to be a bug with your cvs version, googling gave as first match = http://ximbiot.com/cvs/cvshome/cyclic/cvs/dev-y2k.html Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Geoffrey Mitchell Programmer/Analyst Home Decorator's Collection 314-684-1062 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JUnit task and tests in jars
Hi, I have a lot of jars with JUnit test cases. How I may run them. What is wrong in this approach: Thank you - Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JUnit reports
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 - testSendRequest - passed SecondTestCase - failed - testPutGoods - passed - testGetBusket - failed ... thank you --- Denis Bessmertnyj, GUI SoftWeb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: rookie - problem with xdoclet 2 - ANT doesnt work!!
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 hibernate. That will give more details. The error > maybe because of something else. > > ~ Sabeesh > -- View this message in context: http://www.nabble.com/rookie---problem-with-xdoclet-2---ANT-doesnt-work%21%21-tf3395558.html#a10112181 Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
zip inculded files
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". (just i changed dir to src). i checked the folder properties,it is there in "read only" checked mode i changed to unchecked mode,but ofter some time if iam seeing folder properties it is in read only cheked mode.how can i get the ownership on that particular folder.iam using windows xp professional o/s. My doubt is the problem with folder or ant code? If any person knows to solve this and respond that's a great appreciation thanks, prsasad - Check out what you're missing if you're not on Yahoo! Messenger
zip inculded files
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". (just i changed dir to src). i checked the folder properties,it is there in "read only" checked mode i changed to unchecked mode,but ofter some time if iam seeing folder properties it is in read only cheked mode.how can i get the ownership on that particular folder.iam using windows xp professional o/s. My doubt is the problem with folder or ant code? If any person knows to solve this and respond that's a great appreciation thanks, prsasad - Check out what you're missing if you're not on Yahoo! Messenger
zip inculded files
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". (just i changed dir to src). i checked the folder properties,it is there in "read only" checked mode i changed to unchecked mode,but ofter some time if iam seeing folder properties it is in read only cheked mode.how can i get the ownership on that particular folder.iam using windows xp professional o/s. My doubt is the problem with folder or ant code? If any person knows to solve this and respond that's a great appreciation thanks, prsasad - Check out what you're missing if you're not on Yahoo! Messenger
zip inculded files
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". (just i changed dir to src). i checked the folder properties,it is there in "read only" checked mode i changed to unchecked mode,but ofter some time if iam seeing folder properties it is in read only cheked mode.how can i get the ownership on that particular folder.iam using windows xp professional o/s. My doubt is the problem with folder or ant code? If any person knows to solve this and respond that's a great appreciation thanks, prsasad - Check out what you're missing if you're not on Yahoo! Messenger
Re: Check if directory is empty or not
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 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 if a directory is empty or not? Thanks in advance. __ Robert Anderson Sr. System Engineer Nike - Global Trade IT 503-532-6803 Never let me slip, cuz if I slip, then I'm slippin. - Dr. Dre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What is $.. ?
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 [echo] $..\AntLog.log [echo] c:\Projects\$.. The first three echoes would make sense to me if $.. indicated the current directory, but a single dot does that. What's the difference? The fourth echo doesn't make sense to me at all... Douglas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]