Re: Deleting the destfile of a jar/war task

2013-08-16 Thread Stefan Bodewig
On 2013-08-15, Jason Bastek wrote: > Normally I would do this by removing the destfile (whether it's a > symlink or a regular file) before recreating it. But I'm not seeing a > nice way to do this with Ant. There is no built-in way to do it, the dependset approach you showed in the later part of

Deleting the destfile of a jar/war task

2013-08-15 Thread Jason Bastek
Hello, I have several jar (and war) tasks like this: These are pretty basic and they work fine. However in some of my build situations, the destfile isn't a real file but a symbolic link. In those situations I need to break the symlink (causing a new file to be created), rathe

RE: Help with war task

2009-06-04 Thread Moore, Kent
Setup different lib dir definitions in the war task and collect the references from where ever they happen to be: The combined set of references from the three

Re: Help with war task

2009-06-04 Thread Sushim Saini
Hi u can use following to do that i think will work for u -- Sushim On Thu, Jun 4, 2009 at 6:05 PM, Yellen Seram wrote: > Hi all, > > I'm trying to create a war file using the ant war task. > The problem is that I am not aware as to how I

Re: Help with war task

2009-06-04 Thread Chris Green
Treat as two seperate tasks 1. Merging jar's into one directory 2. Create war file On Thu, Jun 4, 2009 at 1:35 PM, Yellen Seram wrote: > Hi all, > > I'm trying to create a war file using the ant war task. > The problem is that I am not aware as to how I can link multiple

Help with war task

2009-06-04 Thread Yellen Seram
Hi all, I'm trying to create a war file using the ant war task. The problem is that I am not aware as to how I can link multiple folder locations to the lib dir inside war. Like for example, I have some jars in one folder and some other jars in some another folder and I want to put the

include dirset in war task

2007-12-19 Thread [EMAIL PROTECTED]
hi all I need to includes a set of jars in WEB-INF/lib. Actually I want to specify in a .properties file the dirset of my jars (jars.folders=c:/foo/lib1;c:/foo/lib2;c:/foo/lib3) and including in the war ant task. Any help? Regards Giovanni

Re: war task question.

2007-12-13 Thread Steve Loughran
Todd Patrick wrote: Please forget me for this question, I've never used the war task before and I'm looking at example at: http://www.java-tips.org/other-api-tips/ant/how-to-use-war-task.html I have a directory labeled "resources" and I have ten .gif files. To include th

war task question.

2007-12-12 Thread Todd Patrick
Please forget me for this question, I've never used the war task before and I'm looking at example at: http://www.java-tips.org/other-api-tips/ant/how-to-use-war-task.html I have a directory labeled "resources" and I have ten .gif files. To include the .gif files, I mus

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
: Re: Warning: selected war files include a WEB-INF/web.xml whichwill be ignored (please use webxml attribute to war task) Hello Denis, should work. Regards Frank Quoting Denis Bessmertnyj <[EMAIL PROTECTED]>: It's Since Ant 1.7, but I use Ant 1.6. - Denis - Original Messa

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

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

2007-04-26 Thread Frank Harnack
t Users List" Sent: Thursday, April 26, 2007 7:30 PM Subject: Re: Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task) attribute needxmlfile="true" (to require web.xml for war task) HTH M-- This email message and an

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

2007-04-26 Thread Denis Bessmertnyj
l be ignored (please use webxml attribute to war task) attribute needxmlfile="true" (to require web.xml for war task) HTH M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. I

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

2007-04-26 Thread Martin Gainty
attribute needxmlfile="true" (to require web.xml for war task) HTH M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, ple

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

2007-04-26 Thread Denis Bessmertnyj
Hi, how I may escape this warning message in War task [war] Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task) Here my war task As you see I have webxml attribute and it refs correctly. But in web application files in

Re: [SEC=UNCLASSIFIED] war task add folders that be should avoid/ignore it

2007-03-07 Thread dr_pompeii
t; my build.xml are located in >> >> [code] >> myapp >> WEB-INF >> build.xml >> [/code] >> >> this is my war task target >> >> [code] >> >> >> >> >>

Re: war task add folders that be should avoid/ignore it

