Re: How do I keep a zipgroupfileset from grabbing everything in a directory?

2002-05-30 Thread Diane Holt
Maybe set it to "none" instead of "". Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: For additional comma

How do I keep a zipgroupfileset from grabbing everything in a directory?

2002-05-30 Thread Scott Ellsworth
Hi, all. If I have the following as part of my jar target: it grabs everything in the directory. I would have thought that supplying an empty includes would have prevented that from happening. So, is this a bug, or is it a feature? If it is a feature, is there any way to tell it to not

problem - isn't finding various source files/imports

2002-05-30 Thread Chris Bailey
I'm seeing an odd thing with the task in my project. I have all my sources in /src/company/packagename/... hierarchy. I have this for my javac task: build.xml is located in , and that's where I run ant from. It compiles many o

Re: perl and the script task

2002-05-30 Thread Hal Hildebrand \(web\)
Do it with javascript. Forget Perl.

Re: perl and the script task

2002-05-30 Thread Diane Holt
--- Anthony Rodriguez <[EMAIL PROTECTED]> wrote: > I am fairly good with Perl but I don't know how to use the

RE: java GUI from ANt

2002-05-30 Thread Boris Garbuzov
It was it!1 Thanks very much. --- Try with and see if that fixes it. There could be class loader issues, usually solved by forking. --DD -Original Message- From: Boris Garbuzov [mailto:[EMAIL PROTECTED]] Sent: Thursday, Ma

perl and the script task

2002-05-30 Thread Anthony Rodriguez
This is for anyone out there who has run the

Re: Setting Enviroment alias in properties file - CLARIFICATION

2002-05-30 Thread Diane Holt
--- Steve Loughran <[EMAIL PROTECTED]> wrote: > My view is that importing properties is a symptom of a larger problem: > sharing information between files. Adding more command line opts doesnt > address the more fundamental issue that we need better ways of importing > build files into build files

RE: Setting Enviroment alias in properties file - CLARIFICATION

2002-05-30 Thread Dominique Devienne
Me, I do the reverse and always puts it first, to be able to use ${env.SOMETHING} in the properties files. I consider the env. properties immutable, and if I want override-ability, I don't use ${env.XXX} directly, but copy it to another variable for later use (variable which can be overridden in t

RE: 2 Questions: JunitReport & Fileset

