Re: Error compiling the grinder 3.4
Philip Aston <[email protected]>
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
Its clearly not finding the Jython library. Check etc/localpaths.properties.
Also, try using the "-v" option to ant, this will let you know the
classpath it passes to javac.
- Phil
On 22/02/11 10:15, tharawen fridhi wrote:
> Hi everyone,
> I am trying to Build The Grinder but this is what i have in output:
> I have verified all the jars needed are up-to-date (jdk 1.6.0_18,
> jython 2.2.1, asm3.2, picocontainer1.3, xmlbeans 2.1.0)
> Could someone help me please.
> NB: Excuse me for my english
> Best regards,
> St0rm
>
>
> Buildfile: E:\workspace\grinder\build.xml
> bundle-libraries:
> init:
> [echo] ** Building The Grinder 3.4 on February 22 2011 **
> check.xmlbeans.uptodate:
> compile-xmlbeans:
> compile:
> [echo] Compiling third party code, ignore deprecation warnings...
> [echo] ... third party code compiled.
> [javac] Compiling 119 source files to
> E:\workspace\grinder\build\ant\classes
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\AbstractInstrumentedPyJavaInstance.java:26:
> cannot find symbol
> [javac] symbol : class PyJavaInstance
> [javac] location: package org.python.core
> [javac] import org.python.core.PyJavaInstance;
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\AbstractInstrumentedPyJavaInstance.java:36:
> cannot find symbol
> [javac] symbol: class PyJavaInstance
> [javac] abstract class AbstractInstrumentedPyJavaInstance extends
> PyJavaInstance {
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentationHelper.java:25:
> cannot find symbol
> [javac] symbol : class PyJavaInstance
> [javac] location: package org.python.core
> [javac] import org.python.core.PyJavaInstance;
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentationHelper.java:46:
> cannot find symbol
> [javac] symbol : class PyJavaInstance
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentationHelper
> [javac] private final PyJavaInstance m_pyTest;
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:26:
> cannot find symbol
> [javac] symbol : class PyJavaClass
> [javac] location: package org.python.core
> [javac] import org.python.core.PyJavaClass;
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:36:
> cannot find symbol
> [javac] symbol: class PyJavaClass
> [javac] final class InstrumentedPyJavaClass extends PyJavaClass {
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentationHelper.java:54:
> cannot find symbol
> [javac] symbol : class PyJavaInstance
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentationHelper
> [javac] m_pyTest = new PyJavaInstance(test);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentationHelper.java:94:
> incompatible types
> [javac] found :
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaInstanceForPyMethods
> [javac] required: org.python.core.PyObject
> [javac] return new InstrumentedPyJavaInstanceForPyMethods(
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\AbstractInstrumentedPyJavaInstance.java:49:
> not an enclosing class:
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] return
> AbstractInstrumentedPyJavaInstance.super.__findattr__(name);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyInstance.java:56:
> __findattr__(java.lang.String) in
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyInstance
> cannot override __findattr__(java.lang.String) in
> org.python.core.PyObject; overridden method is final
> [javac] public PyObject __findattr__(String name) {
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:48:
> not an enclosing class:
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaClass
> [javac] return
> InstrumentedPyJavaClass.super.__findattr__(name);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:61:
> not an enclosing class:
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaClass
> [javac] return InstrumentedPyJavaClass.super.invoke(name);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:71:
> not an enclosing class:
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaClass
> [javac] return
> InstrumentedPyJavaClass.super.invoke(name, arg1);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:83:
> not an enclosing class:
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaClass
> [javac] return
> InstrumentedPyJavaClass.super.invoke(name, arg1, arg2);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:95:
> not an enclosing class:
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaClass
> [javac] return
> InstrumentedPyJavaClass.super.invoke(name, args, keywords);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:105:
> not an enclosing class:
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaClass
> [javac] return
> InstrumentedPyJavaClass.super.invoke(name, args);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaClass.java:115:
> not an enclosing class:
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaClass
> [javac] return
> InstrumentedPyJavaClass.super.__call__(args, keywords);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForJavaInstances.java:61:
> cannot find symbol
> [javac] symbol : method invoke(java.lang.String)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] return
> InstrumentedPyJavaInstanceForJavaInstances.super.invoke(name);
>
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForJavaInstances.java:71:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] return
> InstrumentedPyJavaInstanceForJavaInstances.super.invoke(
>
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForJavaInstances.java:83:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject,org.python.core.PyObject)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] return
> InstrumentedPyJavaInstanceForJavaInstances.super.invoke(
>
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyFunctions.java:62:
> cannot find symbol
> [javac] symbol : method invoke(java.lang.String)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyFunctions.java:78:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name, arg1);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyFunctions.java:95:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject,org.python.core.PyObject)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name, arg1, arg2);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyFunctions.java:110:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject[])
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] return
> InstrumentedPyJavaInstanceForPyFunctions.super.invoke(name, args);
>
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyFunctions.java:130:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject[],java.lang.String[])
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name, args, keywords);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyMethods.java:61:
> cannot find symbol
> [javac] symbol : method invoke(java.lang.String)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyMethods.java:77:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name, arg1);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyMethods.java:94:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject,org.python.core.PyObject)
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name, arg1, arg2);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyMethods.java:110:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject[])
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name, args);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyJavaInstanceForPyMethods.java:130:
> cannot find symbol
> [javac] symbol : method
> invoke(java.lang.String,org.python.core.PyObject[],java.lang.String[])
> [javac] location: class
> net.grinder.engine.process.instrumenter.traditionaljython.AbstractInstrumentedPyJavaInstance
> [javac] .super.invoke(name, args, keywords);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\InstrumentedPyReflectedFunction.java:58:
> __findattr__(java.lang.String) in
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyReflectedFunction
> cannot override __findattr__(java.lang.String) in
> org.python.core.PyObject; overridden method is final
> [javac] public PyObject __findattr__(String name) {
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\TraditionalJythonInstrumenter.java:157:
> incompatible types
> [javac] found :
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaInstanceForPyFunctions
> [javac] required: org.python.core.PyObject
> [javac] return new InstrumentedPyJavaInstanceForPyFunctions(
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\TraditionalJythonInstrumenter.java:161:
> incompatible types
> [javac] found :
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaInstanceForPyMethods
> [javac] required: org.python.core.PyObject
> [javac] return new InstrumentedPyJavaInstanceForPyMethods(
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\TraditionalJythonInstrumenter.java:175:
> incompatible types
> [javac] found : org.python.core.PyObject
> [javac] required: org.python.core.PyInstance
> [javac] final PyInstance pyInstance =
> ((PyProxy)o)._getPyInstance();
>
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\TraditionalJythonInstrumenter.java:182:
> incompatible types
> [javac] found :
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaClass
> [javac] required: org.python.core.PyObject
> [javac] return new InstrumentedPyJavaClass(test,
> (Class<?>)o, pyDispatcher);
> [javac] ^
> [javac]
> E:\workspace\grinder\src\net\grinder\engine\process\instrumenter\traditionaljython\TraditionalJythonInstrumenter.java:191:
> incompatible types
> [javac] found :
> net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaInstanceForJavaInstances
> [javac] required: org.python.core.PyObject
> [javac] return new InstrumentedPyJavaInstanceForJavaInstances(
> [javac] ^
> [javac] 36 errors
>
> BUILD FAILED
> E:\workspace\grinder\build.xml:418: Compile failed; see the compiler
> error output for details.
>
> Total time: 2 seconds
------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev