Re: Copying external file into WAR

2010-02-15 Thread Roman Sokolyuk
t;> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >&

Re: Copying external file into WAR

2010-02-15 Thread Antoine Levy Lambert
om] Sent: Friday, February 12, 2010 12:23 PM To: Ant Subject: RE: Copying external file into WAR Then maybe you could accomplish it by doing a copy command. Copy the file from its source to where you stage the war file, either before you execute the war task or within the war task. After I usuall

Re: Copying external file into WAR

2010-02-15 Thread Roman Sokolyuk
> > > > > > -Original Message----- > From: Rez P [mailto:pon...@hotmail.com] > Sent: Friday, February 12, 2010 12:23 PM > To: Ant > Subject: RE: Copying external file into WAR > > > Then maybe you could accomplish i

RE: Copying external file into WAR

2010-02-13 Thread Moore, Kent
010 12:23 PM To: Ant Subject: RE: Copying external file into WAR Then maybe you could accomplish it by doing a copy command. Copy the file from its source to where you stage the war file, either before you execute the war task or within the war task. After I usually run my clean target, I do all

RE: Copying external file into WAR

2010-02-12 Thread Rez P
helps. > Date: Fri, 12 Feb 2010 07:37:08 -0500 > Subject: Re: Copying external file into WAR > From: romsok.t...@gmail.com > To: user@ant.apache.org > > That would work for web.xml - but I would like to copy another, unrelated > properties file from an external dir to the WAR&#x

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

RE: Copying external file into WAR

2010-02-11 Thread Rez P
Check out the Ant manual, it has some examples. In the excerpt below, all you have to do in the war task is to change the location or path of the webxml attribute. If the web.xml is outside of your project in a higher heirachy than your project, all you have to do is to type the absolute path,