Compiling GUESS Yourself

InfoInfo
Search:    

Compiling GUESS Yourself

I'm not sure I would recommend this unless you really need some change (I know what a mess my code is), but it's easy enough:

FWIW, GUESS is generally compiled with jdk1.5 or jdk1.6 on a 32bit windows machine.

So... if for some reason it doesn't work for you because of version issues and you're a little ambitious...the general instructions are:

  1. Get GUESS from CVS: [WWW]http://sourceforge.net/cvs/?group_id=146031

  2. Get JavaCC: https://javacc.dev.java.net/

  3. Get Ant: [WWW]http://ant.apache.org/

  4. Make sure you have the Java Media Framework installed: [WWW]http://java.sun.com/products/java-media/jmf/

  5. Modify build.xml to point at where you installed javacc and the Java Media Framework

  6. make sure your path is set correctly (you can modify/use setvarbs.bat)

  7. type "ant" (as usual "ant clean" wipes the build directory).

Hopefully you have a new guess.jar file at the end

Notes:

1) The build file will try to execute pyexport.bat which is a batch file wrapper around a perl script. It generates some of the python scripts from the source code, but they are also checked in. In other words, you're probably ok if you don't have it run. If you're on linux or some other OS, and really want to run this you can probably yank out the perl script (everything after line 15 or so) and put it in a regular perl file.

2) If you are trying to build the demo target which is an example of GUESS embeded inside of another application (i.e. "ant demo"), you will need to have guess.jar built already (or downloaded from a full install)

This is a Wiki Spot wiki. Wiki Spot is a non-profit organization that helps communities collaborate via wikis.