Re: AW: Ant with java applications

2007-01-09 Thread nb123
Thanks it helped. Jan.Materne wrote: > > http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html > http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html#ext-libs > > > Jan > >>-Ursprüngliche Nachricht- >>Von: nb123 [mailto:[EMAIL PROTECTED] >>Gesendet: Mittwoch, 10.

Re: AW: Ant with java applications

2007-01-09 Thread nb123
Hi, I know these links. i need something where my java source code will be depending on external jar files. for eg. suppose in my folder application1 i have two sub folders src and lib. src containing the java files and lib containing the .jar files. the java code could be depending on the .jar f

AW: Ant with java applications

2007-01-09 Thread Jan.Materne
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html#ext-libs Jan >-Ursprüngliche Nachricht- >Von: nb123 [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. Januar 2007 07:40 >An: user@ant.apache.org >Betreff: Ant with

Ant with java applications

2007-01-09 Thread nb123
Hi, I am new to ANT. I wanted to know how to use jar files as external dependencies for java applications. if some one could give me details on how to go about it that will be great. Thanks a lot. -- View this message in context: http://www.nabble.com/Ant-with-java-applications-tf2950908.html#a

AW: Ant String replace

2007-01-09 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Joe Eugene [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. Januar 2007 03:56 >An: user@ant.apache.org >Betreff: Ant String replace > >Probably very basic question, but cant file the answer. > >I need to replace strings, not in file, just simple

AW: Anyway to make an input task have stars?

2007-01-09 Thread Jan.Materne
Not really until Java6 and its new Console.readPassword(). There is a buggy workaround (2nd Thread is overwriting STDOUT) - search for "input passwort" in the mail archive of [EMAIL PROTECTED] and in bugzilla. Jan >-Ursprüngliche Nachricht- >Von: James Carr [mailto:[EMAIL PROTECTED]

AW: Convert property that is a path to a resource

2007-01-09 Thread Jan.Materne
Maybe havent spent any time on that, but it looks good in the manual. Jan >Thanks for the help. Do you have any suggestions about how I >could use pathconvert in the following context without >bloating out my build file? > > > tofile="${destination.file}" > overwrite="true">

Re: Problem with startAnt()

2007-01-09 Thread trad-ex
Hi, Sungho org.apache.tools.ant.Main#startAnt calls System.exit(0) internally. So, the Java process was terminated, IMHO. You should use org.apache.tools.ant.Project#executeTarget( String ), or org.apache.tools.ant.Project#executeTargets( Vector ) Best Regards, trad-ex >Dear Ant User Group. > >

Ant String replace

2007-01-09 Thread Joe Eugene
Probably very basic question, but cant file the answer. I need to replace strings, not in file, just simple string. String x = "This is a new String"; String y = x.replace("String", "Text"); How do you replace the strings in properties? An alternate solution to my problem would be find the La

RE: document() function on missing file

2007-01-09 Thread Jonathan Marsh
Thank you, indeed ant -diagnostics didn't show up anything looking like xalan. I found I did have xalan in the 1.7.0alpha ant/lib directory, and moving that version (2.5.1) into the 1.7.0 ant/lib directory indeed solved the problem. (I had other problems with xalan 2.7.0, so stuck with the old on

Re: problem: null characters written to stdout from multiple sshexec calls

2007-01-09 Thread glenn opdycke-hansen
After doing some more research on this, I have found the following: 1. the problem of hex nulls in the log file occurs when using the alternate code for the fix. 2. When the test is started and is in progress, the normal, expected text is in the log file. 3. When the test is completed, then the nu

Hidden property values with debug verbosity?

2007-01-09 Thread Richard_Landon
Does anyone have a method to suppress echo of selected property value when debugging is enabled? I am thinking of making a local change to the PropertyHelper class to print "value hidden" for properties some how identified. I wanted to check if anyone has another solution? I am thinking of someth

Re: maven 2 dependency management from within ant

2007-01-09 Thread Xavier Hanin
On 1/9/07, Steve Loughran <[EMAIL PROTECTED]> wrote: EJ Ciramella wrote: > Has anyone tried this (or is using it)? > > I pinged the m2 mailing list, but there hasn't been any response yet > (more than 48 hours so far). > > Is the actual classpath used for compiling unavailable to ant as a > On

Re: Ant 1.7.1 Alpha problems with BSF

2007-01-09 Thread Jack J. Woehr
I had copied over my lib/optional dir to Ant 1.7.1 current build dir and reported that after successfully building Ant, a macro task threw: Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager) I verified that I had BSF 2.4.0 js 1.6R5 commons-

Anyway to make an input task have stars?

2007-01-09 Thread James Carr
Hi All, Is there anyway to make an input task use stars for it's input? I am trying to prompt the user running the ant script for a password. Thanks, James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

RE: Convert property that is a path to a resource

2007-01-09 Thread Daffin, Miles \(IT\)
Thanks for the help. Do you have any suggestions about how I could use pathconvert in the following context without bloating out my build file? > -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Tuesday 09 January 2007 16:39 > To: Ant Us

Re: Convert property that is a path to a resource

2007-01-09 Thread Steve Loughran
Daffin, Miles (IT) wrote: Hi All, I have a build with a number of properties that are paths to directories. I write these into a template script file using a filterset during a copy. The problem is that the properties have mixed windows and unix path separators, so when they are written into t

Convert property that is a path to a resource

2007-01-09 Thread Daffin, Miles \(IT\)
Hi All, I have a build with a number of properties that are paths to directories. I write these into a template script file using a filterset during a copy. The problem is that the properties have mixed windows and unix path separators, so when they are written into the scripts they are invalid.

Re: maven 2 dependency management from within ant

2007-01-09 Thread Steve Loughran
EJ Ciramella wrote: Has anyone tried this (or is using it)? I pinged the m2 mailing list, but there hasn't been any response yet (more than 48 hours so far). Is the actual classpath used for compiling unavailable to ant as a One of the m2 tasks creates paths from a pom once its been re

maven 2 dependency management from within ant

2007-01-09 Thread EJ Ciramella
Has anyone tried this (or is using it)? I pinged the m2 mailing list, but there hasn't been any response yet (more than 48 hours so far). I made it a bit further: The version is ${project.version} ${project.build.directory} ${project.name} ${project.dependencies} Is t

Re: Trouble executing a beanshell script

2007-01-09 Thread Scot P. Floess
Peter: You are the man! That fixed it... Thank you so very much :) Scot Peter Reilly wrote: On 1/8/07, Scot P. Floess <[EMAIL PROTECTED]> wrote: Peter: Thanks for the prompt reply :) I downloaded apache-ant-20070107-bin.tar.bz2

