Failure to have properties detected from property files within Eclipse for running/debugging

2007-02-26 Thread Robert Segal
Having some issues debugging with Eclipse and ANT. I have some build scripts setup which makes use of properties files which refer to other properties in that same file. So something like this... myPropA = "propertyA" myPropB = ${myPropA}/propertyB When I am running build scripts through the co

RE: Get copied fileset

2007-02-26 Thread James Oltmans
I found a way around it, use pathconvert. This does turn the fileset or direst into a property but that can still be used in an ant-contrib foreach. The real magic is in the tag it remaps the names from the 'from' location to the 'to' location.

ANT Logs

2007-02-26 Thread Res Pons
Could someone please tell me if doing this on a linux box ant clean build > build.log Instead of, ant -l $HOME/build.log clean build Is a good or bad idea? What're the problems with using direction commands to capture ant's log? Thanks. _

Re: Adding optional tasks classpath from build.xml?

2007-02-26 Thread Omry Yadan
This looks exactly like what I was looking for, will check it tommorow. thanks! Peter Reilly wrote: > For the antlr optional task, one can use the element to > specify > the location of the antlr jar file, so the following will work for Ant > 1.6.5 and > ant 1.7.0: > > > > out

AW: How to best create environment specific properties in an applications property file using ANT

2007-02-26 Thread Jan.Materne
Try the xml tasks (see external tasks page). Jan >-Ursprüngliche Nachricht- >Von: Eric Wood [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 26. Februar 2007 16:38 >An: Ant Users List >Betreff: RE: How to best create environment specific >properties in an applications property file using A

RE: How to best create environment specific properties in an applications property file using ANT

2007-02-26 Thread Eric Wood
This is for a utility/tool called hibernate that we are incorporating into our application and it uses a configuration file called hibernate.cfg.xml that I do not think that I can split. I'm currently using the expandproperties filterread along with loadfile to load the environment specific set

AW: How to best create environment specific properties in an applications property file using ANT

2007-02-26 Thread Jan.Materne
I would split the properties (build.propeties, prod.propeties, test.properties, ...) and load two of them: (prod,test,dev...) build.properties contains all properties and in the other files you could overwrite (that's why it's loaded first) specific values. Jan >-Ursprüngliche Nachri

How to best create environment specific properties in an applications property file using ANT

2007-02-26 Thread Eric Wood
Folks: I'm looking at how to best create different copies of an application property file using ANT. I have a property file that contains two sections: one section with environment specific settings that will vary as it is deployed across test, QA, and production servers and one section that is c

Re: JSP precompile with taglib files in a jar file

2007-02-26 Thread Steve Loughran
Volker Hoss wrote: Hi, I am using the following jspC task call in a WebSphere build environment to validate the JSP pages: ${dir.web} refers to a directory structure "WebContent\WEB-INF\tlds" where my taglib files are located. However my JSP pages also refer to taglibs located in a jar file

RE: Versioning

2007-02-26 Thread RADEMAKERS Tanguy
Hello Erica, Have you looked at the task? Regs, /t >-Original Message- >From: Erica A Ramsey [mailto:[EMAIL PROTECTED] >Sent: Monday, February 26, 2007 2:59 PM >To: Ant Users List >Subject: RE: Versioning > >Well, it would be nice if build would auto increment. is that possible? > >---

RE: Versioning

2007-02-26 Thread Erica A Ramsey
Well, it would be nice if build would auto increment. is that possible? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 2:22 AM To: user@ant.apache.org Subject: AW: Versioning Who makes the decision if that build is a major, minor, sim

Re: [SEC=UNCLASSIFIED] Problem calling ANT with "-logger" parameter

2007-02-26 Thread sunnymarc
Hi Frank, that's it! I don't know how this invalid "-"-sign (which looks exactly the same as the "correct" one) got into my script, but since I have been copying and pasting another "-" from the script it works without any problems! Thanks, Marc Frank Harnack wrote: > > Hi Marc, > > maybe

AW: JSP precompile with taglib files in a jar file

2007-02-26 Thread Jan.Materne
Oh, there were some threads in the past, why you should NOT use ... You should use unit tests for your web app (cactus, httpunit...) and use the jsp-compiler of your container. Jan >-Ursprüngliche Nachricht- >Von: Volker Hoss [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 26. Febru

Re: Adding optional tasks classpath from build.xml?

2007-02-26 Thread Peter Reilly
For the antlr optional task, one can use the element to specify the location of the antlr jar file, so the following will work for Ant 1.6.5 and ant 1.7.0: One may also put the antlr.jar file in ~/.ant/lib or in $ANT_HOME/lib. Peter On 2/25/07, Omry Yadan <[E

Re: How to compile jsp files with ANT

2007-02-26 Thread Steve Loughran
Rashmi Rubdi wrote: Thank you for your reply, I will start reading those chapters and the presentation, I think it should be fairly simple to understand since I'm already familiar with the concepts. I think, now there's a new and better way to write JSPs using JSTL tags or custom tags. Perh

JSP precompile with taglib files in a jar file

2007-02-26 Thread Volker Hoss
Hi, I am using the following jspC task call in a WebSphere build environment to validate the JSP pages: ${dir.web} refers to a directory structure "WebContent\WEB-INF\tlds" where my taglib files are located. However my JSP pages also refer to taglibs located in a jar file and I have not found

AW: Regarding : List the subdirectories in Directory

2007-02-26 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Lokesh Jayaraman [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 26. Februar 2007 07:24 >An: Ant Users List >Betreff: Regarding : List the subdirectories in Directory > >Hi , >How to get all subdirectories information from base directory using ANT >tas

AW: Versioning

2007-02-26 Thread Jan.Materne
Who makes the decision if that build is a major, minor, simple or patch build? I think a developer (human) should make that decision. So that guy set the property ... Jan >-Ursprüngliche Nachricht- >Von: Erica A Ramsey [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 26. Februar 2007 03:14

AW: specifying a URL as a property location [SEC=UNCLASSIFIED]

2007-02-26 Thread Jan.Materne
You could store the URL in a property with value-attribute. Then try using s [1] in your tasks most of the core tasks should handle urls (ResourceCollections) since 1.7.0. But ATM you cant use with urls ... Jan [1] http://ant.apache.org/manual/CoreTypes/resources.html#url >-Ursprüngliche