[Objectscript-users] issues building objectscript with sun java 1.5.0_05
Brought to you by:
rob_d_clark
|
From: Lysander D. <sa...@sb...> - 2005-11-24 01:55:54
|
Hi,
When building objectscript 1.9.2 using sun java
1.5.0_05,
I initially get this error:
[javac]
C:\home\ldavid\explore\os\regexp\orig\oscript-2.9.2\oscript\oscript\parser\OscriptParser.java:4765:
as of release 1.5, 'enum' is a keyword, and may not be
used as an identifier
[javac] (try -source 1.4 or lower to use 'enum' as
an identifier)
[javac] for (java.util.Enumeration enum =
jj_expentries.elements(); enum.hasMoreElements();) {
After applying the attached enum.pat to
oscript/oscript/parser/OscriptParser.java
( e.g. patch -p0 < enum.pat from the parent of
oscript and oscom )
the build can proceed past that error however
it then fails with this error:
[javac] error: error reading
C:\home\ldavid\explore\os\regexp\orig\oscript-2.9.2\lib\jawin.dll;
error in opening zip file
[javac] 1 error
After applying the attached properties.pat to
oscom/build.properties
( e.g. patch -p0 < properties.pat from the parent of
oscript and oscom )
the build can complete successfully.
Lysander |