Re: Trouble executing a beanshell script

2007-01-09 Thread Scot P. Floess
Peter: Perfect...I can do that! Thanks ;) Scot Peter Reilly wrote: On 1/8/07, Scot P. Floess <[EMAIL PROTECTED]> wrote: Peter: Thanks for the prompt reply :) I downloaded apache-ant-20070107-bin.tar.bz2 and go

Re: document() function on missing file

2007-01-09 Thread Steve Loughran
Jonathan Marsh wrote: I dont think anything has deliberately been changed. If there is a difference between the 1.6.5 behaviour and the 1.7.0 behaviour, it probably consitutes a regression. You may be seeing differences between XSLT engines. Make sure you are using xalan and not java1.5 xsltc

Re: Problem with xml-apis.jar located both in the classpath of a taskdef and ant lib.

2007-01-09 Thread Steve Loughran
Jacob Kjome wrote: Quoting Steve Loughran <[EMAIL PROTECTED]>: Ant1.7.1 will ship with xerces 2.7.0, incidentally. You mean Xerces-2.9.0 and xml-apis-1.3.04 I do indeed. -steve - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Trouble executing a beanshell script

2007-01-09 Thread Peter Reilly
On 1/8/07, Scot P. Floess <[EMAIL PROTECTED]> wrote: Peter: Thanks for the prompt reply :) I downloaded apache-ant-20070107-bin.tar.bz2 and got the same result. Executing "ant -version" yields: Apache Ant version 1.