Re: path to ant

2005-05-20 Thread Peter Reilly
Your ant is thus in /usr/share/ant. It is installed there by jpackage. If you want to use ant 1.6.3 or 1.6.4, you will to 1) wait for jpackage to release a 1.6.3/4 version -or- 2) install the ant from ant.apache.org -and- remove the jpackage version (this can be done by deleting

Re: Properties manipulation

2005-05-20 Thread Dave Bartmess
I haven't tried this, but have done similar things in the past. You should be able to use: property name=build.stdapps.properties value=build_stdapps.properties/ property file=build.${old.label.product}.properties prefix=old./ On Thu, 2005-05-19 at 12:03 -0500, George Dibi wrote: All, Can

iterate over sql result

2005-05-20 Thread Kenneth
I want to iterate over a resultset from an SQL SELECT statement using ANT and use the data as propeties and call other tasks or targets. Is this possible with some existing ANT tasks and HOW do I do it? I have read about using sql, loadfile and for task, but there must be some better solution,

1.6.3: mail task hangs with eclipse M7

2005-05-20 Thread Marc Dzaebel
The last thing I see is Sending email: Then the process hangs forever and no error message appears. Is there a way to figure out what's actually going wrong? (The mail-task works on other systems with M7) Thanks, Marc - To

Ant Tomcat Tasks Problem

2005-05-20 Thread Matt Shostak
I am trying to implement the Tomcat tasks into my build file, and I'm having some trouble that I hope some of you can help me figure out. I'm using Ant 1.6.2 and jakarta-tomcat-5.0.25 on Linux Redhat WS3. I have a tomcat.properties file in the same directory as my build file, and it contains

Re: Spawning a java call in a new command shell

2005-05-20 Thread Ninju Bohra
This is the helper target that we use: !-- -- !-- Target to run a java process in the background -- !-- with delegation to the OS-specific targets -- !--

ideas for building a list of projects

2005-05-20 Thread Mark Lybarger
we have 10 or so web projects, each with their own build.xml, and one main builder project that builds all projects. the main build project explicitly specifies the deployment components, and the projects to build such as: target name=distclean delete dir=project1 quiet=${deletevoice}/ delete

axis-java2wsdl LogFactory classloader problem

2005-05-20 Thread Michael Oliver
I have created an ant task as follows: path id=compile.classpath pathelement path =${webinf.dir}/lib/commons-beanutils.jar/ pathelement path =${webinf.dir}/lib/commons-digester.jar/ pathelement path =${webinf.dir}/lib/commons-logging.jar/ pathelement path

RE: ideas for building a list of projects

2005-05-20 Thread Anderson, Rob (Global Trade)
You could use ant-contrib's foreach task. The followig link shows the usage: http://ant-contrib.sourceforge.net/ant-contrib/manual/tasks/ -Rob A -Original Message- From: Mark Lybarger [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 10:41 AM To: Ant Users List Subject: ideas

Ant - javadoc -- fileset exclude not working

2005-05-20 Thread Blagassie
Hi, I am attempting to use the JavaDoc tag in an ant build as follows to create my JavaDoc. I have a small subset of public classes which I want to exclude from the final JavaDoc. According to the Ant document, I should be able to use the fileset tag to accomplish this. However, the

Re: Ant - javadoc -- fileset exclude not working

2005-05-20 Thread Jeffrey E Care
Try taking the .\ off the front of your patterns. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis [EMAIL PROTECTED] wrote on 05/20/2005 03:45:58 PM: Hi, I am attempting to

RE: Ant - javadoc -- fileset exclude not working

2005-05-20 Thread Blagassie
Thanks for the suggestions; however, it did not make a difference. -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 3:52 PM To: Ant Users List Subject: Re: Ant - javadoc -- fileset exclude not working Try taking the .\ off the front of your

Simple (?) question about available

2005-05-20 Thread Rich Wagner
Hi, I'm having trouble specifying a particular available task. Here's what I want, though Ant isn't happy with it: target name=check_for_zip_file available property=ZIP_FILE_EXISTS filepath include name=${DIR}/*.zip/ exclude

Re: Simple (?) question about available

2005-05-20 Thread Alexey N. Solofnenko
I think you should add fileset inside filepath: http://ant.apache.org/manual/using.html#path - Alexey. Rich Wagner wrote: Hi, I'm having trouble specifying a particular available task. Here's what I want, though Ant isn't happy with it: target name=check_for_zip_file available

Re: Simple (?) question about available

2005-05-20 Thread Matt Benson
In Ant 1.7 you will have other methods at your disposal. For now: pathconvert property=ZIP_FILE_EXISTS setonempty=false path fileset dir=${DIR} includes=*.zip excludes=not_this_one.zip / /path /pathconvert does what you want. HTH, Matt --- Rich Wagner [EMAIL

Re: Ant Tomcat Tasks Problem

2005-05-20 Thread Dominique Devienne
On 5/20/05, Matt Shostak [EMAIL PROTECTED] wrote: tomcat.manager.url=http://localhost:8080/manager/html Maybe you're getting html because you're requesting html?! I know nothing about these tasks, but since the url you use ends in /html, it sounds logical to me it would return html. Maybe it's

RE: axis-java2wsdl LogFactory classloader problem++

2005-05-20 Thread Michael Oliver
More info From the Jakarta Commons user list... This problem is caused when you have *all* of the following true: * child-first classloading order selected in child classloader * code in child classloader that calls JCL * commons-logging.jar available via child classloader * code in shared

Re: Ant - javadoc -- fileset exclude not working

2005-05-20 Thread Carol Enderlin
Brian, It looks like you already included that package with a packageset. packageset dir=. include name=com\myprogram\demo\dao/ /packageset ... fileset dir=. include name=.\com\myprogram\demo\** .\com\ myprogram\demo\dao\** .\com\