The optional.jar file in cornerstone and testlet is also out-of-date. Both need to be updated to the version currently in Avalon tools/lib because the stylebook task is not included in the CVS version.
Steve. > -----Original Message----- > From: Stephen McConnell [mailto:[EMAIL PROTECTED] > Sent: Saturday, 12 May, 2001 13:10 > To: Avalon Development > Subject: RE: build.xml - xdocs target > > > > Seems to be an inconsistency between the tools used in Avalon and Phoenix: > > The jakarta-avalon/tools/lib contains: > > stylebook-1.0-b2.jar > optional.jar (containing the Stylebook task - ok) > > The jakarta-avalon-phoenix/tools/lib contains: > > stylebook-1.0-b3_xalan-2.jar > optional.jar (no stylebook task - cannot build xdocs) > > Can someone update the CVS so that phoenix has the stylebook class in > optional.jar - and also, can anyone confirm if the differences in the > Stylebook jar versions between Avalon and Phoenix is a feature or an > ommission. > > Steve. > > > -----Original Message----- > > From: Stephen McConnell [mailto:[EMAIL PROTECTED] > > Sent: Saturday, 12 May, 2001 12:35 > > To: Avalon Development > > Subject: build.xml - xdocs target > > > > > > > > > > > -----Original Message----- > > > From: Berin Loritsch [mailto:[EMAIL PROTECTED] > > > ... the docs aren't building. Ant keeps giving me > > > the following error: > > > > > > BUILD FAILED > > > > > > C:\projects\jakarta-avalon\build.xml:309: Could not create > task of type: > > > stylebook. Common solutions are to use taskdef to declare > your task, or, > > > if this is an optional task, to put the optional.jar in the lib > > directory > > > of your ant installation (ANT_HOME). > > > > > > Can someone look into this! > > > > Berin: > > > > Seems that there are a number of errors in the buildfile related to the > > xdocs target. I have only checked jakarta-avalon/build.xml at > > this stage - > > here is a summary of the changes needed to get it working: > > > > 1. remove the comments from the following taskdef > > > > <!-- > > <taskdef name="stylebook" > > classname="org.apache.stylebook.StyleBookAntTask"> > > <classpath refid="tools.class.path"/> > > </taskdef> > > --> > > > > 2. change the classname in the above taskdef to > > "org.apache.tools.ant.taskdefs.optional.StyleBook" > > > > 3. the classpath references "tools.class.path" contains the > > reference to > > ${stylebook.jar}" but ${stylebook.jar}" is undefined, but > > the sylebook > > jar is explicitly included in the fileset declaration - > the solution > > is to either add a defintion of the stylebook.jar > property or remove > > the pathelement statement and exclude statement - or more simply, > > change tools.class.path to the following: > > > > <path id="tools.class.path"> > > <pathelement location="${xerces.jar}"/> > > <pathelement location="${testlet.jar}"/> > > <fileset dir="${tools.dir}/lib"> > > <include name="*.jar" /> > > <exclude name="testlet.jar"/> > > </fileset> > > </path> > > > > After that the xdocs target executes properly. > > I can go ahead and update the other build file if this seems an > > appropriate > > direction. > > > > Cheers, Steve. > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
