[jdom-interest] Ambiguous references and trouble compiling beta-8

Emmett McLean emmettwa at onebox.com
Mon Sep 9 14:35:33 PDT 2002


I'm getting discouraged ...

1. README.txt says all that you have to do is set JAVA_HOME.
   No installation instructions beyond that.

2. There is no JAVA 1 or JAVA 2 version. Only one version
   available at http://www.jdom.org/dist/binary/

3. I've duplicated the failing compilation on Solaris UNIX.

Thanks for trying.

Cheers,

em

-- 
Emmett McLean
emmettwa at onebox.com - email
(866) 841-9139 x1160 - voicemail/fax



---- Ian Lea <ian at digimem.net> wrote:
> Perhaps you have tried to build the 1.1 version.  That
> changes the import lines in the source files, I think.
> 
> Either study README.txt and figure out how to get back
> to the 1.2+ versions, or start again from scratch and
> steer well clear of collections.jar and anything with
> 11 in the name.  Or forget about building it yourself
> and just use build/jdom.jar.
> 
> 
> 
> --
> Ian.
> ian at digimem.net
> 
> 
> > emmettwa at onebox.com (Emmett McLean) wrote 
> >
> > This is what happens without collections.jar
> > 
> > 
> >  ! www1:/usr>cd jdom-b8
> >  ! www1:/usr/jdom-b8>ant
> > Buildfile: build.xml
> > 
> > init:
> >      [echo] ----------- JDOM 1.0beta8-dev [2002] ------------
> > 
> > prepare:
> > 
> > prepare-src:
> > 
> > collections:
> > 
> > compile:
> >     [javac] Compiling 31 source files to C:\cygwin\usr\jdom-b8\build\classes
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\AttributeList.java:60:
> > Package com.sun.java.uti
> > l.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\ContentList.java:60:
> > Package com.sun.java.util.
> > collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\Document.java:61:
> > Package com.sun.java.util.col
> > lections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\Element.java:61:
> > Package com.sun.java.util.coll
> > ections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\input\DefaultJDOMFactory.java:61:
> > Package com.s
> > un.java.util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\input\JDOMFactory.java:61:
> > Package com.sun.java
> > .util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\input\DOMBuilder.java:62:
> > Package com.sun.java.
> > util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\input\SAXBuilder.java:63:
> > Package com.sun.java.
> > util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\input\SAXHandler.java:63:
> > Package com.sun.java.
> > util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\Namespace.java:60:
> > Package com.sun.java.util.co
> > llections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\output\DOMOutputter.java:62:
> > Package com.sun.ja
> > va.util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\output\NamespaceStack.java:59:
> > Package com.sun.
> > java.util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\output\SAXOutputter.java:63:
> > Package com.sun.ja
> > va.util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\output\XMLOutputter.java:61:
> > Package com.sun.ja
> > va.util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\ProcessingInstruction.java:61:
> > Package com.sun.
> > java.util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >     [javac] C:\cygwin\usr\jdom-b8\build\src\org\jdom\transform\JDOMResult.java:61:
> > Package com.sun.j
> > ava.util.collections not found in import.
> >     [javac] import java.util.*;\u000aimport com.sun.java.util.collections.*;
> >     [javac]                                 ^
> >  ! www1:/usr/jdom-b8>
> > -- 
> > Emmett McLean
> > emmettwa at onebox.com - email
> > (866) 841-9139 x1160 - voicemail/fax
> > 
> >  
> > 
> ----------------------------------------------------------------------
> Searchable personal storage and archiving from http://www.digimem.net/
>  



More information about the jdom-interest mailing list