Re: Copying external file into WAR

2010-02-15 Thread Roman Sokolyuk
You are right!! This is the solution On Mon, Feb 15, 2010 at 6:39 PM, Antoine Levy Lambert wrote: > Is it not possible to have several webinf tags ? > > Antoine > > > Roman Sokolyuk wrote: > >> That's the problem - the *webinf *tag allows you to specify a s

Re: Copying external file into WAR

2010-02-15 Thread Roman Sokolyuk
That's the problem - the *webinf *tag allows you to specify a source folder to become the *webinf *folder in the war - but it assumes everything is already in it. So copying seems like the only option. On Fri, Feb 12, 2010 at 12:36 PM, Moore, Kent wrote: > No need to copy stuff around when creati

Re: Copying external file into WAR

2010-02-12 Thread Roman Sokolyuk
That would work for web.xml - but I would like to copy another, unrelated properties file from an external dir to the WAR's WEB-INF. I looked at the examples in the manual, but maybe I am missing something... On Thu, Feb 11, 2010 at 7:56 PM, Rez P wrote: > > Check out the Ant manual, it has some

Copying external file into WAR

2010-02-11 Thread Roman Sokolyuk
Hi, Could someone please tell me how I can accomplish the following? I want to build a war file. Additionally there is a configuration file that is found outside of the WEB-INF directory, but when that WEB-INF dir is packaged into the war I want to place that config file in WEB-INf in the war - w

Testing if Tomcat is running

2009-05-28 Thread Roman Sokolyuk
Hi, Ant: 1.7.1 OS: Mac OS X Leopard Java: 1.5.0_16 Tomcat: 6 I am using the following ant tasks to stop my Tomcat: but when it is executed and Tomcat is already down it obviously throws an exception. Could anyone suggest how I could test whether Tomcat is running, and execute this ta