I also had problems with javacc 4.0 and had to add some new constructors to JavaCharStream
public JavaCharStream(java.io.InputStream dstream, String ecoding, int startline,
int startcolumn) throws UnsupportedEncodingException {
this(dstream, startline, startcolumn, 4096);
}
public void ReInit(java.io.InputStream dstream, String encoding, int startline,
int startcolumn) throws UnsupportedEncodingException {
ReInit(dstream, startline, startcolumn, 4096);
}
It would be nice if instead of using repeated ID="" attributes in the HTML CLASS="" were used since for valid HTML IDs should be unique, also It would be useful to reference certain elements with IDs so they can be manipulated in the stylesheet. Do you accept patches?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi I had some problems with the build compiling on Linux the following changes solved the problem
<!--Ensure API Examples Compile-->
<property environment="env"/>
<mkdir dir="${env.user.home}/.temp_compile"/>
<javac srcdir="..\src\www\api_examples"
fork="yes"
executable="${javac_bin}"
compiler="javac1.1"
classpath="${output_classes}"
optimize="on"
destdir="${env.user.home}/.temp_compile"
/>
<delete dir="${env.user.home}/.temp_compile"/>
I also had problems with javacc 4.0 and had to add some new constructors to JavaCharStream
public JavaCharStream(java.io.InputStream dstream, String ecoding, int startline,
int startcolumn) throws UnsupportedEncodingException {
this(dstream, startline, startcolumn, 4096);
}
public void ReInit(java.io.InputStream dstream, String encoding, int startline,
int startcolumn) throws UnsupportedEncodingException {
ReInit(dstream, startline, startcolumn, 4096);
}
It would be nice if instead of using repeated ID="" attributes in the HTML CLASS="" were used since for valid HTML IDs should be unique, also It would be useful to reference certain elements with IDs so they can be manipulated in the stylesheet. Do you accept patches?
Yep, will accept patches. Thanks for your help.
Jason
I checked in a change for the ant build script.
I will sort out the Javacc 4.0 problem soon. To be honest I've been using JavaCC 3.2.
I will probably check-in the JavaCC 4.0 dependency, so people dont have to seach for it on the net.
What's the usual practise on SF for handling these dependencies.
Jason