Re: Warning: selected war files include a WEB-INF/web.xml whichwill be ignored (please use webxml attribute to war task)

2007-04-27 Thread Denis Bessmertnyj
Hi Frank. It doesn't work. - Original Message - From: "Frank Harnack" <[EMAIL PROTECTED]> To: Sent: Friday, April 27, 2007 9:54 AM Subject: Re: Warning: selected war files include a WEB-INF/web.xml whichwill be ignored (please use webxml attribute to war task) Hello Denis, shou

Re: Warning: selected war files include a WEB-INF/web.xml whichwill be ignored (please use webxml attribute to war task)

2007-04-27 Thread Frank Harnack
Hi Denis, it works for me with ant 1.6.4 . ??? Regards Frank Quoting Denis Bessmertnyj <[EMAIL PROTECTED]>: Hi Frank. It doesn't work. - Original Message - From: "Frank Harnack" <[EMAIL PROTECTED]> To: Sent: Friday, April 27, 2007 9:54 AM Subject: Re: Warning: selected war fi

AW: How to set the next week start date

2007-04-27 Thread Jan.Materne
For which system you need to set the date? Jan >-Ursprüngliche Nachricht- >Von: Satheesh [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 27. April 2007 11:51 >An: Ant Users List >Betreff: How to set the next week start date > >Hi Guys, If i want to set the current date its possible in ANT

Re: How to set the next week start date

2007-04-27 Thread Satheesh
Am using certain parameters in my Test Case. This will get replaced with the values in the build.xml files. Am using tokens for Current Date and Others stuffs. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, April 27, 2007 3:28 PM Subject: AW: How to set the next week sta

Ant: URI has an authority component

2007-04-27 Thread Denis Bessmertnyj
Hi All, Ant in Anger. Here is my simple build.xml Hello, Hello I attach the next jars ant-1.7.0.jar;ant-launcher-1.7.0.jar;catalina-ant.jar;activation.jar;ant-javamail-1.7.0.jar;junit.jar;ant-junit-1.7.0.jar; And I receive BUILD FAILED java.lang.IllegalArgumentException: URI

Re: Ant: URI has an authority component

2007-04-27 Thread Steve Loughran
Denis Bessmertnyj wrote: Hi All, Ant in Anger. Here is my simple build.xml Hello, Hello I attach the next jars ant-1.7.0.jar;ant-launcher-1.7.0.jar;catalina-ant.jar;activation.jar;ant-javamail-1.7.0.jar;junit.jar;ant-junit-1.7.0.jar; And I receive BUILD FAILED java.lang.

Re: Ant: URI has an authority component

2007-04-27 Thread Denis Bessmertnyj
Steve, current directory. I just make a test in order to run Ant via Java - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Friday, April 27, 2007 1:50 PM Subject: Re: Ant: URI has an authority component Denis Bessmertnyj wrote: Hi All, A

Re: Ant: URI has an authority component

2007-04-27 Thread Denis Bessmertnyj
Here what I do in batch file set ANT_CLASSPATH=%JCLASSES_LIB_DIR%\ant-1.7.0.jar;%JCLASSES_LIB_DIR%\ant-launcher-1.7.0.jar;%JCLASSES_LIB_DIR%\xercesImpl-2.9.0.jar;%JCLASSES_LIB_DIR%\xml-apis-1.3.04.jar;%JCLASSES_LIB_DIR%\xml-resolver-1.2.jar;%JCLASSES_LIB_DIR%\xml-serializer-2.7.1.jar call java

Re: Ant: URI has an authority component

2007-04-27 Thread Steve Loughran
Denis Bessmertnyj wrote: Hi All, Ant in Anger. Here is my simple build.xml Hello, Hello I attach the next jars ant-1.7.0.jar;ant-launcher-1.7.0.jar;catalina-ant.jar;activation.jar;ant-javamail-1.7.0.jar;junit.jar;ant-junit-1.7.0.jar; And I receive BUILD FAILED java.lang.

Re: Ant: URI has an authority component

2007-04-27 Thread Denis Bessmertnyj
Here is %JCLASSES_LIB_DIR% variable value (maybe it will be helpful) \\PC03\jclasses\lib Here is %ANT_CLASSPATH% set ANT_CLASSPATH=%JCLASSES_LIB_DIR%\ant-1.7.0.jar;%JCLASSES_LIB_DIR%\ant-launcher-1.7.0.jar;%JCLASSES_LIB_DIR%\xercesImpl-2.9.0.jar;%JCLASSES_LIB_DIR%\xml-apis-1.3.04.jar;%JCLASSES_L

Ant BUG?: URI has an authority component

2007-04-27 Thread Denis Bessmertnyj
Steve, I have had a talk with my PM and he told me that he also had this bug with ant. 1.7 doesn't want to work with network resources. - Denis - Original Message - From: "Denis Bessmertnyj" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Friday, April 27, 2007 2:16 PM Subject: Re:

RE: How to set the next week start date

2007-04-27 Thread Rebhan, Gilbert
Hi, quick hack =

Re: Ant: URI has an authority component

2007-04-27 Thread Steve Loughran
Denis Bessmertnyj wrote: Here is %JCLASSES_LIB_DIR% variable value (maybe it will be helpful) \\PC03\jclasses\lib Here is %ANT_CLASSPATH% set ANT_CLASSPATH=%JCLASSES_LIB_DIR%\ant-1.7.0.jar;%JCLASSES_LIB_DIR%\ant-launcher-1.7.0.jar;%JCLASSES_LIB_DIR%\xercesImpl-2.9.0.jar;%JCLASSES_LIB_DIR%\xml-a

RE: How to set the next week start date

2007-04-27 Thread Rebhan, Gilbert
to quick ;-) corrected =

