RE: Javac version

2005-06-14 Thread Payette, Don J
at is failing. HTH Darins Note: in the future it is likely better to ask Eclipse questions in an Eclipse forum...such as the Eclipse newsgroups. "Payette, Don J" <[EMAIL PROTECTED]> 06/14/2005 09:02 AM Please respond to "Ant Users List" To "Ant Users List"

Javac version

2005-06-14 Thread Payette, Don J
I have a project setup in Eclipse and am using ant to do my builds from within Eclipse. Things have been working fine, until I tried to move from Java 1.3.1 to Java 1.4.2. I get the following output from ant. Buildfile: C:\SPEC\build.xml load-corp: compile: [echo] The classpath for

RE: Build with Java 1.4.2

2005-04-05 Thread Payette, Don J
2nd-edition/html/ClassFile.doc.htm l#80961 Cheers, Antoine Payette, Don J wrote: >I'm using eclipse for my IDE and my project has a build.xml. Whenever I >do a >build, I right-click the build.xml and select Run Ant... I then select >the >All target. Works great. > >Recent

RE: Build with Java 1.4.2

2005-04-04 Thread Payette, Don J
ase contact the sender and delete the e-mail and its attachments from all computers. -Original Message- From: Payette, Don J [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 1:31 PM To: Ant Users List Subject: Build with Java 1.4.2 I'm using eclipse for my IDE and my project has a b

Build with Java 1.4.2

2005-04-04 Thread Payette, Don J
I'm using eclipse for my IDE and my project has a build.xml. Whenever I do a build, I right-click the build.xml and select Run Ant... I then select the All target. Works great. Recently, my cohorts have suggested I need to switch from the 1.3.1 Java to the 1.4.2 Java to be compatible with a new

RE: IllegalAccessException

2005-03-11 Thread Payette, Don J
It's sorta case sensitive. By that I mean that all files are generally in upper case, and when you type file names in, they get upcased, unless you explicitly quote, then upcasing doesn't happen.For example, I had also tried copying /-/JAVA142/OBJECT/JAVA as /-/JAVA142/DIR/JRE/BIN/"java" to se

RE: IllegalAccessException

2005-03-11 Thread Payette, Don J
This works. Correct about /bin/java not working. I added "java.home '${java.home}'" "os.name '${os.name}'" and got [echo] "java.home '/-/JAVA142/DIR/JRE'" [echo] "os.name 'MCP/AS'" This gave me the idea to copy OBJECT/JAVA as /-/JAVA142/DIR/

RE: IllegalAccessException

2005-03-10 Thread Payette, Don J
a suggestion --- "Payette, Don J" <[EMAIL PROTECTED]> wrote: > Thanks, Keith. I've rebuilt it using exec, and now > I get this: > > - % #1: (DONP)LIST/STDERR ON SYSTEM (Records: > 1-6 of 6) > > > > BUILD FAILED > > > > /-/JAVATE

RE: IllegalAccessException

2005-03-10 Thread Payette, Don J
IllegalAccessException , though it might not work if your OS is particularly obscure. >> Remember, I'm new to ant. Remember, There's a Fine Manual. http://ant.apache.org/manual/index.html -----Original Message- From: Payette, Don J [mailto:[EMAIL PROTECTED] Sent: 10 March 20

RE: IllegalAccessException

2005-03-10 Thread Payette, Don J
Yes, the class is public. Could it be that main is static? This class is normally run from the command line, ala: c:>javaw.exe -cp -DJAVA_HOME=C:\Java org.spec.jappserver.load.LoadCorp 10"); Then the "main" argv parameter will have "10". The build.xml does the following:

NoClassDefFoundError

2005-03-09 Thread Payette, Don J
This is an interesting one (at least to me). Ant is attempting to call LoadCorp (as can be seen from my stdout). It gets an IllegalAccessException. Inside LoadCorp is a "main" that looks like this: public static void main(String [] argv) throws Exception { What is ant's problem? -

RE: junit.fork

2005-03-08 Thread Payette, Don J
Oh how silly I feel. Thanks, that did it. Now on to the next problem. Don Payette >THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-ma

RE: junit.fork

2005-03-08 Thread Payette, Don J
This is a byproduct of our mainframe implementation. The solution is to have it not do the fork, but use the JVM that ant is already running on. (On our machine, the java executable is not called java). Don Payette >THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATE

RE: junit.fork

2005-03-08 Thread Payette, Don J
I'm using the build.xml that came with the app I'm using (the SPECjAppServer2002 benchmark). The particular target I'm invoking is "loaddb", if that matters. Here it is:

RE: junit.fork

2005-03-08 Thread Payette, Don J
nit.fork Quoting "Payette, Don J" <[EMAIL PROTECTED]>: > What you typed looks like some xml file with a > in it. Is that correct? What file is this? Where do > I put it? All those questions, since I don't know what > you're talking about. :-) > > Tha

RE: junit.fork

2005-03-08 Thread Payette, Don J
To: Ant Users List Subject: Re: junit.fork Quoting "Payette, Don J" <[EMAIL PROTECTED]>: > I have a situation where ant is forking java to run my class, and I need > it to use > the JVM that ant is running under, not do a fork. Through searching > I've discovered

junit.fork

2005-03-08 Thread Payette, Don J
Hi, I'm new to the list and relatively new to java and ant. So, be kind. :-) I have a situation where ant is forking java to run my class, and I need it to use the JVM that ant is running under, not do a fork. Through searching I've discovered junit.fork=false, but I'm having a hard time gettin