[kepler-dev] compatible with Java 1.5
Zhijie Guan
guan at sdsc.edu
Mon Apr 24 14:38:26 PDT 2006
Dan and Christopher,
Thank you for your prompt reply. The errors are removed after I
updated PTII. Yes. The enum problem is only a warning as shown in the
below. I would like to accept it as far as it does not bother the
build. B->
Zhijie
[javac] /Users/zhijieguan/work/kepler/build/src/org/sdm/spa/
MessageBasedWebService.java:87: warning: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
[javac] (try -source 1.5 to use 'enum' as a keyword)
[javac] import org.apache.axis.enum.Style;
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 warning
On Apr 24, 2006, at 12:48 PM, Christopher Brooks wrote:
>
> The IconLoader problems should be fixed if you cvs update ptII.
> I've run Kepler under Java 1.5 with no problem.
> The enum problem is a warning, nothing else
> _Christopher
>
> --------
>
> Hi,
>
> I forget if the issue of the compatibility of Kepler to Java
> 1.5 has
> been discussed in this list or not. If we have a solution, please
> remind me. Just let me know how to fix the following problems.
>
> Thanks.
>
> I cannot compile Kepler on my Mac since my Mac updated itself
> to Java
> 1.5 last Friday. The build process reported the following errors:
>
> [javac] /Users/zhijieguan/work/kepler/build/src/org/sdm/spa/
> MessageBasedWebService.java:87: warning: as of release 1.5,
> 'enum' is
> a keyword, and may not be used as an identifier
> [javac] (try -source 1.5 to use 'enum' as a keyword)
> [javac] import org.apache.axis.enum.Style;
> [javac] ^
> [javac] /Users/zhijieguan/work/kepler/build/src/ptolemy/
> kernel/
> util/KeplerIconLoader.java:36: cannot find symbol
> [javac] symbol : class IconLoader
> [javac] location: package ptolemy.moml
> [javac] import ptolemy.moml.IconLoader;
> [javac] ^
> [javac] /Users/zhijieguan/work/kepler/build/src/ptolemy/
> kernel/
> util/KeplerIconLoader.java:54: cannot find symbol
> [javac] symbol: class IconLoader
> [javac] public class KeplerIconLoader implements IconLoader {
> [javac] ^
> [javac] Note: Some input files use or override a
> deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] 2 errors
> [javac] 1 warning
>
>
> It is a depreciated API problem.
>
> Zhijie
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/
> kepler-dev
> --------
More information about the Kepler-dev
mailing list