fileset id=fs dir=. ... /
property name=fs refid=fs/
echo${fs}/echo
or beautifying the output with
pathconvert
Jan
-Ursprüngliche Nachricht-
Von: Mark Lybarger [mailto:[EMAIL PROTECTED]
Gesendet am: Montag, 9. Mai 2005 17:41
An: Ant Users List
Betreff: output of
Hi,
What is the setter method of a task attribute fs-type?
For example I would like to use:
... fs-type=old ... /
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
Hi!
I'm trying to capitalize a string as demonstrated with the following small
sample build file:
?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=foo
You can use script, starting at [1].
Jan
[1] http://marc.theaimsgroup.com/?l=ant-userm=108988637506114w=2
-Ursprüngliche Nachricht-
Von: Holger Rauch [mailto:[EMAIL PROTECTED]
Gesendet am: Dienstag, 10. Mai 2005 11:11
An: user@ant.apache.org
Betreff: propertyregex: capitalizing
is there an example for using the waitfor task (or is there something else i
should use?) to wait till a server has shutdown/stopped listening to a
particular port?
thanks!
Hello Mark,
I think socket condition might help you:
project
condition property=server.down
not
socket server=localhost port=${port}/
/not
/condition
echo$${server.down} is ${server.down}/echo
/project
Here is the output of two checks against bound and
unbound ports:
$ ant
Has anyone gotten this to work? I am fairly skilled with ant and tried
various solutions from the web and the cactus website. Currently I am
utilizing the following to attempt to start tomcat:
runservertests
testurl=${cactus.contextURL}-test/${cactus.servletRedirectorName}?Cactus_Se
Hi,
I expect this to be current-working-dir issue.
When creating new java.io.File objects, it uses the current working
directory as prefix. I think when you start tomcat with ant, the current
working dir is that of the ant-script, and so it can't find the server.xml.
Maybe it helps when you
Hmmm...
I revised the target per your advice:
java dir=${tomcat.home} classname=org.apache.catalina.startup.Bootstrap
fork=yes
jvmarg value=-Dcatalina.home=${tomcat.home}/
jvmarg value=-Dcatalina.base=${tomcat.home}/webapps/
arg value=start/
Well, you can use sleep before that condition to
wait for the server to stop:
property name=sleep.seconds
value=adjust_here_to_suit_your_server/
...
sleep seconds=${sleep.seconds}/
condition property=server.down
HTH Ivan
--- Mark Lybarger [EMAIL PROTECTED] wrote:
thanks!! i can see how
Hello,
I am thinking about adding generic annotations for targets and tasks
to specify arbitrary meta data that can be used by different executors
or other code (for example, to be able to specify what targets should
not be executed in parallel by parallel executor). There is a discussion
I'm still fairly new to Web Services and XML. Still trying to
understand how to create a Web service using Java. It seems you have a
number of options. I was first looking at doing it in JAX-RPC, java code
simple for the most part but the buld.xlm was real fun to get to work
fro even the
The struts mailing list archive has discussed this in great length.
The following may be of use but you should read the archive list.
http://wiki.apache.org/struts/AjaxStruts
-Original Message-
From: Frank [mailto:[EMAIL PROTECTED]
Sent: 10 May 2005 19:50
To: Ant Users List
Subject:
AjaxStruts deals with AJAX functionality in Struts, not specifically Web
Services (although certainly the two are often related). While it may
be useful, I tend to think it's not what Frank is looking for.
However, Frank, if you are interested in using Struts, you might want to
have a look
Hello Andreas,
try unsetting your classpath and restarting ant.
Antoine
Andreas Bothner [ MTN - Innovation Centre ] wrote:
Hi,
Here are my CLASSPATH, PATH and ANT_HOME variables:
Hello Mark,
if you need the timestamps of your files, you will need to add some more
coding.
One possibility would be to create a custom task listfile/ which would
output the name and timestamp of each file and take a fileset as
an attribute.
You can create such a task in Java, or in line in
17 matches
Mail list logo