Re: Some solutions I've found...

2001-08-08 Thread Nico Seessle
- Original Message - From: "Joe Howes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 4:08 AM Subject: Some solutions I've found... > Spent the day struggling with the following ANT issues: Onfortunately you are not telling us which version you are using...

RE: Ant/Trax/Redirect problem

2001-08-08 Thread Stephane Bailliez
> -Original Message- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] > I think it is Ant's TraXLiaison class, should be fixed in CVS - could > you please recheck with the upcoming beta release of 1.4 (as soon as > it is available)? hem sorry, I think it's more complicated than that...

Re: Some solutions I've found...

2001-08-08 Thread Stefan Bodewig
On Wed, 08 Aug 2001, Joe Howes <[EMAIL PROTECTED]> wrote: > So here's a resounding, "ANT NEEDS JDK1.3.x OR HIGHER!!!" I can confirm that Ant works well using JDK 1.1.7 Stefan

Re: Decision making with ANT.

2001-08-08 Thread Stefan Bodewig
In addition to Don's response On Wed, 8 Aug 2001, Mark Soderquist <[EMAIL PROTECTED]> wrote: > I would like to set the value of a property based on the value of > another property. Using Ant 1.4 from recent nightly builds (or the upcoming beta of course): Which will set my-dependent-prop

Re: fileset dir attribute - if not set?

2001-08-08 Thread Stefan Bodewig
On Wed, 8 Aug 2001, T. Master <[EMAIL PROTECTED]> wrote: > If a 's dir attribute is not, does it use the basedir > attribute? No - but you could simply do something like Stefan

Re: developing custom task - DirectoryScanner help needed

2001-08-08 Thread Stefan Bodewig
On Wed, 8 Aug 2001, T. Master <[EMAIL PROTECTED]> wrote: > Now i need to edit the properties file. Don't do that! This way you'd have to rejar Ant everytime you want to upgrade it. > Would you recommend declaring a custom task in a default.properties > file, or using a taskdef in a team enviro

Re: Ant/Trax/Redirect problem

2001-08-08 Thread Stefan Bodewig
On Wed, 08 Aug 2001, Michael J. Hudson <[EMAIL PROTECTED]> wrote: >> file:G:/Working/main/echo/meta/xslt/XML2ENUM.xslt isn't a valid >> file url it should be file:///G:/Working... > > That "file:G:/Working..." is not a value being passed in... it's > something generated by either ANT or the XSLT

Library file for style task

2001-08-08 Thread Sivaprasad . Kancherla
I am trying to execute a style task and get the following error. java.lang.NoClassDefFoundError: javax/xml/transform/Source at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:124) at org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTP

Re: Deleting Emacs backup files

2001-08-08 Thread Michael Leo
Puuufffeec Thanks! Mike Leo At 03:21 PM 8/9/2001 +1000, Peter Donald wrote: >Try > > > > > > >On Thu, 9 Aug 2001 15:24, Michael Leo wrote: > > Gang, > > > > Ant version: 1.3 > > JDK version: 1.3.1 > > > > I'm trying to delete the Emacs backup files > > from my tree

RE: Updating a jar file through Ant

2001-08-08 Thread Jon Skeet
> I have a situation where I need to update the contents of > a jar file, specifically its manifest file. Looking at the > Jar task, there does not appear to be a way to update a > current jar. The alternative is to unjar the file, do the > processing, then rejar it which is a bit too much whe

RE: Deleting Emacs backup files

2001-08-08 Thread Conor MacNeill
You need to turn off default excludes. emacs backup files are normally ignored defaultexcludes="false" Conor > -Original Message- > From: Michael Leo [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 August 2001 3:25 PM > To: [EMAIL PROTECTED] > Subject: Deleting Emacs backup files > > >

Re: Deleting Emacs backup files

2001-08-08 Thread Peter Donald
Try On Thu, 9 Aug 2001 15:24, Michael Leo wrote: > Gang, > > Ant version: 1.3 > JDK version: 1.3.1 > > I'm trying to delete the Emacs backup files > from my tree using this target: > > > > > > > > It is pretty late, but I can't be that dumb. > >

Deleting Emacs backup files

2001-08-08 Thread Michael Leo
Gang, Ant version: 1.3 JDK version: 1.3.1 I'm trying to delete the Emacs backup files from my tree using this target: It is pretty late, but I can't be that dumb. Oh! Emacs backup files are the same name as the file editted followed by a tilde (~) character:

RE: Some solutions I've found...

2001-08-08 Thread Conor MacNeill
> From: Joe Howes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 August 2001 12:08 PM > To: [EMAIL PROTECTED] > Subject: Some solutions I've found... > > > Spent the day struggling with the following ANT issues: > > 1. Whenever I tried to use jikes as a compiler, ant would myseriously > cack sayin

RE: ANT from jdk1.3->1.2.2 NULL problem

2001-08-08 Thread Conor MacNeill
Please try the most recent nightly build. This is fixed in CVS. -Original Message-From: Ukasick, Aimee (MED, Adecco) [mailto:[EMAIL PROTECTED]]Sent: Thursday, 9 August 2001 12:23 AMTo: '[EMAIL PROTECTED]'Subject: ANT from jdk1.3->1.2.2 NULL problem Help! We recently had

Re: Decision making with ANT.

2001-08-08 Thread Don Taylor
--- Mark Soderquist <[EMAIL PROTECTED]> wrote: > I would like to set the value of a property based on the value of > another property. Specifically I have a variable that is being > passed in on the command line with -D. I need to examine the value > of that property and set a different propert

Some solutions I've found...

2001-08-08 Thread Joe Howes
Spent the day struggling with the following ANT issues: 1. Whenever I tried to use jikes as a compiler, ant would myseriously cack saying, "Error messages should have been provided." ... and yet no error messages were provided, even in verbose mode. 2. It seemed that, even though I had the lates

Re: A stop for a while....

2001-08-08 Thread Shyam Koppikar
Okay/ - Original Message - From: "Jeff Turner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 7:53 PM Subject: Re: A stop for a while > You heard him folks. > > Not a peep out of anyone till 22nd. > > ;) > > On Wed, Aug 08, 2001 at 10:27:09AM +0800, Kan

Re: classpath task not found error

2001-08-08 Thread T Master
Thanks Conor. Would id's be inherited by other buildfiles, if invoked through ? I know properties are. T Master. - Original Message - From: "Conor MacNeill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 6:31 PM Subject: RE: classpath task not found error

RE: classpath task not found error

2001-08-08 Thread Conor MacNeill
You can't set the "global" classpath in Ant in this way. You must explicitly say what classpath you want to use for each particular task that supports a classpath, such as , etc. i.e ... ... There is no element at the top level - only nested within other tasks

classpath task not found error

2001-08-08 Thread T Master
In my build file, i have a declared inside my init target: The path declaration is as follows: The error message is below. Why can ant not find the task? I copied the code from the user manual example. Using: ant1.3, win2k.

RE: and *

2001-08-08 Thread Conor MacNeill
> From: Evan Hughes [mailto:[EMAIL PROTECTED]] > > I want to use wildcards in the block. Something like: > > > > > > > > Is there a painless way of doing this? > No, not really and I'm not sure what you would expect it to do. What if there is m

Re: fileset dir attribute - if not set?

2001-08-08 Thread Mark Soderquist
I believe that requires a dir attribute so it is not possible to not have it. If the attribute is set but does not exist it simply states that the dir was not found and does not use the basedir. =Mark - Original Message - From: "T Master" <[EMAIL PROTECTED]> To: "ant user mailist" <[EMAI

Decision making with ANT.

2001-08-08 Thread Mark Soderquist
I would like to set the value of a property based on the value of another property.  Specifically I have a variable that is being passed in on the command line with -D.  I need to examine the value of that property and set a different property based on that value.  Is this possible?  If so,

fileset dir attribute - if not set?

2001-08-08 Thread T Master
If a 's dir attribute is not, does it use the basedir attribute? I ask, as my patternsets specify the directories within the includes and excludes. T Master

running a task on a dynamically generate set of files

2001-08-08 Thread Richard Emberson
I've got a file. Its full of xml and documenation content. I have a xslt file that can be used to transform the one file into a file for each section. Now each of these section files I what to use the StyleBook task and transform into html. The problem is that the StyleBook task only take one fil

AW: installation problems on windows 98

2001-08-08 Thread Anke ePost
Hi, that was a good hint! I didn't had a space in my directory, but I used the from zip given directory, that was C:\jakarta-ant-1.3 and after I changed it to simply C:\ant, it works! Thanks to all of you, I'm now very happy :) Anke -Ursprüngliche Nachricht- Von: Nico Seessle [mailto:[

and *

2001-08-08 Thread Evan Hughes
I want to use wildcards in the block. Something like: Is there a painless way of doing this? e

RE: help with compiler

2001-08-08 Thread Jason Rogers
I read it wrong... Thanks to all! > -Original Message- > From: Jason Rogers [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 08, 2001 3:14 PM > To: '[EMAIL PROTECTED]' > Subject: RE: help with compiler > > > That seems to have worked... Isn't this wr

RE: help with compiler

2001-08-08 Thread Jason Rogers
That seems to have worked... Isn't this wrong in the documentation? Or perhaps I read it wrong. :) > -Original Message- > From: Vittoria, Felice [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 08, 2001 3:08 PM > To: '[EMAIL PROTECTED]' > Subject: RE: help with co

FW: Help need for Junitreport

2001-08-08 Thread Barry Jia
Hi, I use my junitreport in my build.xml, I got following error, it happened at I do not know what is problem. I tried both of xalan 2 and 1.2.2. Thanks for help Barry --- log -- D:\try1\PlayJunit\build.xml:49: java.lang.VerifyError: (class: org/apache/tools/ant/taskdefs/o

RE: help with compiler

2001-08-08 Thread Vittoria, Felice
Oops ... that would be a good idea. Can't believe I missed that. -Original Message- From: Richard Rodrigues [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:02 PM To: [EMAIL PROTECTED] Subject: RE: help with compiler Jason-- I guess you could try setting ANT_HOME

RE: help with compiler

2001-08-08 Thread Richard Rodrigues
Jason-- I guess you could try setting ANT_HOME to C:\jakarta-ant-1.3 instead of C:\jakarta-ant-1.3\bin ? Richard. -Original Message- From: Jason Rogers [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 12:23 AM To: Ant Users (E-mail) Subject: help with compiler Ok, I

RE: help with compiler

2001-08-08 Thread Vittoria, Felice
Jason, Looks like maybe you don't have the PATH set properly. Add the following to your PATH: %ANT_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\lib Then try it. HTH, Felice -Original Message- From: Jason Rogers [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 1:53 PM To: Ant User

help with compiler

2001-08-08 Thread Jason Rogers
Ok, I am stumped. Here's my error: "Buildfile: build.xml init: build: [javac] Modern compiler is not available - using classic compiler [javac] Compiling 53 source files to C:\working\L2i\Java\build\classes BUILD FAILED C:\working\L2i\Java\build.xml:78: Cannot use classic compiler, a

Updating a jar file through Ant

2001-08-08 Thread Leon, Brian
Title: Updating a jar file through Ant I have a situation where I need to update the contents of a jar file, specifically its manifest file. Looking at the Jar task, there does not appear to be a way to update a current jar. The alternative is to unjar the file, do the processing, then rejar i

RE: How do I set jikes as my compiler?

2001-08-08 Thread Jason Rogers
Yes, it can be done within the Ant script... you just make a like you would normally. In fact, if you want jikes to be the default, you should set up the property like that, and then on occasion reset it from the command line when need be. -Jason > -Original Message- > From: Ky

Re: How do I set jikes as my compiler?

2001-08-08 Thread Larry V. Streepy, Jr.
Kyle Adams wrote: > > Set the build.compiler variable to jikes. This can be done from the command line: > > ant -Dbuild.compiler=jikes > > or from a properties file: > > build.compiler=jikes > > I'm not sure if it can be done from within an Ant script. It can. Just use a normal property ta

Re: How do I set jikes as my compiler?

2001-08-08 Thread Kyle Adams
Set the build.compiler variable to jikes. This can be done from the command line: ant -Dbuild.compiler=jikes or from a properties file: build.compiler=jikes I'm not sure if it can be done from within an Ant script. Kyle >>> [EMAIL PROTECTED] 08/08/01 12:06PM >>> How can i set jikes to be m

Re: Creating EJB Deployment Descriptors

2001-08-08 Thread Kyle Adams
[EMAIL PROTECTED] 08/08/01 11:37AM: > If you need more info, or are unfamiliar with XSLT, I'd be willing to > post some resources that I've found helpful. Well, it seems there is some interest in this. DISCLAIMER: I'm pretty inexperienced with XSLT. Until about a week ago, I had no experience.

Re: if and depends in a target

2001-08-08 Thread Don Taylor
--- Kai Bartels <[EMAIL PROTECTED]> wrote: > Hi *! > > I just learned by try and error that the tags "if" and "depends" in a > target don't cooperate the way I expected. > I expected that, when a target is nor executed because of some if or > unless > clause, all dpenedend targets won't be execu

Re: Ant/Trax/Redirect problem

2001-08-08 Thread Michael J. Hudson
> You might want to include the target and the relevant fragment from the stylesheet. > I'm not sure where the error message is generated but if that is a value that's >being passed as a file url then it shouldn't work. > > file:G:/Working/main/echo/meta/xslt/XML2ENUM.xslt isn't a valid file u

Re: Any body has experience of using JUnitReport ?

2001-08-08 Thread Berin Loritsch
Barry Jia wrote: > > Any body has experience of using JUnitReport ? > > Barry Jia > QA Developer, Brightspark Corp. The new Avalon Excalibur build uses it. It works pretty well, and the reports are visually pleasing.

Re: Tar/Tarfileset broken on Ant 1.3 ?

2001-08-08 Thread Cedric Berger
Conor MacNeill wrote: > From: "Cedric Berger" <[EMAIL PROTECTED]> > > > > My biggest file name has 40 characters. > > > > Cedric, just to be clear, here we mean the total path name, not just the > filename component. > > Conor Ok, here is the result of "tar tf http-proxy.tar" on an OpenBSD 2.9 b

Re: developing custom task - DirectoryScanner help needed

2001-08-08 Thread T Master
Thank you Stefan. That compiled. Now i need to edit the properties file. Would you recommend declaring a custom task in a default.properties file, or using a taskdef in a team environment? The former requires all team members to check out the properties file in a new ant.jar file, whereas the la

Any body has experience of using JUnitReport ?

2001-08-08 Thread Barry Jia
Any body has experience of using JUnitReport ? Barry Jia QA Developer, Brightspark Corp.

How do I set jikes as my compiler?

2001-08-08 Thread kevin1
How can i set jikes to be my compiler instead of javac? -- No one may be called "good" if they have had no chance to be bad...

RE: Help need for Junitreport

2001-08-08 Thread Stephane Bailliez
Yep, sorry it was me, I committed a huge patch yesterday that takes advantage of the redirect extension of xalan...It works with both xalan 2 and xalan1. It should work nicely from now. -- Stéphane Bailliez Software Engineer, Paris - France iMediation - http://www.imediation.com Disclai

Re: Tar/Tarfileset broken on Ant 1.3 ?

2001-08-08 Thread Conor MacNeill
From: "Cedric Berger" <[EMAIL PROTECTED]> > > My biggest file name has 40 characters. > Cedric, just to be clear, here we mean the total path name, not just the filename component. Conor

Creating EJB Deployment Descriptors

2001-08-08 Thread Sivaprasad . Kancherla
We have three ejb-jar.xml files for each EJB, one each for development/staging/production environment. Right now we are maintaining them as ejb-jar.xml.dev, ejb-jar.xml.stage, ejb-jar.xml.prod files. Ant picks up the respective files depending on the environment for which the build is made. Now I

Re: Help need for Junitreport

2001-08-08 Thread Berin Loritsch
Stephane Bailliez wrote: > I proposed a patch to make JUnitReport work with Xalan 2. Someone else had something that made JUnitReport work with both Xalan 1 and Xalan 2. Hopefully one of those solutions will be put in CVS soon. > You have to put xalan 1.2.2 jar in the optional directory of an

Re: Tar/Tarfileset broken on Ant 1.3 ?

2001-08-08 Thread Cedric Berger
Stefan Bodewig wrote: > > Unfortunately, there is still a little glitch with the tar file... > > - I *cannot* extract it on OpenBSD 2.9. > > I think this is because you have filenames with more than 100 > characters in them, see the documentation of the longfile attribute of > . My biggest file

ANT from jdk1.3->1.2.2 NULL problem

2001-08-08 Thread Ukasick, Aimee (MED, Adecco)
Help! We recently had to switch our whole project from jdk1.3 to jdk1.2.2 to comply with an app server. We have been using ANT for months now, but when we switched to 1.2.2, ANT no longer works.  A null pointer exception is being thrown by org.apache.tools.ant.ProjectHelper.parse.   I've ch

Re: if and depends in a target

2001-08-08 Thread Peter Donald
On Wed, 8 Aug 2001 23:31, Kai Bartels wrote: > Hi *! Hi ! > I just learned by try and error that the tags "if" and "depends" in a > target don't cooperate the way I expected. > I expected that, when a target is nor executed because of some if or unless > clause, all dpenedend targets won't be e

Re: if and depends in a target

2001-08-08 Thread Stefan Bodewig
On Wed, 8 Aug 2001, Kai Bartels <[EMAIL PROTECTED]> wrote: > Is this considered a bug or a feature? :^) Expected behavior. > What will be the behaviour of the next Ant release? The same. This is to allow thing like Stefan

Re: if and depends in a target

2001-08-08 Thread Conor MacNeill
> Hi *! > > I just learned by try and error that the tags "if" and "depends" in a > target don't cooperate the way I expected. > I expected that, when a target is nor executed because of some if or unless > clause, all dpenedend targets won't be executed, either. But they are! > > Is this consider

if and depends in a target

2001-08-08 Thread Kai Bartels
Hi *! I just learned by try and error that the tags "if" and "depends" in a target don't cooperate the way I expected. I expected that, when a target is nor executed because of some if or unless clause, all dpenedend targets won't be executed, either. But they are! Is this considered a bug or a

RE: Help need for Junitreport

2001-08-08 Thread Stephane Bailliez
> -Original Message- > From: Barry Jia [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 07, 2001 10:57 PM > To: '[EMAIL PROTECTED]' > Subject: Help need for Junitreport > > > > When I use junitreport in my build file, > if my build.xml is like below, I got "Class > org.apache.tools.a

Re: how to make own task that supports nested elements ?

2001-08-08 Thread fred docouto
I found ... I have to create the method createClasspath() thank you ! --- Peter Donald <[EMAIL PROTECTED]> wrote: > On Wed, 8 Aug 2001 20:09, fred docouto wrote: > > Hello, > > > > I created a task : > > > > public class MyTask extends MetchingTask { > > ... > > > > public void setClasspat

Re: how to make own task that supports nested elements ?

2001-08-08 Thread Peter Donald
On Wed, 8 Aug 2001 20:09, fred docouto wrote: > Hello, > > I created a task : > > public class MyTask extends MetchingTask { > ... > > public void setClasspath(Path path){ > classpath.append(path) > } > > public void execute() throws BuildException { > ... > } > > ... > } > > My build.xml > >

how to make own task that supports nested elements ?

2001-08-08 Thread fred docouto
Hello, I created a task : public class MyTask extends MetchingTask { ... public void setClasspath(Path path){ classpath.append(path) } public void execute() throws BuildException { ... } ... } My build.xml And when I run ant, I have : Class package.MyTask doesn't support

Re: Ordering classpath

2001-08-08 Thread Stefan Bodewig
On Wed, 8 Aug 2001, Mikko Kurki-Suonio <[EMAIL PROTECTED]> wrote: > On Tue, 7 Aug 2001, Berin Loritsch wrote: > >> What about using patternsets? >> >> >> >> > > How can I place that in a DIFFERENT file so that it can be read from > several build files? You cannot use a pathelement inside

Re: Ordering classpath

2001-08-08 Thread Mikko Kurki-Suonio
On Tue, 7 Aug 2001, Berin Loritsch wrote: > What about using patternsets? > > > > How can I place that in a DIFFERENT file so that it can be read from several build files? It's irritating enough having to manually sort a long list of JARs, but having to maintain that list separately in se

Re: installation problems on windows 98

2001-08-08 Thread Nico Seessle
- Original Message - From: "Jean-Jacques Monnat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 12:00 AM Subject: RE: installation problems on windows 98 > Hi Anke, > > Where did unzip the zip files ? Don't unzip it > in a directory containing space char, li