RE: depends be a variable?

2001-07-16 Thread Peter Vogel
You are, of course, welcome to apply my patch to your own local version of ant, since Peter D. refuses any sort of progress for ant unless it fits into his image of what 2.0 should be... -Peter > -Original Message- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] > Sent: Monday, July

Re: javac problems (Is there a better way?)

2001-07-16 Thread Stefan Bodewig
On Fri, 13 Jul 2001, Dani Zweig <[EMAIL PROTECTED]> wrote: > a. I want to compile some of my classes with jdk1.2 and some with > jdk1.3. I can create two javac tasks, one setting build.compiler to > "classic" and the second setting it to "modern". Is this really enough for you? Setting the bui

Re: javac task compiles missing files automatically

2001-07-16 Thread Stefan Bodewig
On Mon, 16 Jul 2001, Steffen Euch <[EMAIL PROTECTED]> wrote: > ${PRJ_SOURCE} is the parent directory of "com", the root of our > packet structure: U:\foo\java\src The patternset, which is passed to > this generic target below, lists all the directories, that java > files should be compiled. But i

Re: depends be a variable?

2001-07-16 Thread Stefan Bodewig
On Mon, 16 Jul 2001, Bhavin Patel <[EMAIL PROTECTED]> wrote: > Can the depends attribute of the target tag be a variable? No. It has been proposed and declined before, see for example and

Re: Mail error

2001-07-16 Thread Stefan Bodewig
On Mon, 16 Jul 2001, hari ramasubbu <[EMAIL PROTECTED]> wrote: > Our exchange smtp server name is IVHPXC0003. > > BUILD FAILED > > mail.xml:3: IO error sending mail: Connection refused: > connect Can you do telnet IVHPXC0003 25 from the box you are running the build process on? Stefan

Re: Optional excludesfile in javac?

2001-07-16 Thread Stefan Bodewig
On Mon, 16 Jul 2001, Mark Womack <[EMAIL PROTECTED]> wrote: >if="build.local_excludes"/> > > The above chunk does not cause a parse exception, It should, hmm. > but it ignores the if attribute That's the way patternsets work, maybe we really need th

Re: jdk 1.3.1 and ant 1.3 compatability

2001-07-16 Thread Jesse Stockall
On 16 Jul 2001 18:40:53 -0700, Eric Richardson wrote: > > How does the IBM VM compare as far as performance, memory etc? > > Eric Personally I like the IBM VM. It seems to be faster for alot of my day to day tasks. Ant builds, javadocs, JUnit, etc For GUI stuff the IBM JDK has much nicer font

Re: jdk 1.3.1 and ant 1.3 compatability

2001-07-16 Thread Peter Donald
On Tue, 17 Jul 2001 11:40, Eric Richardson wrote: > Jesse Stockall wrote: > > On 16 Jul 2001 15:24:56 -0700, Tim Meals wrote: > > > Jef -- > > > > > > I had a bunch of problems with JDK 1.3.1 under RedHat 7.0 Linux. My > > > research found a bunch of web pages, by both RedHat and Sun, saying to >

Re: jdk 1.3.1 and ant 1.3 compatability

2001-07-16 Thread Peter Davison
There is an incompatibility between Sun's JDK 1.3.x and RedHat Linux 7.1. Your segmentation fault is not related to ant but to running java under RH 7.1. I found a thread on the Sun site concerning this and the following patch (which worked for me). There is a missing link (from the java execu

Re: jdk 1.3.1 and ant 1.3 compatability

2001-07-16 Thread Eric Richardson
Jesse Stockall wrote: > > On 16 Jul 2001 15:24:56 -0700, Tim Meals wrote: > > Jef -- > > > > I had a bunch of problems with JDK 1.3.1 under RedHat 7.0 Linux. My research > > found a bunch of web pages, by both RedHat and Sun, saying to apply some patches > > or upgrade to RedHat 7.1. I tried al

Re: jdk 1.3.1 and ant 1.3 compatability

2001-07-16 Thread Jef Dodson
Hmm, interestig. But I have no problem compiling and running my application on redhat 7.0 using jdk1.3.1. It is only Ant that seems to be having a problem. Now, I did have some serious problems with redhat 7.1 and java 1.3, so I rolled back to redhat 7.0. However, I can't roll back to jdk1.

multiple servers

2001-07-16 Thread Vishal Chawla
Hello, Is it possible to have multiple servers started through ant. So, for example, I have a target to start Tomcat such as: I would like to have another target such as a JMS router in the same build.xml such as: How can I do this? Thanks --vishal

