Re: conditional execution on tasks

2001-03-14 Thread Stefan Bodewig
John D. Casey <[EMAIL PROTECTED]> wrote: > Is there any way to specify "only execute this *task* if the > following property is set"? No - at least not for the built in tasks, you could add something like this for your own tasks of course. Want me to add this to the Ant2 wish list? > Also, is t

Re: Problems with CLASSPATH

2001-03-14 Thread Stefan Bodewig
Larry Yates <[EMAIL PROTECTED]> wrote: > Is this the correct way to use this property? > > either this way or from the command line -Dbuild.sysclasspath=ignore. > What other (if any) values can be assigned? It has been documented after the relase, see

Re: Regexp setup problems

2001-03-14 Thread Stefan Bodewig
Giles Cope <[EMAIL PROTECTED]> wrote: > Simple question, why doesn't this work? I've got the relevant jars > and am using ant 1.3, but still it can find no regexp matcher! Maybe it is due to the long directory names? I'm no Windows user at all, but I remeber people having problems with long file

VSS Get..any way to get just the latest?

2001-03-14 Thread Duffey, Kevin
I would like to have VSS get only the latest files out of a particular branch. Is this possible? Seems it always gets ALL of the files. Actually, maybe it does only get the latest, but the output I see shows every single file. Its is VERY slow compared to using the GUI tool, so I am wondering if t

Using properties within the Telnet task

2001-03-14 Thread Wolfgang Geisler
I can't get property substitution to work within the Telnet task. Is it currently not possible to do this?

Re: DUH...Why can't I get AWK to work?

2001-03-14 Thread Peter Donald
At 08:24 14/3/01 -0500, Larry Yates wrote: >For some reason, I can't get awk to work properly from Ant although it works >OK from the command line. Everything 'looks' OK (i.e. the directory does >contain html files)... When doing it on the command line the * is expanded while when passing it via

RE: DUH...Why can't I get AWK to work?

