Yeah, Yeah Yeah, I'm working on that. :) The fortunate thing is that since nobody has been running on NetWare before, the fact that the exec task will not work there is not horrible yet. I'll get it as soon as possible, hopefully today. Like I said, batch file processing on Netware is really bad - there is no if statement, and there is no "shell" per-se, so things on the command line are not necessarily expanded (Java expands some environment variables in the classpath, but not others - in a -D statement for instance). I'm still muling over how to solve this correctly, in a way that will work well with the other ant batch files that need to be created.
One possible solution in general is to move whatever logic processing that would have gone on in the script into a java class, and have the script be brain-dead. This will probably work for antRun.ncf, but it gets more difficult when trying to support the source-only "bootstrap" process that Ant has. Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., the leading provider of Net services software. >>> [EMAIL PROTECTED] 10/11/01 6:43:05 PM >>> I think you need to attach antrun.ncf - or did I miss that? > -----Original Message----- > From: Jeff Tulley [mailto:[EMAIL PROTECTED] > Sent: Friday, 12 October 2001 3:36 AM > To: [EMAIL PROTECTED] > Subject: [PATCH] Exec.java does not properly function on NetWare > > > Here is the patch to get exec to work with NetWare. It looks > like, with further review, that I'm going to have to get off my > lazy butt and get an antrun.ncf coded up for this to work, which > also makes me suspicious of the tests executing correctly on > NetWare. I'll have to look into them as well to make sure they > completely cover the code that I have changed. > > But, the nature of changes here are such that they will not mess > up any other platform. (The changes are in code that directly > detects the OS name and acts accordingly, so instead of having a > if (Windows), else, situation, there is if (Windows), else if > (NetWare), else. > > > > Jeff Tulley ([EMAIL PROTECTED]) > (801)861-5322 > Novell, Inc., the leading provider of Net services software. > >
