|
|
|
I have a load of directories all with numeric names (e.g. 123 734
231) - hundreds of them.
I need to delete all these directories while leaving any directories
with non-numeric names intact.
I tI don 't know if this is the best way to solve my
problem so if anyone has another suggestion please let
me know...
The issue I am dealing with is that I have two main
targets 'full ' and 'update '. BoGreetings
I 'm trying to set a property in a sub-task but it not working. I put
here a sample test
<target name "X " >
<antcall target "Y " / >
<echo message "Z is ${Z} " / >
</target >
<target nam
Hello guys need some help. Just started using ant.
This is my build file which is included at the last.
I am getting this error..... saying dist does not exist
H \Projects\las >ant
Buildfile build.I 'm running ant under cygwin on Windows 2000 sp3.
It runs my junit tests okay but if I hit control-c I get a
command-line prompt but ant keeps running through all the junit tests
through the juIs there any way to get ANT to replace a token in a file with the entire
contents of another file?
I 'm trying to make my struts-config.xml a little more manageable...
Thanks!
--
Sloan
Hi
I have two Ant scripts that both except to get the property "param.project "
thought the command line and one of them is calling the other in the following way
<ant antfile "v \bin\compile.xmI think Simon wants to have the normal ant manual as pdf.
This is one step before that -)
There are discussions on dev@(protected) to bring the documentation to xml
and generating the html from there. GenerBecause the timestamp of the files are the same (local and remote) no get is
needed because
your local copy is up to date.
If you want to try it choose a different local directory (dir-attribute in
I 'm new to this mailing list and glad to be here.
I 'm having problems with the ftp 'get ' task. I an upload files onto the
remote server with no problems but I can 't retrieve any files. Even if I
Hi
I am having problems trying to find out how to specify the XSLT parser that
Junitreport uses. It always used Xalan and I want it to use Saxon. Is this
possible and if so how do I tell ANT to uHi
We 've just upgraded Ant from 1.5.1 to 1.5.2 and we 're experiencing
problems with zip files created with the "zip " task.
We can zip and unzip files in our Unix environments fine.
Windows exploHi all
I got this kind of error
[signjar] jarsigner error java.lang.RuntimeException keystore load /home/pritesh/.keystore (No such file or directory)
while using signjar like this
<siHi
I 'd like to create a fileset and add it to the project in my custom task.
Is this the right way of doing it
LibFileSet fs new LibFileSet()
fs.setProject( getProject() )
...
How can I defineHi all
I 've been using ant for a bit now but I find I need to reference the
documentation more and more as I start to add greater functionality. I
am afraid I 'm from the old school and like my 1. scenario (should work)
Ant runs on JDK 1.4 (for javadoc) and you use
<javac executable "pathToJavac13 " compiler "javac1.3 " / >
2. scenario (may work)
Run javadoc in a new target and set java.home Hi
I 've some directory properties in my build.xml like
<property name "contrib.dir " value "./contrib "/ >
...
Then I call this build.xml from a build.xml of the upper directory like
<ant antfile "b
----- Original Message -----
From Nils G H Waale
To Ant Users List
Sent Friday March 14 2003 5 10 PM
Subject error NoClassRefFoundWxception
I got ant build allreight but it 's not running I
Hello everyone -
First I 'll apologize if this has already been hashed out I searched
everywhere I could (bug db mailing list archive google) and didn 't find
it but I might have just missed itHello
I 'm using ant 1.5.1 for my build process and I 've run
into a scenario I 'm having trouble with. I need to
compile with one jdk (1.3) but run the javadoc task
using another (1.4). I can 't figuI got ant build allreight but it 's not running I get this error in main metode at org/apache/tools/ant/Main - NoClassRefFoundException what does it mean?
I running at win2000 got ant at E \jakarta\Hi
Has anybody had the same problem with the If task from Antelope
I use the same syntax as in the examples given like this
<if >
<bool >
<boolean computation >
</bool >
<other tasks
Hi all
I 'm facing an issue concerning taskdef tag. I want to use my own task
(let say ZZZ) defining in zzz.jar. And when I defined it like this
<taskdef name "ZZZ " classname "com.xxx.yyy.ZZZ > At least 1.2 i don 't know anyone using 1.2
> so number 1 choise i vote.
Dito - we are using mainly 1.4 1.3 in some projects.
Java - and therefore Ant - stores the newline in java.line.separator.
You can access it with ${java.line.separator}.
(Because that?s so long I usually define a short cut for this - like <br > in
HTML
Mmmhhh
<fileset >
<not >
<patternset refid " "/ >
</not >
</fileset >
Never tried but near to the documentation.
Jan Mat?rne
-----Urspr?ngliche Nachricht-----
Von Craig Dickson [maiAFAIK there is no way to set environment variables that lives longer than
Ant?s VM.
Jan Mat?rne
-----Urspr?ngliche Nachricht-----
Von Alexei Betin [mailto ABetin@(protected)]
Gesendet am DonnWe 've started discussing on ant-dev at what point we could drop support for
JDK 1.1 in Ant. Steve has suggested that we should ask the user community for
opinions. I think that is a good idea so herI am trying to use rsync with exec task. But I am getting the following
error
[exec] link_stat *.properties No such file or directory
[exec] building file list ... done
Here is the execHas anyone seen this error while using the xml
formatter?
java.lang.NullPointerException
at java.io.Writer.write(Writer.java 126)
at
org.apache.tools.ant.util.DOMElementWriter.write(D
| |