Author: onealj
Date: Thu Feb 16 04:58:52 2017
New Revision: 1783170

URL: http://svn.apache.org/viewvc?rev=1783170&view=rev
Log:
Ant 1.10.x dropped support for Java 6 and 7. POI must be built with Ant 
1.8.x-1.9.x if the target environment is Java 6 or 7.

Modified:
    poi/site/publish/howtobuild.html
    poi/site/src/documentation/content/xdocs/howtobuild.xml
    poi/site/src/documentation/release-guide.txt

Modified: poi/site/publish/howtobuild.html
URL: 
http://svn.apache.org/viewvc/poi/site/publish/howtobuild.html?rev=1783170&r1=1783169&r2=1783170&view=diff
==============================================================================
--- poi/site/publish/howtobuild.html (original)
+++ poi/site/publish/howtobuild.html Thu Feb 16 04:58:52 2017
@@ -280,13 +280,13 @@ if (VERSION > 3) {
             
             
 <p>
-                The POI build system requires <a 
href="https://ant.apache.org/bindownload.cgi";>Apache Ant</a> version 1.8 or 
later
+                The POI build system requires <a 
href="https://ant.apache.org/";>Apache Ant</a>
+                version 1.8 - 1.9.x for Java 1.6 and higher. Newer versions 
(1.10.x) require Java 8 or higher.
             </p>
             
 <p>
                 Specifically the build has been tested to work with Ant version
-                1.8.4 and 1.9.4. To install the product, download the 
-                distribution and follow the instructions.
+                1.8.4, 1.9.4, and 1.9.9.
             </p>
             
 <p>
@@ -307,7 +307,7 @@ if (VERSION > 3) {
             </p>
             
 <p>
-                Specifically the build has been tested to work with Forrest 
0.5.x. This is an old release which is available
+                Specifically the build has been tested to work with Forrest 
0.5.x. This is an <strong>old release</strong> which is available
                <a 
href="https://archive.apache.org/dist/forrest/pre-0.6/";>here</a>.
            </p>
            
@@ -462,6 +462,32 @@ if (VERSION > 3) {
              <a href="overview.html#components">Components Page</a>
              for details of the Maven artifacts available.</p>
         
+        
+<a name="Setting+environment+variables"></a>
+<div class="h3">
+<h3>Setting environment variables<a title="Permanent link" class="headerlink" 
href="#Setting+environment+variables">#</a>
+</h3>
+</div>
+            
+            
+<p>Linux: <span class="codefrag">export 
FORREST_HOME=/opt/apache-forrest-0.5.1-bin/</span>
+              
+<br>
+              
+<a 
href="https://help.ubuntu.com/community/EnvironmentVariables";>help.ubuntu.com</a>,
+              <a 
href="http://unix.stackexchange.com/questions/117467/how-to-permanently-set-environmental-variables";>unix.stackexchange.com</a>
+            
+</p>
+            
+<p>Windows:
+              <span class="codefrag">set FORREST_HOME 
C:\apache-forrest-0.5.1-bin\</span>
+              
+<br>
+              
+<a 
href="https://en.wikipedia.org/wiki/Environment_variable#DOS.2C_OS.2F2_and_Windows";>en.wikipedia.org</a>
+            
+</p>
+        
     
   
 

Modified: poi/site/src/documentation/content/xdocs/howtobuild.xml
URL: 
http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/howtobuild.xml?rev=1783170&r1=1783169&r2=1783170&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/howtobuild.xml (original)
+++ poi/site/src/documentation/content/xdocs/howtobuild.xml Thu Feb 16 04:58:52 
2017
@@ -42,12 +42,12 @@
         <section>
             <title>Install Apache Ant</title>
             <p>
-                The POI build system requires <link 
href="https://ant.apache.org/bindownload.cgi";>Apache Ant</link> version 1.8 or 
later
+                The POI build system requires <link 
href="https://ant.apache.org/";>Apache Ant</link>
+                version 1.8 - 1.9.x for Java 1.6 and higher. Newer versions 
(1.10.x) require Java 8 or higher.
             </p>
             <p>
                 Specifically the build has been tested to work with Ant version
-                1.8.4 and 1.9.4. To install the product, download the 
-                distribution and follow the instructions.
+                1.8.4, 1.9.4, and 1.9.9.
             </p>
             <p>
                 Remember to set the ANT_HOME environment variable and add 
@@ -60,7 +60,7 @@
                 The POI build system requires <link 
href="https://forrest.apache.org/";>Apache Forrest</link> to build the 
documentation.
             </p>
             <p>
-                Specifically the build has been tested to work with Forrest 
0.5.x. This is an old release which is available
+                Specifically the build has been tested to work with Forrest 
0.5.x. This is an <b>old release</b> which is available
                <link 
href="https://archive.apache.org/dist/forrest/pre-0.6/";>here</link>.
            </p>
            <p>
@@ -157,6 +157,16 @@
              <link href="overview.html#components">Components Page</link>
              for details of the Maven artifacts available.</p>
         </section>
+        <section>
+            <title>Setting environment variables</title>
+            <p>Linux:
+              <link 
href="https://help.ubuntu.com/community/EnvironmentVariables";>help.ubuntu.com</link>,
+              <link 
href="http://unix.stackexchange.com/questions/117467/how-to-permanently-set-environmental-variables";>unix.stackexchange.com</link>
+            </p>
+            <p>Windows:
+              <link 
href="https://en.wikipedia.org/wiki/Environment_variable#DOS.2C_OS.2F2_and_Windows";>en.wikipedia.org</link>
+            </p>
+        </section>
     </body>
   <footer>
     <legal>

Modified: poi/site/src/documentation/release-guide.txt
URL: 
http://svn.apache.org/viewvc/poi/site/src/documentation/release-guide.txt?rev=1783170&r1=1783169&r2=1783170&view=diff
==============================================================================
--- poi/site/src/documentation/release-guide.txt (original)
+++ poi/site/src/documentation/release-guide.txt Thu Feb 16 04:58:52 2017
@@ -42,10 +42,11 @@
           * <a href="www.openssl.org">openssl</a>
       For Windows users, install Cygwin and make sure you have the above 
utilities
    6a. The POI build system requires two components to perform a build
-          * <a href="https://ant.apache.org";>Ant</a>
-          * <a href="https://forrest.apache.org/";>Forrest</a>.
-      Currently, Forrest needs to be 0.5.x (prefer 0.5.1), Ant 1.8+ should be 
fine
-      Make sure FORREST_HOME is set.
+          * <a href="https://ant.apache.org";>Ant</a> 1.8.x-1.9.x (1.10.x does 
not support Java 6 or 7)
+          * <a href="https://forrest.apache.org/";>Forrest</a> 0.5.x.
+      Currently, Forrest needs to be 0.5.x (prefer 0.5.1).
+      This is an old version, archived at 
https://archive.apache.org/dist/forrest/pre-0.6/
+      Make sure ANT_HOME and FORREST_HOME are set.
 
    6b. To deploy with Maven, you should have the latest stable Maven 2.x.
         POI 3.10-beta2 was deployed with Maven 2.2.1.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to