On Tuesday 27 July 2004 02:38, [EMAIL PROTECTED] wrote: > Hi, > just got magic compiling avalon on my linux box. Problem was that > magic.available did not find the class.
I will apply this, but I suspect that this is actually an underlying Ant problem. Could it possible be that Ant is not installed absolutely correctly, or has some property set to point the extension library elsewhere? Thanks again for the diff. Cheers Niclas > Here is the diff: > > Index: build.xml > =================================================================== > --- build.xml (revision 30725) > +++ build.xml (working copy) > @@ -3,8 +3,11 @@ > <project name="avalon" default="install" basedir="." > xmlns:x="antlib:org.apache.avalon.tools"> > > - <available property="magic.available" > classname="org.apache.avalon.tools.model.Home"/> > - > + <available property="magic.available" > classname="org.apache.avalon.tools.model.Home"> > + <classpath > > + <pathelement > location="${user.home}/.ant/lib/avalon-tools-magic.jar"/> > + </classpath> > + </available> > <property environment="ENV"/> > <property name="magic.dir" value="${basedir}/tools/magic"/> > <property file="${basedir}/user.properties"/> > > > /peter -- +------//-------------------+ / http://www.bali.ac / / http://niclas.hedhman.org / +------//-------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]