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
ubject: Forcing the classpath
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) specify.
Ideally, a use
> 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
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
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) specify.
Ideally, a user could write a build.xml which c
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) specify.
Ideally, a user could write a build.xml which