Building jEditOQMath

These instructions are meant for Unix systems but should also works using a DOS shell

  • Install maven 1.x, also have a Subversion client at the svn command
  • Make a fresh directory, typically called AMauthoring and cd into there
  • Check-out the IdSearch module:

    svn co http://svn.activemath.org/AMauthoring/trunk/projects/IdSearch
  • Build it:

    cd IdSearch

    maven jar:install-snapshot -Dmaven.repo.remote=http://repo1.maven.org/maven,http://www.activemath.org/public-repository/

    cd ..
  • Check-out the OQMath module:

    svn co http://svn.activemath.org/AMauthoring/trunk/projects/OQMath
  • Make sure that QMath is installed in /usr/local/qmath_3 (or change the test source files to point to the correct path)
  • Build it:

    cd OQMath

    maven jar:install-snapshot -Dmaven.repo.remote=http://repo1.maven.org/maven,http://www.activemath.org/public-repository/

    cd ..
  • Build successful will have tested the OQMath compilation of a complete document so you're set, at least for your platform
  • Check-out the OQMathJEditPlugin module:

    svn co http://svn.activemath.org/AMauthoring/trunk/projects/OQMathJEditPlugin
  • Build it:

    cd OQMathJEditPlugin

    maven jar:install-snapshot -Dmaven.repo.remote=http://repo1.maven.org/maven,http://www.activemath.org/public-repository/

    cd ..
  • Checkout the webstart modules... they are here to provide the java web-start packaging facilities. svn co http://svn.activemath.org/AMauthoring/trunk/projects/webstart
  • Get a copy of jEdit-cvs. One simple way is to download jEdit-cvs from our repository. This file containing a single directory jEdit-cvs should be expanded in a directory called projects in the user's home (or add the argument -Djedit_home=path-to-jedit-home).
  • Finally, check-out the jEditOQMath module:

    svn co http://svn.activemath.org/AMauthoring/trunk/projects/jEditOQMath
  • Build it:

    cd jEditOQMath

    maven -Dmaven.repo.remote=http://repo1.maven.org/maven,http://www.activemath.org/public-repository/

    cd ..

    (you may be requested a few signature properties (maven.jnlp.signjar.alias, maven.jnlp.signjar.storepass,maven.jnlp.signjar.store). If unsure what this is, get a tutorial on "self-signing a jar") Typically, these preferences, should be inserted into your ~/build.properties. That step can be ignored to achieve the next step, making sure the failure is at the signjar task. Of course it is needed to obtain a java web start distribution)
  • You can now build an application artifact and try to run it right away:

    cd OQMathJEditPlugin

    maven try:run -Dmaven.repo.remote=http://repo1.maven.org/maven,http://www.activemath.org/public-repository/

Thanks to report questions to paul@activemath.org, the most probable being a lack of some dependencies.

.

What about other ingredients ?

You should be reading the project.xml for precise information as well as the poms inside the public repository. The ActiveMath authoring extracts are built from current CVS using the command maven amAuthorExtracts:install-snapshot, the jEdit artifacts are built from CVS of jEdit (on version 4.2), the QMath archive is pre-compiled (multi-platform), and the jakarta-commons-jelly snapshots are built from svn. These resulting=artifacts are all available from the ActiveMath public repository: http://www.activemath.org/public-repository/