2007-03-07 Thread Steve Loughran
dr_pompeii wrote: Hi guys i have a problem with ant [b]war[/b] task my build.xml are located in [code] myapp WEB-INF build.xml [/code] this is my war task target [code] [/code

war task add folders that be should avoid/ignore it

2007-03-06 Thread dr_pompeii
Hi guys i have a problem with ant [b]war[/b] task my build.xml are located in [code] myapp WEB-INF build.xml [/code] this is my war task target [code] [/code] where [b][/b] well the

AW: War task documentation update about winzip

2006-07-28 Thread Jan.Materne
17:31 >An: Ant Users List >Betreff: War task documentation update about winzip > >At the very bottom of the war task page is a remark about >winzip not allowing all uppercase directory names. > >Winzip has an option allowing all uppercase names (which is >off by defaul

War task documentation update about winzip

2006-07-26 Thread Master, Tariq \(Abbeywood\)
At the very bottom of the war task page is a remark about winzip not allowing all uppercase directory names. Winzip has an option allowing all uppercase names (which is off by default!). It can be enabled by: Menu "Options" -> "Configuration", "View" property/t

Re: perculiar war task issue

2006-04-17 Thread Antoine Levy-Lambert
Stan Ou wrote: thanks for your reply. But the list of directories is about 20 to 25 folders long and can grow. maintaining that list in the war task is probably the last thing I would do if all others fail. I want something a bit more maintaince-friendly. --- Antoine Levy-Lambert <[EM

Re: perculiar war task issue

2006-04-17 Thread Stan Ou
thanks for your reply. But the list of directories is about 20 to 25 folders long and can grow. maintaining that list in the war task is probably the last thing I would do if all others fail. I want something a bit more maintaince-friendly. --- Antoine Levy-Lambert <[EMAIL PROTECTED]>

Re: perculiar war task issue

2006-04-17 Thread Antoine Levy-Lambert
But I want it to be: xyz_html\aaa.jsp abc_html\aaa.jsp ddd_html\aaa.jsp Is this doable with the war task? thanks. any help is really appreciated. stan __ Antoine ---

perculiar war task issue

2006-04-17 Thread Stan Ou
with the war task? thanks. any help is really appreciated. stan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---

RE: WAR task in ANT

2006-03-24 Thread Ruth Lydia Samuel
ntent part of it. Any pointers would be greatly appreciated. Thanks, Lydia. -Original Message- From: Naveen Kumar A.H [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 2:12 PM To: Ant Users List Subject: Re: WAR task in ANT Use Nested elements ... Here it is with war task..

Re: WAR task in ANT

2006-03-24 Thread Naveen Kumar A.H
Use Nested elements ... Here it is dir="${src.dir}" prefix="src" /> with war task.. src.dir is java source... prefix is the driectory in which u want to place eg:- if u want source in web-inf/src then use prefix as prefix="web-inf/src" ,i hope it will so

RE: WAR task in ANT

2006-03-23 Thread Ruth Lydia Samuel
/ directory rather than javacontent/ directory. Thanks, Lydia. -Original Message- From: Naveen Kumar A.H [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 7:25 PM To: Ant Users List Subject: Re: WAR task in ANT Hi ur problem is not clear if u want to place .class files into web-i

Re: WAR task in ANT

2006-03-23 Thread Naveen Kumar A.H
Hi ur problem is not clear if u want to place .class files into web-inf/classes folder use Nested elements ... regards Naveen - Original Message - From: "Ruth Lydia Samuel" <[EMAIL PROTECTED]> To: Sent: Thursday, March 23, 2006 7:13 PM Subject: WAR task in ANT

WAR task in ANT

2006-03-23 Thread Ruth Lydia Samuel
Hi, I'm having issues using the WAR task in ANT when i try to bundle the source(.java) files also. It bundles the files. But if i try to export it into my webproject, all the source files get extracted to the webcontent part of the webproject rather than the javacontent. S

Ant war task

2006-02-15 Thread General Email
Hi, I have a war task and I'm specifing the required libs with: Where classpath is a path id specifing the locations of the required library files. However, Ant does not like this and complains that classpath is not a fileset (which it isn't) but why would th

Re: War task

2006-01-25 Thread Steve Loughran
Sommers, Elizabeth wrote: I am trying to build a war. The files that should be included in the lib are in a fileset defined by ... I can't figure out how to include this. I am getting an error of managed.class.path doesn't denote a zipfileset

RE: War task

2006-01-24 Thread Burgess, Benjamin
y, January 24, 2006 1:09 PM To: 'user@ant.apache.org' Subject: War task I am trying to build a war. The files that should be included in the lib are in a fileset defined by ... I can't figure out how to include this.

War task

2006-01-24 Thread Sommers, Elizabeth
I am trying to build a war. The files that should be included in the lib are in a fileset defined by ... I can't figure out how to include this. I am getting an error of managed.class.path doesn't denote a zipfileset or a fileset My war targ

RE: War task to include multiple lib files?

2005-08-30 Thread Burgess, Benjamin
From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 2005 2:12 AM To: Ant Users List Subject: Re: War task to include multiple lib files? On 30/08/05, wolverine my <[EMAIL PROTECTED]> wrote: > > Hi! > I'm using Ant 1.6.5 and I have the following Ant task: &

Re: War task to include multiple lib files?

2005-08-29 Thread Petar Tahchiev
On 30/08/05, wolverine my <[EMAIL PROTECTED]> wrote: > > Hi! > I'm using Ant 1.6.5 and I have the following Ant task: > http://app.name> > }.war" > webxml="${ > web.dir}/WEB-INF/web.xml"> > > > > > > > > > > The Ant task is executed successfully but there is no WEB-INF/

War task to include multiple lib files?

2005-08-29 Thread wolverine my
Hi! I'm using Ant 1.6.5 and I have the following Ant task: http://app.name>}.war" webxml="${ web.dir}/WEB-INF/web.xml"> The Ant task is executed successfully but there is no WEB-INF/lib archived in the WAR file. However if I delete "b.jar" from the then the WAR will contains WEB-INF

AW: Basedir attribute in the war task

2005-07-15 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Petar Tahchiev [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 15. Juli 2005 14:11 >An: user@ant.apache.org >Betreff: Basedir attribute in the war task > >Hello people, >I have the next problem: I want to make a war file from

Basedir attribute in the war task

2005-07-15 Thread Petar Tahchiev
Hello people, I have the next problem: I want to make a war file from the next file structure: basedir\ |- WEB-INF |-lib |-html |-JSPs |-Other stuff |-src and all I want is to use the war task with basedir attribute set to ${basedir}, but excluding the src directory(it should not appear in the

RE: Need help creating a WAR task

2005-06-28 Thread Dominique Devienne
> From: Paul Goepfert [mailto:[EMAIL PROTECTED] > > I am creating a WAR task in my build.xml file. How do I move two > configuration xml files that are not my web.xml file to my war file? I > would like to have these files in a dir called conf within the WEB-INF > file. I

Need help creating a WAR task

2005-06-28 Thread Paul Goepfert
Hi all, I am creating a WAR task in my build.xml file. How do I move two configuration xml files that are not my web.xml file to my war file? I would like to have these files in a dir called conf within the WEB-INF file. -Paul

RE: war task webxml attribute

2005-01-14 Thread Durham David R Jr Contr 805 CSPTS/SCE
gt; Subject: RE: war task webxml attribute > > > The excludesFile attribute specifies the name of a file > > containing the names of files to be excluded > > Ok, yeah. That's kind of important. I tried excludes, and it still > outputs a warning. > >

RE: war task webxml attribute

2005-01-14 Thread Durham David R Jr Contr 805 CSPTS/SCE
> The excludesFile attribute specifies the name of a file > containing the names of files to be excluded Ok, yeah. That's kind of important. I tried excludes, and it still outputs a warning.

RE: war task webxml attribute

2005-01-14 Thread Harkness, David
Durham David R Jr penned > That doesn't work for me. This: > > webxml="${prototype.src.web-inf}/web.xml" > excludesfile="${prototype.src.web-inf}/web.xml"> > > > > The excludesFile attribute specifies the name of a file contai

RE: war task webxml attribute

2005-01-14 Thread Durham David R Jr Contr 805 CSPTS/SCE
/web.xml which will be ignored (please use webxml attribute to war task) Thanks for the response, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: war task webxml attribute

2005-01-13 Thread Stefan Bodewig
On Thu, 13 Jan 2005, Durham David R. Jr Contr <[EMAIL PROTECTED]> wrote: > Should the webxml attribute be required? Yes. Isn't it? > For one, you can leave it empty and the wars work Which may be due to the parahraph below. > Also, I get an annoying warning about a web.xml being ignored. Whi

war task webxml attribute

2005-01-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
Should the webxml attribute be required? For one, you can leave it empty and the wars work (at least in Tomcat -- not sure if that complies with the spec.) Also, I get an annoying warning about a web.xml being ignored. Any way to suppress this warning, or should I be using a different task? Th

RE: ant war task bug?

2004-04-07 Thread Keith Hatton
>> Also, I was under the impression that the standard WEB-INF directory must be in upper case, but the ant war task changes it to lower case. Is this related to my problem? Does it matter? << WEB-INF is correct, and that is what Ant does. But be aware that WinZip often displays this

ant war task bug?

2004-04-07 Thread Riaan Oberholzer
setup my log4j loggers. However, I get a nullpointer exception which traced back to the file not being found. Now the weird thing: if I unpack the ear & war with pkunzip and zip it up together again (without changing anything), then deploy the app, it works! It seems as though the ant war task som