Re: test environment variable and if statement

2002-02-05 Thread Ray Tayek
At 10:56 PM 2/4/02 -0800, you wrote: what i would like to do is to set a property called pathToMyJar to be one thing or another depending on some boolean. ... look at condition more closely; you can set the value of the assignment to whatever you want. Also the way property works, the

RE: antRun

2002-02-05 Thread Sujan Digumarti
Thanx a lot Stefan!! U saved me a lot of time and HAIR :). tar, Sujan -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 1:23 PM To: [EMAIL PROTECTED] Subject: Re: antRun On Tue, 5 Feb 2002, Sujan Digumarti [EMAIL PROTECTED] wrote:

Re: vssget appears to work but task fails

2002-02-05 Thread Nico Seessle
- Original Message - From: Bill Pfeiffer [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Monday, February 04, 2002 10:19 PM Subject: Re: vssget appears to work but task fails C:\Program Files\Microsoft Visual Studio\VSS\win32\ss Get $/espeed/j2ee/espeed-web

Re: java.lang.ClassNotFoundException: sj

2002-02-05 Thread Nico Seessle
- Original Message - From: Tao Xie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 7:55 PM Subject: java.lang.ClassNotFoundException: sj I defined build.compiler=sj in env.properties, but I got this error on runing a ant task. Could some one shed me a light?

Re: further clarification

2002-02-05 Thread Stefan Bodewig
On Mon, 4 Feb 2002, Stephen Huey [EMAIL PROTECTED] wrote: ...whenever I specifically tell it to compile the uiTenantFrame.java, then it merely skips over the javac part of my compile task, is uiTenantFrame.java newer than uiTenantFrame.class? However, I know that file is exactly where I'm

Re: clarification

2002-02-05 Thread Stefan Bodewig
On Mon, 4 Feb 2002, Stephen Huey [EMAIL PROTECTED] wrote: With the include attribute on javac, we've sometimes tried to tell it to specifically include the uiTenantFrame.java in hopes that it would then go and try to compile only those files that the project depended on. It will do so if

Re: skipping javac task

2002-02-05 Thread Stefan Bodewig
On Mon, 4 Feb 2002, Stephen Huey [EMAIL PROTECTED] wrote: javac srcdir=c:/clients/fouroaks/parking classpath=c:/clients include name=**/*.java/ /javac The include element is redundant, you don't need it, this is what javac uses by default. You don't tell javac where it is

RE: antRun

2002-02-05 Thread Sujan Digumarti
Stefan, Is there any other situation where it will give me this error of java.io.IOException: antRun not found besides the case when jdk 1.3 is being used. The reason i'm asking is that i think my client is using jdk 1.3.0. Rgds, Sujan ps - (im using 1.3.1) -Original Message- From:

Re: antRun

2002-02-05 Thread Stefan Bodewig
On Tue, 5 Feb 2002, Sujan Digumarti [EMAIL PROTECTED] wrote: The reason i'm asking is that i think my client is using jdk 1.3.0. First of all, make sure your client is using 1.3 (i.e. let him give you an ant -debug run and look at the properties). Second, make sure your client is using the

Re: test environment variable and if statement

2002-02-05 Thread Erik Hatcher
Also, just for the record :), properties set from the command-line are not quite equivalent to properties set from property file=.../. -D properties (and now -propertyfile ones) are more(?) immutable. - Original Message - From: Diane Holt [EMAIL PROTECTED] To: Ant Users List [EMAIL

Re: Critique my optional file copy target, please?

2002-02-05 Thread Stefan Bodewig
On Mon, 4 Feb 2002, Scott Ellsworth [EMAIL PROTECTED] wrote: One way to do this is to sent compile.scr to the same as src, and to make the copy phase only do the delete and copy if it actually needs to. target name=copy depends=init if=copy.needed rmdir dir=${compile.source}/ wouldn't

RE: exec on windows NT

2002-02-05 Thread Sujan Digumarti
I'm trying to use exec of ant 1.4.1 but it gives me the following message: BUILD FAILED java.io.IOException: Create Process: executable error=2 I'm using jdk1.3.1 on windowsNT4 service pack 6. Do i've to do any extra work to make it run?? Rgds, Sujan -- To unsubscribe, e-mail:

Re: exec on windows NT

2002-02-05 Thread Conor MacNeill
Sujan Digumarti wrote: I'm trying to use exec of ant 1.4.1 but it gives me the following message: BUILD FAILED java.io.IOException: Create Process: executable error=2 I'm using jdk1.3.1 on windowsNT4 service pack 6. Do i've to do any extra work to make it run?? It depends on what

Re: test environment variable and if statement

2002-02-05 Thread Erik Hatcher
I think this is the wrong use of condition personally. Such O/S-specific paths should not be in a build file, even using conditional logic, IMHO. This is what property files are for, and I highly recommend adding that kind of indirection, and therefore more flexible control, over variables. I'm

RE: exec on windows NT

2002-02-05 Thread Sujan Digumarti
The build script i used is like this target name=one exec dir=c:\ant\bin executable=ant arg value=-version / /exec /target ant.bat is present inside the directory c:\ant\bin i tried the variation ant.bat it gives me the same error. tar, Sujan -Original Message- From: Conor MacNeill

How to report documentation error?

2002-02-05 Thread Juxti
Hi all, I found the tiniest mistake in the ant documentation, and was just wondering where this should be reported - I thought Bugzilla, but from the stuff I've read on jakarta.apache.org it seems bugzilla is just for technical error reporting. Sorry if this isn't the right place to ask, Eliot

RE: How to report documentation error?

2002-02-05 Thread Stephane Bailliez
-Original Message- From: Juxti [mailto:[EMAIL PROTECTED]] Hi all, I found the tiniest mistake in the ant documentation, and was just wondering where this should be reported - I thought Bugzilla, but from the stuff I've read on jakarta.apache.org it seems bugzilla is just for

Re: exec on windows NT

2002-02-05 Thread Conor MacNeill
Sujan Digumarti wrote: The build script i used is like this target name=one exec dir=c:\ant\bin executable=ant arg value=-version / /exec /target ant.bat is present inside the directory c:\ant\bin i tried the variation ant.bat it gives me the same error. The JDK launcher in 1.3

Ant 1.5, JDepend task doesn't support the format attribute

2002-02-05 Thread Chuck Stern
Hi, I'm trying to use the jdepend task with the latest build (1.5 alpha) ant the latest optional.jar. I'm getting the following error message: The jdepend task doesn't support the format attribute. My task looks like this: target name=jdepends depends=init property

Re: vssget appears to work but task fails

2002-02-05 Thread Bill Pfeiffer
I am getting 100 as an errorlevel, but all appears well. Is there anyway to get more info? Thanks for the help, Bill - Original Message - From: Nico Seessle [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 4:07 AM Subject: Re: vssget appears to

Any way to achieve filtered copy without @tokens@

2002-02-05 Thread KC Baltz
I know you can copy files and replace any @foo@ tokens with a value. I know you can use replace to perform regexp replacements on a set of files. Is it possible to combine the two so that only the files which are copied (presumably the small, modified subset of a large fileset) have a replace

RE: exec on windows NT

2002-02-05 Thread Sujan Digumarti
i made it work by setting vmlauncher=false. thanx conor -Original Message- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 6:10 PM To: Ant Users List Subject: Re: exec on windows NT Sujan Digumarti wrote: The build script i used is like this

mimeMail task

2002-02-05 Thread Hunt, Bryan
I have a mimemail tasks as shown . cut= target name=report depends=test junitreport todir=${project.report.dir} fileset dir=${project.report.dir} include name=TEST-*.xml/ /fileset report format=noframes todir=${project.formatted.report.dir}/ /junitreport mimemail

cvs client

2002-02-05 Thread C Santosh
Which cvs client does Ant use? Does it have one of its own? Santosh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: cvs client

2002-02-05 Thread Sharanya Vemu
ant has a cvs task in built and it needs to have cvs in classpath (the regular command line cvs client) -Original Message- From: C Santosh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: cvs client Which cvs client does Ant use? Does

inner classes

2002-02-05 Thread hauke . stammer
I have a rather big problem: Compiling round about 2000 source files, Ant fails when running over inner classes in one of our packages. I know that there are problems with inner classes and that the best way would be to fix the source code to make them public (as far as I remember). But for

RE: inner classes

2002-02-05 Thread David Medinets
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Compiling round about 2000 source files, Ant fails when running over inner classes in one of our packages. Is this a problem with Ant? or your Java compiler? Have you tried using Jikes as your compiler? I

is there an indexed version of ant-user-digest available?

2002-02-05 Thread vlad
Hi: I have subscribed to ant-user-digest but found the digest messages not very useful, mostly because their indices look like this: Topics (messages 17000 through 17029): - subject index not available for message(s) - 17000 by: 17001 by: 17002 by: 17003 by: 17004 by: 17005 by: 17006

Antwort: RE: inner classes

2002-02-05 Thread hauke . stammer
Hi! The error messages are: [echo] 1.2.2 [echo] Solaris VM [echo] 1.2.2 [javac] Compiling 1967 source files to /home/stephmic/Releasetest_Ant/classes/r1435 [javac] /home/stephmic/Releasetest_Ant/R1.435_cvs/mcbs/gui/McDbFieldPanel.java:27: Class McDbObject not found.

ERROR using ant style task with Xalan-J 2.2!!!! Why does nobody answer????

2002-02-05 Thread Spielmann Urban
Hello I have problems to use the style task with Xalan-J2.2. When I build with the following statement: style basedir=${config} destdir=${dest} extension=dot classpath=${steplet.classpath.global} processor=xalan style=CreateGraph.xsl

RE: How to change the string value into some source file?

2002-02-05 Thread Lev Zak
Thank you for the explanation. I found the correct filterset task's syntax for my config-file. But I thing the propertyfile task is more useful for me. But if I want to replace string includes : I receive \:. It means I could not use this way for update the path. This behavior described in manual

RE: Problems using Script task and XmlLogger together

2002-02-05 Thread Rubun Tang
Had anyone have a chance trying out the example below? I wonder if there's something with my configuration or if it's actually a bug in Ant. -Original Message- From: Rubun Tang [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:47 AM To: Ant Users List (E-mail) Subject:

problem with filtering/IDE integration

2002-02-05 Thread Phil Surette
(Before I begin, yes I know about log4j etc. but prefer the solution outlined below) I use filters to replace static final constant DEBUG flags at build time. Basically, I define a static final constant at the top of each build file like this: public class Introspector { private static

Re: classpath as a source for copy ?

2002-02-05 Thread Bill Winspur
Thanks Diane, neat idea. I had not thought of the script tag, Bill. - Original Message - From: Diane Holt [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 12:45 AM Subject: Re: classpath as a source for copy ? --- Bill Winspur [EMAIL PROTECTED]

Re: Critique my optional file copy target, please?

2002-02-05 Thread Scott Ellsworth
Hi, Stefan. Thank you for the commentary and critique. On Tuesday, February 5, 2002, at 02:47 AM, Stefan Bodewig wrote: On Mon, 4 Feb 2002, Scott Ellsworth [EMAIL PROTECTED] wrote: One way to do this is to sent compile.scr to the same as src, and to make the copy phase only do the

Fwd: newbie ant user: creating a skeleton build.xml?

2002-02-05 Thread stephan beal
Hello, anters, i'm a complete newbie to ant, but not a newbie user. i've just been given the task (no pun intented) of converting our company's make-based builds into ant (~2500 classes in 500-some-odd packages). i've searched high and low and can find no tool for generating a skeleton build.xml

Re: newbie ant user: creating a skeleton build.xml?

2002-02-05 Thread stephan beal
On Tuesday 05 February 2002 18:28 pm, Jon Skeet wrote: i'm a complete newbie to ant, but not a newbie user. i've just been given the task (no pun intented) of converting our company's make-based builds into ant (~2500 classes in 500-some-odd packages). i've searched high and low and

Re: newbie ant user: creating a skeleton build.xml?

2002-02-05 Thread Steve Loughran
- Original Message - From: stephan beal [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED]; Jon Skeet [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 09:34 Subject: Re: newbie ant user: creating a skeleton build.xml? On Tuesday 05 February 2002 18:28 pm, Jon Skeet wrote: i'm

Re: Fwd: newbie ant user: creating a skeleton build.xml?

2002-02-05 Thread Diane Holt
--- stephan beal [EMAIL PROTECTED] wrote: i'm a complete newbie to ant, but not a newbie user. i've just been given the task (no pun intented) of converting our company's make-based builds into ant (~2500 classes in 500-some-odd packages). i've searched high and low and can find no tool for

passing a Collection as paramater

2002-02-05 Thread Marchioni Francesco
Hi all, I'd like to know if it's possible to pass a Collection of parameters to my Own Task. At the moment I need to pass a list or urls to the Task in this way.. property name=url1 value=http://./ property name=url2 value=http://./ property name=url3 value=http://./ taskdef

How to set global options for java task in ejbjar?

2002-02-05 Thread lduperval
Hi, Is there a way to set global options for java tasks, specifically, the ones run from withing an ejbjar task? Specifically, for some reason, my java tasks have started segfaulting. I need to pass the -classic flag to (at least) all the java tasks run within an ejbjar task. Is there a

Re: passing a Collection as paramater

2002-02-05 Thread Erik Hatcher
Use this kind of syntax: mytask url href=/ . . . url href=/ /mytask Check Ant's source code for similar syntaxed tasks for the implementation details. Erik - Original Message - From: Marchioni Francesco [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

Re: newbie ant user: creating a skeleton build.xml?

2002-02-05 Thread stephan beal
On Tuesday 05 February 2002 18:47 pm, Steve wrote: The bit about adding the filenames to the file - but i must admit that i am *assuming* that that's part of the process (i was weened on make, so my mind-set is probably a bit broken when it comes to ant). i'd be happy to be wrong!

RE: passing a Collection as paramater

2002-02-05 Thread Marchioni Francesco
hi thanks Erik...I'll check maybe mapping the parameter url as Collection in my Task will do the trick thanks Francesco -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: martedì 5 febbraio 2002 18.57 To: Ant Users List Subject: Re: passing a Collection as

Re: passing a Collection as paramater

2002-02-05 Thread Erik Hatcher
No, that won't do it. I'm not sure what the simplest task is to look at that takes this construct, but there are many so just dig into Ant's source code and look at similar tasks. I could give you the answer, but that'd be no fun! (but then I'd have to go dig it up and cut and paste it

File copy problem

2002-02-05 Thread Shvartsburd, Feliks
WHen I want to copy a file using copy tofile=F:/cmkserver_${label}.zip I get this error. C:\dev\QA\build\qabuild.xml:151: Cannot concatenate multple files into a single file. at org.apache.tools.ant.taskdefs.Copy.validateAttributes(Copy.java:290) at

RE: File copy problem

2002-02-05 Thread Shvartsburd, Feliks
I use this, and I think since this thinks that there are many files it fails. Is that the case? target name=copyBuild echo message=Copying build file name is ${label}/ copy tofile=F:/cmkserver_${label}.zip fileset dir=${blvm_root}/build/dist/

Re: File copy problem

2002-02-05 Thread Diane Holt
--- Shvartsburd, Feliks [EMAIL PROTECTED] wrote: WHen I want to copy a file using copy tofile=F:/cmkserver_${label}.zip I get this error. C:\dev\QA\build\qabuild.xml:151: Cannot concatenate multple files into a single file. How are you specifying the name of the file you're copying? Diane

RE: File copy problem

2002-02-05 Thread Diane Holt
--- Shvartsburd, Feliks [EMAIL PROTECTED] wrote: I use this, and I think since this thinks that there are many files it fails. Is that the case? target name=copyBuild echo message=Copying build file name is ${label}/ copy tofile=F:/cmkserver_${label}.zip

RE: File copy problem

2002-02-05 Thread Shvartsburd, Feliks
I'm going to write my own task. It drove me crazy. Thanks for the support :)) -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 11:10 AM To: Ant Users List Subject: RE: File copy problem --- Shvartsburd, Feliks [EMAIL PROTECTED] wrote: I

RE: File copy problem

2002-02-05 Thread Jon Skeet
I'm going to write my own task. It drove me crazy. Thanks for the support :)) What do you actually want it to do? If you want to create a zip file which contains all the files specified, you need to use the zip task rather than the copy task. Jon -- To unsubscribe, e-mail:

Re: Can someone who knows the innards of ejbjar...

2002-02-05 Thread Jesse Stockall
On Tue, 2002-02-05 at 13:52, [EMAIL PROTECTED] wrote: ...tell me what part of the task produces this error message: Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN, systemId: http://java.sun.com/dtd/ejb-jar_2_0.dtd) to a local entity You need to

RE: File copy problem

2002-02-05 Thread Shvartsburd, Feliks
I need to do the following thing: 1. Copy .zip file to target directory and change its name in target location. Problem is that file name that I need to copy is not static. It changes appending timestamp to it. All I know that there is only one single .zip file in that location. Does

RE: File copy problem

2002-02-05 Thread Jon Skeet
I need to do the following thing: 1. Copy .zip file to target directory and change its name in target location. Problem is that file name that I need to copy is not static. It changes appending timestamp to it. All I know that there is only one single .zip file in that

RE: mimeMail task

2002-02-05 Thread Andrew.Beacock
Bryan, The file that I want to send definitely exists but the contents of the email when I receive it are as follows . snip/ and thats it. Is there any known bug in the mimeMail task ? If I remember correctly I had the same problem a while ago, you specify the messageFile but it's

RE: File copy problem

2002-02-05 Thread Diane Holt
--- Shvartsburd, Feliks [EMAIL PROTECTED] wrote: I'm going to write my own task. It drove me crazy. Thanks for the support :)) Well, that's certainly one way to do it -- but it seems like kind of a long way around, especially given that I sent you a target yesterday that does what you want.

Re: vssget appears to work but task fails

2002-02-05 Thread Nico Seessle
- Original Message - From: Bill Pfeiffer [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 2:18 PM Subject: Re: vssget appears to work but task fails I am getting 100 as an errorlevel, but all appears well. Is there anyway to get more info? The

Re: Ant 1.5, JDepend task doesn't support the format attribute

2002-02-05 Thread Peter Donald
Looks like you are not using the latest version of ant? Could you have set ANT_HOME to an old version or somehow be using old version of script? On Wed, 6 Feb 2002 00:09, Chuck Stern wrote: Hi, I'm trying to use the jdepend task with the latest build (1.5 alpha) ant the latest

Re: test environment variable and if statement

2002-02-05 Thread Michael J McGonagle
Erik Hatcher wrote: Also, just for the record :), properties set from the command-line are not quite equivalent to properties set from property file=.../. -D properties (and now -propertyfile ones) are more(?) immutable. That is quite a large cat to just let out of the bag without

Can someone who knows the innards of ejbjar...

2002-02-05 Thread lduperval
...tell me what part of the task produces this error message: Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN, systemId: http://java.sun.com/dtd/ejb-jar_2_0.dtd) to a local entity I'm trying to debug the problem where the ejbjar task doesn't find the

Re: test environment variable and if statement

2002-02-05 Thread Erik Hatcher
Ant carries around two collections of properties. Properties from -D/-propertyfile are immutable (even moreso than they should be in the ant case, I think). For some reason these are called user properties (I guess because the user set them specifically). Properties set with property are

Building RPMs under Windows

2002-02-05 Thread Mark Derricutt
Is it possible to use the RPM task under windows at all? -- \m/ -- ...if I seem super human I have been misunderstood. (c) Dream Theater [EMAIL PROTECTED] - ICQ: 1934853 JID: [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Re: Building RPMs under Windows

2002-02-05 Thread Emir Alikadic
On 02/05/2002 03:33 PM, Mark Derricutt wrote: Is it possible to use the RPM task under windows at all? Of course! All you have to do is build RPM under Windows, or get a pre-compiled Win32 RPM binary... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: vssget appears to work but task fails

2002-02-05 Thread Bill Pfeiffer
There are definitely multiple files checked out to other users as well as myself, but I am performing the get into an empty directory structure. Do you think this is the cause? Thanks again, Bill - Original Message - From: Nico Seessle [EMAIL PROTECTED] To: Ant Users List [EMAIL

RE: cvs client

2002-02-05 Thread Hunt, Bryan
that should be path rather than classpath. Classpath is only to specify to java interpreter where to find class files. --B -Original Message- From: Sharanya Vemu [mailto:[EMAIL PROTECTED]] Sent: 05 February 2002 14:51 To: 'Ant Users List' Subject: RE: cvs client ant has a cvs task in

RE: ERROR using ant style task with Xalan-J 2.2!!!! Why does nobody a nswer????

2002-02-05 Thread Hunt, Bryan
put xalan.jar and bsf.jar in the ant libs directory -Original Message- From: Spielmann Urban [mailto:[EMAIL PROTECTED]] Sent: 05 February 2002 15:44 To: '[EMAIL PROTECTED]' Subject: ERROR using ant style task with Xalan-J 2.2 Why does nobody a nswer Hello I have problems to

RE: vssget appears to work but task fails

2002-02-05 Thread Blair Jennings
Is your VSS Db out on a network share? I get this problem sometimes because the network drops the connection before VSS is actually done. -Original Message- From: Bill Pfeiffer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 12:56 PM To: Ant Users List Subject: Re: vssget

Where is Antidote?

2002-02-05 Thread Steve Holdener
Does anyone know how I can get Antidote? I played with this tool a bit back in 1.3, but it seems to have disappeared from the Ant source tree. The CVS logs suggest to me that it's a separate project, but it doesn't show up anywhere else on the jakarta site. Perhaps it's unstable enough

Re: Where is Antidote?

2002-02-05 Thread Diane Holt
--- Steve Holdener [EMAIL PROTECTED] wrote: Does anyone know how I can get Antidote? I played with this tool a bit back in 1.3, but it seems to have disappeared from the Ant source tree. http://cvs.apache.org/viewcvs/jakarta-ant/src/antidote/ Diane = ([EMAIL PROTECTED])

Re: Can someone who knows the innards of ejbjar...

2002-02-05 Thread Jesse Stockall
On Tue, 2002-02-05 at 16:34, [EMAIL PROTECTED] wrote: Yes, I understand that. But once the application is deployed, ant is no longer involved. Ant at that point, if *I* don't have an Internet connection to Sun's site and to BEA's site, the applications don't start. At least on my site. I was

Re: ERROR using ant style task with Xalan-J 2.2!!!! Why does nobodyanswer????

2002-02-05 Thread Frank E. Weiss
Have you copyied the following three files from the Xalan-j bin directory to the Ant lib directory? xalan.jar, xerces.jar, xml-apis.jar Spielmann Urban wrote: Hello I have problems to use the style task with Xalan-J2.2. When I build with the following statement: style

fail very minor issue.

2002-02-05 Thread Jeffrey Jensen
I noticed behavior that seems incorrect with fail, however in a very minor way (I leave it to the experts to determine and change!): fail/ works as advertised - displays pathbuildfile:line#: No message. fail message=The fail message./ works as advertised - displays pathbuildfile:line#: The

Re: fail very minor issue.

2002-02-05 Thread Diane Holt
It's fixed in CVS. Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: Critique my optional file copy target, please?

2002-02-05 Thread Scott Ellsworth
On Tuesday, February 5, 2002, at 09:00 AM, Scott Ellsworth wrote: On Tuesday, February 5, 2002, at 02:47 AM, Stefan Bodewig wrote: On Mon, 4 Feb 2002, Scott Ellsworth [EMAIL PROTECTED] wrote: target name=copy depends=init if=copy.needed rmdir dir=${compile.source}/ wouldn't that

Re: Can someone who knows the innards of ejbjar...

2002-02-05 Thread lduperval
On 5 Feb, Jesse Stockall wrote: On Tue, 2002-02-05 at 13:52, [EMAIL PROTECTED] wrote: ...tell me what part of the task produces this error message: Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN, systemId: http://java.sun.com/dtd/ejb-jar_2_0.dtd)

Re: Can someone who knows the innards of ejbjar...

2002-02-05 Thread Steve Loughran
- Original Message - From: Jesse Stockall [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 14:00 Subject: Re: Can someone who knows the innards of ejbjar... On Tue, 2002-02-05 at 16:34, [EMAIL PROTECTED] wrote: Yes, I understand that. But once

Re: vssget appears to work but task fails

2002-02-05 Thread Nico Seessle
- Original Message - From: Bill Pfeiffer [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 9:55 PM Subject: Re: vssget appears to work but task fails There are definitely multiple files checked out to other users as well as myself, but I am

error executing system command--please help

2002-02-05 Thread Zhendi Su
Hi, I am using ant's apply task to execute a system command. It looks like the following: apply executable=ojspc failonerror=True arg line=-srcdir jspjava / arg value=-noCompile / arg line=-appRoot /home/rsu/prototype / fileset dir=testjsp /fileset /apply The build failed without giving me a

Any way to echo a fileset?

2002-02-05 Thread Scott Ellsworth
Hi, all. I am trying to figure out why none of my files are getting compiled in one of my projects. I presume it is something very easy, but that I am not seeing it because I have been staring at it all day. If I could find out exactly what path on the filesystem it was looking at, I might

RE: Any way to echo a fileset?

2002-02-05 Thread Eddie Bernard
First thing I would suggest is to: 1) Get rid of the includes attribute since the javac task is smart enough to know to pick up *.java -- or, 2) Set the includes and excludes attributes as follows: includes=**/${build.includedFiles}

Re: Any way to echo a fileset?

2002-02-05 Thread Scott Ellsworth
Howdy, Eddie. Thanks much - you found it for me. On Tuesday, February 5, 2002, at 05:25 PM, Eddie Bernard wrote: First thing I would suggest is to: 1) Get rid of the includes attribute since the javac task is smart enough to know to pick up *.java -- or, 2) Set the includes and excludes

