--- Stephane Bailliez <[EMAIL PROTECTED]> wrote:
> > -----Original Message-----
> > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
>
> > On Tue, 5 Feb 2002, Stephane Bailliez <[EMAIL PROTECTED]>
> > wrote:
> >
> > >> The other option I see is moving NoExitSecurityManager somewhere
> > >> where bootstrap doesn't pick it up
> > >
> > > +1
> >
> > org.apache.tools.ant.util.optional?
>
> Sounds good.
If it's actually more appropriate there than where it currently lives, I'd
say go for it. But if you're moving it just to keep it out of the
bootstrap compile, and it would be inappropriate having it live in some
other location, you could instead just filter it out -- here's the diff:
Index: bootstrap.sh
===================================================================
RCS file: /home/cvs/jakarta-ant/bootstrap.sh,v
retrieving revision 1.61
diff -u -r1.61 bootstrap.sh
--- bootstrap.sh 27 Jan 2002 19:25:29 -0000 1.61
+++ bootstrap.sh 5 Feb 2002 16:58:11 -0000
@@ -107,13 +107,18 @@
mkdir -p ${CLASSDIR}
mkdir -p bin
+# Exclude NoExitSecurityManager, since it's not needed for the bootstrap
+# and JDK1.1 can't compile it.
+
+ANTTOOLS=`ls -1 $TOOLS/ant/*.java | grep -v NoExitSecurityManager.java`
+
echo ... Compiling Ant Classes
"${JAVAC}" -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java
${TOOLS}/zip/*.java \
${TOOLS}/ant/util/regexp/RegexpMatcher.java \
${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \
${TOOLS}/ant/util/*.java ${TOOLS}/ant/types/*.java \
- ${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java \
+ ${ANTTOOLS} ${TOOLS}/ant/taskdefs/*.java \
${TOOLS}/ant/taskdefs/compilers/*.java \
${TOOLS}/ant/taskdefs/condition/*.java
ret=$?
I can put it through, if you'd rather go this way.
Diane
=====
([EMAIL PROTECTED])
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>