Re: NullPointerException

2001-03-08 Thread Stefan Bodewig
Chris Stillwell <[EMAIL PROTECTED]> wrote: > This is the result of trying to run it the first time using a simple > build file that just echos some messages. Could you please show us the build file? The stack trace is a mystery to me as it indicates you'd have no project, which in turn is impos

Re: glob mapper bug for copy/move in version 1.3 ??

2001-03-08 Thread Stefan Bodewig
John Sisson <[EMAIL PROTECTED]> wrote: > > Am I doing anything obviously wrong or is this a bug? Maybe the docs are not clear enough - the glob mapper supports no more than one "*" in a pattern. Without your explanation I wouldn't know what you were trying to do with the above - strip

Re: antRun command in wrong format in Ant 1.3?

2001-03-08 Thread Stefan Bodewig
Nolan Ring <[EMAIL PROTECTED]> wrote: > I'm wondering if the antRun command is in the wrong file format in > the 1.3 distribution. Seems to be. > I moved the original antRun file out of the way and created a new > antRun with vi, typed in the contents of the file, Using Ant's own task would h

Re: mysterious error: "Cannot use classic compiler, as it is not

2001-03-08 Thread Stefan Bodewig
Mark Johnson <[EMAIL PROTECTED]> wrote: > The only similar problem I can find in the archives seems to occur > when there is no PATH to javac. However, my PATH includes > $JAVA_HOME/bin, where javac resides. Eg, You don't need javac in your PATH, but you need tools.jar in your CLASSPATH. Usually

Spaces in classpath

2001-03-08 Thread Stephen New
Hello, Excuse me if this question has been asked before, but I couldn't see it on the FAQ page. My execution of the "java" built-in task fails because my the file paths in the classpath have spaces in them. (Running on Windows NT). Basically I want to simulate putting double-quotes around the cl

Does EJBJar has the ability to fail on error ?

2001-03-08 Thread Sylvain Rey
Hi all, I've noticed that when there is an error with ejbc (I'm using the weblogic subtask to call ejbc in weblogic 5.1), the build continues and more unfortunate, the jar file _is_ created. As I'm using an uptodate check in my project to determine wether to rebuild or not, at next rebuild, the w

Re: Getting a relative time from within Ant

2001-03-08 Thread Michael Baker
Chris, Unless I misunderstand the CVS documention, yes. Regards, Mickey - Original Message - From: "Chris Greenlee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 4:34 PM Subject: RE: Getting a relative time from within Ant Does CVS actually understand '1

glob mapper bug for copy/move in version 1.3 ??

2001-03-08 Thread John_Sisson
I am trying to rename files so that they do not have a file extension. I need to do this because so I can FTP these files to a legacy system that does not support file extensions (just 8 character file names without an extension). I have tried both the copy and move tasks and have not been able

RE: Getting a relative time from within Ant