error running exec task

2002-02-05 Thread Zhendi Su
Hi, I am trying to execute a command line task via ant and somehow it didn't work. For example, for a simple command line task like ls -l * I implemented as target name=mytarget exec executable=ls failonerror=True[ arg line=-l * / /exec /target And ant gave me: compilejsp: [exec]

Re: error running exec task

2002-02-05 Thread Diane Holt
--- Zhendi Su [EMAIL PROTECTED] wrote: I am trying to execute a command line task via ant and somehow it didn't work. For example, for a simple command line task like ls -l * Get rid of the * -- you don't need it, since 'ls -l' will list everything anyway, and including an asterisk in the

RE: error running exec task

2002-02-05 Thread Conor MacNeill
From: Diane Holt [mailto:[EMAIL PROTECTED]] Get rid of the * -- you don't need it, since 'ls -l' will list everything anyway, and including an asterisk in the command line doesn't work unless you exec 'sh' instead of 'ls'. Just to expand a bit on Diane's explanation. On Unix systems, the

Re: test environment variable and if statement

2002-02-05 Thread Ray Tayek
At 07:17 AM 2/5/02 -0500, you wrote: I think this is the wrong use of condition personally. ... i was just looking at cactus's build.xml. seems like ant will pick up a build.properties in your current directory first. ... As for junit.jar - it really should live in ANT_HOME/lib (or system