Ant task for redeploying web applications on Tomcat

2002-02-12 Thread Christopher Taylor
Hello, I searched the mail archives and couldn't find any tasks for redeploying web applications on Tomcat, so I wrote one myself this afternoon (very bare-bones... it doesn't check for errors, all exceptions will stop the build). If anyone is interested they can download it from http://www.java

Re: proposed mod to zipfileset

2002-02-12 Thread Diane Holt
--- Scott Ellsworth <[EMAIL PROTECTED]> wrote: > If we could make it work with the src attribute, I could live without > the zipfilelist thing, but I suspect there might be argument unless we > add the quiet attribute. Oh I see, the "dir"/"includes" is only for regular files, not for jars -- yo

Re: proposed mod to zipfileset

2002-02-12 Thread Scott Ellsworth
On Tuesday, February 12, 2002, at 06:06 PM, Diane Holt wrote: > --- Scott Ellsworth <[EMAIL PROTECTED]> wrote: >> After looking at the various solutions for including a list of zips, I >> am looking at modifying the zip task for my own needs. > > Gee, I take it this means you didn't care for my

RE: Problems with Execute on W2K

2002-02-12 Thread Paul Cody
AFAIK Win32Process.create error 2 exceptions are always PATH problems. Check that whatever you are launching is in the PATH. Someone probably modified the PATH during the session that WL was started or the Tivoli installation mucked your PATH. Paul > -Original Message- > From: Kevin Too

Re: proposed mod to zipfileset

2002-02-12 Thread Diane Holt
--- Scott Ellsworth <[EMAIL PROTECTED]> wrote: > After looking at the various solutions for including a list of zips, I > am looking at modifying the zip task for my own needs. Gee, I take it this means you didn't care for my Pinot-based solution? :) > I propose the attribute name "silent-fail-

Problems with Execute on W2K

2002-02-12 Thread Kevin Toomey
Hello, I've been banging my head against the wall on this one. Hopefully someone can point me in a direction. I apologize in advance for the length of the post, but I don't want to leave out what could be an important detail. I've got an application that runs within WebLogic that we use to buil

Re: proposed mod to zipfileset

2002-02-12 Thread Erik Hatcher
- Original Message - From: "Scott Ellsworth" <[EMAIL PROTECTED]> > A decent alternative might be to have a way of turning such a > (delimited) list into fileset, which functionality zipfileset would > presumably inherit. If you can figure out how to do that with Ant's FileSet class you w

Re: uptodate tasks and CVS timestamps

2002-02-12 Thread Steve Loughran
- Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 13:17 Subject: uptodate tasks and CVS timestamps > Hi All, > > I have a target called "viz.release-up2date?" that uses to figure > out whether a DLL needs recomp

Re: proposed mod to zipfileset

2002-02-12 Thread Scott Ellsworth
Sorry, my last paragraph got sent in mid edit. It should have read: On Tuesday, February 12, 2002, at 03:32 PM, Scott Ellsworth wrote: > I would prefer a "zipfilelist" that turns into seperate zipfilesets, as > then it is clear what we intend. This differs from a for-each, in that > we are

proposed mod to zipfileset

2002-02-12 Thread Scott Ellsworth
Hi, all. After looking at the various solutions for including a list of zips, I am looking at modifying the zip task for my own needs. I believe these mods are of interest to anyone who needs to merge multiple jars into a final result jar, and I would like to contribute the results so others

Re: Script task, listing of available objects

