AW: output of fileset

2005-05-10 Thread Jan . Materne
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

Setter method for task attribute fs-type?

2005-05-10 Thread Zsolt Koppany
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]

Re: Setter method for task attribute fs-type?

2005-05-10 Thread Conor MacNeill
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

propertyregex: capitalizing entire string

2005-05-10 Thread Holger Rauch
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

AW: propertyregex: capitalizing entire string

2005-05-10 Thread Jan . Materne
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

using waitfor to verify a server was shutdown

2005-05-10 Thread Mark Lybarger
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!

Re: using waitfor to verify a server was shutdown

2005-05-10 Thread Ivan Ivanov
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

Using Ant to start tomcat and run cactus tests

2005-05-10 Thread Bryan Mishkin
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

RE: Using Ant to start tomcat and run cactus tests

2005-05-10 Thread Kees van Dieren
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

RE: Using Ant to start tomcat and run cactus tests

2005-05-10 Thread Bryan Mishkin
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/

Re: using waitfor to verify a server was shutdown

2005-05-10 Thread Ivan Ivanov
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

Your ideas about annotations

2005-05-10 Thread Alexey N. Solofnenko
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

Axis and JAX-RPC

2005-05-10 Thread Frank
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

RE: Axis and JAX-RPC

2005-05-10 Thread Mark Benussi
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:

Re: Axis and JAX-RPC

2005-05-10 Thread Frank W. Zammetti
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

Re: InstantiationException using ant.bat

2005-05-10 Thread Antoine Levy-Lambert
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:

Re: AW: output of fileset

2005-05-10 Thread Antoine Levy-Lambert
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