2001-03-14 Thread Conor MacNeill
Larry, Wildcard expansion under Unix is performed by the shell. It is not performed by Ant so you are passing *.html straight to awk. You should probably change the executable to /bin/sh and pass the awk command as an argument. Conor > -Original Message- > From: Larry Yates [mailto:[EM

Re: How to...publish

2001-03-14 Thread Peter Donald
At 05:25 14/3/01 +0100, you wrote: >I have written several tasks for ant and i would like to know how >theses tasks can be integrated / published into the global projects. > * EjbJar for Borland Application Server (www.borland.com) > * Versant (www.versant.com) enhancement > *

DUH...Why can't I get AWK to work?

2001-03-14 Thread Larry Yates
For some reason, I can't get awk to work properly from Ant although it works OK from the command line. Everything 'looks' OK (i.e. the directory does contain html files)... Any ideas? Is there another way of making transformations (editing) on a list of files? Here's the relevant part of the bui

RE: [ANN] Collecting requirements for Ant2

2001-03-14 Thread Liu, Kenneth Albert (Kenneth)** CTR **
Looks like you guys thought of a lot already. My additional reqs: (none of these affect the Ant core) Expand the number of commands available in the FTP task Better documentation: Quick reference sheet for all built-in Ant tasks ("Ant in a Nutshell") Some facility to generate the referenc

RE: Problems with CLASSPATH

2001-03-14 Thread Larry Yates
Is this the correct way to use this property? ...or is it a attribute? What other (if any) values can be assigned? Thanks! -Larry -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 6:52 AM To: [EMAIL PROTECTED] Subject: Re: Problems wi

Suggestions for ANT 1.4

2001-03-14 Thread Bevan Arps
Greetings from Sunny New Zealand. I'm using Ant for automating our production build process - many applications (both Delphi and Java) controlled by 1 build file and everything works a treat. Some suggestions that would be very useful (to me, anyway!): 1. Add if="" and unless="" to AntCall At

Re: Installing ant

2001-03-14 Thread Conor MacNeill
Carole, You need to use a gnu compatible version of tar. The details are here http://jakarta.apache.org/builds/ant/release/v1.3/ Conor - Original Message - From: "carole mazoyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 15, 2001 5:53 AM Subject: Installing an

available task

2001-03-14 Thread Nick Christopher
I don't know if this has been discussed before but shouldn't the available task be at the project level rather then the target level? I keep thinking it should look as follows: I know this can be done now by making the resource target depend and another target that checks

Installing ant

2001-03-14 Thread carole mazoyer
Hello, I'm trying to install ant, using the binary edition : jakarta-ant-1.3-bin.tar.gz When I untar the archive I get this line at the end : tar: directory checksum error And the ant.jar file is missing. Can you help me? Thank you in advance, Carole

RE: Clearmake

2001-03-14 Thread Garcia, Gilles
You can generate a Configuration record for Ant compiles by running Ant from clearmake, although not necessary, but Ant does not, and never will re-compile based on Config records changes. -Original Message- From: Simon Gould [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 10:4

Re: Finding file types in

2001-03-14 Thread David Rees
rOn 12 Mar 2001 07:51:45 +0100, Stefan Bodewig wrote: >David J. Iannucci <[EMAIL PROTECTED]> wrote: > >> The task allows you to choose a set of files >> based on file names, but how about on file _types_? > >This is not possible for a fileset, at least not now. The >task and its relatives and

Re: terminology

2001-03-14 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: > I have taken a quick look at the ant docs, and I would like to make some > comments about the terminology used. Glenn and Stefan have already pretty much covered what I would've said, but I thought I'd add a couple of corrections... > A target should really be a no

RE: InstallAnywhere?

2001-03-14 Thread james
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks. i now have something like this as well. i hope they switch to a text based .iap file soon. i may have to begin looking for a more open tool. [EMAIL PROTECTED] - -Original Message- From: Steve Donie [mailto:[EMAIL PROTECTED]] Sent:

How to...publish

2001-03-14 Thread MOUSSAUD Benoît
I have written several tasks for ant and i would like to know how theses tasks can be integrated / published into the global projects. * EjbJar for Borland Application Server (www.borland.com) * Versant (www.versant.com) enhancement * ... -

Clearmake

2001-03-14 Thread Simon Gould
Is it possible to combine Ant and Clearmake?

Regexp setup problems

2001-03-14 Thread Giles Cope
Simple question, why doesn't this work? I've got the relevant jars and am using ant 1.3, but still it can find no regexp matcher! Giles [EMAIL PROTECTED] set ORIGINAL_CLASSPATH=%CLASSPATH% echo Check to see I've got the file pathnames right: dir c:\ant\lib\jakarta-regexp-1.2.jar dir c:\ant\lib

Re: InstallAnywhere?

2001-03-14 Thread Bill Burton
Hi Steve, Steve Donie wrote: > > I have started using InstallAnywhere enterprise (just the evaluation version > so far). I have some issues with it so far - I haven't been able to figure > out (in the day or so that I've used it) how to get it to use relative > pathnames (I hate to hard code pat

RE: InstallAnywhere?

2001-03-14 Thread Steve Donie
I have started using InstallAnywhere enterprise (just the evaluation version so far). I have some issues with it so far - I haven't been able to figure out (in the day or so that I've used it) how to get it to use relative pathnames (I hate to hard code paths!). But otherwise, it seems to be worki

RE: rmic and stubversion=1.2

2001-03-14 Thread Chris Stillwell
Thanks, with using -verbose I was able to figure it out. The class I'm running rmic on is an inner class, so it is really out in the directory as ngn.databus.admin.JiniFinder$MyEventListener not ngn.databus.admin.JiniFinder.MyEventListener even though programmatically it is referred to in its dot

RE: and finally - ...

2001-03-14 Thread Chris Stillwell
This would actually be useful functionality in the RMI world where you really want different jars for server implementation classes and resources, client side use, and then stub/proxy downloads. The Jini distribution comes with a utility which produces a list of dependencies for a given class. I

conditional execution on tasks

2001-03-14 Thread John . D . Casey
Is there any way to specify "only execute this *task* if the following property is set"? It's like the if= and unless= attributes of target fame, but it allows a finer grained control without forcing the developer to write separate targets for each conditional... Also, is there a conditional

RE: Weblogic JSPC

2001-03-14 Thread Bosley, Aaron
I was specifically asking w/regards to the optional Ant Weblogic entity and it's respective classes in optional.jar. Thanks for the reply though! -Aaron -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 10:45 AM To: [EMAIL PROTECTED] Subjec

Re: rmic and stubversion=1.2

2001-03-14 Thread Stefan Bodewig
Chris Stillwell <[EMAIL PROTECTED]> wrote: > Yes, that's what I'm saying. Could you please run ant -verbose? It should say something like XYZ.class added as XYZ_Stub.class doesn't exist. or XYZ.class added as XYZ_Stub.class is outdated. And it should not be talking about _Skel files with stu

Converting build.cmd to Ant build.xml

2001-03-14 Thread Raible, Matt
Can anyone help me convert the attached build command file (windows) to a build.xml file? Thanks, Matt <> @REM Use this script to re-build the eDeploy2 EAR file @REM Copyright (c) 2001 by eDeploy, Inc. All Rights Reserved. c: cd edeploy2 SET JAVA_HOME=C:\bea\jdk130 SET WL_HOME=C:\b

RE: Weblogic JSPC

2001-03-14 Thread Raible, Matt
I've used the WebLogic JSP compiler with the following syntax: java weblogic.jspc -compileAll -webapp src\jsp -d stage/WEB-INF/classes where src\jsp is my top-level directory of JSP files, and stage/WEB-INF/classes is the top-level directory of where I want my classes to reside. Platform: Win2

Re: terminology

2001-03-14 Thread Stefan Bodewig
wout de zeeuw <[EMAIL PROTECTED]> wrote: > I have taken a quick look at the ant docs, and I would like to make > some comments about the terminology used. I have been using > traditional gnu make styles of make and I think their angle of > looking at it is more clear. But it doesn't necessarily

RE: rmic and stubversion=1.2

2001-03-14 Thread Chris Stillwell
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] >Chris Stillwell <[EMAIL PROTECTED]> wrote: > >> I am seeing that rmic is always compiling the stub even when the >> class file has not changed. > >This is supposed to be fixed in Ant 1.3. Are you saying it isn't? Yes, that's what I'm saying. I veri

Re: help with ant

2001-03-14 Thread Conor MacNeill
Hi, Could you try putting Ant in C:\Ant or C:\Software\java\ant to test whether this is related to the long filename ? Win98 has problems with for statements in .bat files and long filenames which may be causing this problem. I don't have a Win98 system handy now to verify that is the cause. If

Re: and finally - ...

2001-03-14 Thread Conor MacNeill
Julian, From: "Julian gosnell" <[EMAIL PROTECTED]> > > Has anyone thought about or come across a predicate/piece-of-code that > could do this : > > > > > > > where shake figures out which classes all the shakeroots depend upon and > copies these and the shakeroots into the outputjar. > >

Re: help with ant

2001-03-14 Thread trent_john.rosenbaum
Sorry I am using win98 - Original Message - From: trent_john.rosenbaum To: [EMAIL PROTECTED] Sent: Wednesday, March 14, 2001 3:25 PM Subject: help with ant This is my first time using the list so I hope this is the right address.   I am trying to se

help with ant

2001-03-14 Thread trent_john.rosenbaum
This is my first time using the list so I hope this is the right address.   I am trying to setup ant on my system at home, I have followed the instructions from www.apache.org   Ant version (jakarta-ant-1.3) Installed at - C:\Software\java\jakarta-ant-1.3   Autoexec.bat rem - By Windows Set

RE: Resolved: NullPointerException & Problems running on AIX

2001-03-14 Thread Chris Stillwell
Its not that the bootstrap script is wrong so much as IBM in their infinite wisdom seem to have a non-standard setup for the Java install. This causes problems with things in the script like: if [ ! -x "$JAVA_HOME/bin/java" ] ; then echo "Error: JAVA_HOME is not defined correctly." echo " W

Re: terminology

2001-03-14 Thread Glenn McAllister
[EMAIL PROTECTED] wrote: > Hi, > > I have taken a quick look at the ant docs, and I would like to make some comments >about the terminology used. I have been using traditional gnu make styles of make and >I think their angle of looking at it is more clear. And thats where you are missing

Re: Bug with ?

2001-03-14 Thread Glenn McAllister
KC Baltz wrote: > Great! Thanks to you and anyone who worked on it. It works great for me. Thank Sefan. I never got the chance to look at it property, and I misdiagnosed the problem to boot. :-) Glenn

Re: Using exec to run scripts in background

2001-03-14 Thread Bill Burton
Hello Jesus, Jesus Sanchez Gonzalez wrote: > > Is there any way to use the exec tag to run a script in background? No, not currently. > What I would like to do is to start the application launching a script > in background from ant but without having to write a new script with the > ampe

RE: Bug with ?

2001-03-14 Thread KC Baltz
Great! Thanks to you and anyone who worked on it. It works great for me. K.C. > -Original Message- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 14, 2001 7:31 AM > To: [EMAIL PROTECTED] > Subject: Re: Bug with ? > > > Finally fixed in CVS - and in nigh

terminology

2001-03-14 Thread wout . de . zeeuw
Hi, I have taken a quick look at the ant docs, and I would like to make some comments about the terminology used. I have been using traditional gnu make styles of make and I think their angle of looking at it is more clear. Let me highlight some parts from section "Using Ant" of your docs, mai

Weblogic JSPC

2001-03-14 Thread Bosley, Aaron
Is the WLJSPC class in the optional jar usable? I assume it precompiles jsps when building a war/ear. There is nothing about jsp compilation in the user documentation. If anyone has any ideas Thanks, Aaron Bosley Tallán Boston Office: 617.573.5110 PGP Fingerprint: C951 AD93 5B9B 9C01 2098

