Re: Build ANT 1.7alpha from CVS

2005-07-20 Thread Ivan Ivanov
Hello, you need to have the third-party libraries in order to successfully build the jars like ant-commons.net that contains optional tasks. You can find the library dependencies information at[1]. HTH Ivan [1]http://ant.apache.org/manual/install.html#librarydependencies --- KrustyDerClown <[EM

Build ANT 1.7alpha from CVS

2005-07-20 Thread KrustyDerClown
Hello, i run in a problem, when i try to build ANT from CVS this night. I make a complete checkout and the start the build with: build install-lite No problems until then. The problem is that are many JAR's like ant-commons-net.jar with a size of 1KB. Thats not really ok i think. Can i do an

log4j (Pls Help)

2005-07-20 Thread Arti Singh
Hi People, I have been trying to an ant build script that deploys an application to weblogic serveer.However I have been getting an error which states that the log4j system has not been initalized properly.How do I do that ? I set path to log4j in my classpath.but that does no

RE: sort or min/max file

2005-07-20 Thread Juergen Hermann
On Wed, 20 Jul 2005 17:29:07 +0200, Schulpen, D.P.H. wrote: >I've been fooling around with this, but it doesn't seem to be able to solve my problem. SortList only seems able to do an ascending lexical sort, which means that the most recent build (the one with the 'highest' build number string)

RE: Ant with Eclipse question

2005-07-20 Thread Schulpen, D.P.H.
I'm not sure what you mean with the example. It looks a bit like what I read about the J2ME support, but I don't directly recognize it as something supported for J2SE (or Java SE, whatever you prefer). Is it something from 3.x? > -Original Message- > From: Nir Geier [mailto:[EMAIL PROTE

RE: Ant with Eclipse question

2005-07-20 Thread Nir Geier
the major differences between Eclipse and Net beans is that net Beans generate the build automatically while eclipse doesn't, Net beans allow you to write code for several cases and using the ant build its generate the appropriate class. ex: # if some param exist code based upon param1 # if

RE: sort or min/max file

2005-07-20 Thread Schulpen, D.P.H.
I've been fooling around with this, but it doesn't seem to be able to solve my problem. SortList only seems able to do an ascending lexical sort, which means that the most recent build (the one with the 'highest' build number string) appears at the end of the sorted list. Therefore, I don't know

RE: Ant with Eclipse question

2005-07-20 Thread Schulpen, D.P.H.
> I'd love to find a good article with the subject being "the > best way to use Ant in your Eclipse project". > > As far as I know there isn't any article with this title. > Eclipse is the most power tool for ant users. > I might be wrong here but as far as I know Eclipse is the > only tool wit

RE: Ant with Eclipse question

2005-07-20 Thread Erik Weibust
Thanks for the help Nir. So are you saying that I'm better off just letting Eclipse handle the compiling of my code and using Ant for all the other stuff (clean, war, jar, etc)? erik --- Nir Geier <[EMAIL PROTECTED]> wrote: > > Hi there. > > Eclipse build [output] dir and ant dir make no diff

RE: Ant with Eclipse question

2005-07-20 Thread Nir Geier
Hi there. Eclipse build [output] dir and ant dir make no difference. unless you have relation between the 2. ex. if you don't use ant to compile the classes and take the compiled one form eclipse you should set both to the same location - since ant needs the complied class

Ant with Eclipse question

2005-07-20 Thread Erik Weibust
I have been using Ant to build my projects for a number of years but am fairly new to Eclipse. I have a couple of questions about how to best use Ant while developing a project in Eclipse. Should I be setting my output dir in my Eclipse project properties to the same thing I set as my destdir in

Re: sort or min/max file

2005-07-20 Thread Ninju Bohra
You may want to look at the task (part of the ant-contrib project). If you are happy with sorting the files based upon the name you can try the following (it is what we do): Have fun... --- "S

RE: usage of exec

2005-07-20 Thread Dick, Brian E.
You are heading in the right direction. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 9:15 AM To: user@ant.apache.org Subject: RE: usage of exec Thanks Brain, I have figured out the things something like this Build.xml -

sort or min/max file

2005-07-20 Thread Schulpen, D.P.H.
I'm trying to write a script to automate certain parts of unzipping the most recent build archive of an application (in this case NetBeans) in a certain location. However, I can't figure out a way to determine the most recent file. I thought about uptodate. Unfortunately, I have no idea how to

RE: usage of exec

2005-07-20 Thread pritesh.saharey
Thanks Brain, I have figured out the things something like this Build.xml - . . . and things has started working out, but its in a very early stage so I will be posting the doubts frequently Thanks Pritesh -Original Message- From: Dick, Brian E.

RE: usage of exec

2005-07-20 Thread Dick, Brian E.
To run batch files you need to specify the dos shell for the executable attribute and specify the batch file as an argument. Something like the following. Although, I prefer to re-implement batch files as a macrodefs and use pure ant tasks as much as possible. If your executables are av

Re: NoClassDefFoundError...

2005-07-20 Thread Coccia, Gino
Some more details... The part of my build script that fails with a NoClassDefFoundError is a defined as class (package.classA already compiled and in an unchanging .jar) that requires a class (package.classB) just build by a previous step. The error message I get is : java.lang.NoClassDefFound