RE: war task question

2003-02-05 Thread Shapira, Yoav
>-Original Message- >From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, February 05, 2003 2:18 AM >To: [EMAIL PROTECTED] >Subject: Re: war task question > >On Tue, 4 Feb 2003, Yoav Shapira <[EMAIL PROTECTED]> wrote: > >> I have the following source org

Re: war task question

2003-02-04 Thread Stefan Bodewig
On Tue, 4 Feb 2003, Yoav Shapira <[EMAIL PROTECTED]> wrote: > I have the following source organization I'd like to get into a war > file: > > /lib/jar1.jar > /lib/jar2.jar > /lib/jar3.jar > /build/myjar1.jar > /build/myjar2.jar > /images/image1.gif > /images/image2.gif > /config/web.xml > /config

RE: war task question

2003-02-04 Thread Wey, Gerald
Yoav: Are you creating a staging directory? If your "createWar" target creates a staging directory you can copy whichever .jars that you want into the WEB-INF\lib directory that you choose to put there. Then call the war task, and set the base directory to the staging directory a

RE: war task question

2003-02-04 Thread Shapira, Yoav
Hi, Thanks. I'd read that documentation (and anything else I could find on the war task), as well as searched the list archives, prior to posting my question. One problem is that I have my build results in a jar file, not class files. I don't know anything to go into the /WEB-I

RE: war task question

2003-02-04 Thread Scott Francis
I would recommend looking at the documentation for Ant under the war task...they have an example that is very similar to your question. I've cut-n-pasted it for ease of finding it. Examples Assume the following structure in the project's base directory: thirdparty/libs/jdbc1.jar

war task question

2003-02-04 Thread Shapira, Yoav
jars in the lib directory except one, and the jars in the build directory, to go into the /WEB-INF/lib directory of the war file. The other files (html, images, config/otherConfiguration.prop) should just go under the war root directory (not under WEB-INF). I'm using Ant 1.5.1. My war tas

Re: Copying .properties files into to classes directory using the war task

2003-01-14 Thread Laurence Mastrorillo
This is the way I do it : . Laurence "Markus M. May" a écrit : > Hello, > I don't think, that you can use the WAR Task to copy a file. But what about > the copy task? It is implemented without any restrictions to the underlying > OS, so that you can use it on

Re: Copying .properties files into to classes directory using the war task

2003-01-14 Thread Erik Hatcher
is simply a fileset. All filesets and all Ant datatypes support id/refid constructs. See Ant's documentation: http://jakarta.apache.org/ant/manual/using.html#references I could plug my book here too, but I'll refrain! :) Erik On Tuesday, January 14, 2003, at 10:30 AM, White, Joshua A (

RE: Copying .properties files into to classes directory using the war task

2003-01-14 Thread White, Joshua A (AG, COMM)
:Re: Copying .properties files into to classes directory using the war task White, Joshua A (AG, COMM) wrote: > Erik, > > As far as I know, the element only copies .class files. Any other > suggestions? Not true, it'll include any file. -chris > Joshua > &

Re: Copying .properties files into to classes directory using the war task

2003-01-14 Thread Erik Hatcher
On Tuesday, January 14, 2003, at 10:19 AM, White, Joshua A (AG, COMM) wrote: Erik, As far as I know, the element only copies .class files. Any other suggestions? Joshua Did you *try* it?! :) is just a fileset and simply places whatever you hand it into WEB-INF/classes. I use this myse

RE: Copying .properties files into to classes directory using the war task

2003-01-14 Thread Keith Hatton
E: Copying .properties files into to classes directory using the war task Erik, As far as I know, the element only copies .class files. Any other suggestions? Joshua -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 9:37 AM To:

RE: Copying .properties files into to classes directory using the war task

2003-01-14 Thread White, Joshua A (AG, COMM)
classes directory using the war task To put a file in the WEB-INF/classes directory using simply use a nested element. Erik On Tuesday, January 14, 2003, at 09:30 AM, White, Joshua A (AG, COMM) wrote: > Hello, > > I am using the war task to create the war file for

Re: Copying .properties files into to classes directory using the war task

2003-01-14 Thread Markus M . May
Hello, I don't think, that you can use the WAR Task to copy a file. But what about the copy task? It is implemented without any restrictions to the underlying OS, so that you can use it on Windows as well as on Linux and other OSes. Greets Markus > Hello, > > I am using the war

Re: Copying .properties files into to classes directory using the war task

2003-01-14 Thread Erik Hatcher
To put a file in the WEB-INF/classes directory using simply use a nested element. Erik On Tuesday, January 14, 2003, at 09:30 AM, White, Joshua A (AG, COMM) wrote: Hello, I am using the war task to create the war file for my struts application. I would like to copy a .property file

Copying .properties files into to classes directory using the war task

2003-01-14 Thread White, Joshua A (AG, COMM)
Hello, I am using the war task to create the war file for my struts application. I would like to copy a .property file into the WEB-INF/classes directory. Is there a way to do this using the war task? If not, any other suggestions? Regards, Joshua White This communication, including

Re: problem with war task....

