How to use gump to compile kaffe, classpath, etc

In an effort to make it easier to get a gump run in place that bootstraps the java environment...

  • follow the getting started documentation (might look at BrutusConfig for info on the dependencies on a debian system).
  • edit ./freej-gump-run and set JAVA_HOME if neccessary
  • run ./freej-gump-run which lives in the gump trunk.

complain that it doesn't work on the general at gump dot apache dot org mailing list :-D

Using a specific version or stable branch

Specify the CVS tag for the version to use on the module definition. See http://gump.apache.org/metadata/module.html#cvs. You'll probably want to keep these module definitions in parallel so you need to set the module attribute on the module definition as well. For example:

<module module="classpath" name="classpath-STABLE" tag="STABLE">
  <!-- ... -->
  <project name="classpath-STABLE-autogen">
    <script name="autogen"/>
    <home nested="dest-@[[Date(2005-02-27T14:06:02Z)]]@"/>
  </project>

  <project name="classpath-STABLE-configure">
    <configure>
      <arg name="--prefix" path="dest-@[[Date(2005-02-27T14:06:02Z)]]@"/>
      <arg name="--disable-gtk-peer" value="true"/>
    </configure>
    <home nested="dest-@[[Date(2005-02-27T14:06:02Z)]]@"/>
    
    <depend name="classpath-STABLE-autogen"/>
  </project>
  <!-- ... -->
</module>

Note that if you change project or module names, you should be careful to change them everywhere...

  • No labels