Re: upper case first letter of a file

2003-02-10 Thread Stefan Bodewig
On Sun, 09 Feb 2003, Bjoern Eger [EMAIL PROTECTED] wrote: Is there a way to capitalize the file names? No built-in way. Can I maybe use move/mapper task? Probably yes, but the regexp mapper isn't smart enough. You would have to write a mapper implementation of your own. Stefan

Re: Using Exec within my own Task, divert stdout to null?

2003-02-10 Thread Stefan Bodewig
On Fri, 7 Feb 2003, David McTavish [EMAIL PROTECTED] wrote: Is there a way that I can divert the standard output of an exec task used within my own custom task to /dev/null? exec.setTask(new File(/dev/null)); Also, any ideas on how to correct the environment variable above (PATH), such that

build.xml build.properties best practices

2003-02-10 Thread Adam Hardy
I just want to clarify something I can't find definitely stated anywhere: ant will not include any build.properties file automatically. I have to place the following statement in my build.xml to include my build.properties file: property file=build.property/ Am I correct?

AW: build.xml build.properties best practices

2003-02-10 Thread Jan . Materne
Yes. If you want to have such a default behaviour you can: 1. write these statements in a XML fragment and include it in your buildfiles via XML includes !-- where is the file? -- !DOCTYPE project [ !ENTITY antcommons SYSTEM file:path-to-antcommons.xml ]

Re: build.xml build.properties best practices

2003-02-10 Thread Erik Hatcher
Absolutely correct. No properties files are loaded by Ant without you explicitly stating so. Erik On Monday, February 10, 2003, at 04:39 AM, Adam Hardy wrote: I just want to clarify something I can't find definitely stated anywhere: ant will not include any build.properties file

Re: Ant automatically doubles backslashes on MacOS X

2003-02-10 Thread Thorsten Sturm
Hi, thanks to all of you who provided me with hints on how to solve my problem. I must admit that this indeed is not an Ant related issue. Obviously, using the jikes version installed on my machine (1.18) causes the trouble. Switching to modern solves the problem. Thorsten

EjbJar task with WAS elements?

2003-02-10 Thread Mika Moilanen
Hello I'm playing with ANT1.5.1's EjbJar task with nested Websphere elements. The current problem is that deploytool can't find all the dependendant classes when compiling EJB: -- [ejbdeploy] [*Error] /ejb-generic.jar(Class: com.foo.Bar):

Re: Example of task telnet

2003-02-10 Thread Haroldo Pereira Nascimento
Martin I need see the result of de commands using tasl telnet. I Know how copy the files to other systems using task telnet, but I dont Know how get the result of commands. I would like get it, for exemple: 1-SunOS 5.6 2- 3-login: 4-Password: 5-Last login: Mon Feb 10 08:16:38 from

filelist dir attribute

2003-02-10 Thread Adam Hardy
Thanks for the help on the build.properties question. Now I've got a bit further, I've come across another problem. I've seen quite a few posts in the archives mentioning this problem, and I am trying to find a work-around. I want make it possible to define the location of my external jars in

AW: Example of task telnet

