I think the Subversion build instructions should be improved in some points:

Adding the JAR files required for Ant to $HOME/.ant/lib polluted my
Ant environment for the Google Closure compiler build (Closure uses a
custom version of Rhino).

The Google Closure Ant build, for example, adds the JAR files to the
<path> elements, e.g.
http://code.google.com/p/closure-compiler/source/browse/trunk/build.xml
  <path id="srcclasspath.path">
    <pathelement location="${classes.dir}" />
    <fileset dir="${lib.dir}">
      <include name="args4j.jar"/>
      <include name="guava.jar"/>
      <include name="json.jar"/>
      <include name="jsr305.jar"/>
      <include name="protobuf-java.jar"/>
    </fileset>
    <fileset dir="${buildlib.dir}">
      <include name="rhino.jar"/>
    </fileset>
  </path>

That would be the better solution for OpenLaszlo as well, wouldn't it?
I normally install a custom version of Ant, next to the one already
available through the OS. If the Ant version of the OS is updated, I
don't need to worry about possible conflicts with the Ant setup for my
OpenLaszlo build. Any comments?

Reply via email to