Hi Peter,
These should all be fixed in SVN now.
I find it quite remarkable that between JDK 1.5.0 and
JDK 1.5.0 update 4 they made so many incompatible changes.
couldn't they at least have bumped the minor version number.
Peter Garza wrote:
Thomas DeWeese wrote:
Peter Garza wrote:
No luck. I've tried svn and downloading the batik-src-05-07-18.zip
file. The build starts, then I get errors starting with the
LICENSE.xalan-2.6.0.jar ("error in opening zip file"). Then a bunch
of other messages flash by and the build fails (9 errors and 33
warnings).
I'm on Windows, using JDK 1.5 Update 4.
Any ideas?
The LICENSE.xalan-2.6.0.jar error I think can be ignored (it
should be LICENSE.xalan-2.6.0.txt. While I got a bunch of warnings
I only got one error. I have fixed the error I got and renamed the
license file appropriately and committed them to SVN. So you should
be able to just use 'svn update' in the very top directory of Batik.
Assuming this doesn't fix the problem for you, can you post the
errors you get when building?
The LICENSE seems to have cleared up 2 errors and quite a few warnings.
Here are the rest. I've trimmed some of the path names down to the
directory for SVN:
-----
Buildfile: build.xml
init-args:
init:
compile:
debug off, optimize on, deprecation on
Compiling 1196 source files to (...)\svn\trunk\classes
(...)\svn\trunk\sources\org\apache\batik\apps\svgbrowser\PNGOptionPanel.java:86:
warning: [deprecation] show() in java.awt.Dialog has been deprecated
dialog.show();
^
(...)\svn\trunk\sources\org\apache\batik\apps\svgbrowser\SVGOptionPanel.java:83:
warning: [deprecation] show() in java.awt.Dialog has been deprecated
dialog.show();
^
(...)\svn\trunk\sources\org\apache\batik\ext\awt\image\renderable\TileRable8Bit.java:363:
cannot find symbol
symbol : constructor RenderingHints(java.awt.RenderingHints)
location: class java.awt.RenderingHints
hints = new RenderingHints(hints);
^
(...)\svn\trunk\sources\org\apache\batik\gvt\renderer\StaticRenderer.java:116:
cannot find symbol
symbol : constructor RenderingHints(java.awt.RenderingHints)
location: class java.awt.RenderingHints
renderingHints = new RenderingHints(rh);
^
(...)\svn\trunk\sources\org\apache\batik\gvt\renderer\StaticRenderer.java:124:
cannot find symbol
symbol : constructor RenderingHints(java.awt.RenderingHints)
location: class java.awt.RenderingHints
renderingHints = new RenderingHints(defaultRenderingHints);
^
(...)\svn\trunk\sources\org\apache\batik\gvt\renderer\StaticRenderer.java:178:
cannot find symbol
symbol : constructor RenderingHints(java.awt.RenderingHints)
location: class java.awt.RenderingHints
renderingHints = new RenderingHints(rh);
^
(...)\svn\trunk\sources\org\apache\batik\util\gui\CSSMediaPanel.java:252:
warning: [deprecation] show() in java.awt.Dialog has been deprecated
dialog.show();
^
(...)\svn\trunk\sources\org\apache\batik\util\gui\CSSMediaPanel.java:269:
warning: [deprecation] show() in java.awt.Dialog has been deprecated
dialog.show();
^
(...)\svn\trunk\sources\org\apache\batik\util\gui\CSSMediaPanel.java:295:
warning: [deprecation] show() in java.awt.Dialog has been deprecated
dialog.show();
^
(...)\svn\trunk\sources\org\apache\batik\util\gui\LanguageDialog.java:135:
warning: [deprecation] show() in java.awt.Dialog has been deprecated
show();
^
(...)\svn\trunk\sources\org\apache\batik\util\gui\LanguageDialog.java:397:
compareTo(java.lang.String) in java.lang.String cannot be applied to
(java.lang.Object)
if (s.compareTo(o) > 0) {
^
(...)\svn\trunk\sources\org\apache\batik\util\gui\LanguageDialog.java:511:
compareTo(java.lang.String) in java.lang.String cannot be applied to
(java.lang.Object)
if (s.compareTo(o) > 0) {
^
(...)\svn\trunk\sources\org\apache\batik\util\gui\LanguageDialog.java:561:
compareTo(java.lang.String) in java.lang.String cannot be applied to
(java.lang.Object)
if (s.compareTo(o) > 0) {
^
(...)\svn\trunk\sources\org\apache\batik\util\gui\UserStyleDialog.java:129:
warning: [deprecation] show() in java.awt.Dialog has been deprecated
show();
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors
7 warnings
BUILD FAILED
(...)\svn\trunk\build.xml:432: Compile failed, messages should have been
provided.
Total time: 59 seconds
-----
That's what I get from typing "build.bat jars". Hope all that means
something to you. :)
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]