AW: Using ftp task with ant 1.5.1

2002-10-31 Thread Ritzmann, Heiko
I'm sure it woks with ant 1.5.1. Do you have the netcomponents.jar (www.savarese.org/oro/downloads) in your classpath? Heiko Ritzmann Software Development GODYO AG Prüssingstraße 35 D-07745 Jena e-mail: [EMAIL PRO

RE: Starteam Exception

2002-10-31 Thread Gavin Simpson
Hi Mike, like yourself I'm using Starteam 5.1 and Ant 1.5, and am using the 5.1 sdk. Have implemented Dave Drapers solution using and the stcmd.exe command and this seems to work fine. Had a look to see what kind of view I'm using and it's not a reference view, so no joy there. Has anyone used

Re: Jspc and JDK 1.4.1_01 not working

2002-10-31 Thread Steve Loughran
- Original Message - From: "Jon Schewe" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 4:54 PM Subject: Re: Jspc and JDK 1.4.1_01 not working > SL> I'd suspect that something went awry with jasperc; try getting the latest > SL> version w

RE: Another uptodate question

2002-10-31 Thread Dominique Devienne
What you need is a 'regexp' mapper that changes the ${build.classes.dir} prefix of the filename to ${build.ejb.dir} (I think). A 'merge' mapper allows return the same file (not a pattern). A 'glob' mapper does not take the same patterns as the ones used in patternset/fileset. I can take at most on

RE: Another uptodate question

2002-10-31 Thread Mike Dougherty
> -Original Message- > From: Dominique Devienne [mailto:DDevienne@;lgc.com] > Sent: Thursday, October 31, 2002 7:14 AM > To: 'Ant Users List' > Subject: RE: Another uptodate question > > > The two filesets are not both source filesets. The second one > is a target > fileset. Uptodate sup

RE: JUnitReport - more info to display?

2002-10-31 Thread Dominique Devienne
Actually, I disagree with you. Javadocs comments of the unit test code is always accessible, but that doesn't tell you much about what really counts, which is how much coverage of your code is *indeed* tested. To find out this really crucial info, use a tool like Clover. --DD -Original Messag

JUnitReport - more info to display?

2002-10-31 Thread Keith Hatton
Does anyone have a way of getting JUnitReport to provide more "descriptive" output? I'm thinking of things like adding a JavaDoc comment to each of the test methods and having that output in the table. Maybe I'm looking at this the wrong way, the unit test method names may well be descriptive to

RE: Another uptodate question

2002-10-31 Thread Mike Dougherty
> -Original Message- > From: David Knox [mailto:david.knox@;iona.com] > Sent: Wednesday, October 30, 2002 1:22 PM > To: 'Ant Users List' > Subject: RE: Another uptodate question > > > Maybe I'm a bit confused. Is there a problem with uptodate? The source > indicates that it supports neste

RE: set property problem

2002-10-31 Thread Dominique Devienne
Try instead: --DD -Original Message- From: Tracy McAbee [mailto:tracy.mcabee@;visionarysystemsinc.com] Sent: Thursday, October 31, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: set property problem I'm relatively new to Ant and am having a problem. I

set property problem

2002-10-31 Thread Tracy McAbee
I'm relatively new to Ant and am having a problem. I'd like to set a property to the value of a command line parameter if the parameter is passed in, or set it to "" otherwise. Here's what I tried (but it didn't work):                               When I run it in debug, it says it won

Using jspc

2002-10-31 Thread Fenlason, Josh
I'm trying to compile some jsp pages, but I'm having some problems with the jspc task. It keeps telling me that it can't find there were no files to compile. Here's the target that I'm using: That should generate java source for all the .jsp files under ${basedir}, right? Any

RE: fill a property with filesize

2002-10-31 Thread Veld in 't, GJ (Geert Jan)
mmm.. looks easy... lets use it! Thanks Dominique. -Oorspronkelijk bericht- Van: Dominique Devienne [mailto:DDevienne@;lgc.com] Verzonden: donderdag 31 oktober 2002 17:07 Aan: 'Ant Users List' Onderwerp: RE: fill a property with filesize Maybe so, but overloading tasks with different m

RE: fill a property with filesize

2002-10-31 Thread Dominique Devienne
Maybe so, but overloading tasks with different meaning/function is not good either. Personally, I believe scripting to be much more appropriate in this case, and is equivalent to task scripting, which exists in the Ant2 proposals, and missing in Ant1. Remember that it's pure Java scripting, this po

Re: Ant memory leak version 1.5

2002-10-31 Thread Stefan Bodewig
On Thu, 31 Oct 2002, Markus Dettori <[EMAIL PROTECTED]> wrote: > Where can I give ant a reasonable amount of memory. > I just tried to give ant a little bit more inside ant.sh, > with no results. There is no ant.sh in Ant. Using Ant's wrapper script, setting the environment variable ANT_OPTS to

Re: Ant memory leak version 1.5

2002-10-31 Thread Markus Dettori
- Original Message - From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 9:28 AM Subject: Re: Ant memory leak version 1.5 > On Wed, 30 Oct 2002, Markus Dettori > <[EMAIL PROTECTED]> wrote: > > > I read something about this stuff, but I w

RE: fill a property with filesize

2002-10-31 Thread Veld in 't, GJ (Geert Jan)
I already made an enhancement to the LoadFile task: copy/paste (because its a final class) add a new property (fileSizeOnly...) Does it sound like a welcome change? Personally I dont like scripting... I find it less clean... but maybe somebody can convince me.. ;-) -Oorspron

RE: fill a property with filesize

2002-10-31 Thread Dominique Devienne
Sounds like a task for this is overkill. How about trying out

RE: Another uptodate question

2002-10-31 Thread Dominique Devienne
The two filesets are not both source filesets. The second one is a target fileset. Uptodate supports only a single target file, or a mapper. Seems to me the mapper should work in this particular case, but it didn't work for Mike, which apparently gave up on it, and did something else. And by the w

RE: Using ANT_ARGS

2002-10-31 Thread Simon Baker
That did the trick - thanks. -Original Message- From: Stefan Bodewig [mailto:bodewig@;apache.org] Sent: 31 October 2002 10:59 To: [EMAIL PROTECTED] Subject: Re: Using ANT_ARGS On Thu, 31 Oct 2002, Simon Baker <[EMAIL PROTECTED]> wrote: > If i echo %ANT_ARGS% the env var is definitely se

RE: mail task help!!

2002-10-31 Thread Paidighantam Venkata Suresh
you need to have mail.jar and activation.jar in your classpath. Suresh -Original Message- From: Eduardo Andrés Alfonso Sierra [mailto:edalfon@;lycos.co.uk] Sent: Thursday, October 31, 2002 6:34 AM To: Ant Users List Subject: mail task help!! Hi I've been trying to use the mail task an

mail task help!!

2002-10-31 Thread Eduardo Andrés Alfonso Sierra
Hi I've been trying to use the mail task and I always get the message "Failed to initialise MIME mail" and it fails to send the mail. I downloaded javamail-1_3.zip package and I have included all the .jar files in it in my classpath. Does anybody knows what happen with it??? Thanks. Eduardo.

Re: Using ANT_ARGS

2002-10-31 Thread Stefan Bodewig
On Thu, 31 Oct 2002, Simon Baker <[EMAIL PROTECTED]> wrote: > If i echo %ANT_ARGS% the env var is definitely set, but i do not > receive the log file via email. ant.bat in 1.5.1 has removed support for ANT_ARGS and JAVACMD by accident, please pick up the one from CVS

Re: task problem

2002-10-31 Thread Stefan Bodewig
On Wed, 30 Oct 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > It's likely that like you suggest, the call still holds on to > the file handles of some of these JARs, thus the takes > fails to delete those files. If it really was Ant (and not something inside the Java VM unrelated to Ant)

Using ANT_ARGS

2002-10-31 Thread Simon Baker
I'm trying to use ANT_ARGS to set the following on the ant command line: -logger org.apache.tools.ant.listener.MailLogger -DMailLogger.properties.file=../maillogger.properties If i echo %ANT_ARGS% the env var is definitely set, but i do not receive the log file via email. If i type the above in

fill a property with filesize

2002-10-31 Thread Veld in 't, GJ (Geert Jan)
Hi, I want to fill a property with the size of a given file. I cant find any existing functionality for that. Is there a task wich can do this for me? Should i create a new task for that? Or should i extend an existing one? (which?) Kind regards, Geert Jan in 't Veld

RE: Another uptodate question

2002-10-31 Thread David Knox
Maybe I'm a bit confused. Is there a problem with uptodate? The source indicates that it supports nested filesets. /** * Nested element. */ public void addSrcfiles(FileSet fs) { sourceFileSets.addElement(fs); } --dave > -Original Message- > From: Mik

Re: Compiling 2 files

2002-10-31 Thread Conor MacNeill
Vijay Gupta wrote: Hi all, I have some problem with ant, I am trying to compile files. My folder has 46 files in sub directories, but when i run ant it says compiling 14 files.. moreover it gives compilation errors saying can not resolve symbol in some files when I cross checked the files they se

Re: trouble getting task to use manifest.mf and include propertiesfiles

2002-10-31 Thread Conor MacNeill
scollins wrote: I am having the same problem with Ant 1.5.1. It also appears to fail in 1.6.alpha When you say you are having the "same problem", could you give me more details please? Since I'm not sure the exact problem Bruce is having, it's hard to know if you are indeed having the same

Re: trouble getting task to use manifest.mf and includeproperties files

2002-10-31 Thread Conor MacNeill
Bruce Snyder wrote: My apologies for the second post, but I've received no answers yet. Sorry - been a little busy. Just to confirm a few things. Is the manifest attribute not working for you? I've checked the code just now and it looks OK to me. What error are you getting? To check the inc

Compiling 2 files

2002-10-31 Thread Vijay Gupta
Oops...forfot to attach the build file.. In addition to that problem...if i delete those files which are giving error, it says compiling 6 files but when i see .war file all the .class files will be there (See attached file: build.xml) Hi all, I have some problem with ant, I am trying to comp

Compiling 2 files

2002-10-31 Thread Vijay Gupta
Hi all, I have some problem with ant, I am trying to compile files. My folder has 46 files in sub directories, but when i run ant it says compiling 14 files.. moreover it gives compilation errors saying can not resolve symbol in some files when I cross checked the files they seems to be correct.

Re: Getting ejbjar task to use local DTD

2002-10-31 Thread Conor MacNeill
[EMAIL PROTECTED] wrote: I am using Ant 1.5. How can I get the ejbjar task to use a local DTD instead of the DTD referenced on the web? I have tried using the node but it doesn't seem to work. The ant documentation says you can use this node at the project level. The dtd element is not yet