2002-05-30 Thread Dominique Devienne
Actually, our tests are in the source tree, so our pattern is **/test/*Test.class, and in fact we have a little utility that scans a classpath or search path for test classes. The test class name pattern is the first filter, then it needs to be assignable to junit.framework.Test, and then we have

Re: Setting Enviroment alias in properties file - CLARIFICATION

2002-05-30 Thread Steve Loughran
- Original Message - From: "Diane Holt" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 2:53 PM Subject: RE: Setting Enviroment alias in properties file - CLARIFICATION > --- "White, Joshua A (AG, COMM)" <[EMAIL PROTECTED]> wrote: > > It's just

RE: 2 Questions: JunitReport & Fileset

2002-05-30 Thread John Lindwall
That's perfect -- Thanks! So is *Test.java the standard naming practice? What does one do when you have a java file named "Test.java"!? :) (Which we actually do) John > -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 30, 2002 1:22 PM > T

RE: java GUI from ANt

2002-05-30 Thread Dominique Devienne
Try with and see if that fixes it. There could be class loader issues, usually solved by forking. --DD -Original Message- From: Boris Garbuzov [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:57 PM To: [EMAIL PROTECTED] Subject: java GUI from ANt I experience some forking, thr

RE: Setting Enviroment alias in properties file - CLARIFICATION

2002-05-30 Thread Diane Holt
--- "White, Joshua A (AG, COMM)" <[EMAIL PROTECTED]> wrote: > It's just redundant. True. > If anyone has any suggestions, let me know. The only one I could think of that didn't incur yet more redundancy was to add a command-line flag to Ant -- so that's what I did. Now, whether it'd be accept

java GUI from ANt

2002-05-30 Thread Boris Garbuzov
I experience some forking, threading or waiting problem. My GUI application dies in a second after start when started from Ant, whereas it normally runs without it. Can somebody give a clue? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Hi, all. How do I protect myself from System.exit?

2002-05-30 Thread Daniel Barclay
> -Original Message- > From: Scott Ellsworth [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 28, 2002 10:57 PM > To: Ant List > Subject: Hi, all. How do I protect myself from System.exit? > > > Hi, all. > > I have a task that I have written that calls the main method > of a java > c

RE: don't want to use JAVA_HOME

2002-05-30 Thread Robert Priest
thanks. that worked. -Original Message- From: Alexey Solofnenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:37 PM To: 'Ant Users List' Subject: RE: don't want to use JAVA_HOME You need to add c:\jdk1.3.1_02\lib\tools.jar into classpath. - Alexey. -- { http://trelony.cjb.

RE: don't want to use JAVA_HOME

2002-05-30 Thread Alexey Solofnenko
You need to add c:\jdk1.3.1_02\lib\tools.jar into classpath. - Alexey. -- { http://trelony.cjb.net/ } Alexey N. Solofnenko { http://www.inventigo.com/ } Inventigo LLC Pleasant Hill, CA (GMT-8 usually) -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED]] Sent: Thursday, M

don't want to use JAVA_HOME

2002-05-30 Thread Robert Priest
I am using ant 1.5.beta1 I am calling ant like so: c:\jdk1.3.1_02\bin\java -Dant.home=D:\Test\jakarta\jakarta-ant-1.5Beta1\ org.apache.tools.ant.Main but that gives me the following error when it runs: he\catalina\authenticator\BasicAuthenticator.java [javac] Modern compiler not found -

RE: 2 Questions: JunitReport & Fileset

2002-05-30 Thread Dominique Devienne
Did you try ? We use the **/*Test.class pattern, so inner classes not ending in Test are left alone ;-) --DD -Original Message- From: John Lindwall [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:19 PM To: 'Ant Users List' Subject: 2 Questions: JunitReport & Fileset Ant 1.4.

2 Questions: JunitReport & Fileset

2002-05-30 Thread John Lindwall
Ant 1.4.1 1. Using JUnitReport can I customize the output at all? I want the date/time of the test execution to appear on the main page. 2. Our junit unit tests live in a parallel source tree and are all prefixed with the string "Test". For example "TestStartTime.java". Some of the unit tes

Re: writing the web application descriptor file from Ant

2002-05-30 Thread Erik Hatcher
Along with Steve's XDoclet suggestion, also look into filtered to replace things dynamically in a templated web.xml. - Original Message - From: "Bill Brooks" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 3:25 PM Subject: writing the web appl

Re: writing the web application descriptor file from Ant

2002-05-30 Thread Steve Loughran
- Original Message - From: "Bill Brooks" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 12:25 PM Subject: writing the web application descriptor file from Ant > On Thu, 30 May 2002, Diane Holt wrote: > > > Writing a task is certainly one way to

Re: (was Re: Java Development with Ant)

2002-05-30 Thread Steve Loughran
- Original Message - From: "Gordon Tyler" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 11:48 AM Subject: Re: (was Re: Java Development with Ant) > > - Original Message - > From: "Steve Loughran" <[EMAIL PROTECTED]> > > > > > I manage

writing the web application descriptor file from Ant

2002-05-30 Thread Bill Brooks
On Thu, 30 May 2002, Diane Holt wrote: > Writing a task is certainly one way to do what you need doing -- but if > you get stuck on something, you can also try writing the list, and it's > likely that someone would be able to provide a solution (if nothing else, > you may find someone has already

fixCRLF bug in 1.5?

2002-05-30 Thread Ed Mack
We have many files which contain only CR for line endings. When using the code, below, under Ant 1.4.1, I get the expected results, under both W2k and Linux--CR becomes CRLF under W2k and CR becomes LF under Linux, respectively. Using Ant 1.5beta, though, when I have two consecutive CRs, the (no

RE: default includes of task

2002-05-30 Thread Chris Bailey
I agree on the first part, I had the same thing (where Ant tells me it's skipping all sorts of non .java files). Adding the include for .java files is easy, but yes, the docs don't reveal this, and you only notice it if you are in verbose mode, but it certain slows things down (if you have a lot

Re: Ant for multi-tier deployments

2002-05-30 Thread Steve Loughran
nobody does anything like that yet. But look at rant on sourceforge: a soap servlet that runs ant remotely - Original Message - From: "Matthew Pearce" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 10:10 AM Subject: Ant for multi-tier deployments Impressed with

Re: (was Re: Java Development with Ant)

2002-05-30 Thread Steve Loughran
- Original Message - From: "Gordon Tyler" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 9:46 AM Subject: Re: (was Re: Java Development with Ant) > > - Original Message - > From: "Steve Loughran" <[EMAIL PROTECTED]> > > > > I managed t

Re: Java Development with Ant (was: Re: Ant: The Definitive Guide (Orielly))

2002-05-30 Thread Bruce Atherton
At 11:54 PM 5/29/2002 -0400, Erik Hatcher wrote: >Also, another chapter deals with writing custom >listeners/loggers/selectors/mappers and

RE: Accessing the individual files in the file list

2002-05-30 Thread Diane Holt
--- John Mc Quillan <[EMAIL PROTECTED]> wrote: > I did try but couldn't make it work. So, I finally bit the bullet and > made a custom task. Writing a task is certainly one way to do what you need doing -- but if you get stuck on something, you can also try writing the list, and it's likely that

RE: setting classpath using classpathref attribute

2002-05-30 Thread Diane Holt
--- "Das, Kuntal" <[EMAIL PROTECTED]> wrote: > IS there anyway to reference a variable in the path element, w/o using a > command-line argument ? Sure -- just make sure the property's been set before you reference it. IOW, either set the needed properties at the project level before your project

RE: Accessing the individual files in the file list

2002-05-30 Thread John Mc Quillan
I did try but couldn't make it work. So, I finally bit the bullet and made a custom task. Thanks John -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 20:21 To: Ant Users List; [EMAIL PROTECTED] Subject: Re: Accessing the individual files in the file list

Re: Ant for multi-tier deployments

2002-05-30 Thread Hal Hildebrand \(web\)
Our system is such a system. We have about 60 -100 processes on as many machines all controlled from a single machine using Ant. We don't have a GUI yet, due to scheduling, but the command line is very simple to use. The great thing is that when we get time to build a GUI for it, we will just c

RE: scope of property

2002-05-30 Thread Diane Holt
--- Greg Hassan <[EMAIL PROTECTED]> wrote: > Is it correct to assume that properties from a parent project are > available to the child project (project called using ), but not > vice versa... Yes. > If so, how can I return a value to a calling project? For now, the only way is to have the call

Ant for multi-tier deployments

2002-05-30 Thread Matthew Pearce
Impressed with how easy Ant is to use, I am wondering have others on this list used it to do multi-tier deployments. By this I mean deploying a fileset to a server which then causes knock-on updates to other servers. Do such builds have to be conducted from one Ant process or can Ant be run in

RE:

2002-05-30 Thread Dominique Devienne
Title: Nevermind. Maybe it is, maybe it isn't... I was running a 1.5 build script with 1.4.1... --DD   -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 11:59 AM To: '[EMAIL PROTECTED]' Subject:   Why was in 1.4.1 changed to

ant-user@jakarta.apache.org

2002-05-30 Thread Dominique Devienne
Title: Why was "acme.jar" /> in 1.4.1 changed to " acme.jar" /> in 1.5? I though Ant was big in backward compatibility? Shouldn't the 'jarfile' attribute have been deprecated only? --DD -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: setting classpath using classpathref attribute

2002-05-30 Thread Das, Kuntal
Is it complaining about ${weblogic} not set properly ? I had this problem too, when I used to set a global classpath. But I couldn't access any variables, since there's no option of using "depends="init"", in which case the variables(${weblogic} in ur case) would be defined. The only other option

RE: scope of property

2002-05-30 Thread Greg Hassan
> Properties in Ant don't really have "scope" -- once a property is set, > it's available throughout the project (it was set in). > > Diane Sounds good, but... Assume I have two projects: versioning.xml build.xml 'get_version

RE: MS VSS and IllegalMonitorStateException

2002-05-30 Thread Jon Skeet
> As you all recommended I removed the 1.4 optional tasks and > am using the one > that came with 1.5Beta but the problem still persists? Any > thoughts? I am > using the JVM that comes with JDK 1.2.2 running on a Win2k box. As I said before: could you try running with a different VM or runni

Re: (was Re: Java Development with Ant)

2002-05-30 Thread Gordon Tyler
- Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> > I managed to use it to compile a JNI native library, with a single build > file going javac->javah->cc->junit. As a process for building jni libs, this > is slick, better than spawmning MSDEV as I have done in the past. T

Re: MS VSS and IllegalMonitorStateException

2002-05-30 Thread Jet Hariramani
The same exact code works fine under ANT1.4.1. So it probably is a bug - Original Message - From: "Jet Hariramani" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 11:28 AM Subject: Re: MS VSS and IllegalMonitorStateException > As you all recomm

RE: Setting Enviroment alias in properties file - CLARIFICATION

2002-05-30 Thread Brian Agnew
Not sure if I'm solving your particular problem, but I have several build.xmls which can be invoked separately or together. I keep my properties in a separate build.properties.xml file, and then reference this in each build.xml using: ]> &properties; which is a bit of a mouthful but works well

Re: MS VSS and IllegalMonitorStateException

2002-05-30 Thread Jet Hariramani
As you all recommended I removed the 1.4 optional tasks and am using the one that came with 1.5Beta but the problem still persists? Any thoughts? I am using the JVM that comes with JDK 1.2.2 running on a Win2k box. - Original Message - From: "Jon Skeet" <[EMAIL PROTECTED]> To: "Ant Use

RE: Setting Enviroment alias in properties file - CLARIFICATION

2002-05-30 Thread White, Joshua A (AG, COMM)
It's just redundant. We use a properties file to eliminate this kind of redundancy. It would be nice if I could put environment="env" in the properties file, and ant would figure it out. I just thought that there would be an easier way. If anyone has any suggestions, let me know. Joshua

Re: Setting Enviroment alias in properties file - CLARIFICATION

2002-05-30 Thread Diane Holt
--- "White, Joshua A (AG, COMM)" <[EMAIL PROTECTED]> wrote: > Is there another "aliasing" the environmental variables without putting > the statement in every build file? I can think of several ways, but they'd all be remarkably roundabout (think: Rube Goldberg), and you'd still have to account

Setting Enviroment alias in properties file - CLARIFICATION

2002-05-30 Thread White, Joshua A (AG, COMM)
I apologize. Let me clarify. I know that you can alias the system properties by using the following: This allows me to access system variables such as env.CLASSPATH. (This works.) My project has been decomposed into several small projects, each with its own build.xml file. When I build a

RE: Setting Enviroment alias in properties file

2002-05-30 Thread Dominique Devienne
Huh? What do you mean by aliasing? ${env.CLASSPATH} being the same as ${envAlias.CLASSPATH}? That's not possible AFAIK. If you want to control the prefix used to access environment properties, then do something like: By then you must know the prefix used to access env. vars in the build file

Re: Ant 1.5b1/Tomcat Builds

2002-05-30 Thread Anthony W. Marino
Stefan, I'm sorry, I just found your reply. No I wasn't having any problems however just wanted to know what to look out for. Thank You, Anthony > On Mon, 20 May 2002, Anthony W. Marino <[EMAIL PROTECTED]> wrote: > > Have there been any issues with regards to Tomcat4.x builds and use > > of An

Headless WSAD and ANT

2002-05-30 Thread dion
> Hi there > > Has anyone on this list used ANT to do build with WSAD with WSAD Headless, > as described in this article? > > http://www7b.software.ibm.com/wsdd/library/techarticles/0203_searle/searle1 . > html > < http://www7b.software.ibm.com/wsdd/library/techarticles/0203_searle/searle1 > .html

Re: setting classpath using classpathref attribute

2002-05-30 Thread Conor MacNeill
Karen Davies wrote: > Hi all, > I've just created a simple build file, setting the classpath as follows: > > > > > > > > classpathref="test.classpath"/> > > > However, when i run ant it does not pick up this classpath at all, it will > only pick it up if i set is as:

setting classpath using classpathref attribute

2002-05-30 Thread Karen Davies
Hi all, I've just created a simple build file, setting the classpath as follows: However, when i run ant it does not pick up this classpath at all, it will only pick it up if i set is as: If anyone has any suggestions as to what i'm doing wrong, much appreciated.

default includes of task

2002-05-30 Thread Wannheden, Knut
Hi, In the manual it is stated that if the "includes" attribute is omitted for the task, all .java files are included. If this is interpreted as "the default value is **/*.java" then the documentation is not entirely correct. I find it somewhat annoying that outputs (in verbose mode) lines of

RE: MS VSS and IllegalMonitorStateException

2002-05-30 Thread Jon Skeet
> I am running ANT 1.5 Beta and have also installed the 1.4 > optional tasks to do gets from MS SourceSafe. I don't think using the 1.4 optional tasks with 1.5 is recommended, to be honest. > When ant hits the target where i'm doing my get i get the > following error: > > java.lang.IllegalMon

Re: MS VSS and IllegalMonitorStateException

2002-05-30 Thread Conor MacNeill
Jet Hariramani wrote: > Hi! > > I am running ANT 1.5 Beta and have also installed the 1.4 optional tasks to > do gets from MS SourceSafe. Can you please remove the 1.4 optional tasks and try again. The 1.5 Beta download will have included its own optional.jar. It is best not to mix and match t

Re: Problems setting environment

2002-05-30 Thread Conor MacNeill
Brian Matzon wrote: > Hi > > I'm having trouble running my ant scripts, after updating to Windows XP. > When running the script, windows pops this dialog up: > > # > Title: 16 bit MS-DOS Subsystem > Text: C:\WINDOWS\system32\ntvdm.exe > Error while setting up environment for the applic

MS VSS and IllegalMonitorStateException

2002-05-30 Thread Jet Hariramani
Hi! I am running ANT 1.5 Beta and have also installed the 1.4 optional tasks to do gets from MS SourceSafe. When ant hits the target where i'm doing my get i get the following error: java.lang.IllegalMonitorStateException: current thread not owner at org.apache.tools.ant.taskdefs.StreamP

Problems setting environment

2002-05-30 Thread Brian Matzon
Hi I'm having trouble running my ant scripts, after updating to Windows XP. When running the script, windows pops this dialog up: # Title: 16 bit MS-DOS Subsystem Text: C:\WINDOWS\system32\ntvdm.exe Error while setting up environment for the application. Choose 'Close' to terminate the

Setting Enviroment alias in properties file

2002-05-30 Thread White, Joshua A (AG, COMM)
I know that you can alias the system properties by using the following: This allows me to access system variables such as env.CLASSPATH. I was hoping I could alias this property globally by setting it in a properties file: environment="env" It doesn't seem to work. Is there another way to

Re: in 1.5 beta1

2002-05-30 Thread Denise Landers
I have tried using , and it does document just that list of files. But, then I do not have the left 2 frames with the package summaries. If I use then I get all the files in the package again. How do I use and still get the package summaries? - Denise - Original Message - From: "Dia

RE: problems with p4 task

2002-05-30 Thread Les Hughes
Interesting. Since I only ever have a single view per project (//depot/myproject/...) and I dpont rename files when I sync them, I haven't had this bug. Can you send an extract of your build.xml with the offending p4 task and the output (run with -debug or -verbose)? I have a feeling it's an iss