Re: jdk 1.3.1 and ant 1.3 compatability

2001-07-16 Thread Jesse Stockall
On 16 Jul 2001 15:24:56 -0700, Tim Meals wrote: > Jef -- > > I had a bunch of problems with JDK 1.3.1 under RedHat 7.0 Linux. My research > found a bunch of web pages, by both RedHat and Sun, saying to apply some patches > or upgrade to RedHat 7.1. I tried all the suggestions, but all that work

RE: Mail error

2001-07-16 Thread Viraj Purang
HI, TRyu running just the mail target/ task with the -debug option ..things should be fairly clear to you then ... Regards, Viraj Purang -Original Message- From: hari ramasubbu [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 3:33 PM To: [EMAIL PROTECTED] Subject: RE: Mail error

RE: Mail error

2001-07-16 Thread hari ramasubbu
OK. it was my fault .. i didnt use the right smtp server name to route the mail.. sorry about that hari

Re: Ant on Mac OS 9?

2001-07-16 Thread Isaac Sparrow (Staff Engineer)
Mark, This guy does have a G4. He has OS X available on his computer but is afraid of Unix. He is being pushed towards OS X. Anyway, I thought it was amazing that we got ant 1.3 working at all on OS 9. --Isaac Mark Strasser wrote: > > However, the future of ant on Mac OS 9 is limited. The JDK

Re: jdk 1.3.1 and ant 1.3 compatability

2001-07-16 Thread Tim Meals
Jef -- I had a bunch of problems with JDK 1.3.1 under RedHat 7.0 Linux. My research found a bunch of web pages, by both RedHat and Sun, saying to apply some patches or upgrade to RedHat 7.1. I tried all the suggestions, but all that worked was turning off the HotSpot client VM. Try it in the a

Mail error

2001-07-16 Thread hari ramasubbu
Pleae help ..I get this error when trying to mail to myself. Our exchange smtp server name is IVHPXC0003. BUILD FAILED mail.xml:3: IO error sending mail: Connection refused: connect Total time: 1 second here is the code for this .

Re: [POLL] JUnit Users

2001-07-16 Thread Aaron Kamienski
I don't think that changes to ant (i.e., lazy instantiation of all elements/attributes) are necessary. I would think that just making the task class(es) not dependent on Xalan, such that a failure to find Xalan results in a failure to load, should be sufficient. The JUnit task doesn't have this

depends be a variable?

2001-07-16 Thread Bhavin Patel
Can the depends attribute of the target tag be a variable? like the following.. I can't seem to get that to work...

Windows ANT-launcher

2001-07-16 Thread Michael Jennings
Hi everyone, I've written a Windows executable called build.exe for launching ant. If you place build.exe in the $ANTHOME/bin directory, when launched it will automatically finds any currently installed JDK, adds tools.jar from $JDK/lib to the classpath along with all .jar files in $ANTHOME/lib t

RE: additional clearcase tasks

2001-07-16 Thread Jeff Post
Hi Knut, You may want to review this posting: http://marc.theaimsgroup.com/?l=ant-user&m=99262856302465&w=2 I had developed some tasks that set different config specs, and provided some other functionality. It would be straight forward to load and save config-specs from/to a file. Jeff -Or

RE: build directory using Windows (newbie)

2001-07-16 Thread Joachim Molkow
That was the solution. Thanks alot. Joe >- Original Message - >From: "Joachim Molkow" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, July 16, 2001 7:34 PM >Subject: build directory using Windows (newbie) > > > I have a problem with the builddir property: > > Ant overwrites i

RE: first time ant user

2001-07-16 Thread Bill . J . Fellows
Wow, that was terribly informative of myself. ;) Sorry for the fat finger send. What I was going to ask was do you have ANT_HOME set and if so, what do you have it set to? What is your simple ant 'script'? Can you include it? /bill -Original Message- From: Bill.J.Fellows [mailt

RE: first time ant user

2001-07-16 Thread Bill . J . Fellows
-Original Message- From: sdas [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 1:39 PM To: ant-user Cc: sdas Subject: first time ant user I tried a simple ant scripts and got following error: Exception in thread "main" java.lang.NoClassDefFoundError: Any clue,,, why or what am

first time ant user

2001-07-16 Thread Surojit Das
I tried a simple ant scripts and got following error: Exception in thread "main" java.lang.NoClassDefFoundError: Any clue,,, why or what am i doing wrong?

jdk 1.3.1 and ant 1.3 compatability

2001-07-16 Thread Jef Dodson
OK, I am still stumped. I cannot get ant 1.3 to work with jdk 1.3.1 under Linux. Below is a very simple build file that I am using for test purposes, along with the error message that I get from ant: Error messge: /home/jdodson/ant/bin/ant: line 107: 1005 Segmenta

RE: javac and maxmemory

2001-07-16 Thread Mark Womack
Please see: http://marc.theaimsgroup.com/?l=ant-user&m=99443968505909&w=2 Also, you can search the ant-user mailing list archive from: http://marc.theaimsgroup.com/ -Mark -Original Message- From: Sanjay Bhatia [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 11:23 AM To: Ant Mai

javac and maxmemory

2001-07-16 Thread Sanjay Bhatia
Hi, I keep getting out of memory errors for my compile target (which uses javac). Can someone tell me how to pass on a maxmemory parameter to javac? We're using java 1.3.02. Thanks, sb __ Do You Yahoo!? Get personalized email addresses from Yaho

Re: How to submit enhanced code to jakarta ant

2001-07-16 Thread Nico Seessle
- Original Message - From: "hari ramasubbu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 16, 2001 6:56 PM Subject: How to submit enhanced code to jakarta ant > i have made one small enhancement to the telnet task > in the optional.jar to log the buffer in timeouts > dur

Re: build directory using Windows (newbie)

2001-07-16 Thread Nico Seessle
- Original Message - From: "Joachim Molkow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 16, 2001 7:34 PM Subject: build directory using Windows (newbie) > I have a problem with the builddir property: > > Ant overwrites it with the current directory. My build.xml looks

build directory using Windows (newbie)

2001-07-16 Thread Joachim Molkow
I have a problem with the builddir property: Ant overwrites it with the current directory. My build.xml looks like this: -- snip -- I get the following output from ant: -- snip -- Project base dir set to: D:\Java\Code\Parts\applets\marquee [property] Override ignored for basedir --

Optional excludesfile in javac?

2001-07-16 Thread Mark Womack
Is there anyway to have an optional excludes file in the javac task? We already have one excludesfile defined like this: But some of our developers maintain some files locally on their machines that should not be part of the build compile. So, I am tryi

How to submit enhanced code to jakarta ant

2001-07-16 Thread hari ramasubbu
i have made one small enhancement to the telnet task in the optional.jar to log the buffer in timeouts during telnet read operation.How do i submit this code for the ant nightly build . thanks hari

Re: Missing jar file for xalan

2001-07-16 Thread Kev K
Hey, thanks. That did the trick. Now, I'm working on a SAX error. BTW, I also had to include xalanj1compat.jar from the /bin dir from the xalan download. K --- Don Taylor <[EMAIL PROTECTED]> wrote: > Try using the optional.jar. It's a separate download > at Ant's download > site. > > -- Don > -

Re: javac task compiles missing files automatically

2001-07-16 Thread Knut Wannheden
Steffen Euch <[EMAIL PROTECTED]> writes: > Hi! > > Bernie Bernstein wrote: > > > At 02:54 PM 7/16/2001 +0200, Steffen Euch wrote: > > > >> I don't want Ant to search missing source files automatically. > > Ant isn't the program that is finding those files, it's javac (or > > Jikes) that is find

Re: Missing jar file for xalan

2001-07-16 Thread Don Taylor
Try using the optional.jar. It's a separate download at Ant's download site. -- Don --- Kev K <[EMAIL PROTECTED]> wrote: > I'm trying to run this code belowand I'm getting > the following error: > BUILD FAILED > > C:\Testing\ANT\autoBuild.xml:18: > java.lang.ClassNotFoundException: org.apa

Re: javac task compiles missing files automatically

2001-07-16 Thread Steffen Euch
Hi! Bernie Bernstein wrote: > At 02:54 PM 7/16/2001 +0200, Steffen Euch wrote: > >> I don't want Ant to search missing source files automatically. > > > Ant isn't the program that is finding those files, it's javac (or Jikes) > that is finding them. What I wanted to say is: I don't want An

Missing jar file for xalan

2001-07-16 Thread Kev K
I'm trying to run this code belowand I'm getting the following error: BUILD FAILED C:\Testing\ANT\autoBuild.xml:18: java.lang.ClassNotFoundException: org.apache.to ols.ant.taskdefs.optional.XalanLiaison I need the jar file that contains the class in the error message above. I didn't find th

Re: Problems using the Javadoc Task: help needed

2001-07-16 Thread Don Taylor
I believe when the 'sourcepath' is an attribute you can only specify one path. To specify multiple paths you must make 'sourcepath' a nested element: See if that works. -- Don --- José Vicente Núñez Zuleta <[EMAIL PROTECTED]> wrot

Re: external dependencies automatically to be included in Jar

2001-07-16 Thread Joe Fisher
Im using jikes to do this, but then I have to manipulate the output. But it is the best I have so far. Something like this Viraj Purang wrote: > Hi, >HOw can I be part of the effort ? > Coz I am planning to write a wrapper above the

Re: Help with file-based task

2001-07-16 Thread Kev K
Thanks for all your help on this. I'll check out the style tag! --- Jon Eaves <[EMAIL PROTECTED]> wrote: > Hi all, > > I've had a couple of requests off list, and this > one on-list. I've included my build.xml. > > Enjoy ! > > Cheers, > -- jon > > - Original Message - > From: "

Re: javac task compiles missing files automatically

2001-07-16 Thread Bernie Bernstein
At 02:54 PM 7/16/2001 +0200, Steffen Euch wrote: >I don't want Ant to search missing source files automatically. Ant isn't the program that is finding those files, it's javac (or Jikes) that is finding them. Java compilers look in the classpath for files to compile that the given files may be

Problems using the Javadoc Task: help needed

2001-07-16 Thread José Vicente Núñez Zuleta
Greetins, I have the following javadoc task in my build.xml file: http://www.madbiz.net - Madbiz C.A"/> Currently this is my source tree: [josevnz@josevnz Register]$ find ./src -type f -print ./src/User/User.java ./src/User/RegisterInfo.ja

Re: Hit "OutOfMemoryError" during compilation. Does it su...

2001-07-16 Thread Ming-Fang Wang
Subject: Re: Hit "OutOfMemoryError" during compilation. Does it support " - Do not bother -J, try jikes, it is fast and not that memory consuming. I had the same problem before and am happy with jikes -Ming

javac task compiles missing files automatically

2001-07-16 Thread Steffen Euch
Hi! I don't want Ant to search missing source files automatically. ${PRJ_SOURCE} is the parent directory of "com", the root of our packet structure: U:\foo\java\src The patternset, which is passed to this generic target below, lists all the directories, that java files should be compiled. But if

HELP in writing class for taskdef

2001-07-16 Thread Pandian . Anbunathan
Hi, If any one knows how to write the class file for the following pls help me. Just I like to load a project from VAJ (Embedded image moved to file: pic11323.gif) Compuserve GIF

RE: criticism: property handling (here: no overwrite)

2001-07-16 Thread Pandian . Anbunathan
Hi All, How to write the class file for the following takdef. What I want to write in the execute(). How to specify the 'project' element. (Embedded image moved to file: pic08942.gif) Compuserve GIF

RE: criticism: property handling (here: no overwrite)

2001-07-16 Thread Patrick Ferdig
has there been any progress on this issue? I've just run into it, and am trying to resolve it. the problem is that I have a directory specified in my global classpath that doesn't always exist. in fact, I can't even run the task that creates the directory because I can't get past the initial pa

Re: Ant's purpose [was : Best for C++]

2001-07-16 Thread Stefan Bodewig
On Mon, 16 Jul 2001, Kerim Borchaev <[EMAIL PROTECTED]> wrote: > I've found not much on the topic in archives but as i understand Ant > itself is not well suited for c++ and others ? Only for Java? I don't think so - it is just that most tasks we have today are very Java centric, but I don't thi

Ant's purpose [was : Best for C++]

2001-07-16 Thread Kerim Borchaev
Thanks for the references on c++ build tools. I've found not much on the topic in archives but as i understand Ant itself is not well suited for c++ and others ? Only for Java? Sorry for ranting... Best regards, Kerimmailto:[EMAIL PROTECTED] Have a look http://eche

VAJ, Clearcase, Websphere and Ant patterns?

2001-07-16 Thread Les Hughes
Hi, Subject says it all really - can anyone provide any patterns for using Ant with Clearcase, VAJ and websphere? Bye, Les

RE: simple yet complicated

2001-07-16 Thread Samson, Lyndon [IT]
I dont think the sql task support SQL select's. ( Prb due to using execute/executeUpdate ). It would be nice if it did support select/executeQuery. -Original Message- From: Rigorberto Macias [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 6:27 PM To: [EMAIL PROTECTED] Subject: s