- 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...
> -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...
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
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
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
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
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
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
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
> 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
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
>
>
>
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.
>
>
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:
> 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
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
--- 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
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
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
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
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
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.
> 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
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
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,
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
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
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:[
I want to use wildcards in the block. Something like:
Is there a painless way of doing this?
e
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
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
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
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
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
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
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
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
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
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
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
[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.
--- 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
> 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
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.
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
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 ?
Barry Jia
QA Developer, Brightspark Corp.
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...
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
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
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
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
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
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
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
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
> 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
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
> -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
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
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
>
>
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
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
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
- 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
64 matches
Mail list logo