2001-03-08 Thread Chris Greenlee
That sounds like precisely what I was looking for. Thanks! Chris > -Original Message- > From: Conor MacNeill [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 5:43 PM > To: [EMAIL PROTECTED] > Subject: RE: Getting a relative time from within Ant > > > Diane, > > Yes, I im

RE: Getting a relative time from within Ant

2001-03-08 Thread Chris Greenlee
Does CVS actually understand '10 minutes ago'? C. > -Original Message- > From: Michael Baker [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 12:31 PM > To: [EMAIL PROTECTED] > Subject: Re: Getting a relative time from within Ant > > > Chris, > > How about something like

RE: Problems running on AIX

2001-03-08 Thread Chris Stillwell
The interesting thing is that I'm not trying to run the vajexport task. If I remove the jakarta-ant-1.3-optional.jar, then everything works fine. Here is the test build.xml I'm running: This is a Test build file for Ant. Usage: ant "target-name"

Re: Problems running on AIX

2001-03-08 Thread Glenn McAllister
Chris Stillwell wrote: > I get the following exception running ant when the > jakarta-ant-1.3-optional.jar is in the > $ANT_HOME/lib directory. Any ideas? > > Buildfile: build.xml > Exception in thread "main" java.lang.VerifyError: (class: > org/apache/tools/ant/t > askdefs/optional/ide

Re: ant buildfile name variable

2001-03-08 Thread Glenn McAllister
Glenn McAllister wrote: > [EMAIL PROTECTED] wrote: > > > Hey all, > > > > I am writing a "help" target in my buildfile and want to be able to > > reference the name of the buildfile. > > > > Is there a variable that holds this? ${ant.buildfile.name} > > > > I want to do something l

Problems running on AIX

2001-03-08 Thread Chris Stillwell
I get the following exception running ant when the jakarta-ant-1.3-optional.jar is in the $ANT_HOME/lib directory. Any ideas? Buildfile: build.xml Exception in thread "main" java.lang.VerifyError: (class: org/apache/tools/ant/t askdefs/optional/ide/VAJExport, method: getWorkspaceScanner signatur

antRun command in wrong format in Ant 1.3?

2001-03-08 Thread Nolan Ring
Title: antRun command in wrong format in Ant 1.3? Hi, I'm wondering if the antRun command is in the wrong file format in the 1.3 distribution.  I have a build.xml file that uses exec to invoke some shell scripts.  This worked in 1.2 but wasn't working in 1.3.  When I tried to run antRun from

Re: ant buildfile name variable

2001-03-08 Thread Glenn McAllister
[EMAIL PROTECTED] wrote: > Hey all, > > I am writing a "help" target in my buildfile and want to be able to > reference the name of the buildfile. > > Is there a variable that holds this? ${ant.buildfile.name} > > I want to do something like > Usage: ant -buildfile ${ant.buildfile.n

RE: Always slow on ClearCase dynamic views?

2001-03-08 Thread Chaganthi, Madhusudan R.
Use JIKES and keep us posted. (;-) I havent used ClearCase, so I cant help you in that area. -Original Message- From: Ventimiglia, David [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 3:24 PM To: [EMAIL PROTECTED] Subject: Always slow on ClearCase dynamic views? Hi, Running

Re: ejbjar, wl6.0 and ejb2.0 cmp

2001-03-08 Thread Shireesh Thanneru
Please dont send HTML emails, if you expect a response from the list. Shireesh Thanneru

ejbjar, wl6.0 and ejb2.0 cmp

2001-03-08 Thread Frank Chang
Hi all,   I have posted a message about a month ago regarding a problem with ejbjar/wl6 and I did not get any response so far.  I am using Ant 1.3b3. I'm getting the weblogic.Home error only when compiling EJB 2.0 CMP Entity Bean for Weblogic 6.0. The solution to the problem is to add the p

Always slow on ClearCase dynamic views?

2001-03-08 Thread Ventimiglia, David
Hi, Running a full build of 2000+ java files & 90+ EJBs takes ~40 min. using jdk1.2.2 javac on a ClearCase snapshot view, but about 3 1/2 hours on a ClearCase dynamic view. Most of the extra time is spent building the lists of files to compile, ejbjar, and copy. I suspect it's due the Directory

mysterious error: "Cannot use classic compiler, as it is not

2001-03-08 Thread Mark Johnson
I'm trying to install tomcat on a system running Debian upgraded from slink to potato. I've already installed the same version of tomcat (3.2.1) on another box running potato, and on one running RH6.2. When attempting to build from source, I get the error: "Cannot use classic compiler, as it is

RE: zip file cannot include itself

2001-03-08 Thread Justin Sampson
Nolan Ring <[EMAIL PROTECTED]> wrote: > I'm stumped. I'm getting a build failure and the error message is: "zip > file cannot include itself" > > As far as I know I'm not trying to include any zip files! I posted about the same thing yesterday. :) The problem is right here: You're bui

Re: Ant with Perforce

2001-03-08 Thread Diane Holt
--- "M.A.Dunphy" <[EMAIL PROTECTED]> wrote: > We are looking at p4 an our scm and I've been struggling with it and > ant's integration all day and getting nowhere fast. > > The build file previously worked in a sandbox environment, i.e depending > on where you ran the build, the source code woul

NullPointerException

2001-03-08 Thread Chris Stillwell
Anybody have any suggestions as to where to look for this problem? I am in the process of trying to install Ant 1.3 on an AIX box. This is the result of trying to run it the first time using a simple build file that just echos some messages. Buildfile: build.xml [property] Error in class org.apa

ant buildfile name variable

2001-03-08 Thread abonjour
Hey all, I am writing a "help" target in my buildfile and want to be able to reference the name of the buildfile. Is there a variable that holds this? ${ant.buildfile.name} I want to do something like Usage: ant -buildfile ${ant.buildfile.name} stuff stuff and more stuff Thanks, Alex

zip file cannot include itself

2001-03-08 Thread Nolan Ring
Title: zip file cannot include itself Hi, I'm stumped.  I'm getting a build failure and the error message is:   "zip file cannot include itself" As far as I know I'm not trying to include any zip files! Thanks much for any help. Nolan

Ant with Perforce

2001-03-08 Thread M.A.Dunphy
Hi all, We are looking at p4 an our scm and I've been struggling with it and ant's integration all day and getting nowhere fast. The build file previously worked in a sandbox environment, i.e depending on where you ran the build, the source code would be fetched to a relative path (using VSS) an

Ok I found it !!

2001-03-08 Thread Olivier Prouvost
Historically, my build file was wroking in the current directory ... basedir = '.' Now, I use it from a static place, and I had to compute all the absolute locations for my files... This is the reason why my parameter line was so long... I gave the full path for IN and OUT parameters... By sett

Re: Pb when calling the java task with a long line of arguments ?

2001-03-08 Thread Olivier Prouvost
Stefan Bodewig a écrit : Nope. Not using fork should be the same except for CLASSPATH and System.exit issues - and it doesn't involve a shell invocation where I expect it to fail. My Pbme is to call xalan1 or xalan2 according to some targets (in fact it seems to be lots of differences between t

Re: Pb when calling the java task with a long line of arguments ?

2001-03-08 Thread Stefan Bodewig
Olivier Prouvost <[EMAIL PROTECTED]> wrote: > In fact, I think that the parameters that are defined in the arg > element are passed to the java process and not to the class I call ? > Is'nt it ? Nope. Not using fork should be the same except for CLASSPATH and System.exit issues - and it doesn't

Re: Pb when calling the java task with a long line of arguments ?

2001-03-08 Thread Olivier Prouvost
When I remove the fork attribute, I have the following error : XSLT Error (javax.xml.transform.TransformerConfigurationException): System property org.xml.sax.driver not specified which is probably a pbme of classpath... And I think, I need to set fork to true, because xalan seems to do a Syst

Re: Pb when calling the java task with a long line of arguments ?

2001-03-08 Thread Stefan Bodewig
Olivier Prouvost <[EMAIL PROTECTED]> wrote: > Is there a limitation for the line argument ? Could be, as most OSs and/or shells impose a limit on command line lengths. Can you get away without forking? Stefan

Pb when calling the java task with a long line of arguments ?

2001-03-08 Thread Olivier Prouvost
Hi I try to call xalan directly with the java task. (I know, I should use the style task, but I need to call xalan1 or xalan2)... Here is my taks : In verbose mode, ant write this : [java] Forking java -classpath ... org.apache.xalan.xslt.Process -TT -OUT /home/olivier/GestionProjet

RE: Re: batching of ant task

2001-03-08 Thread John . D . Casey
Both of those seem like hacks. On the one hand, you're married to some external technology which may or may not have an analogy on the next platform you build on, and you may have to port your batch file to this new platform even in the best of cases. On the other hand, you're using a catch-

ejbs, package structures, having your cake and eating it

2001-03-08 Thread Badakhchani, Hussein
Hello, I have just recently started using ant and it's great, but I need some help or ideas to try and resolve a build situation at work, here's my problem Our current directory structure looing like this portal |deploy | |appx | | |--META-INF |

Re: Telnet Task - Special Characters

2001-03-08 Thread Stefan Bodewig
Frank Endriss <[EMAIL PROTECTED]> wrote: > For a ctrl-C one byte is sent, value=0x3. This means it is not > out-of-band. OK, so encoding it as should work. > The response from telnetd is two bytes: 0x3e 0x20 "> "? So expect "> ". Looks like a prompt to me. Stefan

Re: Telnet Task - Special Characters

2001-03-08 Thread Frank Endriss
Stefan Bodewig wrote: > > Frank Endriss <[EMAIL PROTECTED]> wrote: > > > This means that in some way the ctrl-C is sent to the remote > > machine, > > Uhm, sure. Now we only need to know how it is sent. 8-) > > My guess - though I haven't read up on it - is that it is not sent as > a normal ch

Ant News

2001-03-08 Thread Conor MacNeill
I've added a page to the Ant webpage to contain Ant news. You can find it here http://jakarta.apache.org/ant/antnews.html Feedback and patches welcome. Conor

RE: Possible to ignore build errors ?

2001-03-08 Thread Bert Vermeerbergen
"Stefan Bodewig" <[EMAIL PROTECTED]> replied: >> Is it possible to ignore (certain) build errors ? >Some tasks ( and for example) support a failonerror >attribute - they will report the problem but not stop the build. >There is no general solution for this - but I'll add it to the Ant2 >wishli

Re: antRun and antRun.bat problems?

2001-03-08 Thread Michael Twomey
I recently logged bug 837 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=837) about this. It appears that DOS style carriage returns have crept into antRun which causes it to fail on UNIX. It basically manifests itself in tasks failing (the only hint as to why is that the tasks return -1). c

Re: Possible to ignore build errors ?

2001-03-08 Thread Stefan Bodewig
Bert Vermeerbergen <[EMAIL PROTECTED]> wrote: > Is it possible to ignore (certain) build errors ? Some tasks ( and for example) support a failonerror attribute - they will report the problem but not stop the build. There is no general solution for this - but I'll add it to the Ant2 wishlist. I

Possible to ignore build errors ?

2001-03-08 Thread Bert Vermeerbergen
Is it possible to ignore (certain) build errors ? The idea is: build target A depending on B, C and D. Failing to build B will cause C and D not being build, although these may complete correctly. During long nightly builds, doing as much as possible is better that simple stopping on the first