2002-11-21 Thread Adam Mlodzinski
"destfile" was introduced in Ant 1.5. In Ant 1.4, if I remember correctly, it would have been "warfile". While "warfile" should work for both versions, "destfile" will only work if you run Ant 1.5. pavan kumar wrote: Hello All, I have a problem using war taks. This is the error i am getting

Re: problem with war task....

2002-11-21 Thread Jacob Kjome
Check the Ant docs for the war task. This is just a matter of looking at the reference: http://jakarta.apache.org/ant/manual/index.html Jake At 12:14 PM 11/21/2002 +, you wrote: Hello All, I have a problem using war taks. This is the error i am getting : D:\testweb\build.xml:13: Class

problem with war task....

2002-11-21 Thread pavan kumar
Hello All, I have a problem using war taks. This is the error i am getting : D:\testweb\build.xml:13: Class org.apache.tools.ant.taskdefs.War doesn't support the "destfile" attribute This is my build.xml file ** i go

RE: war task : web-inf

2002-10-30 Thread Keith Hatton
haele Giordan [mailto:rgiordan@;sopragroup.com] Sent: 30 October 2002 10:01 To: 'Ant Users List' Subject: war task : web-inf Hi, i 'am using ant 5 on win 2000 and i encounter the following pb : my war tasks is : and it cr

war task : web-inf

2002-10-30 Thread Raphaele Giordan
Hi, i 'am using ant 5 on win 2000 and i encounter the following pb : my war tasks is : and it creates a web.xml file under the directory web-inf in place of WEB-INF (as i can see when opening the war file in winzip). That should be ok if

Re: war task

2002-05-23 Thread Steve Loughran
- Original Message - From: "Marc Logemann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 23, 2002 12:33 AM Subject: Re: war task > Hi, > > >> the online docs are for ant1.5beta1; as they say in big letters on the > >> sta

Re: war task

2002-05-23 Thread Marc Logemann
Hi, >> the online docs are for ant1.5beta1; as they say in big letters on the >> start >> page "if this is not your version, all bets are off" >> ohh yeah. Now i also see the note of 1.5 in the manual. Seems that you guys are really quick in upgrading online docs to beta versions :) > Marc, you

Re: war task

2002-05-22 Thread Conor MacNeill
Steve Loughran wrote: > > Marc, > > the online docs are for ant1.5beta1; as they say in big letters on the start > page "if this is not your version, all bets are off" > Marc, you could upgrade to the beta, test it and let us know of any problems :-) Conor -- To unsubscribe, e-mail:

Re: war task

2002-05-22 Thread Steve Loughran
- Original Message - From: "Marc Logemann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 5:08 AM Subject: war task Hi, >i am quite new to ant and so i randomly read the docs on >http://jakarta.apache.org/ant/manual/index.html >

war task

2002-05-22 Thread Marc Logemann
Hi, i am quite new to ant and so i randomly read the docs on http://jakarta.apache.org/ant/manual/index.html In trying to create a WAR file, i encountered that the attribute "destfile" is not working (anymore!?). After checking the JAR task, i tried to use "warfile" instead... with success. So

Re: Question about war task and file renameing

2002-05-09 Thread Diane Holt
Copy all the files you specifically want included in your release into your build tree and package them from there -- and in that process copy the log4j-dist.xml to log4j.xml instead. I never ever package from a source tree, especially with wildcards -- you never know *what* might be in there. Di

Re: war task and webinf

2002-03-12 Thread Warner Onstine
Thanks! That did the trick! -warner - Original Message - From: "Paul Cody" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 8:49 PM Subject: RE:

RE: war task and webinf

2002-03-12 Thread Paul Cody
> > If I do this: > > > > > > > > > If I am correct this will copy everything in ${conf.dir} into WEB-INF > (unless I am completely unclear on how the task works =) and the > file.properties file into WEB-INF as well. > > Now if treats differently it should

Re: war task and webinf

2002-03-12 Thread Warner Onstine
d how would I tell the task explicitly which folder to put it in? -warner - Original Message - From: "Paul Cody" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 8:12 PM Subject: RE: war task and webinf

RE: war task and webinf

2002-03-12 Thread Paul Cody
> > But doesn't that just shove everything into WEB-INF ? > Yes, but since its a fileset, you tell how much to shove with nested and tags. Paul -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: war task and webinf

2002-03-12 Thread Warner Onstine
But doesn't that just shove everything into WEB-INF ? -warner - Original Message - From: "Paul Cody" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 8:00 PM Subject: RE: war task

RE: war task and webinf

2002-03-12 Thread Paul Cody
Use a nested fileset. Paul > -Original Message- > From: Warner Onstine [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 12, 2002 7:07 PM > To: [EMAIL PROTECTED] > Subject: war task and webinf > > > Hi all, > I am getting ready to try the war task for the

war task and webinf

2002-03-12 Thread Warner Onstine
Hi all, I am getting ready to try the war task for the first time and have run into a twist. My WEB-INF dir has a conf subdirectory. Within the war task I couldn't find a way to make a webinf subdirectory. Classes and lib are done through custom tags, do I need to do the same for WEB-INF