db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siddharth srivastava <akssps...@gmail.com>
Subject Unable to build tests
Date Sat, 18 Dec 2010 12:24:09 GMT
*This is the output of printCompilerProperties=true in ant.properties*

[echo] Before setting properties:  compilerPropsAlreadySet =
${compilerPropsAlreadySet}
     [echo] Before setting properties:  compilerLevel16 = 1.6
     [echo] Before setting properties:  jsr169compile.classpath =
${jsr169compile.classpath}
     [echo] Before setting properties:  j14lib = ${j14lib}
     [echo] Before setting properties:  java14compile.classpath =
${java14compile.classpath}
     [echo] Before setting properties:  j15lib = ${j15lib}
     [echo] Before setting properties:  java15compile.classpath =
${java15compile.classpath}
     [echo] Before setting properties:  j16lib = ${j16lib}
     [echo] Before setting properties:  java16compile.classpath =
${java16compile.classpath}
     [echo] After setting properties:  compilerPropsAlreadySet = true
     [echo] After setting properties:  compilerLevel16 = 1.6
     [echo] After setting properties:  jsr169compile.classpath =
/home/siddharth/der/classes/stubs/jsr169:/usr/lib/jvm/jre-1.5.0-gcj/lib/jaas.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jce.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jdbc-stdext.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-cos.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-dns.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-ldap.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-rmi.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jsse.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/rt.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/sasl.jar:/home/siddharth/der/tools/java/xalan.jar:/home/siddharth/der/tools/java/serializer.jar
     [echo] After setting properties:  j14lib = ${j14lib}
     [echo] After setting properties:  java14compile.classpath =
/usr/lib/jvm/jre-1.5.0-gcj/lib/jaas.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jce.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jdbc-stdext.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-cos.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-dns.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-ldap.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-rmi.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jsse.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/rt.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/sasl.jar:/home/siddharth/der/tools/java/xalan.jar:/home/siddharth/der/tools/java/serializer.jar
     [echo] After setting properties:  j15lib = ${j15lib}
     [echo] After setting properties:  java15compile.classpath =
/usr/lib/jvm/jre-1.5.0-gcj/lib/jaas.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jce.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jdbc-stdext.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-cos.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-dns.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-ldap.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi-rmi.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jndi.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/jsse.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/rt.jar:/usr/lib/jvm/jre-1.5.0-gcj/lib/sasl.jar
     [echo] After setting properties:  j16lib = ${jdk16}/jre/lib
     [echo] After setting properties:  java16compile.classpath =
/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/about.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/management-agent.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/netx.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/plugin.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/rt.jar

    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/JMXConnectionDecorator.java:26:
cannot find symbol
    [javac] symbol  : class JMXServiceURL
    [javac] location: package javax.management.remote
    [javac] import javax.management.remote.JMXServiceURL;
    [javac]                               ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/JMXConnectionDecorator.java:93:
cannot find symbol
    [javac] symbol  : class JMXServiceURL
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.JMXConnectionDecorator
    [javac]     private JMXServiceURL getJmxUrl() throws
MalformedURLException {
    [javac]             ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:27:
cannot find symbol
    [javac] symbol  : class JMXConnector
    [javac] location: package javax.management.remote
    [javac] import javax.management.remote.JMXConnector;
    [javac]                               ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:28:
cannot find symbol
    [javac] symbol  : class JMXConnectorFactory
    [javac] location: package javax.management.remote
    [javac] import javax.management.remote.JMXConnectorFactory;
    [javac]                               ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:29:
cannot find symbol
    [javac] symbol  : class JMXServiceURL
    [javac] location: package javax.management.remote
    [javac] import javax.management.remote.JMXServiceURL;
    [javac]                               ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:38:
cannot find symbol
    [javac] symbol  : class JMXConnector
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]     static final
ThreadLocal<Map<MBeanServerConnection,JMXConnector>> connections =
    [javac]                                                        ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:41:
cannot find symbol
    [javac] symbol  : class JMXServiceURL
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]     private final JMXServiceURL url;
    [javac]                   ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:43:
cannot find symbol
    [javac] symbol  : class JMXServiceURL
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]     RemoteConnectionGetter(JMXServiceURL url) {
    [javac]                            ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/JMXConnectionDecorator.java:102:
cannot find symbol
    [javac] symbol  : class JMXServiceURL
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.JMXConnectionDecorator
    [javac]         JMXServiceURL url = new JMXServiceURL(
    [javac]         ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/JMXConnectionDecorator.java:102:
cannot find symbol
    [javac] symbol  : class JMXServiceURL
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.JMXConnectionDecorator
    [javac]         JMXServiceURL url = new JMXServiceURL(
    [javac]                                 ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:39:
cannot find symbol
    [javac] symbol  : class JMXConnector
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]         new
ThreadLocal<Map<MBeanServerConnection,JMXConnector>>();
    [javac]                                                   ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:57:
cannot find symbol
    [javac] symbol  : class JMXConnector
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]         JMXConnector jmxc = JMXConnectorFactory.connect(url,
env);
    [javac]         ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:57:
cannot find symbol
    [javac] symbol  : variable JMXConnectorFactory
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]         JMXConnector jmxc = JMXConnectorFactory.connect(url,
env);
    [javac]                             ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:60:
cannot find symbol
    [javac] symbol  : class JMXConnector
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]         Map<MBeanServerConnection,JMXConnector> conns =
connections.get();
    [javac]                                   ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:62:
cannot find symbol
    [javac] symbol  : class JMXConnector
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]             conns = new
HashMap<MBeanServerConnection,JMXConnector>();
    [javac]                                                       ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:72:
cannot find symbol
    [javac] symbol  : class JMXConnector
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]         Map<MBeanServerConnection,JMXConnector> conns =
connections.get();
    [javac]                                   ^
    [javac]
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/RemoteConnectionGetter.java:73:
cannot find symbol
    [javac] symbol  : class JMXConnector
    [javac] location: class
org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter
    [javac]         JMXConnector jmxc = conns.remove(jmxConnection);
    [javac]         ^
    [javac] 17 errors

BUILD FAILED
/home/siddharth/der/build.xml:584: The following error occurred while
executing this line:
/home/siddharth/der/java/testing/build.xml:80: The following error occurred
while executing this line:
/home/siddharth/der/java/testing/org/apache/derbyTesting/functionTests/tests/management/build.xml:53:
Compile failed; see the compiler error output for details.

Total time: 1 minute 14 seconds



For further reference, this is the output of java -version

java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.3) (fedora-49.1.9.3.fc14-x86_64)
> OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
>

This is the output of ant -diagnostics (probably the problem is here ? )

------- Ant diagnostics report -------
Apache Ant version 1.7.1 compiled on April 16 2010

-------------------------------------------
 Implementation Version
-------------------------------------------
core tasks     : 1.7.1
optional tasks : not available

-------------------------------------------
 ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant version 1.7.1 compiled on April 16 2010
ant.java.version: 1.6
ant.core.lib: /usr/share/java/ant-1.7.1.jar
ant.home: /usr/share/ant

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant
ant-commons-net.jar (47981 bytes)
ant-apache-regexp.jar (3772 bytes)
ant-apache-resolver.jar (4060 bytes)
ant.jar (1339582 bytes)
ant-commons-logging.jar (4031 bytes)
ant-nodeps.jar (438618 bytes)
ant-junit.jar (94995 bytes)
ant-trax.jar (6927 bytes)
ant-javamail.jar (7163 bytes)
ant-apache-oro.jar (40216 bytes)
ant-jsch.jar (31458 bytes)
ant-swing.jar (6772 bytes)
ant-apache-bcel.jar (8796 bytes)
ant-apache-log4j.jar (3042 bytes)
ant-launcher.jar (12243 bytes)
ant-bootstrap.jar (19013 bytes)
ant-antlr.jar (5927 bytes)
ant-apache-bsf.jar (4021 bytes)
ant-jdepend.jar (8307 bytes)

-------------------------------------------
 USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: /home/siddharth
No such directory.

-------------------------------------------
 Tasks availability
-------------------------------------------
image : Not Available (the implementation class is not present)
wlrun : Not Available (the implementation class is not present)
stlist : Not Available (the implementation class is not present)
netrexxc : Not Available (the implementation class is not present)
starteam : Not Available (the implementation class is not present)
stylebook : Not Available (the implementation class is not present)
stlabel : Not Available (the implementation class is not present)
stcheckin : Not Available (the implementation class is not present)
stcheckout : Not Available (the implementation class is not present)
ejbc : Not Available (the implementation class is not present)
wlstop : Not Available (the implementation class is not present)
sound : Not Available (the implementation class is not present)
ddcreator : Not Available (the implementation class is not present)
A task being missing/unavailable should only matter if you are trying to use
it

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: /usr/share/java/xerces-j2-2.9.0.jar
Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
Namespace-aware parser Location: /usr/share/java/xerces-j2-2.9.0.jar