Re: Ant BUG?: URI has an authority component

2007-04-27 Thread Steve Loughran
Denis Bessmertnyj wrote: Steve, I have had a talk with my PM and he told me that he also had this bug with ant. 1.7 doesn't want to work with network resources. - Denis well, expect some fix in Ant1.7.1. In the meantimes, I think something may be doable about your batch file. If you mou

RE: How to set the next week start date

2007-04-27 Thread cknell
On what day (for your purposes) does a week start? Will you take holidays into account? If so, what country's holidays will figure in? Are there any local holidays that should be taken into account? -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Satheesh <[EMAI

Re: How to set the next week start date

2007-04-27 Thread Ninju Bohra
Have you looked at the task (http://ant.apache.org/manual/CoreTasks/tstamp.html) Maybe something like: Also when you say 'set the current date' what does that mean? Do you want to set on the OS, in an application or to a ANT property? If you want to calculate what '7 days from

predefined system properties?

2007-04-27 Thread Denis Bessmertnyj
Does ant have predefined system properties? For example, I want to get current dir name. How I may do it? thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Perform a task for every folder from the file.

2007-04-27 Thread mpr
Hi, I have the file user.properties and inside a paths to folders are defined e.g. C:\Application\PackagingTools4 C:\ApplicationTools2\PackagingTools3 For each folder from user.properties I need to perform an Operation (task). What is the simplest way to do that? At this moment I do: [CODE]

Re: Perform a task for every folder from the file.

2007-04-27 Thread Matt Benson
The resourcecollection should be directly passable to . HTH, Matt --- mpr <[EMAIL PROTECTED]> wrote: > > Hi, > > I have the file user.properties and inside a paths > to folders are defined > e.g. > C:\Application\PackagingTools4 > C:\ApplicationTools2\PackagingTools3 > > For each folder from

How I may run junit test cases in packages?

2007-04-27 Thread Denis Bessmertnyj
Hi All, My JUnit Test Cases have the next package structure /root_dir /testcase /component1 /TestComponent1.class /component2 /TestComponent2.class How I may run all this test cases with task. May you give me and example. Take note that Ant need to run

Re: Perform a task for every folder from the file.

2007-04-27 Thread mpr
Hi, Could you provide an example, please? Matt Benson wrote: > > The resourcecollection should be directly > passable to . > > HTH, > Matt > > --- mpr <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> >> I have the file user.properties and inside a paths >> to folders are defined >> e.g. >> C:\

Re: How I may run junit test cases in packages?

2007-04-27 Thread Donald McLean
Ok, this is just a wild guess, but is this where you would use something like: Donald Denis Bessmertnyj wrote: Hi All, My JUnit Test Cases have the next package structure /root_dir /testcase /compone

Re: How I may run junit test cases in packages?

2007-04-27 Thread Denis Bessmertnyj
Here is my code And I receive TestCase SimplyTest Name Status Type Time(s) testcases.component1.SimplyTest java.lang.ClassNotFoundException: testcases.component1.SimplyTest at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileg

Re: Perform a task for every folder from the file.

2007-04-27 Thread Matt Benson
--- mpr <[EMAIL PROTECTED]> wrote: > > Hi, > > Could you provide an example, please? > foo${br}bar${br}baz${br} @@[EMAIL PROTECTED] -Matt > > > Matt Benson wrote: > > > > The resourcecollection should be directly > > passable to . > > > > H

Re: How I may run junit test cases in packages?

2007-04-27 Thread Donald McLean
What is the full class name of "SimplyTest"? If it is "component1.SimplyTest", then you would probably have to use: If that doesn't work then it may be necessary to specify each package seperately:

Re: Perform a task for every folder from the file.

2007-04-27 Thread mpr
I get The type doesn't support the nested "antlib:net.sf.antcontrib:tokens" element. What version ant-contrib.jar should I have? Matt Benson wrote: > > > --- mpr <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> >> Could you provide an example, please? >> > > > > foo${br}bar${br}baz${br

Re: Perform a task for every folder from the file.

2007-04-27 Thread Matt Benson
I can't recall when AC last had a release; you might have to build from the current source, wherein can handle any type that returns an Iterator. -Matt --- mpr <[EMAIL PROTECTED]> wrote: > > I get > The type doesn't > support the nested > "antlib:net.sf.antcontrib:tokens" element. > > What

classpath value have been ignored.

2007-04-27 Thread Chun Ji
I have such things in my build.xml, " ", which is supposed to do a jsp precompile work. ( it is suggested by the tomcat 5.5). And I thought when I run "ant jspc", it will include the classpath value that I have set for "j

redirect file output to console

2007-04-27 Thread Josh Lubell
Is there an easy way to cause output from an Ant task that is normally written to a file to be written to the console instead? Specifically I would like XML transformation result of an xslt task to appear in the Ant output rather than in an output file. Thank you, Josh -- Josh Lubell, NIST Ma

Re: redirect file output to console

2007-04-27 Thread Josh Lubell
I found an answer to my question: use the concat task with a nested fileset. Example: Josh Lubell wrote: Is there an easy way to cause output from an Ant task that is normally written to a file to be written to the console instead? Specifically I would like XML transformation result

Re: How to set the next week start date

2007-04-27 Thread Gilbert Rebhan
Hi, Ninju Bohra wrote: Have you looked at the task (http://ant.apache.org/manual/CoreTasks/tstamp.html) Maybe something like: i tried that on Win2000, with jdk 1.5.0_11 ant 1.6.5 Antversion == ${ant.version} Today == ${TODAY} $

Re: predefined system properties?

2007-04-27 Thread Scot P. Floess
Are you wanting system properties? That's built into Java... Look at System.getProperties() Or http://java.sun.com/docs/books/tutorial/essential/environment/sysprop.html I think you are after: |user.dir| Denis Bessmertnyj wrote: Does ant have predefined system properties? For example, I wa