RE: IllegalAccessException

2005-03-11 Thread Payette, Don J
r use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 9:21 AM To: user@ant.apache.org Sub

Re: IllegalAccessException

2005-03-11 Thread Stefan Bodewig
On Fri, 11 Mar 2005, Don J. Payette <[EMAIL PROTECTED]> wrote: > 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/A

RE: IllegalAccessException

2005-03-11 Thread Payette, Don J
NTIAL 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-mail and its attachments from all computers. -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent:

Re: IllegalAccessException

2005-03-10 Thread Stefan Bodewig
On Thu, 10 Mar 2005, Matt Benson <[EMAIL PROTECTED]> wrote: > You might be able to get by using "${java.home}/bin/java" . > Otherwise, you could use the script task to set a property to the > value returned from org.apache.tools.ant.util.JavaEnvUtils > .getJreExecutable("java"). If that worked, t

RE: IllegalAccessException

2005-03-10 Thread Matt Benson
a [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 10, 2005 2:28 PM > To: Ant Users List > Subject: RE: IllegalAccessException > > You may want to go back to the task and > provide > a value for the jvm parameter so that you can start > a > java process. > > Somethi

RE: IllegalAccessException

2005-03-10 Thread Payette, Don J
y by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 2:28 PM To: Ant Users List Subject: RE: IllegalAccessE

RE: IllegalAccessException

2005-03-10 Thread Ninju Bohra
IETARY 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-mail and its attachments from all computers. > > -Original Message- > From: Keith Hatton [mailto:[EMAIL PROTECTED] &

RE: IllegalAccessException

2005-03-10 Thread Payette, Don J
se only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. -Original Message- From: Keith Hatton [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 9:50 AM To: Ant Users List Subject: RE:

RE: IllegalAccessException

2005-03-10 Thread Keith Hatton
ers List Subject: RE: IllegalAccessException 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

RE: IllegalAccessException

2005-03-10 Thread Payette, Don J
2005, Don J. Payette <[EMAIL PROTECTED]> wrote: > 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: > >