cziegeler 02/01/14 08:28:43 Modified: . build.xml Added: lib/optional resolver.jar Removed: lib/core resolver.jar Log: Resolver is now optional Revision Changes Path 1.136 +17 -1 xml-cocoon2/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/build.xml,v retrieving revision 1.135 retrieving revision 1.136 diff -u -r1.135 -r1.136 --- build.xml 14 Jan 2002 15:23:39 -0000 1.135 +++ build.xml 14 Jan 2002 16:28:42 -0000 1.136 @@ -301,6 +301,10 @@ property="velocity.present" classname="org.apache.velocity.app.Velocity"/> + <ClassAvailable classpathref="classpath" + property="resolver.present" + classname="com.sun.resolver.Resolver"/> + <available property="ora.driver.present" classname="oracle.jdbc.OracleResultSet"> <classpath refid="classpath"/> @@ -530,12 +534,22 @@ value="hsqldb is required for the sql examples."/> </antcall> </target> + <target name="resolver-warn" unless="resolver.present" depends="optional-tests" + description="Outputs a warning if com.sun.resolver.* classes are missing during compilation"> + <antcall target="op-warning"> + <param name="thing" value="Resolver"/> + <param name="recovery" + value="Get the resolver package from Sun and place the jar in the lib/optional dir"/> + <param name="message" + value="The resolver allows entity resolving."/> + </antcall> + </target> <!-- =================================================================== --> <!-- Print out warnings for optional components --> <!-- =================================================================== --> <target name="optional-warnings" - depends="bsf-warn, jfor-warn, xmldb-warn, xt-warn, php-warn, naming-warn, svg-warn, fop-warn, tidy-warn, maybeupload-warn, lucene-warn, deli-warn, velocity-warn, hsqldb-warn" + depends="bsf-warn, jfor-warn, xmldb-warn, xt-warn, php-warn, naming-warn, svg-warn, fop-warn, tidy-warn, maybeupload-warn, lucene-warn, deli-warn, velocity-warn, hsqldb-warn, resolver-warn" description="Outputs warnings if some optional jars are missing from the environment"> </target> @@ -589,6 +603,8 @@ <exclude name="**/xt.sitemap" unless="xt.present"/> <exclude name="**/Javascript*" unless="rhino.present"/> + + <exclude name="**/components/resolver/ResolverImpl.java" unless="resolver.present"/> <exclude name="**/Jstyle*" unless="jstyle.present"/> 1.1 xml-cocoon2/lib/optional/resolver.jar <<Binary file>>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]