-------------------------------------------
 System properties
-------------------------------------------
java.runtime.name : OpenJDK Runtime Environment
sun.boot.library.path :
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64
java.vm.version : 19.0-b09
ant.library.dir : /usr/share/ant/lib
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : :
java.vm.name : OpenJDK 64-Bit Server VM
file.encoding.pkg : sun.io
user.country : US
sun.java.launcher : SUN_STANDARD
sun.os.patch.level : unknown
java.vm.specification.name : Java Virtual Machine Specification

user.dir : /home/siddharth/der
java.runtime.version : 1.6.0_20-b20
java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment
java.endorsed.dirs :
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/endorsed
os.arch : amd64
java.io.tmpdir : /tmp
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
os.name : Linux
ant.home : /usr/share/ant
sun.jnu.encoding : UTF-8
java.library.path :
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

java.specification.name : Java Platform API Specification
java.class.version : 50.0
sun.management.compiler : HotSpot 64-Bit Server Compiler
os.version : 2.6.35.9-64.fc14.x86_64
user.home : /home/siddharth
user.timezone : Asia/Calcutta
java.awt.printerjob : sun.print.PSPrinterJob
file.encoding : UTF-8

java.specification.version : 1.6
user.name : siddharth
java.class.path :
/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/share/java/antlr.jar:/usr/share/java/ant/ant-antlr.jar:/usr/share/java/bcel.jar:/usr/share/java/ant/ant-apache-bcel.jar:/usr/share/java/bsf.jar:/usr/share/java/ant/ant-apache-bsf.jar:/usr/share/java/log4j.jar:/usr/share/java/ant/ant-apache-log4j.jar:/usr/share/java/oro.jar:/usr/share/java/ant/ant-apache-oro.jar:/usr/share/java/regexp.jar:/usr/share/java/ant/ant-apache-regexp.jar:/usr/share/java/xml-commons-resolver.jar:/usr/share/java/ant/ant-apache-resolver.jar:/usr/share/java/ant/ant-commons-logging.jar:/usr/share/java/ant/ant-commons-net.jar:/usr/share/java/javamail/dsn-1.4.3.jar:/usr/share/java/javamail/mail-1.4.3.jar:/usr/share/java/jaf.jar:/usr/share/java/ant/ant-javamail.jar:/usr/share/java/jdepend.jar:/usr/share/java/ant/ant-jdepend.jar:/usr/share/java/jsch.jar:/usr/share/java/ant/ant-jsch.jar:/usr/share/java/junit.jar:/usr/share/java/ant/ant-junit.jar:/usr/share/java/ant/ant-nodeps.jar:/usr/share/java/ant/ant-swing.jar:/usr/share/java/jaxp_transform_impl.jar:/usr/share/java/ant/ant-trax.jar:/usr/share/java/xalan-j2-serializer.jar:/usr/lib/jvm/java/lib/tools.jar:/usr/share/ant/lib/ant-commons-net.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-bootstrap.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/ant-jdepend.jar
java.vm.specification.version : 1.0
sun.arch.data.model : 64
java.home : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
java.specification.vendor : Sun Microsystems Inc.
user.language : en
java.vm.info : mixed mode
java.version : 1.6.0_20
java.ext.dirs :
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path :
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/netx.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/plugin.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/classes
java.vendor : Sun Microsystems Inc.
file.separator : /
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
sun.cpu.isalist :

-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is /tmp
Temp dir is writeable
Temp dir alignment with system clock is -742 ms

-------------------------------------------
 Locale information
-------------------------------------------
Timezone India Standard Time offset=19800000

-------------------------------------------
 Proxy information
-------------------------------------------
Java1.5+ proxy settings:
Direct connection



Thanks

Siddharth Srivastava




-- 
Siddharth Srivastava

When you have learned to snatch the error code from the trap frame, it will
be time for you to leave.

Mime
View raw message