Um, I'm still getting the exact same errors (sorry for the delay, had
other things going on). I just updated yesterday, and today.
here's the error again:
Buildfile: build.xml
compile:
[delete] Deleting directory C:\cygwin\home\Chris\geonetwork\.build
[mkdir] Created dir: C:\cygwin\home\Chris\geonetwork\.build
[javac] Compiling 93 source files to
C:\cygwin\home\Chris\geonetwork\.build
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:11:
package org.fao.geonet.util does not exist
[javac] import org.fao.geonet.util.*;
[javac] ^
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:114:
cannot resolve symbol
[javac] symbol : class McKoiDB
[javac] location: class org.fao.geonet.apps.setup.Setup
[javac] private McKoiDB setupMcKoi(String installDir, Element jdbc)
throws Exception
[javac] ^
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:63:
cannot resolve symbol
[javac] symbol : class McKoiDB
[javac] location: class org.fao.geonet.apps.setup.Setup
[javac] McKoiDB mcKoiDB = setupMcKoi(installDir, jdbc);
[javac] ^
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:126:
cannot resolve symbol
[javac] symbol : class McKoiDB
[javac] location: class org.fao.geonet.apps.setup.Setup
[javac] McKoiDB mcKoi = new McKoiDB();
[javac] ^
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:126:
cannot resolve symbol
[javac] symbol : class McKoiDB
[javac] location: class org.fao.geonet.apps.setup.Setup
[javac] McKoiDB mcKoi = new McKoiDB();
[javac] ^
[javac] Note:
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\services\util\z3950\GNSearchTask.java
uses or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 5 errors
Looking at the code in class Setup.java there's no direct import of
McKoiDB, and it's not in the same package or in the
There still appears to be no geonet.util class. I tried using
net.sf.tapestry.contrib.mckoi.McKoiDB, as it's a class in the
WEB-INF/lib directory but got this set of errors:
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:107:
cannot access org.jboss.system.ServiceMBeanSupport
[javac] file org\jboss\system\ServiceMBeanSupport.class not found
[javac] if (mcKoiDB != null)
[javac] ^
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:110:
cannot resolve symbol
[javac] symbol : method stop ()
[javac] location: class net.sf.tapestry.contrib.mckoi.McKoiDB
[javac] mcKoiDB.stop();
[javac] ^
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:147:
cannot resolve symbol
[javac] symbol : method setConfigFile (java.lang.String)
[javac] location: class net.sf.tapestry.contrib.mckoi.McKoiDB
[javac] mcKoi.setConfigFile(dbPath);
[javac] ^
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:151:
cannot resolve symbol
[javac] symbol : method create (java.lang.String,java.lang.String)
[javac] location: class net.sf.tapestry.contrib.mckoi.McKoiDB
[javac] mcKoi.create(user, password);
[javac] ^
[javac]
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:154:
cannot resolve symbol
[javac] symbol : method start ()
[javac] location: class net.sf.tapestry.contrib.mckoi.McKoiDB
[javac] mcKoi.start();
Any other suggestions? I'd like to get working off of cvs, may even be
able to contribute stuff back...
thanks,
Chris
I"m sure you did a cvs checkout when I was commiting my changes.
Try again now.
Cheers,
Andrea
Alle 12:07, giovedì 19 maggio 2005, Chris Holmes ha scritto:
> Hey all, I just checked out from cvs, and typed "ant" and "ant
compile"
> and got the following errors:
>
> Buildfile: build.xml
>
> compile:
> [delete] Deleting directory C:\cygwin\home\Chris\geonetwork\.build
> [mkdir] Created dir: C:\cygwin\home\Chris\geonetwork\.build
> [javac] Compiling 93 source files to
> C:\cygwin\home\Chris\geonetwork\.build
> [javac]
>
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:11:
> package org.fao.geonet.util does not exist
> [javac] import org.fao.geonet.util.*;
> [javac] ^
> [javac]
>
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:114:
> cannot resolve symbol
> [javac] symbol : class McKoiDB
> [javac] location: class org.fao.geonet.apps.setup.Setup
> [javac] private McKoiDB setupMcKoi(String installDir, Element
> jdbc) throws Exception
> [javac] ^
> [javac]
>
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:63:
> cannot resolve symbol
> [javac] symbol : class McKoiDB
> [javac] location: class org.fao.geonet.apps.setup.Setup
> [javac] McKoiDB mcKoiDB = setupMcKoi(installDir, jdbc);
> [javac] ^
> [javac]
>
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:126:
> cannot resolve symbol
> [javac] symbol : class McKoiDB
> [javac] location: class org.fao.geonet.apps.setup.Setup
> [javac] McKoiDB mcKoi = new McKoiDB();
> [javac] ^
> [javac]
>
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\apps\setup\Setup.java:126:
> cannot resolve symbol
> [javac] symbol : class McKoiDB
> [javac] location: class org.fao.geonet.apps.setup.Setup
> [javac] McKoiDB mcKoi = new McKoiDB();
> [javac] ^
> [javac] Note:
>
C:\cygwin\home\Chris\geonetwork\src\org\fao\geonet\services\util\z3950\GNSearchTask.java
> uses or overrides a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 5 errors
>
> Is there some class that wasn"t committed?
>
> thanks,
>
> Chris
>
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/