AW: and finally - ...

2001-03-14 Thread Sean Ogle
JAX from IBM does this. Check out their Alphaworks site. Not sure what the license is. -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Julian gosnell Gesendet: Mittwoch, 14. Marz 2001 12:59 An: [EMAIL PROTECTED] Betreff: and finally - ... Has a

Re: un(jar/war/zip) & filesets...

2001-03-14 Thread Stefan Bodewig
Julian gosnell <[EMAIL PROTECTED]> wrote: > unjar the contents of my classpath (with a couple of exclusions) > into a classes dir, then jar it up into one mega-jar that IS my > distribution. Skip the unjar step and use s reading from your classpath jars when creating your mega-jar. Stefan

and finally - ...

2001-03-14 Thread Julian gosnell
Has anyone thought about or come across a predicate/piece-of-code that could do this : where shake figures out which classes all the shakeroots depend upon and copies these and the shakeroots into the outputjar. This would drastically reduce the size of some of the jars that I ship. I

and

2001-03-14 Thread Julian gosnell
Has any die-hard lisp hacker implemented lambda and map out there I want to do the following : That has to be a good idea - surely (the syntax, not the making of a mega-jar!) I'm not sure how the arg "x" would be scoped or namespaced, but I'm sure it could be figured

un(jar/war/zip) & filesets...