2002-02-12 Thread Erik Hatcher
Just quickly, from the source code: addBeans(project.getProperties()); addBeans(project.getUserProperties()); addBeans(project.getTargets()); addBeans(project.getReferences()); beans.put("project", getProject()); beans.put(

Script task, listing of available objects

2002-02-12 Thread Dylan Schiemann
Hi all, Is there a listing of the objects available to JavaScript using the script task? The documentation on the ant site is very light, and the examples on the mailing list are great, but without knowing where to find a list of the objects, it seems arbitrary. My knowledge of Java s very limi

location problem

2002-02-12 Thread Rubun Tang
Hi All, I'm trying to run a task in a component build.xml through an antcall in a master build.xml. What I want to do is, if I decide to test just one component, I could just go into that component's dir and do "ant test" with the component's build.xml. And if I want to test the whole component s

Re: License problem with ant-contrib?

2002-02-12 Thread Scott Ellsworth
On Tuesday, February 12, 2002, at 01:19 PM, Jesse Stockall wrote: > It was sent to ant-contrib, not ant-user > http://www.geocrawler.com/lists/3/SourceForge/18057/0/7755397/ Thanks much. It makes my antennae wave when I hear about license problems, and so I am glad to see that it was not a de

Re: License problem with ant-contrib?

2002-02-12 Thread Jesse Stockall
On Tue, 2002-02-12 at 15:50, Scott Ellsworth wrote: > Could someone email me the subject so I can find it in the ant-user > archives? > > Scott It was sent to ant-contrib, not ant-user http://www.geocrawler.com/lists/3/SourceForge/18057/0/7755397/ Jesse -- Jesse Stockall |

Ant + CVS - fail build on errors...

2002-02-12 Thread Mark Derricutt
As part of my qa release target, I'm using to tag my source code with the timestamp, only, if various files are modified in the source base, cvs will fail to tag and exit, is it possible to get ant to recognise this failure and abort the build process? I dont want the release to actually be

uptodate tasks and CVS timestamps

2002-02-12 Thread Dominique Devienne
Hi All, I have a target called "viz.release-up2date?" that uses to figure out whether a DLL needs recompiling (done by another target based upon the viz.release-up2date property being set or not). This task worked fine most of the time, but not all of the time (not to ANT fault, but due to CVS I

License problem with ant-contrib?

2002-02-12 Thread Scott Ellsworth
>> http://sf.net/projects/ant-contrib I note that in the cvs tree at sourceforge, there is a comment "fix license - I'll send a mail to the list to explain this better" by "bodewig" (Stefan, I assume.) Could someone email me the subject so I can find it in the ant-user archives? Scott --

Ant & Eclipse

2002-02-12 Thread David_DeLano
Scott -- >I'm guessing Eclipse can't find the Checkstyle jars, but I've copied them >all over and tried hard-coding the paths in the configuration dialog with no >success. Anyone out there had any success with this? I'm not an Ant expert, but I might be able to give you enough information to fig

Re: JNI

2002-02-12 Thread Steve Loughran
- Original Message - From: "Adam Murdoch" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 01:06 Subject: RE: JNI > > Hi, > > An alternative to using an environment variable to find the JNI header > files, is to use the${java.home} property,

Re: Jar and Class size?

2002-02-12 Thread Magesh Umasankar
From: "Magesh Umasankar" <[EMAIL PROTECTED]> > In Ant 1.3, id the debug attribute was not > specified to , the -debug flag was not > included in the javac command line. Please read it as ... -g flag was not included ... Cheers, Magesh *

Re: Jar and Class size?

2002-02-12 Thread Magesh Umasankar
From: <[EMAIL PROTECTED]> > The jar file produced by Ant 1.4.1 is roughly > 500KB smaller than the one produced by 1.3. > However, I'm now thinking that it must be something > else that is different because the actual build > directory that contained the class files before > the jar was cr

RE: Multiple jar files in classpaths

2002-02-12 Thread Jan Søgaard
Hi, Try this (or somthing like;-) -Original Message- From: Rosemarie Hannan (Financial IQ) [mailto:[EM

Multiple jar files in classpaths

2002-02-12 Thread Rosemarie Hannan (Financial IQ)
Hi How do I put mutliple jar files in my classpath? I need the compiler to reference 3 different jar files so that the source code can compile. Thanks Rose -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: working with CVS.

2002-02-12 Thread stephan beal
On Tuesday 12 February 2002 07:38 am, you wrote: > I have a problem with creating source repositories in LAN using webserver. > > Is it possible to have a source repository in local environment by setting > up CVSROOT for CVS client like WinCVS in any of the webservers and making > the mirrors o

RE: JNI

2002-02-12 Thread Adam Murdoch
Hi, An alternative to using an environment variable to find the JNI header files, is to use the${java.home} property, i.e. -I${java.home}\..\include This isn't necessarily 100% portable across all JVMs, but it works with the Sun and IBM JVMs. Also, you might find the C/C++ compile task from t

Re: JNI

2002-02-12 Thread Sebastian Dietrich
Yes you're absolutely right. I had missed the "environment" attribute in the documentation... So for everyone interested: For adding the C++ compile/link step to a JNI project using ant unter Windows works like this: 1) add an environment property to the "init"-target (if you haven't done so