[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-user
Subject:    Re: Offending JDK 1.2 code
From:       Dan Diephouse <diephouse () compassarts ! org>
Date:       2000-07-28 3:01:54
[Download RAW message or body]

I have one other problem with compilation.  You didn't see it last time because
I was trying to fix it on my own, and gave you the error you mentioned below.
Anyways here are the compilation errors.  Thanks again,

Dan Diephouse


Building Slide Core API
    [javac] Compiling 105 source files to /usr/home/dan/WDev/build/slide/classes
    [javac]
/usr/home/dan/WDev/jakarta-slide/src/share/org/apache/slide/content/NodeRevisionDescriptor.java:71:
Class java.util.Collection not found in import.
    [javac] import java.util.Collection;
    [javac]        ^
    [javac]
/usr/home/dan/WDev/jakarta-slide/src/share/org/apache/slide/store/ContentStoreFilesystemImpl.java:245:
Method createNewFile() not found in class java.io.File.
    [javac]             boolean created = file.createNewFile();
    [javac]                                                 ^
    [javac] 2 errors

BUILD FAILED

Dan Diephouse wrote:

> Remy Maucherat wrote:
>
> > > I am trying to compile slide on my FreeBSD machine.  Unfortunately JDK
> > > 1.2 is not available for it.  There are a few problems with references
> > > to JDK 1.2 code in the code.  Below is a list of the errors.  I would
> > > appreciate it if somebody could fix these in the repository so I could
> > > use slide...
> >
> > >
> > /usr/home/dan/WDev/jakarta-slide/src/share/org/apache/slide/store/Descriptor
> > sStoreDatabaseImpl.java:1327:
> > > Incompatible type for constructor. Can't convert java.util.Vector to
> > > com.sun.java.util.collections.Vector.
> > >     [javac]                 (revisionNumber, branchName, labels,
> > > properties);
> > >     [javac]                                              ^
> > >     [javac]
> >
> > All the other errors should be fixed now, but I don't understand that error.
> >
>
> Ooops :)  I was just fooling around with trying to make the collections class
> work with it.  This is not what the original code said.  Thanks for fixing the
> errors!  This is GREATLY appreciated!
>
> Dan Diephouse

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic