Tar task and empty directories

2002-07-30 Thread M.A.Dunphy
Hi all, Can anybody tell me if the tar task will include empty directories. It doesnt seem to work, while zip will? Thanks Mike

What's new in Ant 1.4 or 1.4.1 from Ant 1.3?

2002-01-18 Thread M.A.Dunphy
Hi all, We currently use Ant 1.3 and would like to move up to the latest, but looking at the documentation, its hard to tell what is new since a previous release. Is this info readily available? Thanks Mick

RE: ejbjar: What goes into the generic jar before call weblogic ejbc compiler tool?

2001-06-22 Thread M.A.Dunphy
looks like we will just have to subclass the Key in the Eentity beans that we have.   Thanks   Mick -Original Message-From: M.A.Dunphy [mailto:[EMAIL PROTECTED]]Sent: 20 June 2001 18:14To: Ant-User (E-mail)Subject: ejbjar: What goes into the generic jar before call weblogic

ejbjar: What goes into the generic jar before call weblogic ejbc compiler tool?

2001-06-20 Thread M.A.Dunphy
Title: ejbjar: What goes into the generic jar before call weblogic ejbc compiler tool? ** Sharing a primary key class between entity beans. ** I have a problem with the ejbjar task in Ant. I have a number of entity beans whose primary key classes are basically identicle. In fact they all j

RE: sql queries, mysql and comments

2001-05-18 Thread M.A.Dunphy
Title: RE: sql queries, mysql and comments Conor, when you say that ant has these as comments do you mean in Ant1.3 or post Ant1.3? Thanks Mick -Original Message- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent: 18 May 2001 11:20 To: [EMAIL PROTECTED]; Nik Roberts Subject:

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

RE: Can ant do something for each file in a fileset

2001-05-02 Thread M.A.Dunphy
EMAIL PROTECTED]] Sent: 02 May 2001 06:05 To: 'ANT-user' Subject: RE: Can ant do something for each file in a fileset From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] > Unfortunately this compiler appears not to understand the concept of a webapp > but rather it compiles a single file

Can ant do something for each file in a fileset

2001-05-01 Thread M.A.Dunphy
Title: Can ant do something for each file in a fileset Hi all, I'd like to compile my jsp pages to make sure that they are correct with respect to the other java code. I'm using the weblogic server which does have a JSP compiler. Unfortunately this compiler appears not to understand the conc

Problems with the Javac task

2001-04-17 Thread M.A.Dunphy
Title: Problems with the Javac task Hi all, I'm using Ant 1.2 (though it also doesn't work in 1.3). Below is a compilation target from a build file:                                         From reading the docs the attribute classpath is meant to specifiy th

RE: Passing a property value by reference in an ant task

2001-04-17 Thread M.A.Dunphy
Title: RE: Passing a property value by reference in an ant task Ok, here's the full listings. The first xml file is the master file and that inturn calls the child xml file.                                                            

RE: Passing a property value by reference in an ant task

2001-04-17 Thread M.A.Dunphy
Title: Passing a property value by reference in an ant task Repost.   Can anybody help? -Original Message-From: M.A.Dunphy [mailto:[EMAIL PROTECTED]]Sent: 12 April 2001 16:47To: Ant-User (E-mail)Subject: Passing a property value by reference in an ant task Hi all, I&#x

Passing a property value by reference in an ant task

2001-04-12 Thread M.A.Dunphy
Title: Passing a property value by reference in an ant task Hi all, I've been trying to set a property value (in an ant task call) by reference but I get the following error: Reference mb.class.path not found. Reference mb.class.path not found.     at org.apache.tools.ant.types.Referen

RE: Subproject builds and a master build

2001-04-12 Thread M.A.Dunphy
.   Regards, - Nicolas Lehuen Head of R&D - Responsable R&D Ubicco - http://www.ubicco.com A FI System Company - http://www.fisystem.com -Message d'origine-De : M.A.Dunphy [mailto:[EMAIL PROTECTED]]Envoyé : mercredi 11 avril 2001 15:42À : Ant-User (E-mail)Ob

Subproject builds and a master build

2001-04-11 Thread M.A.Dunphy
Title: Subproject builds and a master build Hi all, I've a couple of subproject build files that work independently from each other. To correctly build some subprojects, it requires the necessary jars are in the classpath: Thus is subprojectB depends on subprojectA, then running subprojectB

RE: Build.xml and reuse

