From 64a1c8bf927762c8490a50360073b24eb62cb8d4 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Sat, 11 Apr 2009 11:55:06 +0000 Subject: [PATCH] fixed forrest.properties to work with jdk 1.6, see https://issues.apache.org/jira/browse/FOR-984; removed unused and deprecated stuff from build.xml git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764194 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 181 ++------------------------------------------- forrest.properties | 9 ++- 2 files changed, 13 insertions(+), 177 deletions(-) diff --git a/build.xml b/build.xml index 4f98d06394..20e30590e2 100644 --- a/build.xml +++ b/build.xml @@ -35,9 +35,7 @@ under the License. LIBRARY LOCATION ======= ======== junit(3.8+) http://www.ibiblio.org/maven/junit/jars/ - xerces http://www.ibiblio.org/maven/xerces/jars/ jdepend http://www.ibiblio.org/maven/jdepend/jars/ - xalan http://www.ibiblio.org/maven/xalan/jars/ The ant jar "optional.jar" should also be available otherwise the build will fail. @@ -427,7 +425,7 @@ under the License. compile-scratchpad, compile-contrib, compile-examples" description="Compiles the POI main classes, scratchpad, contrib, and examples"/> - + @@ -549,7 +547,7 @@ under the License. - @@ -561,7 +559,7 @@ under the License. + depends="compile-main, -test-main-check"> @@ -587,8 +585,7 @@ under the License. - @@ -643,22 +640,6 @@ under the License. - - Waiting for debugger on port 5001 - - - - - - - - - - - - - - @@ -888,38 +869,10 @@ FORREST_HOME environment variable! - - - - - - - - - - - - WARNING: The environment variable CVS_RSH is not set. If you cannot - access the CVS repository this could be one of the reasons for the - failure. - - - - - @@ -936,7 +889,7 @@ FORREST_HOME environment variable! @@ -955,8 +908,7 @@ FORREST_HOME environment variable! - @@ -1023,48 +975,6 @@ FORREST_HOME environment variable! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1275,42 +1185,6 @@ FORREST_HOME environment variable! - - - - - - - - - - - JUnit is not available. You must download JUnit from - <http://www.junit.org/> and include the JAR file in your - classpath. - - - - - - - - - - - - - - - WARNING: Since JUnit is not available you might encounter failures - subsequently. In order to avoid this you should download JUnit from - <http://www.junit.org/> and include the JAR file in your - classpath. - - - - - @@ -1328,48 +1202,9 @@ FORREST_HOME environment variable! - - - - - - - - - - - - - An XSLT processor is missing. You must download e.g. Xalan from - <http://xml.apache.org/xalan-j/> and include the JAR file in your - classpath. - - - - - - - - - - - - - - - WARNING: Since an XSLT processor is not available you might encounter - failures subsequently. In order to avoid this you should download - e.g. Xalan from <http://xml.apache.org/xalan-j/> and include the - JAR file in your classpath. - - - - - + depends="fail-unless-jdepend-is-available"/> diff --git a/forrest.properties b/forrest.properties index be6f2e013a..0db98743c6 100644 --- a/forrest.properties +++ b/forrest.properties @@ -55,10 +55,11 @@ project.skin=poi-site #forrest.validate=true #forrest.validate.xdocs=${forrest.validate} #forrest.validate.skinconf=${forrest.validate} -#forrest.validate.sitemap=${forrest.validate} -#forrest.validate.stylesheets=${forrest.validate} -#forrest.validate.skins=${forrest.validate} -#forrest.validate.skins.stylesheets=${forrest.validate.skins} +#YK: validation of sitemap and skins must be turned off to run forrest on JDK 1.6+, see https://issues.apache.org/jira/browse/FOR-984 +forrest.validate.sitemap=false +forrest.validate.stylesheets=false +forrest.validate.skins=false +forrest.validate.skins.stylesheets=false # Key: