Hello !
Here is how I did work with ant for now:
I have a script that generates all build.xml files from a
build.xml.template and a rbuild.xml.template, and from the top src
directory.
build.xml.template contains applicative targets such as doclet, compile,
archive, unit test, doc generation and s
Jerome Paul wrote:
Hi,
I'm using the ant style task and I was wondering if their's a way to pass
parameters to the xslt I'm using?
any suggestions?
cheers
Jerome
I think it is in the doco - look at the param nested element
http://ant.apache.org/manual/CoreTasks/style.html
There is an examp
Hi,
I'm using the ant style task and I was wondering if their's a way to pass
parameters to the xslt I'm using?
any suggestions?
cheers
Jerome
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Thanks Dominique - you nailed it. I had the wrong bsf (version 2.3 form
Jakarta). Ant 1.5.1 expects the older bsf 2.2 from IBM where package
names start with com.ibm. The version from Jakarta has changed the
package names to org.apache.
Naresh
-Original Message-
From: Dominique Devienne [
That's what I've done, and it works fine for me, as demonstrated by the few
I've posted. Could be you have the wrong
bsf.jar (moved to Jakarta recently. Where did you get yours?) or js.jar.
You could also run in -debug mode, and inspect the messages where it says
loading this class from this loca
I am running into a problem trying to run the task. Ant is not
finding it. I have optional.jar, bsf.jar and js.jar in the Ant lib
directory. I am using Ant 1.5.1. Any ideas what could be the problem?
The error message is:
Could not create task or type of type: script
Thanks.
Naresh
-Origin
Dave-
Most of the Ant scripts I have written have implmented targets something
like
Nuke Old Directories
Create Source and Target Directories
Get Source from VSS
Run jasper on jsp to create Java source
Compile everything
Create Jars
Create Junit/Cactus Tests
Run Junit/Cactus tests
Create Javadoc
I
The particular example given could have been achieve with and
. Granted would have required two s since the latter can
only set two properties at a time, but still...
Capitalizing first work letters is another story of course. --DD
-Original Message-
From: Naresh Bhatia [mailto:[EMAIL PR
Thanks sascha. That will work for me!
Naresh
-Original Message-
From: Sascha Freitag [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 2:26 AM
To: Ant Users List
Subject: RE: Deriving new properties based on existing properties
So fare as I know you have to do this with a scr
Have you looked at ? --DD
-Original Message-
From: Brian Quirk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 1:03 PM
To: Ant Users List
Subject: Re: Quick GenJar Question
Thank you for your quick response. However, I believe using
still requires me to list each class usi
You can force a target to be executed again by using
- Dave
-Original Message-
From: Cessna, Thao [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 14:04
To: '[EMAIL PROTECTED]'
Subject: Expand Ant to "Undo" Executed Targets
Hi,
I'm using Ant targets to render GUI panels fo
Brian Quirk wrote:
Hi,
I'd like to Jar all the classes (and dependent classes) in a package
without listing each class via the element:
Does anyone if its possible to replace the collective elements with
something that would pull in the entire package?
Thank
Thank you for your quick response. However, I believe using
still requires me to list each class using or else class1, class2,
and class3 would not be pulled into the jar.
The
Subject: Re: Quick GenJar Question
Hi,
I'm using Ant targets to render GUI panels for a Config. Wizard application.
At the last panel, I would like to be able to go back to previous panels for
correction before executing the configuration. Since the targets are already
executed, Ant won't execute them again thus preventing me from
I have had a look for you in the doc of Genjar on SourceForge,
http://genjar.sourceforge.net/manual.html#classfilter
it looks like you can use this type of construct
- Original Message -
From: "Brian Quirk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29,
- Original Message -
From: "Paul Hunnisett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 08:24
Subject: RE: copy problem
>
>
> OK - thanks for all your help. I have now got it working, but am very
> confused as to why it wasn't working in the first place
Hi,
I'd like to Jar all the classes (and dependent classes) in a package
without listing each class via the element:
Does anyone if its possible to replace the collective elements with
something that would pull in the entire package?
Thanks,
Brian
--
OK - thanks for all your help. I have now got it working, but am very
confused as to why it wasn't working in the first place. One of the
arguments that I was passing into Java2WSDL was wrong. The WSDL was being
generated and was correctly formed - but would not have actually worked.
When
Never had an issue with myself... I've heard many times on this forum
that Windoze filesystems are often unreliable when it gets to get the *real*
last modification time of a file (gives it with a 2 seconds tolerance), so
that could throw off I guess, I guess never saw this problem myself.
--DD
And what is the debug output saying. Did you try running in debug mode? Can
you post the relevant portions of it? --DD
-Original Message-
From: Paul Hunnisett [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 9:33 AM
To: [EMAIL PROTECTED]
Subject: RE: copy problem
:-) fair co
:-( thanks - tried waiting 30 seconds - I'm not even convinced that it's
actually waiting
From: David McTavish <[EMAIL PROTECTED]>
Reply-To: "Ant Users List" <[EMAIL PROTECTED]>
To: 'Ant Users List' <[EMAIL PROTECTED]>
Subject: RE: copy problem
Date: Wed, 29 Jan 2003 10:27:11 -0500
try wait
One other thing to try is use a file set, run in debug/verbose mode, look
for results like this:
testcopy:
fileset: Setup scanner in dir C:\fail-test with patternSet{ includes:
[**/*.bat] excludes: [] }
[copy] runreport.bat added as C:\cpytst\runreport.bat doesn't exist.
[copy] Copying
sorry,
I think there is a bug in copy, at least I've posted about this before about
4 months ago and had no successful advice. I ended up switching to the sleep
command to get it to pseudo-work, but this depended on the speed of the
processor running the ant process. I finally just switched e
:-) fair comment - I did double check those things and they are correct
From: "Ciramella, Edward" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List" <[EMAIL PROTECTED]>
To: 'Ant Users List' <[EMAIL PROTECTED]>
Subject: RE: copy problem
Date: Wed, 29 Jan 2003 10:22:24 -0500
Did you double check
try waiting in between the javac process and the copy. One of the problems
I had with ant-copy is that it was inconsistent with copying files
(especially jars that were just built). Try waiting 3 seconds after the
javac command and see if the file copies after that.
d.
-Original Message
Did you double check the spelling of the directory names?
Is it really up one directory relative to where you're launching ant?
I know these are silly things - but we all rush sometimes :)
-Original Message-
From: Paul Hunnisett [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 20
tried running in debug mode using and -debug copy (giving copy a dependency
on wsdl) wsdl and dependencies run - but copy does not despite the fact that
I get the output:
Build sequence for target `copy' is [init, compile, wsdl, copy]
Complete build sequence is [init, compile, wsdl, copy]
Fr
I tried your alternative using nested elements with exactly the same
results. Unfortunately - I'm writing this build file as part of an exercise
for a course I'm writing. Whilst using exec with cp would probably work -
it's a bit "quick and dirty" to really use in a course context
Thanks for
also, try running ant in debug mode :
ant -debug wsdl to see exactly what happens.
- Original Message -
From: "Paul Hunnisett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 3:48 PM
Subject: copy problem
> The following is a target that I would ideally like
Try exec'ing to cp to copy. I've had problems in the past with ant-copy,
that I don't use it much anymore.
Failing that, try:
maybe use the available task to ensure that the file exists in the current
directory.
d.
-Original Message-
From: Paul Hunnisett [mailto:[E
The following is a target that I would ideally like to use:
http://www.stilo.com/random"/>
http://localhost:8080/ogsa/services/RandomService"/>
The copy task for this never runs, however. I am making sure the file i s
deleted in the copy to location, so thi
Hi,
I have released a new version of my version_tool. This release includes
some nice new features. These features include:
New in Version 1.1.4:
VersionUpdate:
1. Saves new Version number out to an Ant property
('VersionTool_Version').
2. An Ant property can be defined to save the new vers
Hi Dan, thank you very much.
I have used the Replace task and it run good. But I am going to use the xml
task because it like good task.
-Mensaje original-
De: Dan Gardner [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 29 de enero de 2003 11:07
Para: 'Ant Users List'
Asunto: RE: Filter
Hi!
I'm new in this list. I checked out the archives looking for ways of
calling ANT from a jsp/servlet, but I didn't find the right solution.
My idea is to create an update system using ant and with a web
interface. Then, I'd like to have a javabean that encapsulates the ant
job (possible, a Pro
If you want to put conent into an XML file, then XmlTask may be what you want.
See http://www.oopsconsultancy.com/software/xmltask.html
--- Jorge_San_José <[EMAIL PROTECTED]> wrote: > Hi dear list!
>
> I am using ant1.5.1 and I have the following problem:
> I want to write in a XML file wi
Use the xmltask by oopsconsultancy. It works great for me.
http://ant.apache.org/external.html#xmltask
http://www.oopsconsultancy.com/software/xmltask.html
___
Dan GardnerEmap IT - UK
>-Original Message-
>From: Jorge San José [mailto:[EMAIL PROTEC
Hi dear list!
I am using ant1.5.1 and I have the following problem:
I want to write in a XML file with ANT but I don't know do it. I thought to
use the filter task but it is for TXT file, isn't it? I have used the filter
task and it don't run. Thak you very much.
Best regards,
37 matches
Mail list logo