Simple template build script for extensions

Issue #18 resolved
Jesper Öqvist created an issue

The JastAddJ build scripts become more and more complicated for each Java version because each Java module must explicitly include the source files from previous modules.

It would be great if we could make a template build script for people who wish to extend JastAddJ.

One possible approach would be to include the build.xml for the target Java module and then set some properties to specify extension source files using XML external entities.

Comments (3)

  1. Jesper Öqvist reporter

    First extension build script draft:

    <project name="JastAddJ Extension Example" default="build">
        <property name="jj.root" location="${basedir}/../jastaddj"/>
        <property name="bin.dir" location="bin"/>
    
        <property name="extension.rags.dir" location="jastadd"/>
        <property name="extension.src.dir" location="src"/>
    
        <import file="${jj.root}/java7/build.xml"/>
    </project>
    
  2. Log in to comment