2003-02-10 Thread Jan . Materne
I have never worked with telnet. But can you pipe the output of the remote commands into a file, transfer that file back to your computer und read it? Jan Matèrne -Ursprüngliche Nachricht- Von: Haroldo Pereira Nascimento [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 10. Februar 2003

AW: fileset/zipfileset

2003-02-10 Thread Nestel, Frank IZ/HZA-IC4
I build my zip-file from filesystem entries. To make it simple: I want all files in the zip to look like program-version/build.xml program-version/src program-version/src/de program-version/test program-version/test whereas the real file hierarchy (where

ant and softlinks in cygwin

2003-02-10 Thread Klara Ward
I tried to run the javac task when my javadir was a softlink made in cygwin, and it didn't work. Ant started, which it didn't when I tried having the javadir as a windows shortcut, but javac didn't work: [javac] Modern compiler is not available - using classic compiler [javac] Compiling

Re: EjbJar task with WAS elements?

2003-02-10 Thread Jesse Stockall
On Monday, February 10, 2003, at 06:26 AM, Mika Moilanen wrote: The one I've has a package structure org/apache/bcel/, not org/apache/tools. Where I can find the correct bcel.jar? BCEL project page: http://jakarta.apache.org/bcel/index.html BCEL download page:

Stopping exec command

2003-02-10 Thread Sylvain Rousse
Hi all, I have the following problem. I am starting an ant (1.5) exec command in a Java Thread (JDK1.3.1) through the Main.start ant java method. (it runs a script on Win 2000 or a shell on UNIX depending on the target environment). I would like to know if anyone has an idea on how to stop

Re: EjbJar task with WAS elements?

2003-02-10 Thread Mika Moilanen
ext == ext Jesse Stockall [EMAIL PROTECTED] writes: ext On Monday, February 10, 2003, at 06:26 AM, Mika Moilanen wrote: The one I've has a package structure org/apache/bcel/, not org/apache/tools. Where I can find the correct bcel.jar? ext BCEL download page: ext

Re: EjbJar task with WAS elements?

2003-02-10 Thread Conor MacNeill
Mika Moilanen wrote: -- [ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.FullAnalyzer This class is part of Ant. You will need to determine why Ant cannot load this class. It does depend on BCEL. Where

Re: creating pl/sql package in sql task, only part of package loaded

2003-02-10 Thread Michael . Medwith
There is an extended task out there that I use to do pl/sql from files. Ant's sql task never liked pl/sql because it treats the statment as a single line statement regardless of the line feeds. Michael Medwith Flagstar Bank Wholesale Web Development Team

Re: EjbJar task with WAS elements?

2003-02-10 Thread Mika Moilanen
ext == ext Conor MacNeill [EMAIL PROTECTED] writes: ext Mika Moilanen wrote: -- [ejbjar] Unable to load dependency analyzer: ext org.apache.tools.ant.util.depend.bcel.FullAnalyzer ext This class is part of Ant. You will need to

FTP task -Connection reset error

2003-02-10 Thread George_Schlitz
I am receiving the following error during an FTP task: error during FTP transfer: java.net.SocketException: Connection reset by peer: J VM_recv in socket input stream read error during FTP transfer: java.net.SocketException: Connection reset by peer: J VM_recv in socket input stream read

Was: junit task newbie

2003-02-10 Thread Nestel, Frank IZ/HZA-IC4
Yepp, looks like the same problem here: Junit task fails with java.lang.LinkageError: loader constraints violated when linking org/xml/sax/XMLReader class when trying to use Junit from Ant to test something using XML. Junit 3.8.1 seems to have everything OK according to the

Re: filelist dir attribute

2003-02-10 Thread Erik Hatcher
On Monday, February 10, 2003, at 07:06 AM, Adam Hardy wrote: Thanks for the help on the build.properties question. Now I've got a bit further, I've come across another problem. I've seen quite a few posts in the archives mentioning this problem, and I am trying to find a work-around. I want

Problem: VIew the commands ussing task telnet

2003-02-10 Thread Haroldo Pereira Nascimento
Martin I need see the result of de commands using tasl telnet. I Know how copy the files to other systems using task telnet, but I dont Know how get the result of commands. I would like get it, for exemple: 1-SunOS 5.6 2- 3-login: 4-Password: 5-Last login: Mon Feb 10 08:16:38 from

Re: Classloader problem with rpelaceregexp

2003-02-10 Thread Stefan Bodewig
On Mon, 10 Feb 2003, William Ferguson [EMAIL PROTECTED] wrote: OK, I'll try again with a different subject line. At least for me it hasn't been a problem of the subject line 8-) You obviously have all your facts together, you know why things happen and you know how to fix it in an ugly way.

task sleep

2003-02-10 Thread Haroldo Pereira Nascimento
Hi There is any task that wait any time before that execute other tasks. I need execute a task e after of 3 minutes execute other task. How can I do it ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Problem: VIew the commands ussing task telnet

2003-02-10 Thread Haroldo Pereira Nascimento
Martin I need see the result of de commands using tasl telnet. I Know how copy the files to other systems using task telnet, but I dont Know how get the result of commands. I would like get it, for exemple: 1-SunOS 5.6 2- 3-login: 4-Password: 5-Last login: Mon Feb 10 08:16:38 from

RE: Scope of a patternset

2003-02-10 Thread David Clements
This is what I am trying to do and seem to be getting strange results: I have a main build file with a target called initializeDefaults. This target will set up some properties and patternsets with default parameters. For example: target name=initializeDefaults patternset id=compileFiles

Re: filelist dir attribute

2003-02-10 Thread Adam Hardy
Erik Hatcher wrote: See the Ant / Library Dependencies section of my JavaDevWithAnt example project: http://www.ehatchersolutions.com/JavaDevWithAnt/ant.html#lib It uses a scheme similar to the one you are getting at. I don't use filelist, and not sure why are you want to, but maybe

RE: Hex character escaping.

2003-02-10 Thread Dominique Devienne
Thanks for the precision and the pointer ;-) Now I know better, and will try to call it a Character Reference (#...;) as opposed to an Entity Reference (...;). I'd like to say I've read (and understood) the XML spec, but I've never had the courage to do so. A relevant link is always appreciated