AW: creating -projecthelp default help target

2005-07-25 Thread Jan.Materne
Have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=14941 Jan >-Ursprüngliche Nachricht- >Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 26. Juli 2005 01:52 >An: Ant Users List >Betreff: RE: creating -projecthelp default help target > >Dewey, > >I think you

RE: creating -projecthelp default help target

2005-07-25 Thread Ivan Ivanov
Dewey, I think you should *not* set ant.library.dir property. I am using Ant 1.6.5/WinXP and executing following snippet on my machine dumps ant.library.dir (plus some others of course), so I think it is a built-in one. If for some reason it is not set on your environment you can replace it w

RE: creating -projecthelp default help target

2005-07-25 Thread Dewey, John
Thanks, Your java task worked, after I setup the ant.library.dir variable. I'm running it on WinXP so I suspect that your analysis of the error was correct, but since the java task is cross platform I agree that it is the better way to go. Thanks again. -Original Message- From: Ivan Ivan

Re: creating -projecthelp default help target

2005-07-25 Thread Ivan Ivanov
Hello Dewey, What is the operating system you are using. If it is windows, error=2 usually means that windows is not able to find the executable, i.e. it is not in the classpath. Also bear in mind that the usual way of using on windows is like this: and it is described fully in docs[1].

creating -projecthelp default help target

2005-07-25 Thread Dewey, John
Hi I'm trying to get ant help to printout a small message and then the ant -projecthelp listing, but I keep getting the following error: C:\Documents and Settings\jdewey\Desktop\zz\build.xml:11: Execute failed: java.io.IOException: CreateProcess: ant -projecthelp error=2 Any ideas? The build fil

help with cvs task

2005-07-25 Thread Robert Upshall
This is probably more of a cvs question than an ant one but maybe somebody here can help. I have 2 cvs modules, server and client. The build.xml in question resides in the server project/module. As part of the build it creates a distribution file named client-api.jar file that contains EJB

Re: Installing Ant script as Windows service

2005-07-25 Thread Ninju Bohra
Using whatever tool you want to run a java class a service (beasvc is fine) look at the ANT docs regarding running ANT from java: http://ant.apache.org/manual/running.html#viajava "Karr, David" <[EMAIL PROTECTED]> wrote: Using Ant 1.5.4, I need to install an Ant build script as a Windows servi

Installing Ant script as Windows service

2005-07-25 Thread Karr, David
Using Ant 1.5.4, I need to install an Ant build script as a Windows service. I wish I didn't have to do this, but I may not have an easier alternative. Is there a straightforward way to do this? I'm also using WebLogic, which comes with the "beasvc" executable, which makes it straightforward to

Re: java.lang.InstantiationException:org.apache.tools.ant.Main

2005-07-25 Thread Arti Singh
Hi thanks, I figured that out the hard way on ffriday.I had placed weblogic.jar in my classpath , and hence my ant did no work.Problem solved .I just placed the jar file in ant lib. Thanks Arti __ Do You Yahoo!? Tired of spam? Yahoo!

Re: java.lang.InstantiationException:org.apache.tools.ant.Main

2005-07-25 Thread Mahen Perera
Hi, This is a ClassPath issue. Check the classpath and see On 7/22/05, Arti Singh <[EMAIL PROTECTED]> wrote: > > Hi, > Does anyone have any suggestions here?Im stumped my Ant stopped working.Icant > even run a build script > C:\apache-ant-1.6.5\bin>ant > java.lang.InstantiationException: or

AW: java.lang.InstantiationException:org.apache.tools.ant.Main

2005-07-25 Thread Jan.Materne
What is your CLASSPATH? Jan >-Ursprüngliche Nachricht- >Von: Arti Singh [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 21. Juli 2005 21:52 >An: user@ant.apache.org >Betreff: java.lang.InstantiationException:org.apache.tools.ant.Main > >Hi, > Does anyone have any suggestions here?Im

AW: Ant Input Problem

2005-07-25 Thread Jan.Materne
Ant reassigns the System.[in|out|err] to its Listeners and InputStreams. Just an idea: - your program could write the input to file - you start that program via - you wait until timeout or availability of the file Jan >-Ursprüngliche Nachricht- >Von: Jacob Albertson [mailto:[EMAIL PRO

AW: nested property names

2005-07-25 Thread Jan.Materne
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 15. Juli 2005 21:25 >An: Juergen Hermann >Cc: user@ant.apache.org >Betreff: Re: nested property names > >Quoting Juergen

AW: stripping duplicates in file with

2005-07-25 Thread Jan.Materne
With Ant 1.7 (maybe sometimes end of this year :) there would be support for "resources" [1]. And there is a resource collection with eliminates duplicates. Jan [1] http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/docs/manual/CoreTypes/resources.html?content-type=text%2Fplain >-Ursprüngl

AW: retrieving project names with subant

2005-07-25 Thread Jan.Materne
Or doing something like Jan >-Ursprüngliche Nachricht- >Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 15. Juli 2005 17:44 >An: Ant Users List >Betreff: RE: retrieving project names with subant > >Hello, > >--- [EMAIL PROTECTED] wrote: > >> hi ivan, >> It's fo