AW: pingURL: A better way to start and stop application servers?

2003-02-11 Thread Jan . Materne
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.

AW: DOCTYPE XML include

2003-03-04 Thread Jan . Materne
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

AW: how to import another xml file

2003-03-06 Thread Jan . Materne
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

AW: Little problem deleting

2003-03-06 Thread Jan . Materne
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

AW: AW: AW: AW: anthill vs. cruisecontrol

2003-03-07 Thread Jan . Materne
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

AW: ftp task failed

2003-03-25 Thread Jan . Materne
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

AW: exec command not working

2003-06-02 Thread Jan . Materne
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:

AW: exec command not working

2003-06-02 Thread Jan . Materne
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

Re: copying files

2003-06-04 Thread Jan . Materne
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

AW: XSLT task question

2003-06-17 Thread Jan . Materne
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

AW: Default settings for the javac task across multiple build files

2003-06-17 Thread Jan . Materne
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]

AW: Default settings for the javac task across multiple build fil es

2003-06-17 Thread Jan . Materne
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

AW: Ant newbie fun

2003-06-17 Thread Jan . Materne
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

AW: How to set -quiet using build.xml

2003-07-01 Thread Jan . Materne
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.

AW: How to set -quiet using build.xml

2003-07-01 Thread Jan . Materne
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]

AW: Fail to use JUnit in Ant.

2003-07-08 Thread Jan . Materne
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

AW: [OT] Mail User Agents and threading

2003-07-09 Thread Jan . Materne
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

RE: Ant file diff question

2003-07-15 Thread Jan . Materne
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

RE: How to return values from targets?

2003-07-16 Thread Jan . Materne
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

RE: Has anyone ever attempted CVS Commit with Ant

2003-07-16 Thread Jan . Materne
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

RE: Sending multiple arguments to the java task

2003-07-16 Thread Jan . Materne
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}/ ...

RE: Copying based on fileset

2003-07-16 Thread Jan . Materne
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

RE: (newbie) how insert content of one file into middle of another one

2003-07-18 Thread Jan . Materne
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,

RE: Zvi_Q: know the number of token in a file

2003-07-22 Thread Jan . Materne
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

RE: Zvi_Q: know the number of token in a file

2003-07-22 Thread Jan . Materne
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

RE: Zvi_Q: know the number of token in a file

2003-07-22 Thread Jan . Materne
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

RE: Updating JARS then WAR and at least EAR files using Ant

2003-08-04 Thread Jan . Materne
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

RE: replaceregex TokenFilter

2003-08-14 Thread Jan . Materne
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

RE: problem in executing sql statements under foreach task

2003-08-14 Thread Jan . Materne
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

RE: RSS...

2003-08-14 Thread Jan . Materne
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,

RE: How to access contributed software

2003-08-14 Thread Jan . Materne
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

RE: The Simplest build.xml needed

2003-08-14 Thread Jan . Materne
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

RE: Ant Source

2003-08-18 Thread Jan . Materne
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

RE: Systen.exit() valuesin javac target

2003-08-22 Thread Jan . Materne
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

RE: Can I use Japanese for basedir?

2003-09-05 Thread Jan . Materne
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:

RE: environment variable

2003-09-05 Thread Jan . Materne
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

RE: Merging web.xml files

2003-09-22 Thread Jan . Materne
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,

RE: IF and Else based on the property value!!!

2003-09-22 Thread Jan . Materne
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

RE: RE : Has anyone written an ant task by extending Task

2003-09-25 Thread Jan . Materne
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

RE: How to repeat a task for a certain amount of time

2003-09-25 Thread Jan . Materne
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-

RE: Antwort: RE: Antwort: AW: Check whether a fileset exist

2003-09-29 Thread Jan . Materne
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

RE: Passing file list to a java program

2003-09-30 Thread Jan . Materne
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

RE: Passing file list to a java program

2003-09-30 Thread Jan . Materne
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]

RE: Manual verbiage: calling vs dependency

2003-09-30 Thread Jan . Materne
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/

RE: Here file in Ant

2003-10-14 Thread Jan . Materne
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

RE: How to print out a path structure

2003-11-11 Thread Jan . Materne
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

RE: Including directories that may or may not exist

2003-11-11 Thread Jan . Materne
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

RE: evaluating property names with embedded properties

2003-11-17 Thread Jan . Materne
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

RE: Property tag value

2003-11-17 Thread Jan . Materne
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,

RE: how can i get ant-antidote

2003-11-17 Thread Jan . Materne
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

