ASAIK there are plans (ideas? wishes?) on the Dev-List for realizing
a async-option (or task) for java, exec and apply.
But I´m not sure - especially when it will be done.
Jan Matèrne
-Ursprüngliche Nachricht-
Von: Philip Aston [mailto:[EMAIL PROTECTED]]
Gesendet am: Dienstag, 11.
If the xml parser should do the job (here you are using
xml entity), the path has to be hardcoded, because no other
program is running which can resolve variables.
The import task is in the CVS head of Ant 1.6. Because
Ant 1.5.2 is for several bugfixes and NO enhancements, it isn´t there.
But you
If you want to include; java.xml you have to delete the first line
( ?xml version... ) (I think).
If you want to ant java.xml that file must be a valid buildfile.
So you have to have a project-Root element.
Jan Matèrne
-Ursprüngliche Nachricht-
Von: Pritesh saharey [mailto:[EMAIL
delete failonerror=false/
Jan Matèrne
-Ursprüngliche Nachricht-
Von: Thomas Saxtoft [mailto:[EMAIL PROTECTED]
Gesendet am: Donnerstag, 6. März 2003 10:19
An: [EMAIL PROTECTED]
Betreff: Little problem deleting
I have got this little problem, but I can't find a solution anywhere.
When I
Don´t know, but don´t think so.
But GUMP can.
Jan Matèrne
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet am: Freitag, 7. März 2003 11:40
An: Ant Users List
Betreff: Re: AW: AW: AW: anthill vs. cruisecontrol
Okay, understood this now. But can AntHill
If I remember right you are working with Ant 1.3. Why don´t you update to
1.5.2? (1.5.3 beta is
available). I think you´ll get lot of problems because the old version.
Most of the people can´t reproduce your failures, because they don´t have
1.3 (I think).
And ... the doc of 1.5 is much much
What do you expect? Can you give us Ant´s output?
Check the spelling of your directory BUILD (casesensitive on Linux!)
and filename (does the filename really starts with uppercase 'B'?).
Jan
-Ursprüngliche Nachricht-
Von: Pritesh saharey [mailto:[EMAIL PROTECTED]
Gesendet am:
And the file is on
/home/pritesh/CHPROJECT/BUILD/Build.sh ?
Jan
-Ursprüngliche Nachricht-
Von: Pritesh saharey [mailto:[EMAIL PROTECTED]
Gesendet am: Montag, 2. Juni 2003 10:51
An: Ant Users List
Betreff: Re: exec command not working
[EMAIL PROTECTED] CHPROJECT]$ ant -v call
Title: Re: copying files
Bertjan,
I created a little sample application.
- Extract the zip (keeping directory structure)
- open a shell/cmd in the directory dir1/dir2
(the build.xml is there)
- start ant simply by typing ant
That works for me. Maybe we can use that as start.
Jan
I don´t no way without saving the result from step to step.
But a little search on google with xsl pipeline ant find a nice article.
Maybe you find some valueable infos there:
http://www.xml.com/pub/a/2003/01/29/ant.html
(I should read that, too)
Jan
-Ursprüngliche Nachricht-
Von: Mike
Use a property file.
E.g. %user_dir%\ant.properties
javac.debug=true
javac.deprecation=false
and use that in your buildfiles
property file=${user.dir}/ant.properties/
javac debug=${javac.debug}.../
Jan
-Ursprüngliche Nachricht-
Von: Schaaf, A.P. (Arjan) [mailto:[EMAIL PROTECTED]
I think I haven´t understood you right...
Whith that approach you can specify global settings. The buildfiles load
several propertyfiles.
Because of the immutability of ant properties you can do something like:
property file=build-${user.name}.properties/ user and project
specific settings
I think you´re trying to specify a fileset outside of the buildfile.
For that you have to use XML-Entities.
Jan
-Ursprüngliche Nachricht-
Von: Keith Hatton [mailto:[EMAIL PROTECTED]
Gesendet am: Dienstag, 17. Juni 2003 18:08
An: Ant Users List
Betreff: RE: Ant newbie fun
Your
Then you have to use a perl script
ok, no jokes any more :-)
AFAIK you can´t set the loglevel inside your build file. The reason for
this is that the user should have the ability to set the loglevel.
You can set a loglevel for a echo message and you can create additional
logfiles with record.
Oh, yes
and you can write an appropriate logger. But for that you have to use the
'-logger'
flag (and for easier use a bat-file ...)
Jan
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet am: Mittwoch, 2. Juli 2003 06:38
An: [EMAIL PROTECTED]
When I use Junit in Ant, it displayed the following errors,
how can solve it?
Exactly like written.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed
Only for Outlook 8-)
I have found a nice switch
Extras | Options | E-Mail-Format | International Options |
Header of replies and forward in US-English = checked
(I have it activated now - but I can´t see anything)
For all other people Re: is the prefix to be used by convention.
Sometimes I
On http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474 I wrote a new
selector
which can help.
The selector stores (default values) a MD5 based value for every files
content and
selects it only if that value differs from one stored in a properties file.
So your
scenario should be able to
For antcall: if the called target sets a property, the caller will
not get that. I call that behaviour: antcall creates a new namespace.
All set properties in that namespace get loss.
Therefore the only way (I know) to give values to the caller is via
persistent medium (e.g. file: echo + property
I think there was an answer to that question.
The cvs takes a command and doesn´t check against a special list.
The command will be passed to cvs, so a 'commit' should work.
But you have to pay attention about needed arguments. Because I not
familiar with cvs (yet) I can´t tell you more about
Use a fileset to get all IDL files
fileset id=IDL_FS dir=${IDL_DIR}/**/*.idl/
and convert that to a normal property, but separated by space.
pathconvert property=IDL_FILES refid=IDL_FS pathsep= /
Then you can give all idl-files to the parser
...
arg line=${IDL_FILES}/
...
There is a different selector which can help:
- patched files are different from their unpatched version
So copy all source files into a new directory and patch the files.
Then you can move the patched files (using the different selector
and comparing the tmp-directory and the original dir) into
Sure: java
You can invoke other programs with exec and apply
And you can write your own tasks.
http://ant.apache.org/manual/develop.html#writingowntask
For quick things you can use script.
Jan
-Original Message-
From: Monika Adamczyk [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18,
I did a quick hack using AntContrib:
?xml version=1.0 encoding=ISO-8859-1?
project name=test basedir=. default=main
taskdef resource=net/sf/antcontrib/antcontrib.properties/
target name=main
property name=token value=ant/
property name=file value=1.txt/
loadfile
Part of AntContrib.
Ant-Contrib:
Homepage: http://sourceforge.net/projects/ant-contrib/
CVS-Source:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant-contrib/src/n
et/sf/antcontrib/
CVS-Manual:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant-contrib/manua
Manual
http://ant-contrib.sourceforge.net/tasks/propertyregex.html
Sourcen
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant-contrib/src/n
et/sf/antcontrib/property/RegexTask.java?rev=HEADcontent-type=text/vnd.view
cvs-markup
Jan
-Original Message-
From: Rahamim, Zvi
I've an EAR file which contains a WAR file. This WAR file
contains some
JAR files as librairies. I've to update some JAR files, and
consequently
both the WAR and the EAR files.
How to do each of these updates using Ant?
target name=ear depends=war,ejb,rar
ear
Have you tried ${line.separator} ?
Jan
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:25 PM
To: Ant Users List
Subject: replaceregex TokenFilter
I am having trouble with the replaceregex TokenFilter.
I am trying to insert
Hai Friends,
I need a help from you all.
I have two questions.
1. I am trying to execute set of sql files present in a
directory one by one
using foreach task. my test code is like this. How can I pass
(properties)variables defined in the other targets.
i.e ${driver}, ${durl} or is
One add: the antnews.html is generated with anakia
from xdocs/antnews.xml.
antnews.xml: http://cvs.apache.org/viewcvs.cgi/ant/xdocs/antnews.xml
generating: http://ant.apache.org/faq.html#creating-faq
Jan
-Original Message-
From: Jon Madison [mailto:[EMAIL PROTECTED]
Sent: Thursday,
The only way I know is searching the archive of the mailing list.
I usually use http://marc.theaimsgroup.com/?l=ant-user
Jan
-Original Message-
From: Sarsam, Vinitha [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 5:15 PM
To: 'Ant Users List'
Subject: How to access
Yes, exactly that.
Jan
-Original Message-
From: Daniel Barclay [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 7:53 PM
To: Ant Users List
Subject: Re: The Simplest build.xml needed
peter reilly wrote:
With ant 1.6:
project
javac srcdir=./
/project
I downloaded the ZIP-Archive and it contains the sources:
apache-ant-1.5.4/src/main/org/apache/tools/ant/taskdefs
Jan
-Original Message-
From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 6:27 PM
To: 'Ant Users List'
Subject: Ant Source
How do I get the
You should use java instead of javac for running java apps :-)
java resultproperty=/
Jan
-Original Message-
From: Matthias Lübken [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 11:34 AM
To: Ant Users List
Subject: Systen.exit() valuesin javac target
Hi
I want my
Sure
project basedir=Japanese/
ok, was joking
Java supports unicode (I think) and xml, too. So change the xml header to
your appropriate encoding (I use ?xml version=1.0 encoding=ISO-8859-1?
)
and try it out.
... and let us know the result :-)
Jan
-Original Message-
From:
1) copy that env-part :-)
2) define that part outside in a file and include that on both places with
xml-includes
3) I don´t know whether include can help here ...
Mmm, java supports syspropertysets. I think a envpropertyset would be
useful
for exec and java also ...
Jan
-Original
And the xml tasks:
http://www.oopsconsultancy.com/software/xmltask.html
Usually the External Tasks page is a good resource to find
some tasks:
http://ant.apache.org/external.html
Jan
-Original Message-
From: Rosendahl Sten - stro [mailto:[EMAIL PROTECTED]
Sent: Friday,
This if/ exists in ant-contrib or antelope.
In ant itself, you have to have :
init target(s) setting conditional properties,
execution target(s) depending on the init(s) targets with if or unless
clauses.
But don´t be confused: the if and unless clauses of target don´t check
the value of
Do you know the tutorial of writing tasks?
on WIKI
http://nagoya.apache.org/wiki/apachewiki.cgi?AntTutorialWritingTasks
on Bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22570
with 1.6 (not released yet) in the manual
/docs/manual/tutorial-writing-tasks.html
in CVS
Where to find?
Jan
-Original Message-
From: Grinvald, Edward [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 1:19 AM
To: Ant Users List
Subject: RE: How to repeat a task for a certain amount of time
See Timer and TimerTask.
|eg|
-Original Message-
42
The answer to the unknown question :-)
Jan
-Original Message-
From: slg.ahlen.quvintheumn [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 9:29 AM
To: Ant Users List
Subject: Re: Antwort: RE: Antwort: AW: Check whether a fileset exist
- Original Message
Have you tried pathconvert pathsep= / ?
Jan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2003 11:27 AM
To: [EMAIL PROTECTED]
Subject: Passing file list to a java program
Hi,
In our automated build we need to run a script
arg line=quot;${businessrules}quot;/ ?
pathconvert/ will only insert the between two entries, not at the
beginning
and not at the end.
Jan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2003 11:51 AM
To: [EMAIL PROTECTED]
Main reason for depends is: ant is not a scripting language.
Never designed for that.
A buildfile should describe the build process and its dependencies.
Another side-effect is that a dependend target is only executed once.
target name=main depends=one,two/
target name=one depends=common/
and even better, be able to be created and used in the same task.
I'm not sure I can follow you here.
Stefan
Maybe in the same target?
target name=here
concat file=here.sh...
exec executable=sharg value=here.sh//exec
/target
Jan
target name=declareEditProperties
taskdef name=editproperties
classpath=${env.ANT_HOME}/lib/editproperties.jar
classname=com.pazoom.tools.EditPropertiesTask/
/target
Are you sure, that JAR file exists there? What means ant -verbose?
BTW - if
Quoting Stefan Bodewig [EMAIL PROTECTED]:
war (and any other task of the zip family) will only work on
existing files and directories. You'll have to make sure that they
exist using mkdir (which will silently do nothing if the directory
already exists).
Would it make sense to have an
Properties are not expanded inside propertynames:
${${module.name.small}.supported.screen.lang}
Maybe AntContribs propertycopy/ could help here.
Just an idea:
propertycopy name=supported.screens
from=${module.name.small}.supported.screen.lang/
property name=supported.screens value=en/
Jan
Properties are immutable.
But what should run through the directories?
Does apply help? Or subant?
Jan
-Original Message-
From: Parimala [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 6:31 AM
To: 'Ant Users List'
Subject: Property tag value
Rose StationeryHi all,
http://cvs.apache.org/snapshots/ant-antidote/
Jan
-Original Message-
From: M El number one [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:25 AM
To: [EMAIL PROTECTED]
Subject: how can i get ant-antidote
I don't have cvs, how can i get ant-antidote?
if there any
I have no problems with get. But I can´t see anything on that URL.
Maybe you can check the MD5 value.
Jan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 3:18 PM
To: ant_user group
Subject: Question about the ant get task
Duy, Does any body has experience with ant get task? I try to
download a ZIP or JAR file from a remote server through HTTP
protocol,
Check your URL, maybe you get an error page instead of the the archive
you expect, because
http://jakarta.apache.org/builds/tomcat/nightly/ant.zip
The manual [1] shows example for an xml based propertiesfile.
The first sentence Loads property values from a valid xml file. must
be read as it is (otherwise it´s not written in there :-):
from a valid xml file
There are no other restrictions, no DTD, no schema, ...
A
ANTHOME\lib\ant-launcher.jar
If you start Ant 1.6 from command line, the wrapper script will (more or
less)
do a
java -jar ant-launcher.jar oata.launch.Launcher
That class loads all jars in the lib directory and in %user.home%/.ant/lib
After that Ant starts.
If you start JUnitSwingRunner,
Will updated appserver specific tasks be included in final release of
Ant1.6? For example JOnAS, which we use here, ships with a
new ejbjar task.
We currently reference this jar directly out of the JOnAS
distribution in
our build.
Ant doesn´t include tasks which are part of another
The only idea I have is starting a new ant instance with different classpath
...
Jan
-Original Message-
From: Myriam Delperier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 9:14 AM
To: [EMAIL PROTECTED]
Subject: saxon and xalan
hello
on the one hand
i've got a
Do you know the compatibility to Ant? Then I can add that to the
external page http://ant.apache.org/external.html .
Jan
mtxslt - Multi-XSLT Ant Task
A task for the Apache Ant build system. The mtxslt (multi-XSLT) task
extends the standard Ant xslt/style task to make it easy to use multiple
http://www-106.ibm.com/developerworks/java/edu/j-dw-java-apant-i.html?ca=dnt
-450
Apache Ant 101: Make Java builds a snap
Whether you're a veteran user of Apache Ant in need of a refresher or just
starting out with this open source Java-based build tool, this tutorial
provides a wealth of
1. read the insert-file loadfile
2. use replace the flag with that content replaceregexp
Jan
-Original Message-
From: Riaan Oberholzer [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 11:52 AM
To: [EMAIL PROTECTED]
Subject: [Q] How to insert file into another?
Replace '#project.' with 'project.'
Jan
-Original Message-
From: momo momo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 4:23 PM
To: [EMAIL PROTECTED]
Subject: RE: replacing commented text - Regexp
Hi,
first of all, thank you for your help I really appreciate
Yep.
But in earlier time Ant has its own copy of junit.jar - but that was an
accident :-)
Jan
-Original Message-
From: Baz [mailto:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 9:57 PM
To: Ant Users List
Subject: Re: junit.jar or not?
Jan,
Thanks for your reply.
So,
Delete the space. E.g. (requires AntContrib)
propertyregex
property=os.name2 The new property to use
input=${os.name} Get Windows XP from system
regexp= Check the space ...
replace= ... and replace with empty string
/
echo ${line.separator} /echo
or for easier use I personally use
property name=br value=${line.separator}/
echo ${br} /echo
Jan
-Original Message-
From: Koji Sekiguchi [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 5:59 AM
To: Ant Users List
Subject: RE: Best means
Maybe the solution is just to check if the hook'd targets
have dependencies
and fail if they do. That's what I'll do if I ever use your
trick ;-) --DD
Something like that?
Jan
?xml version=1.0 encoding=ISO-8859-1?
project name=test basedir=. default=main
property name=failOnDep
On the Wiki [1] I wrote how the change the locale during a build.
Maybe you can do that with STDOUT/STDERR, too.
A look into the sources of javac showed that no redirection
is supported (maybe that would forgotten in the manual :-)
Jan
[1]
The important part of the coding is
} else if (arg.equals(-buildfile) || arg.equals(-file)
|| arg.equals(-f)) {
try {
-- buildFile = new File(args[i + 1].replace('/',
File.separatorChar));
i++;
where you can
No it can´t.
But a look into the source code shows that it should be possible
to implement.
oata.taskdefs.Javadoc:
1565:public void execute() throws BuildException {
...
1934:log(Javadoc execution, Project.MSG_INFO);
1935:
1936:JavadocOutputStream out = new
javac
src/
src/
/javac
like the manual sais ...
Jan
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 5:06 PM
To: Ant Users List
Subject: Re: Multiple source paths for javac
--- Digambar, Shaligram (Consultant)
[EMAIL
Don´t think you can (without writing a new logger...)
Jan
-Original Message-
From: Mario Manfre [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 5:07 PM
To: Ant Users List
Subject: Hide a task name
I've created a target which I call using an antcall but I
would like
tstamp and an unused property.
script and via Java API.
Jan
-Original Message-
From: Mario Manfre [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 5:58 PM
To: Ant Users List
Subject: RE: Hide a task name
ouch.. is there a way to show the current time or time elapsed?
You don´t have the Log4J library in your classpath ... haven´t you?
Jan
-Original Message-
From: Ben Doku [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 1:57 PM
To: [EMAIL PROTECTED]
Subject: Unable to compile packages that use log4J.logger -
Please Help
Hi All,
just do:
property name=prop1 value=xxx/
property file=${prop1}.properties/
with a set of properties files ...
And with Ant 1.6 you can do also an
import file=${prop1}-definitions.xml/
Jan
-Original Message-
From: Marcin Gurbisz [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Ant manual, Optional Task.
Jan
-Original Message-
From: Anderson, Kajsa [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 5:01 PM
To: 'Ant Users List'
Subject: RE: Sending the JUnitReport by mail.
Could you send an email with a link to the junitreport? We
use
I think a specification will specify the exact name and
we should use that. But I haven´t found any spec for JAR
files and their manifest file.
The only one I found was that part of J2EE, not enough for
me, but the only one I found ...
We should search for a spec of JAR. Does someone knows the
We have an ant build file that uses jlink to create a single
jar of all the
thirdparty jars we compile with (for deployment).
The ant build file defines a thirdparty classpath as a series of path
elements, this is referred to in both the javac and jlink tasks.
I would like to switch to
Using copy you can copy the files in a cross platform manner.
Setting the permissions the perms of the original files is another
topic. chmod is used to set permission. But there is no easy way
to copy the permissions from one fileset to a target. You can
use script and chmod: iterate over a
Use Ant 1.6 and exec spawn=true/.
Before 1.6 there are complicated hacks - and I don´t know if they really
work.
Jan
-Original Message-
From: Tom Elrod [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 7:35 AM
To: [EMAIL PROTECTED]
Subject: launching bat file in new process
Okay, I've run it again with the -debug flag on. Here's what
I get (userid
and password obscured):
[iftp] Error while connecting or logging into FTP Server.
no more infos ...
BUILD FAILED: Target `none' does not exist in this project.
???
I'm not sure how to do that. I started a
Sourceforge is usually a search worth
http://sourceforge.net/projects/diffxml/
Jan
-Original Message-
From: Sullivan, Sean C - MWT [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 1:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Looking for an XMLDiff task
DeltaXML
the order of execution is
- perform the depends targets
- check for if/unless
- perform the target according to the check
the if/unless attribute requires the name of a property, not a value.
So use
if=name
instead
if=${name}
(which could be if=value :-)
Jan
-Original
That´s the common check-before-execution-behaviour.
target name=check
uptodate property=mustdo .../
/
target name=mywork if=mustdo depends=check/
Jan
-Original Message-
From: Eliot Stock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 11:12 AM
To: '[EMAIL PROTECTED]'
Only via a custom listener.
Or indirect: use record to save that to file then use concat with a
nested
linecontains filterreader for printing.
Jan
-Original Message-
From: Johan Vromans CPWR [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 7:04 PM
To: Ant Users List
I think I should make a FAQ entry :-)
Create a property file for your platform specific configurations and use
property file=${os.name}.properties/
property file=default.properties/
But be careful. I remember a discussion that on some win32 systems (nt/2k/xp
-
one of these) the value of
Maybe it would better to change to something like @[EMAIL PROTECTED] Then you´ll get a
template
which can be used for filterchains to replace the @port@ with the value of
an Ant
property (e.g. port=) while doing file operations (copy, zip, ...).
Without trying something I would start with an
I don´t know JACL, but with JavaScript that works:
project
script language=javascript ![CDATA[
importClass(Packages.org.apache.tools.ant.BuildException);
throw new BuildException(my error);
]]/script
/project
C:\TEMP\xxxant
Buildfile: build.xml
BUILD FAILED
All should be doable with Ant ... and some coding :-)
I think there is no problem in step 1-4.
For step 4+5 you should run a SSH server on your test machine
(Linux/Windows). So you can
- step 4: use scp to copy the files to the machine
- step 5: use sshexec to start the installation (Linux and
- you are not using subant
- antcall does not support nested filelists, but that is written in
the manual.
Jan
-Original Message-
From: Howard M. Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 2:26 PM
To: [EMAIL PROTECTED]
Subject: Help with subant
Anyone
Without having deeper knowledge about redirector ... would it make
sense to add redirector support to Commandline class?
Jan
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 4:45 PM
To: Ant Users List
Subject: RE: Javadoc flag
---
Can you point to the spec for clarification, Dominique?
Just look into manifest's manual ;-)
touché :)
Footnotes:
[1] http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html
Just a quick view - the spec speaks about binary data. The question
is: is text _binary_?
Jan
See FAQ
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
Jan
-Original Message-
From: Mattos, John [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 4:26 PM
To: ANT User List ([EMAIL PROTECTED])
Subject: Nested Variables in ANT?
Hi All
I'd like
http://ant.apache.org/projects.html#antcontrib
-Original Message-
From: Mattos, John [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 4:32 PM
To: Ant Users List
Subject: RE: Nested Variables in ANT?
What are the external libraries needed and where might I find them?
Maybe it would be easier to download the binary distro [1].
But don´t forget: for some tasks you need 3rd party libraries also [2].
Jan
[1] http://ant.apache.org/bindownload.cgi
[2] http://ant.apache.org/manual/install.html#librarydependencies
-Original Message-
From: [EMAIL
Just give it a try and post about your experience?
A short note here or better a description in the wiki [1].
Jan
[1] http://wiki.apache.org/ant/FrontPage
What if you try arg line=/c startWeblogic/ ?
Jan
-Ursprüngliche Nachricht-
Von: CP Agrawal [mailto:[EMAIL PROTECTED]
Gesendet am: Donnerstag, 1. Juli 2004 01:48
An: [EMAIL PROTECTED]
Betreff: Help with spawn and cmd
I am working on windows xp and trying to make following work:
propertyregex property=ejb.name
input=${cur-ejb-value-loc}
regexp=(.*)=(.*)
select=\1
casesensitive=false /
propertyregex property=ejb.value
input=${cur-ejb-value-loc}
regexp=(.*)=(.*)
select=\2
casesensitive=false /
hadnt worked?
Jan
-Ursprüngliche Nachricht-
p.s.
I have no experience with InputHandlers. That only are ideas, knowledge
about Ant in
general and quick views into the sources.
So it wouldnt be easy to resolve deeper problems - especially with Swing
(which also
isnt by best part :). If you find some limits you cant work around, specify
them.
Played a little bit:
project name=prog
import file=common.xml/
path id=add
fileset dir=.. includes=*.log/
/path
property name=v refid=path/
echopath: ${v}/echo
/project
project name=common
path id=path
fileset dir=./
path refid=add/
/path
path
I think thats not the page which is read so often :-)
BTW if you need the working directory inside ant this could be helpful:
@echo off
ant -buildfile c:\bin\antutil.xml %* -DcurDir=%CD%
I use that startup script for some nice basic features where I need the
current
directory. In the
Two possibilities:
fileset id=fs dir=C:/temp
includes=**/*.ini,**/*.pdf,**/*.log,**/*.xml/
property name=fs.value refid=fs/
That list contains a semicolon separated list of relative paths to C:/temp.
fileset id=fs dir=C:/temp
includes=**/*.ini,**/*.pdf,**/*.log,**/*.xml/
pathconvert
Use subant.
Jan
-Ursprüngliche Nachricht-
Von: thangarajan gopalakrishnan [mailto:[EMAIL PROTECTED]
Gesendet am: Dienstag, 20. Juli 2004 11:54
An: [EMAIL PROTECTED]
Betreff: Build File
Hai
I have four componenets residing in four differenet directories. Each
directory contains
1 - 100 of 413 matches
Mail list logo