RE: Forcing the classpath

2005-03-28 Thread McIntosh, Stephen
Thank you Ninju. I will try that. -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 12:25 PM To: Ant Users List Subject: Re: Forcing the classpath Possibly you can create a custom task that extends from org.apache.tools.ant.taskdefs.Javac, set

RE: Forcing the classpath

2005-03-28 Thread Raymond K. DeCampo
One approach would be to edit the ANT script for your installation to insert XSLT transformations on the build file. These XSLT transformations would remove any custom classpath in the script and replace them with your "one true classpath". You could include an task call to warn when with was

Re: Forcing the classpath

2005-03-28 Thread dbrosius
> Steve McIntosh <[EMAIL PROTECTED]> wrote: > I am attempting to find a way to force the contents of the classpath > passed to javac. > To put that another way, I would like to remove the ability for a user on > my network to pass any classpath to javac other than the one I (the > administrator) s

Re: Forcing the classpath

2005-03-28 Thread Ninju Bohra
Possibly you can create a custom task that extends from org.apache.tools.ant.taskdefs.Javac, set the classpath attribute in the constructor and override the .setClasspath() implementation to throw your warning text.. Steve McIntosh <[EMAIL PROTECTED]> wrote: I am attempting to find a way to fo