RE: Question about the ant get task

2003-11-20 Thread Jan . Materne
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

RE: Question about the ant get task

2003-11-20 Thread Jan . Materne
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

RE: How to create a xml properties file

2003-11-24 Thread Jan . Materne
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

RE: Ant 1.6 + JUnit (where's ant/launch/Locator)?

2003-11-25 Thread Jan . Materne
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,

RE: Ant 1.6 and appserver updates

2003-11-28 Thread Jan . Materne
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

RE: saxon and xalan

2003-12-17 Thread Jan . Materne
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

RE: saxon and xalan

2003-12-17 Thread Jan . Materne
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

FYI: Article about Ant on IBM

2003-12-19 Thread Jan . Materne
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

RE: [Q] How to insert file into another?

2003-12-19 Thread Jan . Materne
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?

RE: replacing commented text - Regexp

2003-12-19 Thread Jan . Materne
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

RE: junit.jar or not?

2004-01-19 Thread Jan . Materne
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,

RE: os.name for windows return Windows XP?

2004-01-19 Thread Jan . Materne
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 /

RE: Best means to create a Windows cmd file from ant

2004-02-04 Thread Jan . Materne
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

RE: Any examples of how we can simplify ant build.xml with templa tes (?)

2004-02-04 Thread Jan . Materne
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

RE: How to redirect javac task errors to a separate file

2004-02-12 Thread Jan . Materne
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]

RE: -buildfile http://myorg.org/mydir/build.xml

2004-02-12 Thread Jan . Materne
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

RE: Output from the javadoc task

2004-02-18 Thread Jan . Materne
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

RE: Multiple source paths for javac

2004-02-20 Thread Jan . Materne
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

RE: Hide a task name

2004-02-20 Thread Jan . Materne
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

RE: Hide a task name

2004-02-20 Thread Jan . Materne
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?

RE: Unable to compile packages that use log4J.logger - Please Hel p

2004-02-26 Thread Jan . Materne
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,

RE: setting property back to calling project

2004-02-26 Thread Jan . Materne
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,

RE: Sending the JUnitReport by mail.

2004-02-26 Thread Jan . Materne
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

RE: ejbjar manifest case sensitive

2004-03-10 Thread Jan . Materne
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

RE: migrating from jlink to jar

2004-03-12 Thread Jan . Materne
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

RE: cp or copy in windows?

2004-03-15 Thread Jan . Materne
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

RE: launching bat file in new process

2004-03-15 Thread Jan . Materne
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

RE: FTP problem in Ant 1.5.3

2004-04-07 Thread Jan . Materne
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

RE: Looking for an XMLDiff task

2004-04-07 Thread Jan . Materne
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

RE: When is unless/if checked?

2004-04-15 Thread Jan . Materne
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

RE: running a target only when dependset indicates to

2004-04-20 Thread Jan . Materne
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]'

RE: FIltering task output

2004-04-21 Thread Jan . Materne
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

RE: Linux/Windows portability

2004-05-11 Thread Jan . Materne
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

RE: replaceregexp- help

2004-05-03 Thread Jan . Materne
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

RE: how to cause Ant BuildException in a JACL script inside an An t build.xml ?

2004-05-18 Thread Jan . Materne
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

RE: Automating Build and Testing process

2004-05-18 Thread Jan . Materne
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

RE: Help with subant

2004-05-24 Thread Jan . Materne
- 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

RE: Javadoc flag

2004-05-27 Thread Jan . Materne
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 ---

RE: manifest attribute in ANT

2004-06-01 Thread Jan . Materne
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

RE: Nested Variables in ANT?

2004-06-09 Thread Jan . Materne
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

RE: Nested Variables in ANT?

2004-06-09 Thread Jan . Materne
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?

RE: How do I install?

2004-06-22 Thread Jan . Materne
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

RE: depend task

2004-06-22 Thread Jan . Materne
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

AW: Help with spawn and cmd

2004-06-30 Thread Jan . Materne
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:

AW: AW: Extracting key,value from a property

2004-07-06 Thread Jan . Materne
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-

AW: AW: Creating custom InputHandler

2004-07-14 Thread Jan . Materne
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.

AW: import classpath

2004-07-14 Thread Jan . Materne
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

AW: AW: Current dir w/ remote config file

2004-07-14 Thread Jan . Materne
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

AW: Save fileset names to a file.

2004-07-16 Thread Jan . Materne
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

AW: Build File

2004-07-20 Thread Jan . Materne
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   2   3   4   5   >