On Sat, 12 Oct 2002, Angelo Schneider [EMAIL PROTECTED]
wrote:
a) why does this task recurse into all directories?
target name=compile depends=init
description=compile the source
!-- Compile the java code from ${src} into ${build} --
javac srcdir=${src} destdir=${build}/
fixed in CVS, thanks.
Stefan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Stefan Bodewig wrote:
On Sat, 12 Oct 2002, Erik Hatcher [EMAIL PROTECTED]
wrote:
Caveat: this chart is not entirely accurate any more. Anthill now
has multiple SCM support and project dependency support
Gump supports Subversion now 8-)
Excellent!
and no, setup hasn't become easier
Wannheden, Knut wrote:
Erik,
We use CruiseControl on my work project and its working well,
although
it is mildly painful to set up and get running. I expect more from
CruiseControl though, given its Martin Fowler's company
people that are
developing it (are you listening Thoughtworks?!
Yes, both are in my classpath and still no joy. Anyone else have any ideas?
Fionnuala.
-Original Message-
From: Paidighantam Venkata Suresh [mailto:[EMAIL PROTECTED]]
Sent: 14 October 2002 06:51
To: 'Ant Users List'
Subject: RE: Ant Mail task
Check whether mail.jar and activation.jar
Hello Bill,
Sunday, October 13, 2002, 11:22:16 AM, you wrote:
I guess your next option is to goto the source. Find out exactly why
it's misbehaving.
One more thought, did you use a GUI ftp client? Maybe the filename has
embedded non printing characters or something and the GUI isolated you
Stefan Bodewig wrote:
On Wed, 09 Oct 2002, Jerome Lacoste [EMAIL PROTECTED] wrote:
copy identifies files are up to date while they aren't.
Works on my machine (running Linux).
Uhm, this here might be the problem on Windows:
if (forceOverwrite ||
Hi jake.
I released 0.1.1 at the site.
http://members.jcom.home.ne.jp/shivaken/
And I setted manual page. Please visit that.
I've attached an antshell.bat script (inside the antshell_winbatch.zip
file). It is mostly ripped off from the ant.bat script.
Unfortunately in this mailing list,
Hi Erik,
We managed to get CruiseControl working with 20 projects at the same time
without having to change one build file. Since each of our
projects already had standard targets Ant was powerful enough to handle the
SCM integration. We just needed to write a wrapper build file that took
System
try if this works:
mail mailhost=ZGALC001 from=[EMAIL PROTECTED]
tolist=[EMAIL PROTECTED],[EMAIL PROTECTED] subject=The Result of
the build message=The nightly build has completed /
Suresh
-Original Message-
From: Fionnula Glynn [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002
Thanks Suresh, that worked.
Another question: does anyone know if it is possible to use Ant across a
number of Clearcase VOBs - i.e. if the Ant build file is checked into one
clearcase vob is it possible for the build file to access code in another
vob?
Cheers,
Fionnuala.
-Original
Sure, just use a relative path to refer across VOB boundaries, as in this
example:
property name=vob1.source location=../vob1/src/
property name=vob2.source location=../vob2/src/
property name=vob3.source location=../vob3/src/
Sten
-Original Message-
From: Fionnula Glynn
On Mon, 14 Oct 2002, [EMAIL PROTECTED] wrote:
just wondered if there is any way i can use ant to create a symbolic
link on linux?
There is a contributed task that hasn't gotten the attention it may
deserve. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9808
You may want to give it a try
Hi Fionnula,
Fionnula Glynn wrote:
Hi Everyone,
Has anyone used the Ant mail task before?
No, but I'm using the MailLogger. You need to have these properties:
property name=MailLogger.from value=[EMAIL PROTECTED] /
property name=MailLogger.success.notify value=true /
property
I get the following error when I try to use input task. 'Could not
create task of type: input. Common solutions are to use taskdef to
declare your task, or, if this is an optional task, to put the
optional.jar in the lib directory of your ant installation (ANT_HOME).'
My task is an optional one
On Mon, 14 Oct 2002, Emil Alexandrov [EMAIL PROTECTED] wrote:
I get the following error when I try to use input task.
You are most probably not running Ant 1.5(.1).
input is new in Ant 1.5 and this error message
'Could not create task of type: input. Common solutions are to use
taskdef to
JRun 4 SP1 ships with the jrun-ant-tasks.jar file, which defines Ant tasks for three
common JRun tasks:
jrun - Start, stop, and restart JRun
jrunapp - Deploy, undeploy, and redeploy enterprise applications, web applications,
and EJBs
jrunjmx - Invoke methods on JRun services through JMX
The
I want to do the following action:
Program to call is : cpp
with arguments : first: sourcefile second: targetfile
e.g;cpp 'd:\test\alarm.java' 'd:\test\cpp\alarm.java'
I came so far: cpp 'd:\test\cpp\alarm.java' 'd:\test\alarm.java'
In the documentation the following comment
Hi,
I'm using the replaceregexp tag and I'm wondering if I can refer to a
property value within the 'replace' attribute of the tag. I don't see
any mention in the documentation about how this might be accomplished,
if it can at all.
Thanks,
-shawn
--
On 14 Oct 2002, Stefan Bodewig [EMAIL PROTECTED] wrote:
See why foreach is not part of core-Ant? People would overuse it
like hell. ;-)
apply executable=mkdir type=dir
fileset dir=src/
/apply
This doesn't work (I stand corrected, where is the RCS dir?), sorry
Dominique.
So this
Properties in attributes are expanded *before* they are handed to tasks.
So the answer is yes you can use Ant properties in 'replace'. Its
task-dependent whether that is true for XML element data (like the sql
task), but attributes always follow this rule.
Erik
Shawn Wilson
Shawn Wilson wrote:
Hi,
I'm using the replaceregexp tag and I'm wondering if I can refer to a
property value within the 'replace' attribute of the tag. I don't see
any mention in the documentation about how this might be accomplished,
if it can at all.
Thanks,
-shawn
Sure,
On Mon, 14 Oct 2002, Soer J. [EMAIL PROTECTED] wrote:
I want to do the following action:
Program to call is : cpp
with arguments : first: sourcefile second: targetfile
apply executable=cpp
srcfile/
targetfile/
fileset .../
mapper .../
/apply
Stefan
--
To unsubscribe, e-mail:
Okay thanks guys I'm not sure why I had problems with this before, I
must have mis-spelled my property name or something. Anyways it works now!
-shawn
Erik Hatcher wrote:
Properties in attributes are expanded *before* they are handed to tasks.
So the answer is yes you can use Ant
Is there another alternative to the existing ant FTP task? I am having
a problem downloading a symlinked file from a server still and need to
be able to do this... I was considering calling a script, but I would
rather just use the ant functionality if possible...
Problem is that it does not
I have struggled with this problem for a while now and I believe that it
is just not possible, but maybe someone on this list has a different idea.
Basically, what I'd like to do is recurse into a directory tree which
contains some ZIP files, and for each ZIP file expand it out into the
Hi,
When I do
exec executable=${shCmd}
arg line='-c rm *.??.html'/
/exec
it works fine.
when I do
exec executable=${shCmd}
arg value='-c '/
arg value='rm '/
arg value='*.??.html'/
arg value=''/
/exec
[exec] Current OS is Windows 2000
Hi,
As suggested by Diane
(http://www.mail-archive.com/ant-user@jakarta.apache.org/msg06235.html), I
am running a stupid little batch file to redirect my m4 output into my
targetfile.
From reading the manual, I assume that the output attribute might be usable
for this too (and thus, I would not
Ralf Hauser wrote:
Hi,
When I do
exec executable=${shCmd}
arg line='-c rm *.??.html'/
/exec
it works fine.
when I do
exec executable=${shCmd}
arg value='-c '/
arg value='rm '/
arg value='*.??.html'/
arg value=''/
/exec
Since rm
On Mon, 14 Oct 2002, Ralf Hauser [EMAIL PROTECTED] wrote:
when I do
exec executable=${shCmd}
arg value='-c '/
arg value='rm '/
arg value='*.??.html'/
arg value=''/
/exec
Are you familar with Runtime.exec and the String[] version of it? Ant
will
On Mon, 14 Oct 2002, Ralf Hauser [EMAIL PROTECTED] wrote:
From reading the manual, I assume that the output attribute might be
usable for this too
Using apply the output attribute is, well, a bit useless. For
parallel=false, you either have to append or only get the last
result and you
Thanks for the quick answer - too bad.
Yes, I could use delete - if
a) I could run delete inside apply ... and
b) delete could then work with targetfile/ in it's fileset's include
attribute.
Is that already possible?
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
Hi.
I'm trying to find a way to run JUnit test classes in a particular order,
which is determined by some property of each class. I was easily able to
pick a subset of test classes by writing a selector to use in a batchtest's
fileset, but I don't see an analogous approach to sorting the
Also look at
http://www.iseran.com/Steve/papers/interop/
where I do the unthinkable: deploy a .NET (aspx based) web service, then use
axis to create junit tests run against that server, so verify that axis can
interop w/ services written in *the other* platform.
- Original Message -
- Original Message -
From: Christoph Kulla [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 10:31 AM
Subject: jspc and dependencies
Hi,
I'm using jpsc (tomcat 4.1.12, jasper 2) with ant 1.5. After a ant
clean everything works fine. jspc genertates java files
From: Tom Lipkis [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 12:57 PM
To: [EMAIL PROTECTED]
Subject: Sorting filesets
I'm trying to find a way to run JUnit test classes in a
particular order, which is determined by some property of
each class. I was easily able to pick a
hello.
i try to make a dir under the jar task, but it doesn't works.
it shows after create the jar:
0TueOct0117:09:14BRT2002META-INF/
111TueOct0117:09:14BRT2002META-INF/MANIFEST.MF
0MonOct1417:57:36BRTS 2002
Submitted patch http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13615 to
allow the following:
mkdir name=RCS
dirset dir=src/
/mkdir
PS: Apologies (?) accepted Stefan ;-)
PS2: Stefan, can you tell me if there's a better way to test changes in core
tasks like mkdir other than
I'm trying to find a way to run JUnit test classes in a
particular order, which is determined by some property of
each class. I was easily able to pick a subset of test
Typically, you don't want to do this. Tests should be
independent of each other. JUnit does not guarantee the
As a non-Ant approach to this problem, have you considered OrderedTestSuite
provided in the JUnit addons package (see
http://sourceforge.net/projects/junit-addons)?
Kendall
- Original Message -
From: Tom Lipkis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 16:05
thanks - I was just about to suggest a version of apply that doesn't add the
srcfile per default to the arguments:
apply executable=myDel.bat dir=. relative=true
dest=. parallel=false
targetfile/
fileset dir=. includes=*.m4/
mapper type=regexp
Hi,
I'm trying to use ant 1.5.1 in our current build environment which is
using recursive Makefiles. The files which are part of the build are
referenced explicitly in the Makefiles.
I've written a simple Makefile parser which parses the Makefiles and
extract the file lists. The parser
Hi,
The log.xsl file looks for the values of ant.version, os.name,
java.vm.version and ant.file in the generated xml file (from
XmlLogger). But I do not see these values being put into the xml
file. The result being empty values for these in the table at the
top of the file.
Am I missing to
Are the file names all relative to a specific root directly? If so,
change your parser to output one file per line rather than comma
separated and use the includesfile element of fileset. Would that
do the trick for you?
Erik
Frank Schroeder wrote:
Hi,
I'm trying to use ant
Wait, wait ;-)
Have you tried Stefan's suggestion as-is?
From your original shell script command, it sounds like you want to delete
all files ending in .??.html, and Stefan sent just that. So really try,
delete
fileset dir=.
include name=**/*.??.html/
/fileset
/delete
which is the real
- Original Message -
From: Eric Jablow [EMAIL PROTECTED]
To: 'Ant Users List' [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 11:24 AM
Subject: RE: Sorting filesets
From: Tom Lipkis [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 12:57 PM
To: [EMAIL PROTECTED]
- Original Message -
From: Dominique Devienne [EMAIL PROTECTED]
To: 'Ant Users List' [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 1:51 PM
Subject: RE: Newbie question: how to recurse into subdirectories?
PS2: Stefan, can you tell me if there's a better way to test changes in
core
As a non-Ant approach to this problem, have you considered OrderedTestSuite
provided in the JUnit addons package (see
http://sourceforge.net/projects/junit-addons)?
I hadn't, but while I could write a TestSuite subclass that does what I
want (similar to OrderedTestSuite but sorted
I tried, and it didn't work. --DD
P:\org_apache\jakarta-antbuild -Djunit.summary=withOutAndErr
-Dtestcase=org.apache.tools.ant.taskdefs.MkdirTest
run-single-test
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 6:02
It tends to run them in order test1, test2, etc. but that may be an artifact
of how the JVM runtime, rather than junit itself.
I've noticed that Class.getMethods() seems to return them in the order they
appear in the source file, but I certainly wouldn't depend on that. And
again, I'm trying
hi Folks,
I am trying to build Ant for the first time and get this error:
Buildfile: build.xml does not exist!
Build failed
I've read and read and find no answer to this simple yet perplexing question. Does
one create this file or is it included in the install? I am working with Ant 1.5.1,
Ant expects to find a build file called build.xml in the directory where
you execute ant from.
This file should include all your build rules.
Cheers,
Peter.
-Original Message-
From: Lisa Knee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 15 October 2002 12:55 p.m.
To: [EMAIL
Hmm, but if you read from stdin, you'll block until something is
available to read, so this shouldn't be a problem, right?
unless you get told that the stream already has been closed ...
If the stream is closed, it would indicate that the program terminated
abnormally. In this
Thanks, Peter.
So, I need to write a build.xml file and put it in my Ant directory. Any
ideas on where to find good examples?
thanks again,
lisa
- Original Message -
From: Peter [EMAIL PROTECTED]
To: 'Ant Users List' [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 5:01 PM
Subject:
The ANT documentation has a section on writing the build.xml file. It
also includes a small example.
http://jakarta.apache.org/ant/manual/using.html#buildfile
Kris
-Original Message-
From: Lisa Knee [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 5:41 PM
To: Ant Users List
Check the manual at: http://jakarta.apache.org/ant/manual/index.html
There's a section called Using Ant - you can start there.
;-)
Peter.
-Original Message-
From: Lisa Knee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 15 October 2002 1:41 p.m.
To: Ant Users List
Subject: Re:
Oh, thou you don't put the build file with the Ant directory - usually
it goes with your source code (again, check the manual for examples)
-Original Message-
From: Lisa Knee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 15 October 2002 1:41 p.m.
To: Ant Users List
Subject: Re:
Ok, I feel pretty dumb now (alas, I chose to search all kinds of articles,
etc, rather than just looking at the manual). Thanks!
lisa
- Original Message -
From: Peter [EMAIL PROTECTED]
To: 'Ant Users List' [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 5:49 PM
Subject: RE: build.xml
On Mon, 14 Oct 2002, Ralf Hauser [EMAIL PROTECTED] wrote:
I was just about to suggest a version of apply that doesn't add the
srcfile per default to the arguments:
Yep, this is needed.
mapper type=regexp from=^(.+)\.m4$$ to=*.en.html/
So you want to delete all .en.html files where a
On Mon, 14 Oct 2002, Dominique Devienne [EMAIL PROTECTED] wrote:
Submitted patch
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13615
I'm not convinced that creating a directory in all directories in a
set is common enough to get direct support in a core-task. Just IMHO,
of course.
PS:
On Mon, 14 Oct 2002, Tom Lipkis [EMAIL PROTECTED] wrote:
I'm trying to find a way to run JUnit test classes in a particular
order, which is determined by some property of each class. I was
easily able to pick a subset of test classes by writing a selector
to use in a batchtest's fileset,
Take care about character case - file should be named build.xml and not
Build.xml or something else.
Primoz Prislan.
Lisa
On Tue, 15 Oct 2002, Frank Schroeder [EMAIL PROTECTED] wrote:
The parser stores the file lists as comma separated strings in
properties in the project, e.g. IMAGE_FILES which contains foo.gif,
bar.gif.
This would be a format suitable for the includes attribute of
fileset - as long as no file
63 matches
Mail list logo