Author: mrglavas
Date: Sat Dec 10 19:48:25 2011
New Revision: 1212859

URL: http://svn.apache.org/viewvc?rev=1212859&view=rev
Log:
Fixing JIRA Issue #1545: http://issues.apache.org/jira/browse/XERCESJ-1545. 
Allow docs to be built on Mac OS X and other Unix environments by running in 
AWT headless mode. Solution thanks to Joshua Root, slightly different than his 
suggested patch but does the same thing.

Modified:
    xerces/java/branches/xml-schema-1.1-dev/build.xml

Modified: xerces/java/branches/xml-schema-1.1-dev/build.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/build.xml?rev=1212859&r1=1212858&r2=1212859&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/build.xml (original)
+++ xerces/java/branches/xml-schema-1.1-dev/build.xml Sat Dec 10 19:48:25 2011
@@ -430,6 +430,7 @@ Authors:
           
classpath="${java.class.path}:${doc.generator.package}:./tools/xalan.jar"
           classname="${doc.generator}"
           failOnError="yes">
+      <sysproperty key="java.awt.headless" value="true"/>
       <arg value="targetDirectory=${build.docs}"/>
       <arg value="${build.dir}/xdocs/docs-book.xml"/>
       <arg value="${build.dir}/xdocs/style"/>



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

Reply via email to