Hi Michael.

Bishop, Michael W. CONTR J9C880:
> I'm trying to build the nightly build: batik-svn-07-01-18.zip and I get
> the following error in JDK 1.4:
…
>     [javac]
> C:\projects\xml-batik\sources\org\apache\batik\apps\svgbrowser\Preferenc
> eDialog.java:946: cannot resolve symbol
> 
>     [javac] symbol  : constructor FileDialog
> (org.apache.batik.apps.svgbrowser.PreferenceDialog)
> 
>     [javac] location: class java.awt.FileDialog
> 
>     [javac]                     new FileDialog(PreferenceDialog.this);
> 
>     [javac]                     ^
> 
>     [javac]
> C:\projects\xml-batik\sources\org\apache\batik\dom\svg\SVGURIReferenceSu
> pport.java:37: cannot resolve symbol
> 
>     [javac] symbol  : method getAnimatedStringAttribute
> (java.lang.String,java.lang.String)
> 
>     [javac] location: class org.apache.batik.dom.svg.SVGOMElement
> 
>     [javac]         return ((SVGOMElement)elt).
> 
>     [javac]                ^
> 
>     [javac] 2 errors
> 
>     [javac] 2 warnings
> 
>  
> 
> Java 1.4.2 only accepts Frame objects in the FileDialog constructor.
> Java 5.0 accepts Dialog objects.  Is Batik only to be compiled under
> Java 5.0, or is this an oversight?

It’s an oversight.  I just committed a version of the file that uses the
no-argument constructor.

Also, the SVGURIReferenceSupport.java file is no longer in the
repository, so it should not be in the SVN snapshot you downloaded.  You
should delete it.

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to