Re: excluding directories

2001-05-04 Thread Stefan Bodewig
Nolan Ring [EMAIL PROTECTED] wrote: I have what I'm afraid is an incredibly basic question about excluding directories from being built. I guess you mean you don't want to run javac in them, right? With make, if there's no Makefile, that directory and any others under it are ignored. No

RE: Only the init task executes

2001-05-04 Thread Andy Yates
I think you need to change the first line to: project name=Junit default=compile basedir=. (alternatively, invoke by typing 'ant compile') Andy -Original Message- From: J2EE User [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 4:08 PM To: [EMAIL PROTECTED] Subject: Only

Problem with SCRIPT and DEPENDENCIES

2001-05-04 Thread Marco Struck
ok, I have 4 targets prepare - prepareImport - createImportableStructure - createRepository the target createRepository use SCRIPT to check some directories and call createImportableStructure. I have thought that Ant is able to figure out which targets have been

Echo should happen only once

2001-05-04 Thread Pawan Kumar Katharikuppam
Hi, After a task is executed I always have a 'echo' task which prints a message that the task is successful. Later when other tasks which depend this task are executed, the message in the former task is echoed again. For example, if I have two targets one for compilation, and another a jar file

Re: wildcarding dir in fileset?

2001-05-04 Thread Jeff Turner
The inventor of the regexp mapper type deserves a medal for providing a solution to this problem. Let's assume we have this structure: src/dir1/classes/ src/dir2/classes/ src/dir3/classes/ src/../classes/ We want to jar the contents of all the classes together, but do not know until runtime

RE: how to ear with 1.4?

2001-05-04 Thread Keith Kee
The ear task doesn't seem to handle multiple fileset tags, or nested fileset. for instance, ear earfile=${deploy.dir}/classes/${name}.ear appxml=${src.dir}/metadata/application.xml fileset dir=${build.dir}/staging/ fileset dir=${build.dir}/ejb/ /ear

Re: Echo should happen only once

2001-05-04 Thread james terry
You could perhaps use System.out.println() from w/in the buildListener. [EMAIL PROTECTED] On Friday 04 May 2001 03:42, Pawan Kumar Katharikuppam wrote: Hi, After a task is executed I always have a 'echo' task which prints a message that the task is successful. Later when other tasks

generating a web application

2001-05-04 Thread Pinar Bicioglu
Is there any tasks of ant that generates a newly added web application in Tomcat directory? Thanks Pinar-

ejbjar task and weblogic 6.0

2001-05-04 Thread SPRUZEN, Simon, FM
I'm having problems integrating ant with Weblogic6.0 - ejbjar fails with an exception against WL6.0 - ant is unable to locate the Weblogic DTD. ant -version gives: Ant version 1.3 compiled on March 2 2001 Here's the exception: deploy: [echo] Deploying from C:\WINNT\Profiles\... to

RE: Ant + ZeroG Install Anywhere?

2001-05-04 Thread Steve Donie
I have been doing this with InstallAnywhere Enterprise. Here is my target: !-- === -- !-- Create Setup program -- !-- === -- target name=setup depends=jars

RE: Ant and Conditional Expressions1

2001-05-04 Thread Shaikh, Mehmood
Can you post the source code of your tasks to this list? I guess, its about time that there be a place to get work like yours be posted on a website. -Original Message- From: Tim Vernum [mailto:[EMAIL PROTECTED]] Sent: May 4, 2001 12:25 AM To: 'ANT-user' Subject: RE: Ant and Conditional

RE: Ant + ZeroG Install Anywhere?

2001-05-04 Thread Paul Perevalov
Jon, I'm using JExpress product from DeNova and it works very well for me. You can do all packaging from command line and even setup some packaging properties in Ant target because it uses simple property file to store it configuration. Here is an example of my build file for distribution task:

Filters and token values

2001-05-04 Thread M.A.Dunphy
Title: Filters and token values Hi there, When you setup filter tokens via a filterfile, is it possible to access a token and it's value as if it was a property. This if I had this in the file: VERSION =1.0 Then could I reference it like ${ant.token.VERSION} Doing it this way, the file

Fixing Classloader Linking Errors

2001-05-04 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
I have run into a dreaded Classloader linking constraint while executing a junit task and need advice on which solution to pursue. Apparently the root of the problem is the duplication of classpaths between the System Classloader and some other Classloader. here is the Exception stack:

Ant 1.3 and JUnit 3.6

2001-05-04 Thread smarks
Hi, I was hoping someone could tell me if Ant 1.3 and JUnit 3.6 work together. I noticed I am several revs behind on JUnit and want to get current, but don't want to break ant in the process. Thanks,

RE: Fixing Classloader Linking Errors

2001-05-04 Thread Stephane Bailliez
As you guessed, this is due to the fact that you cannot load twice the same class with different classloaders in the same JVM, this is to prevent some malicious hacking by replacing classes. Your only choice is to run with fork=yes or to avoid duplicating the classes in your junit task

Re: Filters and token values

2001-05-04 Thread Diane Holt
--- M.A.Dunphy [EMAIL PROTECTED] wrote: When you setup filter tokens via a filterfile, is it possible to access a token and it's value as if it was a property. This if I had this in the file: VERSION =1.0 Then could I reference it like ${ant.token.VERSION} Doing it this way, the file

newbie - project name

2001-05-04 Thread Bill . J . Fellows
Hello, I didn't find this in the archive but is there a way to pull out the project name? echo message=${project.name} / doesn't seem to cut the mustard. Just curious, /bill

junit and log4j within ant

2001-05-04 Thread William Surowiec
Hi, I've searched about 3,000+ emails from this support group and have not found information on the following: I am using ant 1.3 beta 3, junit3.6, log4j 1.0.4, and jedit 3.1 final (maybe something in the mix is acting up). Anyway, I can use the java task to invoke an app and pass to it a

RE: how to ear with 1.4?

2001-05-04 Thread Les Hughes
Hi, It's a bit too trivial to raise a bug for, but Ear doesn't seem to be in the list of core tasks in the documentation either. Les -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: 04 May 2001 01:29 To: [EMAIL PROTECTED] Subject: Re: how to ear with 1.4?

Re: generating a web application

2001-05-04 Thread Peter Donald
At 10:39 4/5/01 -0400, Pinar Bicioglu wrote: Is there any tasks of ant that generates a newly added web application in Tomcat directory? Yep - it is called copy and war. Cheers, Pete *-* | Faced with the choice between changing one's mind,

Re: newbie - project name

2001-05-04 Thread Peter Donald
At 04:03 4/5/01 -0500, [EMAIL PROTECTED] wrote: Hello, I didn't find this in the archive but is there a way to pull out the project name? echo message=${project.name} / doesn't seem to cut the mustard. I think it is ant.project.name ;) Cheers, Pete

Jlink and Duplicate entries

2001-05-04 Thread SkillingM
I'm not clear about the expected behavior of Jlink when it encounters duplicate entries. The docs say: In the case where duplicate entries and/or files are found among the files to be merged or added, jlink merges or adds the first entry and ignores all subsequent entries. From what I'm seeing

Exporting System.properites values

2001-05-04 Thread Spencer Marks
Hi, I was wondering if there's a way to get Ant to set properties that would then be available when a taskdef runs. For example, before running JUnit tests, I'd like to pass a system property specifying where test data is located. Then the JUnit test would know where to access installation