You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Catweathel <ca...@gmx.de> on 2004/02/17 15:00:44 UTC
Can´t built cvs in Win XP
Hi,
compiling the cvs isn´t possible with my WIN XP.
It starts to build and then follows this error:
C:\test\xml-xindice>build
Using Java from C:\j2sdk1.4.2_02
Buildfile: build.xml
src-build:
[javac] Compiling 229 source files to C:\test\xml-xindice\build\classes
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\DatabaseImpl
[javac] symbol : constructor XMLDBException
(int,java.lang.String,java.lang.Exce
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.INVALID_URI,
uri, e);
..
[javac] 29 errors
[javac] 43 warnings
BUILD FAILED
file:C:/test/xml-xindice/build.xml:101: Compile failed; see the compiler
error output for details.
The Classpath seems to be ok. Any ideas?
Thx
Catweathel
Re: AW: Can´t built cvs in Win XP
Posted by Vadim Gritsenko <va...@reverycodes.com>.
Catweathel wrote:
>Hi Vadim,
>
>thanks! I have killed the build dir and also the classpath.
>
>C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\DatabaseImpl.ja
>va:198: cannot resolve symbol
> [javac] symbol : constructor XMLDBException
>(int,java.lang.String,java.lang.Exception)
> [javac] location: class org.xmldb.api.base.XMLDBException
> [javac] throw new XMLDBException(ErrorCodes.INVALID_URI,
>uri, e);
> [javac] ^
> [javac]
>
>
>C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
>a:82: cannot resolve symbol
> [javac] symbol : variable namespaces
> [javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
> [javac] nsMap.includeNamespaces(super.namespaces,
>!API_NS_PRECEDENCE);
> [javac] ^
> [javac]
>C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
>a:91: cannot resolve symbol
> [javac] symbol : variable query
> [javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
> [javac] Enumeration commands = super.query[0].elements();
> [javac] ^
> [javac]
>
>
Well, now it's clear that you are (somehow) using wrong version of
XML:DB API jars. Check that you do not have any other version anywhere
else (including your JDK directories), and try again.
Use XML:DB API JARs which are shipped with Xindice:
xmldb-api-20030701.jar
xmldb-api-sdk-20030701.jar
xmldb-common-20030701.jar
xmldb-xupdate-20040205.jar
Vadim
AW: Can´t built cvs in Win XP
Posted by Catweathel <ca...@gmx.de>.
Hi Vadim,
thanks! I have killed the build dir and also the classpath.
Error txt:
C:\test\xml-xindice>build
java\lib\xerces-2.6.0.jar
1 Datei(en) kopiert.
java\lib\xalan-2.5.2.jar
1 Datei(en) kopiert.
java\lib\xml-apis.jar
1 Datei(en) kopiert.
Using Java from C:\j2sdk1.4.2_02
Buildfile: build.xml
src-build:
[mkdir] Created dir: C:\test\xml-xindice\build\classes
[javac] Compiling 230 source files to C:\test\xml-xindice\build\classes
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\DatabaseImpl.ja
va:198: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,java.lang.String,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.INVALID_URI,
uri, e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\embed\DatabaseI
mpl.java:288: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,java.lang.String,org.apache.xindice.util.XindiceException)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new
XMLDBException(ErrorCodes.UNKNOWN_ERROR,
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\ResourceSetImpl
.java:113: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new
XMLDBException(ErrorCodes.UNKNOWN_ERROR, e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\services\XUpdat
eQueryServiceImpl.java:66: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,java.lang.String,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.VENDOR_ERROR,
"Unable to retrieve <src:modified> element content from server result", e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\services\XUpdat
eQueryServiceImpl.java:73: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,java.lang.String,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.VENDOR_ERROR,
"<src:modified> in server result did not contain a valid count", e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:131: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,int,java.lang.String,org.apache.xmlrpc.XmlRpcException)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
FaultCodes.GEN_GENERAL_ERROR,
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:134: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,int,java.lang.String,java.io.IOException)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
FaultCodes.GEN_GENERAL_ERROR,
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:186: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:214: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:257: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:329: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:411: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new
XMLDBException(ErrorCodes.NO_SUCH_RESOURCE, e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:443: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:472: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:502: cannot resolve symbol
[javac] symbol : constructor XMLDBException (int,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR,
e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:578: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,java.lang.String,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new
XMLDBException(ErrorCodes.INVALID_COLLECTION, "Cannot create child
collection", e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Collecti
onImpl.java:601: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,java.lang.String,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new
XMLDBException(ErrorCodes.INVALID_COLLECTION,
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Database
Impl.java:208: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,java.lang.String,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new
XMLDBException(ErrorCodes.VENDOR_ERROR,
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\xmlrpc\Database
Impl.java:293: cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,java.net.MalformedURLException)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] throw new XMLDBException(ErrorCodes.INVALID_URI, e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Types.java:103:
warning: org.apache.xindice.core.data.Variant in org.apache.xind
ice.core.data has been deprecated
[javac] } else if (c == Variant.class) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:54:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.STRING;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:59:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.BOOLEAN;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:64:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.BYTE;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:69:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.CHAR;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:74:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.SHORT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:79:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.INT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:84:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.LONG;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:89:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.FLOAT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:94:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.DOUBLE;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:99:
warning: org.apache.xindice.core.data.Types in org.apache.xindi
ce.core.data has been deprecated
[javac] type = Types.ELEMENT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:104:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.DOCUMENT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:109:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.DOCUMENTFRAGMENT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:114:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.OBJECT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:140:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.STRING;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:150:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.BOOLEAN;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:160:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.BYTE;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:170:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.CHAR;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:180:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.SHORT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:190:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.INT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:200:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.LONG;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:210:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.FLOAT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:220:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.DOUBLE;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:230:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.ELEMENT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:240:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.DOCUMENT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:250:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] type = Types.DOCUMENTFRAGMENT;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:260:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] this.type = this.value != null ? Types.OBJECT
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:261:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] : Types.EMPTY;
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:270:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.STRING) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:283:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.BOOLEAN) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:296:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.BYTE) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:309:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.CHAR) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:322:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.SHORT) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:335:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.INT) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:348:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.LONG) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:361:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.FLOAT) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:374:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.DOUBLE) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:387:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.ELEMENT) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:400:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.DOCUMENT) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:413:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] if (type == Types.DOCUMENTFRAGMENT) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:437:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] case Types.ELEMENT:
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:438:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] case Types.DOCUMENT:
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\data\Variant.java:439:
warning: org.apache.xindice.core.data.Types in org.apache.xind
ice.core.data has been deprecated
[javac] case Types.DOCUMENTFRAGMENT:
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\FaultCodes.java:255:
cannot resolve symbol
[javac] symbol : constructor XMLDBException
(int,int,java.lang.String,java.lang.Exception)
[javac] location: class org.xmldb.api.base.XMLDBException
[javac] return new XMLDBException(errorCode, faultCode, message,
e);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:82: cannot resolve symbol
[javac] symbol : variable namespaces
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac] nsMap.includeNamespaces(super.namespaces,
!API_NS_PRECEDENCE);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:91: cannot resolve symbol
[javac] symbol : variable query
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac] Enumeration commands = super.query[0].elements();
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:92: cannot resolve symbol
[javac] symbol : variable query
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac] Enumeration attributes = super.query[1].elements();
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:93: cannot resolve symbol
[javac] symbol : variable query
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac] Enumeration characters = super.query[2].elements();
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:106: cannot resolve symbol
[javac] symbol : variable commandConstants
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac]
super.commandConstants.setContextNode(contextNode);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:107: cannot resolve symbol
[javac] symbol : variable commandConstants
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac] currentCommand =
super.commandConstants.commandForID(id);
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:153: cannot resolve symbol
[javac] symbol : variable query
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac] for (int i = 0; i < super.query[0].size(); i++) {
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:154: cannot resolve symbol
[javac] symbol : variable query
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac] int cmdID = ((Integer)
super.query[0].elementAt(i)).intValue();
[javac] ^
[javac]
C:\test\xml-xindice\java\src\org\apache\xindice\core\xupdate\XUpdateImpl.jav
a:157: cannot resolve symbol
[javac] symbol : variable query
[javac] location: class org.xmldb.xupdate.lexus.XUpdateQueryImpl
[javac] Hashtable attribs = (Hashtable)
super.query[1].elementAt(attribIndex);
[javac] ^
[javac] 29 errors
[javac] 43 warnings
BUILD FAILED
file:C:/test/xml-xindice/build.xml:101: Compile failed; see the compiler
error output for details.
Total time: 18 seconds
AW: Can´t built cvs in Win XP
Posted by Catweathel <ca...@gmx.de>.
Hi Vadim,
thanks for your help! It works.
Cu
Catweathel
Re: Can´t built cvs in Win XP
Posted by Vadim Gritsenko <va...@reverycodes.com>.
Catweathel wrote:
> Hi,
>
> compiling the cvs isn´t possible with my WIN XP.
>
> It starts to build and then follows this error:
>
> C:\test\xml-xindice>build
>
> Using Java from C:\j2sdk1.4.2_02
>
> Buildfile: build.xml
>
> src-build:
>
> [javac] Compiling 229 source files to C:\test\xml-xindice\build\classes
>
> [javac]
> C:\test\xml-xindice\java\src\org\apache\xindice\client\xmldb\DatabaseImpl
>
> [javac] symbol : constructor XMLDBException
> (int,java.lang.String,java.lang.Exce
>
> [javac] location: class org.xmldb.api.base.XMLDBException
>
> [javac] throw new XMLDBException(ErrorCodes.INVALID_URI, uri, e);
>
> …..
>
> [javac] 29 errors
>
> [javac] 43 warnings
>
> BUILD FAILED
>
> file:C:/test/xml-xindice/build.xml:101: Compile failed; see the
> compiler error output for details.
>
> The Classpath seems to be ok. Any ideas?
>
You should not be using any classpath at all. Try removing classpath,
and remove "build/" directory completely. Also, provide error message -
it seems you cut the error message when posting the build log.
Vadim