2001-04-10 Thread M.A.Dunphy
Title: RE: Build.xml and reuse Mark I'm trying to something similar (see below) but I get the following XML error: C:\>ant -buildfile frameworkx-build.xml -projecthelp Buildfile: frameworkx-build.xml BUILD FAILED C:\frameworkx-build.xml:3: The content beginning " Total time: 0 seconds

RE: "describe" or "targets" built-in function

2001-03-13 Thread M.A.Dunphy
ant -projecthelp Mick (I'm offically now a contributor!!!) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 13 March 2001 17:23 To: [EMAIL PROTECTED] Subject: "describe" or "targets" built-in function Is there any way to tell ant to spit out a listing of all

RE: Property scope

2001-03-13 Thread M.A.Dunphy
#x27;ve never really understood the whole "Complete build sequence" thing or why it's included (ie., what it's usefullness is). Diane --- "M.A.Dunphy" <[EMAIL PROTECTED]> wrote: > Hi guys, > > Sorry to be bringing this subject up again, but I'm not

RE: Property scope

2001-03-13 Thread M.A.Dunphy
OK, Is it because, when ant parses the file, the property is not set and thus the target test3 is to be skipped rather than the targets being resolved at execution time? Thanks Mick -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 13 March 2001 15:39 To: Ant-User

Property scope

2001-03-13 Thread M.A.Dunphy
Hi guys, Sorry to be bringing this subject up again, but I'm not getting the expected behaviour. Firstly, I have read thr' previous discussions in the archive and I think I understand how property set works, but I'm not getting what I want!!. As an example, heres the test build file

RE: Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
Ok, Can I execute a os command and get the result into a property? cause hostname would be an ideal solution as on NT is returns a lower case hostname. Thanks Mick -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 12 March 2001 17:50 To: '[EMAIL PROTECTED]

RE: Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
d access the value that way. Diane --- Kevin O'Regan <[EMAIL PROTECTED]> wrote: > another platform specific hack? > > java -Dhost.name=%COMPUTERNAME% ... org.apache.tools.ant.Main etc > > regards > > Kevin > > > -Original Message- > > From:

RE: Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
Kevin PS: how are you setting the variable ${host.name}? Thanks -Original Message- From: Kevin O'Regan [mailto:[EMAIL PROTECTED]] Sent: 12 March 2001 15:42 To: [EMAIL PROTECTED] Subject: RE: Creating a p4 client workspace > I'm trying to create a client workspace without invoking t

RE: Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
Hi Kevin, does that mean you came across the same problem and this was the only solution? Is the problem with the p4 command being run via ant rather than something wrong with ant? The only problem with you're solution is that it becomes platform specific (i.e .bat Vs .sh) where as the command

Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
Hi all, I'm trying to create a client workspace without invoking the editor. So first I define the settings for the workspace in a file and then I invoke p4 to create the workspace, but it is failing for the reason shown below: [exec] Myos = Windows 2000 [exec] p4 client -i < C:\DOCUME

Ant with Perforce

2001-03-08 Thread M.A.Dunphy
Hi all, We are looking at p4 an our scm and I've been struggling with it and ant's integration all day and getting nowhere fast. The build file previously worked in a sandbox environment, i.e depending on where you ran the build, the source code would be fetched to a relative path (using VSS) an

RE: Problem with DTD in ant1.3b3

2001-03-07 Thread M.A.Dunphy
, equals the beta3 DTD file was file? Or has the problem in the 1.3 release been fixed in a recent nightly build that I could use? Thanks Mick -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 26 February 2001 14:31 To: '[EMAIL PROTECTED]' Subject: RE: Problem w

RE: antstructure bombs

2001-03-06 Thread M.A.Dunphy
I posted this earlier. But just as a comparison, I had no difficulty running this task in ant 1.2 with the environment I have. In 1.3 I didn't find anything in the docs to say what extras are needed to run this task, so perhaps this requirement has fallen thr' the cracks.. Anyhow if you can find

potential bug with antstructure?

2001-03-05 Thread M.A.Dunphy
Before I raise this as a bug, Has anybody else had problems with the antstructure task in 1.3. When I run it I get the following error: C:\TEMP\testing>ant -buildfile AntStructure.xml Buildfile: AntStructure.xml main: BUILD FAILED java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTIn

RE: Problem with DTD in ant1.3b3

2001-03-01 Thread M.A.Dunphy
t. -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 26 February 2001 14:31 To: '[EMAIL PROTECTED]' Subject: RE: Problem with DTD in ant1.3b3 after looking at this further, it appears to be in the section: Thanks Mick PS: Just found that the TOC for t

Echo many lines to a file

2001-02-27 Thread M.A.Dunphy
Hi there I'm using ant 1.2 on NT and trying to write multiple lines to a file. The first echo creates the file and then each subsequent echo appends to the file. Unfortunately the file is created with just 1 line? I've search the mailing list and others suggest that it is possible to create many

RE: Problem with DTD in ant1.3b3

2001-02-26 Thread M.A.Dunphy
after looking at this further, it appears to be in the section: Thanks Mick PS: Just found that the TOC for the optional tasks is incomplete. It doesn't list the depend tasks, eventhough there is a depend.html -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sen

RE: Class dependancies?

2001-02-26 Thread M.A.Dunphy
t the derived class needs to pass through the compiler. I suppose this will always be the case and only be captured during a test or a complete recompile. Thanks Mick -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 26 February 2001 11:27 To: '[EMAIL PROTECTED]&#x

RE: Class dependancies?

2001-02-26 Thread M.A.Dunphy
task which is part of 1.3. I think you will find that it does largely what you want. Conor - Original Message - From: "M.A.Dunphy" <[EMAIL PROTECTED]> To: "Ant-User (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, February 23, 2001 9:57 PM Subject: Class depend

Problem with DTD in ant1.3b3

2001-02-26 Thread M.A.Dunphy
Hi all, I've just downloaded the 1.3b3 release, and used the antstructure task to generate the DTD file. When I run ant on our build file it fails saying: C:\...\build.xml:714: Name tokens must not start with "+" characters. This appears to be a problem with the generated DTD. Anybody know what

RE: ant1.2 - wlrun

2001-02-23 Thread M.A.Dunphy
This has been fixed!! I think it was to do with the carriage-return/LF at the end!!! (see below) Mick -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 23 February 2001 17:22 To: Ant-User (E-mail) Subject: ant1.2 - wlrun Hi all, I have a target, that runs a wlrun

ant1.2 - wlrun

2001-02-23 Thread M.A.Dunphy
Hi all, I have a target, that runs a wlrun task as seen below and with the properties ${weblogic.boot.class.path} & ${weblogic.class.path} empty this invokes weblogic as follows: [wlrun] Forking java -Dweblogic.class.path=C:\weblogic\lib\weblogic510sp8.jar;C:\weblogic\classes ;C:\w

Class dependancies?

2001-02-23 Thread M.A.Dunphy
Hi all, I'm sure this question was asked before and I hope there is an answer: CLASSB is derived from CLASSA. If CLASSA is modified, ant recompiles it but CLASSB is not recompiled? Is there any solution to this. We changed CLASSA such that it would generate compile errors, but ant ran fine and

Location of the output of the Junit task

2001-02-15 Thread M.A.Dunphy
Hi guys, sorry if the answer is obvious but I've been looking at all the options available to me, but I cant seem to find out how one can put the results of a test into a specifc directory and not where you invoked ant? thanks Mick

Reaction to a failed task

2001-02-14 Thread M.A.Dunphy
Hi all, If a task fails (i.e wlrun), is there a way within ant to know this has happened and to do something about it, for example mail somebody Thanks Mick

problem using the wlrun task

2001-02-13 Thread M.A.Dunphy
Hi all, When I configure this task, I supply a custom argument using the args attribute. This argument points to a properties file used by our ejbs etc. But when ant calls java (to run wl) it puts the arg attribute at the end of the command (i.e after the wl mainclass weblogic.Server) and as a re

Solaris packages integration

2001-02-13 Thread M.A.Dunphy
Hi there, Sorry for all the questions, but I don't want to re-invent the wheel if I have too :-) It does look as if it's not part of the core ant features, but has anybody had to integrate the creation of Solaris packages into a build process. What are peoples opinions: Integrate inside or outsi

Access environment variables within ANT?

2001-02-13 Thread M.A.Dunphy
Hi, Is it possible to access environment variables within ANT? e.g. If I create an environment variable MICK, is there any way of access in within ant, ie ${env.MICK} Thanks

How to delete a specific directory

2001-02-13 Thread M.A.Dunphy
Hi all, Under a root of the directory tree, I have many directories called test which I'd like to delete using the delete task (i.e /x/v/d/test/c, x/f/test). I've played around with includes but cant see to delete the directories but only their content. Thanks Mick

Building path like structures

2001-02-13 Thread M.A.Dunphy
Hi all, After reading the ant documentation, I'm still confused as to how best to construct path like structures (i.e classpath). There seems to be so many ways to do the same thing (i.e. path, references, filesets etc..). I have some "test" targets that need the "project" classes to compile and

RE: When to compile or not to compile that is the question?

2001-02-09 Thread M.A.Dunphy
Ohh dear, how very embrassing!! As you said, one pass thr' and everything gets compiled, great, but what does one do when they'd like to separate these various classes into a number of jars? for example, we have a set of framework classes that are used by the sampleapp classes and I would like t

RE: When to compile or not to compile that is the question?

2001-02-09 Thread M.A.Dunphy
To: [EMAIL PROTECTED] Subject: Re: When to compile or not to compile that is the question? --- "M.A.Dunphy" <[EMAIL PROTECTED]> wrote: > As I'm new to ant/java, could somebody help explain why when I run a > task in ant, the .java files always get compiled even if they ar

RE: weblogic ejbjar creation failure

2001-02-09 Thread M.A.Dunphy
Conor You're a star!!!, but to be honest, I'm still slightly confused. ${ejbjar.generic.destdir} is infact ${lib.dir} (which is a directory and not a specific file). Prior to building the ejbjar, other standard class jars are built and stored in ${lib.dir}. Thus before building the ejbjar, other

RE: weblogic ejbjar creation failure

2001-02-09 Thread M.A.Dunphy
iginal Message - From: "M.A.Dunphy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 09, 2001 10:58 PM Subject: RE: weblogic ejbjar creation failure > And more info. > > Just got somebody else to install ant, and sun's xml parser on another > machi

RE: weblogic ejbjar creation failure

2001-02-09 Thread M.A.Dunphy
ine? Mick -Original Message----- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 09 February 2001 10:37 To: '[EMAIL PROTECTED]' Subject: RE: weblogic ejbjar creation failure And more info, When ant debug prints to show that it is attempting to build the ejbjar, from an explorer if I a

RE: weblogic ejbjar creation failure

2001-02-09 Thread M.A.Dunphy
From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 09 February 2001 10:27 To: '[EMAIL PROTECTED]' Subject: RE: weblogic ejbjar creation failure Conor, In the weblogic nested element, I've set the keepgeneric option, so that after running ant, I still have the login-generic.jar. I&

RE: weblogic ejbjar creation failure

2001-02-09 Thread M.A.Dunphy
Conor, In the weblogic nested element, I've set the keepgeneric option, so that after running ant, I still have the login-generic.jar. I've then run the java weblogic.ejbc call in the same DOS window and it has no problem over writing the original login.jar file. What has changed, this was workin

RE: weblogic ejbjar creation failure

2001-02-09 Thread M.A.Dunphy
[java] at weblogic.ejbc.main(ejbc.java:353) [java] Java Result: 1 [ejbjar] deleting generic jar C:\Test\Development\SampleApp\build\lib\login-generic.jar BUILD SUCCESSFUL -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 09 February 2001 08:59 To: '[EMAIL PR

RE: weblogic ejbjar creation failure

2001-02-09 Thread M.A.Dunphy
Nope, a puzzler? Thanks Mick -Original Message- From: Tim Vernum [mailto:[EMAIL PROTECTED]] Sent: 09 February 2001 08:54 To: 'ANT-user' Subject: RE: weblogic ejbjar creation failure > Has anybody > else seen this > problem and what is the solution. I've a hunch is an > environme

weblogic ejbjar creation failure

2001-02-08 Thread M.A.Dunphy
Hi all, This is a strange one. I've created an ant build.xml file for a sampleapp. All was working OK. Now all of a sudden, the weblogic ebjc tool fails to overwrite the existing ejbjar file as seen below. Has anybody else seen this problem and what is the solution. I've a hunch is an environment

When to compile or not to compile that is the question?

2001-02-08 Thread M.A.Dunphy
Hi all, As I'm new to ant/java, could somebody help explain why when I run a task in ant, the .java files always get compiled even if they are not edited/changed since the last time the .class file was created? Thanks Mick

newbie to ant

2001-02-07 Thread M.A.Dunphy
Hi there, I've just run the antstructure task to produce a DTD file. Looking at this file, I dont see a definition for the junit task. Is this correct? If so, then does anybody know where I can source the definition so that I can update my DTD Thanks Mick

newbie to Ant

2001-02-05 Thread M.A.Dunphy
Hi all, I've numerous targets that execute a javac task. To stop building test files I have an excludes pattern. Is there a way to consolidate this pattern into 1 place such that each javac excludes references it. Thus allowing me to change the pattern in one place. thanks Mick