2001-03-14 Thread Julian gosnell
I have scanned the documentation for what I want but to no avail. What I want to do is : unjar the contents of my classpath (with a couple of exclusions) into a classes dir, then jar it up into one mega-jar that IS my distribution. I would put all the jars in lib/ and make a War, but I'm deplo

Re: Bug with ?

2001-03-14 Thread Stefan Bodewig
Finally fixed in CVS - and in nightly build of 2001-03-15. Stefan

Re: Javadoc & sourcepath woes

2001-03-14 Thread Ted liefeld
Never mind. I just reinterpreted the doc (???/ant1.3/docs/manual/CoreTypes/mapper.html) to mean that ant includes the necessary wrapper, but not the regexp implementation so I just downloaded jakarta-regexp and it now works (the copy + regexp mapper) Thanks Ted Ted liefeld wrote: > Stefan, >

Re: Javadoc & sourcepath woes

2001-03-14 Thread Stefan Bodewig
Ted liefeld <[EMAIL PROTECTED]> wrote: > when I have attempted to use the regexp mapper I get the error > No supported regular expression matcher found > my classpath includes > ant.jar > jakarta-ant-ant1.3-optional.jar > > The docs seem to indicate that I should not need anythin

Re: Javadoc & sourcepath woes

2001-03-14 Thread Ted liefeld
Stefan, when I have attempted to use the regexp mapper I get the error No supported regular expression matcher found my classpath includes ant.jar jakarta-ant-ant1.3-optional.jar The docs seem to indicate that I should not need anything else... Ted Stefan Bodewig wrote: > Ted

Re: Javadoc & sourcepath woes

2001-03-14 Thread Stefan Bodewig
Ted liefeld <[EMAIL PROTECTED]> wrote: > e.g. Directories > > basedir/ components/ onecomponent/ source/ com/... > twocomponent/ source/ com/ ... > threecomponent/ source/ com/ ... > etc... > I hav

Re: Problems with CLASSPATH

2001-03-14 Thread Stefan Bodewig
Martin Monsorno <[EMAIL PROTECTED]> wrote: > Isn't it possible to make ant NOT use the CLASSPATH settings of the > environment? Set the magic property build.sysclasspath to ignore. I'm afraid, this has been undocumented in the release. Stefan

Re: Problems with CLASSPATH

2001-03-14 Thread Martin Monsorno
Got the same problem, but my resulting classpath is the environmental CLASSPATH + the one I specified. Isn't it possible to make ant NOT use the CLASSPATH settings of the environment? Larry Yates wrote: > > Hi, > I'm trying to compile with a classpath that I define at runtime, but the > compil

Javadoc & sourcepath woes

2001-03-14 Thread Ted liefeld
Hi, I hope this is a stupid question, but I cannot seem to get javadoc to work in a case where I have multiple source directories without explicitly naming every directory.  Since these are being added all of the time, I don't want this to be the case; e.g. Directories       basedir/  compone

Re: classpath bug?

2001-03-14 Thread Stefan Bodewig
Rob van Oostrum <[EMAIL PROTECTED]> wrote: > I'm running Ant on Windows 2000 Pro with JDK1.2.2 installed I assume Ant 1.3 - as the solution won't apply to 1.2. > All the build.lib stuff points to existing files. When I run the > build, the verbose output shows that all the core Java stuff is >

classpath bug?

2001-03-14 Thread Rob van Oostrum
I'm running Ant on Windows 2000 Pro with JDK1.2.2 installed build xml snippet: All the build.lib stuff points to existing files. When I run the build, the verbose output shows that all the core Java stuff is being pulled out of C:\Program Files\JavaSoft\JRE\1.2\lib\rt.jar Is this a know

Re: Problems with maximum line length

2001-03-14 Thread Frank Ruckstuhl
Thanks for your response! I am running the classic javac from Sun. Version 1.3.0. The reason for my supposition that ant is extracting my classpath from the environment is that when I run ant in verbose mode, it shows a line starting with Compilation args: which includes -d classpath blah When