jsdoc3/rhino

Can't build with ant script

Opened this issue · 0 comments

This project can't build since XMLBeans was retired in June 2014. I was able to find the required files to build XMLBeans 2.6.0 and eventually build this project with xbeans.jar and jsr173_1.0_api.jar.

Note: ant will not build with Java 1.8.

  • Builds on Windows 7 JDK 1.7
  • Builds on Windows 8 JDK 1.7
  • Builds on OS X 10.10 JDK 1.7

Here's some info on running ant with the java command: https://ant.apache.org/manual/running.html

For anyone wishing to do this follow here:

  1. Clone XMLBeans: git clone git://git.apache.org/xmlbeans.git or svn checkout http://svn.apache.org/repos/asf/xmlbeans/tags/2.6.0/
  2. Download jsr173_1.0
  3. Move jsr173_1.0.jar to external/lib.
  4. Make a copy of jsr173_1.0.jar and rename the copy to jsr173_1.0_api_bundle.jar
  5. Rename jsr173_1.0.jar to jsr173_1.0_api.jar
  6. Run ant and all files will be in build/lib

To build this jar do the following:

  1. Clone this project git clone https://github.com/jsdoc3/rhino
  2. Copy xbean.jar and jsr173_1.0_api.jar into /lib
  3. Run ant jar

Kind of a hacky way to go about it but I tested js.jar and everything seemed to be working just as well – all of the tests passed.