Bryan,
You need a JDK, not a JRE. The JDK includes tools.jar
Conor
bryan rasmussen wrote:
> Hi,
> I would like to use ant to build fop, but unfortunately when I try to
> use ant it tells me that tools.jar is not found in my jre
> installation. so where do I get tools.jar.
>
> thanks,
> bryan
>
Antoine Levy-Lambert wrote:
> Hello Sebastien,
>
> I am not aware of this. It would be a bug if :
>
> a) it is contrary to the specification of jar files and of manifests
>
> or
>
> b) it causes the jar files to be disfunctional
>
> Actually, it makes sense that the format of the manifest fi
Do you have a CLASSPATH set? Does it have quotes in it? If so, remove
them. If you want to debug this, turn echo on in the ant.bat file and
see what is going wrong.
Conor
jm wrote:
> Hi,
>
> we are experiencing an strange problem, never seen that before. Our
> env is ant1.6.5, jdk1.5.0.07, on a
Hanmay Udgiri wrote:
> Hi
> I have a ant build which takes around 15 minutes.
> Do we have any tips to reduce the time taken for the total build
>
That's not a lot of info to go on. Can you see which steps in the build
are taking a long time and what are they? Are you doing multiple
compilations
Any performance improvement using will depend significantly
on what you are doing in parallel and on what hardware resources your
platform provides.
For example, the tasks could be interacting in ways you don't
expect. Maybe these tasks block each other somehow. I have no idea.
In the end, wa
Hi Deyner,
KoloSSo wrote:
> Hi!!!
>
> My name is Deyner López Fernández, i´m new in this list and i´m new using Ant
> too. I download Ant(binary version) from it´s home page and read the manual.
> I follow all the steps to configure Ant as the Manual said but Ant sometimes
> works and sometime
Giovanni,
>
> Just tried, but it doesn't work completely. The
> resulting manifest is compilant but some dependencies
> in class-path are missing.
>
It should work. The process Stefan outlines ultimately uses the merge()
method you identified below, so if you were to use that directly you
would
Eduardo Yáñez Parareda wrote:
>>>Who says the truth?
>>>
>>
>>Both :)
>>Boolean attributes can have values like 'true', 'on', ... they mean the same
>
>
> Is it possible that in older versions of ant was there a bug that
> using 'on' instead of 'true'
> didn't work fine?
>
I doubt it. What vers
Jochen Theodorou wrote:
> Hi all,
>
> Te problem I have is a little complex but I hope you can help me. Groovy
> has an ant task to compile groovy classes and a task to use groovy from
> within ant see http://groovy.codehaus.org/Groovy+Ant+Task for details.
> But in some enviroments such as in m
I can't see anything amiss in your code, although the --> in your
description attribute did catch my eye :-).
It's better if you can show the actual error printed by Ant in most
cases and the corresponding line in your build. Ant usually includes
line numbers and these can help know where to look.
Marcelo,
I'm guessing that you are seeing these lines in your manifest and not as
the direct output of pathconvert. If that is the case, then there is
really no problem. There is a FAQ about this:
http://ant.apache.org/faq.html#mangled-manifest
You'll need to look for another source of these pro
Dave Brosius wrote:
> sorry, i realized i posted this under a copied message subject, which
> made no sense.
> so here goes again.
>
> Howdy, I have my own task that requires two FileSet sub-elements. In order
> to differentiate them from a naming point of view, i have created my own
> tasks
Patrick Martin wrote:
> Hi,
>
> The idea is actually to do that entirely in java. It's for a task I
> want to share, so I'd like to avoid asking users to call a waitfor...
>
> Basically, I'd like to see how to make the forget task work in
> non-daemon mode (ie, ant should not terminate until the
Jonathan Baccash wrote:
> I have read that ant does not do dependency checking to see if targets
> are up to date. But I have also read that compilation of java files
> is faster with ant. How is this possible? Does ant use javac compile
> flags to do dependency checking automatically? Or is th
Thomas Matthijs wrote:
> Hey,
>
> A few questions:
>
> When invoking ant with only ant-launcher.jar on the
> localclasspath(java) it automaticly picks up tasks in ANT_LIB, but when
> i add ant.jar or some ant-* (optional tasks) (located in ant_lib) too the
> localclasspath it no longer seems to
Ah, sorry - you are right - no way AFAIK.
Conor
Martin Burger wrote:
> Conor MacNeill schrieb am 18.07.2005 13:01:
>
>> Look at the element.
>>
>>
>>
>> Also, for an example, look at Ant's build file.
>>
>
> That executes all test
Martin Burger wrote:
> Hello,
>
> using the JUnit task is it possible to execute a single test _method_?
>
Look at the element.
Also, for an example, look at Ant's build file.
Conor
-
To unsubscribe, e-mail: [EMAIL P
You have to think like Ant. Ant looks for addXXX and createXXX methods.
So look in Javac.java and you will find:
public ImplementationSpecificArgument createCompilerArg()
So call that and then configure the resulting object - i.e call
setValue(), setLine(), whatever you want to do.
Conor
Marti
Andrew,
It's a while since I worked on the ejb tasks, so forgive me if I'm a
little hazy.
Andrew Perez-Lopez wrote:
> I got the manifest attribute to work, but not completely. It seems to
> ignore my Class-Path attribute. When I use the jar task with the same
> manifest attribute, it creates a
Andrew Perez-Lopez wrote:
> Hey all,
>
> I'm working with EJBs using JBoss 4.x and Ant 1.6.5. I'm trying to set
> the Class-Path of the manifests of a big bunch of EJBs to a set of
> libraries that I've included in my EAR file. I can get ejbjar to
> generate all my jars, which is very nice, but
KrustyDerClown wrote:
> Hello,
>
> i have a little problem with my copy task in ANT.
>
> I have the following target:
>
>
>
>
>
>
>
>
>
> So ... thats works ... BUT ... the task copied the WEB-INF dir from
> C:/workspace also to C:/temp.
>
> I am really
Martin Olsson wrote:
> Hi,
>
> At runtime my program is stored like this:
>
> ./myprogram.jar
> ./lib/commons/commons-net.jar
> ./lib/commons/commons-configuration.jar
> ./lib/spring/spring_jar1.jar
> ./lib/spring/spring_jar2.jar
> ./lib/some/other/jarfile.jar
>
> There is a ton of other .jar
This is expected behaviour. When the Child instance is added to MyTask,
it is not yet configured (i.e. its attributes are not yet set) . It will
be configured by the time your task's execute() method is called. The
normal strategy is just to accumulate the Child objects in a collection
and only use
There is currently no set schedule for Ant 1.7. It will be released when
the committers feel it is ready for release. We do not expect any 1.6
releases beyond Ant 1.6.5 - the release after that should be 1.7
Is there something specific you need?
Conor
[EMAIL PROTECTED] wrote:
When is ant 1.7
Michael Cepek wrote:
Ah, I see. The key point is that invoking a series of targets from the
command line:
$ ant clean-all build-all
doesn't work the same as:
Yes.
That's fine. I wasn't suggesting that Ant be changed. It's just
confusing and perhaps should be clarified in the manual.
I have
Brian,
Since your message has nothing to do with CVS logs, please take the time
to create a new message and use an appropriate subject.
Your build works for me. What version of Ant are you using? When you say
"The echoproperties task doesn't like the nested propertyset", that,
unfortunately, gi
Michael Cepek wrote:
This doesn't seem right to me.
Well, right or wrong, that is the way Ant has worked since the start and
it will not be changed now. The paragraph you are quoting is about the
dependencies in a single Ant target evaluation. So if Laurie had a target
and he executes
ant targe
I think you will have to implement DynamicConfigurator since the
attribute, as named, will not be mapped automatically. It would be
easier to choose a different attribute name :-)
Conor
Zsolt Koppany wrote:
Hi,
What is the setter method of a task attribute "fs-type"?
For example I would like to
Daniele,
Your CLASSPATH has quotes in it. As I said - please remove them.
Conor
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think you may be misunderstanding what "includes" means here. The
"includes" attribute is used against the source directory to decide
which files to include in the compilation. In other words, "includes"
functions as a filter on the set of files from your srcDir. If you add
something to that
I doubt building from source will solve your problems.
To solve these sorts of problems, one thing you should try is to comment
out the first line of ant.bat (the "@echo off" line). You can then see
what the ant batch file is doing and where it is failing.
Try that. If it is not obvious from tha
Are you processing the log file you are in the process of generating?
That would explain why it's not complete. Perhaps you need to have a two
phase approach?
Conor
Huditsch Roman wrote:
Hi,
After bringing my ant XSLT transformation workflow to work with your
great help,
I encountered that I ge
Mark Lundquist wrote:
On Apr 13, 2005, at 7:18 AM, Conor MacNeill wrote:
There is not much Ant can do here - there is no real way for it to
pass an argument that has quotes and spaces. How do you even do that
yourself at the command line?
Huh?! That's not even a problem...
echo
Oski Wee wrote:
James Abley <[EMAIL PROTECTED]>wrote:
James, thanks for your suggestion. I tried it, and it produces the same
behavior as
Namely, the actual argument Ant passes is "argument that has a literal "
as part of its value", including the surround quotations.
There is not much Ant
Andrew Ferguson wrote:
hi,
just wondering - is there a roadmap for ant development? this is purely
because there was talk about ant 2 at some point a while ago (Jan 2003),
but I've not heard anything since :)
http://ant.apache.org/ant2/
The concept of ant2 has been largely left behind. Ant
THUFIR HAWAT wrote:
^ missing a >
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Remove the line where you delete it. Ant should then not bother
rebuilding it if none of the files has changed.
Douglas Kramer wrote:
Novice question.
My ant script works great, skipping compile if source files have not
changes,
and skipping copying of resources if they have not changed.
How wo
Brian Kuhn wrote:
Does anyone know if it's possible to get Ant's cvs task to use a
proxy? I'm behind a corporate firewall. I've gotten Maven to use my
proxy to download dependencies, but for some reason it doesn't pass
the proxy configuration on to Ant's cvs task. I assume this is
because it's n
Magnus Svensson (HF/EAB) wrote:
Hi,
I resend this question due to mail server problem:
I have a question regarding encryption and export control. Does ANT include any
SW encryption that restricts export (i.e. special ECCN code)?
Magnus,
None of Ant's code is subject to export restrictions, that I
ROW M, VISHAL wrote:
Hi
This is a very basic question. When creating an ear file I want to
inculde files with path entry . How to do it.?
For example I want to create an ear called Sample.ear which will have
files called cl1.jar , cl2.jar with their path entry as App-inf/Lib.
Use a zipfiles
It should be whoami - i.e. no spaces
Steve S. wrote:
I am trying to run the following:
test_script tries to do something like:
username=`who am i|awk '{print $1}'|tr "[a-z]" "[A-Z]"`
where username is used as input for another script. I get the
following error though:
[exec] Must be attached
Victor Ionescu wrote:
Class-Path: bsh-1.3.0.jar commons-digester.jar commons-collections.jar
because:
1) It's more flexible
2) It conforms to the jar specification
Question: What's the reason behind this multi Class-Path feature?
The reasons are specified in this bug report
http://issues.ap
David Smiley wrote:
I suggest the name "load" instead since that is the java vernacular for
what's happening.
I also suggest that the next snapshot implementing this have it default
to "false" and we'll get a feel for wether this is a problem at that time.
Unfortunately that would not be backwa
Shailesh Sharma wrote:
does anybody here has done comparison or benchmarking for JBOSS and WEBLOGIC8.1/
If they have, hopefully they won't post it here because it would be off
topic, as is, I'm afraid, your question. Try a JBoss newsgroup, BEA
marketing or TheServerSide for this sort of thing.
You need the Bean Scripting Framework BSF from the Apache Jakarta
project. It is what Ant uses to embed scripting languages.
http://jakarta.apache.org/bsf/
This is not part of bsh.
Conor
Robert Mark Bram wrote:
Hi All!
I have been looking at the Ant section of this page:
http://www.beanshell.org/
Kelly Davis wrote:
Would you be able to offer any detailed instructions on accomplishing this. I
have tried to redirect the output streams of a DefaultLogger to a file, but
this still doesn't give the compile errors in the subproject.
The best place to start is to look at Main.java to see where
Why am I not getting the compile error in the output file when I run the
build script using the API?
because you have not redirected System.out and System.err. I have a blog
entry with a bit of info on this -
http://codefeed.com/blog/archives/68.html
Conor
--
It's the same at the command line.
When you run a jar with
java -jar ...
java ignores the classpath. Presumably it expects the jar to specify its
classpath.
Conor
h2ooo x wrote:
Hi!
I have the following Ant (1.6.2) tasks defined,
The task "run" is exec
David TROGDON wrote:
Thanks for the reply Connor
Then it is my understanding that since my MANIFEST.MF file starts like
this:
Manifest-Version: 1.2
Main-Class: na.biomerieux.stagville.bootstrap.BootStrap
Class-Path: FastObjects_7JC_SDK.jar xreport_lite.jar
xtools.jar JavaMediaFramework.jar JSECla
David TROGDON wrote:
I intially started by specifying the manifest file but ANT truncates the
lines at exactally 70 characters no matter how I format it and the
classpath ends up bad.
Any help on how I might clear this up would be appreciated.
Read this:
http://ant.apache.org/faq.html#mangled-manif
On Thu, 12 Feb 2004 09:09:18 -0500, Digambar, Shaligram (Consultant)
<[EMAIL PROTECTED]> wrote:
Had ANT logged system.err at different level than system.out it would
have
been easier to redirect the error output to a separate file and generate
better build reports. If its tricky as you've menti
On Fri, 16 Jan 2004 12:24 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> There must be someone who is dealing with the same issue. I am trying to
> take multiplatform builds with different ${os.name}.properties file. Linux
> is not a problem, Linux.properties. What about Windows? It becomes Windows
> XP.pr
> From: Graham Reeds [mailto:[EMAIL PROTECTED]
> Sent: Monday, 12 January 2004 3:18 AM
> To: Ant Users List
> Subject: RE: Ant 1.6.0 Long Filename support
>
>
> That's puts me straight back to square one. Removing the quotes
> from around
> just ANT_HOME gave me another error:
> 'Files\Java\jdk1.3
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Monday, 12 January 2004 3:01 AM
> To: Ant Users List
> Subject: RE: Ant 1.6.0 Long Filename support
>
> You are going to have to quote all paths that contain spaces such as...
>
> ANT_HOME = "C:\Program Files\Apache Group\apache-ant-1.6.0"
> JAV
>
> http://ant.apache.org/manual/api/index.html
>
> gives me a whole lot of 404s.
>
> is the API online anywhere???
http://nagoya.apache.org/gump/javadoc/ant/build/javadocs/index.html
Conor
-
To unsubscribe, e-mail: [EMAIL P
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 3 December 2003 5:44 AM
> To: Ant Users List
> Subject: Re: Can't start ANT 1.5 on WinNT
>
>
> Of course "C:\Progra~1\jwsdp-1.3\apache-ant" won't work. That's
> because it is
> supposed to be:
> C:\Progra~1\jwsdp-1.3\apache-ant
>
On Fri, 26 Sep 2003 03:56 pm, Suresh Babu Koya wrote:
> Greetings group,
>
>I am new to writing weblogic tasks for Ant. When I am running the ant
> task with the following code. I get errors that I copied below. This does
> not occur in everyone's system and occurs only in some systems. Could
>
On Fri, 26 Sep 2003 10:02 am, Rob van Oostrum wrote:
> I'm not saying you couldn't deprecate it ...
>
Sure - but would that "avoid confusion" :-)
Conor
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
On Mon, 11 Aug 2003 06:44 am, Gregory Seidman wrote:
>
> Would someone please explain how to handle the simple example of a
> directory/package tree full of .java source files to be built into a JAR?
> Once I have that toehold, I think I can start learning the rest.
>
Here is a complete and relati
On Thu, 24 Jul 2003 12:05 am, Patrick Surry wrote:
>
> 1. Can you control the degree of parallelism, eg. I want to do something
> like 'ant --maxParallel=4 ...' or:
>
>
><... lots of tasks ...
>
>
This has been added to CVS - will be in Ant 1.6
> and have Ant only kick off new tasks when
On Tue, 1 Apr 2003 03:03 pm, Conor MacNeill wrote:
>
> If input is not
> provided in this form and a task requests input it will be sent eventually
> to the System.in stream.
Just to update - this is true for in-VM Java tasks only. External tasks such
as and forked can only get
ventually to
the System.in stream. Currently, however, this is managed independently of
the output stream, which is buffered, so your prompt may still not appear.
I'm looking into that ...
--
Conor MacNeill
Blog: http://codefeed.com/blog/
---
ribute is
> not supported.
Please run
ant -version
and ensure you have a recent version of Ant.
--
Conor MacNeill
Blog: http://codefeed.com/blog/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
1.5.x releases as the last JDK 1.1 compatible release. IOW,
Ant 1.6 would require JDK 1.2
2. Mark 1.6 as the last JDK 1.1 release. This would give more notice of the
change
3. Stick to JDK 1.1 support for now.
Please feel free to express your views.
Thanks
Conor
--
Conor MacNeill
Blog:
Nathan Christiansen wrote:
In the 5 1/2 hours that it took for this message to appear on the list, I found an answer to my original question.
Is the long delay due to the move of the list? I can send a message to [EMAIL PROTECTED] and get a reply within minutes, not hours.
Your posts are bein
Keith Hatton wrote:
I don't know whether this is genuine but as I'm paranoid :) it looks like spam to me.
If it is genuine I don't think it is the right way to deal with spam.
Can the list owners please deal with this guy.
Thanks
I requested the user to be unsubscribed about 7 hours ago. I wa
66 matches
Mail list logo