[Dev] errors building tm5

Luis Carlos Lara López llara at AVANTICATEC.NET
Tue Oct 2 07:35:21 PDT 2007


Hi Lars
I am Luis Carlos Lara
One of the Test Maker engineers

I think the problem you have is that the modules (Specially MaxQ) are not being compiled.
 There is a target in build.xml to compile the modules. It is called compile_modules


<target name="compile_modules">
		<echo message=
"MaxQ: Then add MaxQ - note this is a branch of MaxQ v1.21"/>
		<ant antfile="build.xml" dir="./maxq-1.0-tmbranch" target="dist" 
inheritAll="false" inheritRefs="false"/>
		<copy file="./maxq-1.0-tmbranch/lib/maxq.jar" todir="TestMaker/lib"/>

This tag creates the maxq library needed in TestMaker (com.bitmechanic.maxq package)

This tag is called in the tag we use to build testmaker: updata_distribution

<target name="update_distribution" depends="compile_modules">
	<!-- Assemble the distribution files -->....

Please check that you are using "ant update_distribution". Also you can try  "ant compile_modules" before any other tag. 
Anything just mail me again.

	I hope this was useful
		Luis Carlos




-----Original Message-----
From: dev-bounces at lists.pushtotest.com
[mailto:dev-bounces at lists.pushtotest.com]On Behalf Of Lars Huttar
Sent: Monday, October 01, 2007 3:17 PM
To: dev at lists.pushtotest.com
Subject: [Dev] errors building tm5


Hello,
I'm new to building TestMaker.
Today I did a fresh checkout from cvs (cvs co tm5), then ran "ant" in 
the TestMaker folder.

The build failed with the following error:
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\Console.java:66: 
package com.bitmechanic.maxq does not exist

I am using JDK 1.6.0_02.

More output of the build is shown below.

Thanks for any suggestions.

Lars


Buildfile: build.xml

-pre-init:
     [echo] ========================================================

     [echo]                       TESTMAKER

     [echo]  Brought to you by PushToTest. Please read license.html
     [echo]  to understand your rights to build and distribute this
     [echo]  software. Additional information at www.pushtotest.com
     [echo] ========================================================


-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

initJAXB:

-post-init:

-init-check:

-init-macrodef-javac:

-init-macrodef-junit:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

init:

deps-jar:

-pre-pre-compile:

build_jaxb_sources:
      [xjc] Compiling 
file:/C:/src/tm5/TestMaker/src/com/pushtotest/testmaker/XS
Test/xml/XSTestProps.xsd
      [xjc] Writing output to C:\src\tm5\TestMaker\src
      [xjc] Compiling 
file:/C:/src/tm5/TestMaker/src/com/pushtotest/testmaker/XS
Test/xml/TestScenario/testscenario.xsd
      [xjc] Writing output to C:\src\tm5\TestMaker\src
      [xjc] files are up to date

-pre-compile:

-do-compile:
    [javac] Compiling 379 source files to C:\src\tm5\TestMaker\build\classes
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\Console.java:66: 
package com.bitmechanic.maxq does not exist
    [javac] import com.bitmechanic.maxq.ProxyServer;
    [javac]                            ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\Console.java:110: 
cannot find symbol
    [javac] symbol  : class ProxyServer
    [javac] location: class com.pushtotest.testmaker.Console
    [javac]     private ProxyServer proxy;  // MaxQ proxy recorder service
    [javac]             ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\Console.java:242: 
cannot find symbol
    [javac] symbol  : class ProxyServer
    [javac] location: class com.pushtotest.testmaker.Console
.....


The last several errors were:

    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\maxqhelp\TMScriptAdaptor.java:38: cannot find symbol
    [javac] symbol: class IScriptAdapter
    [javac] public class TMScriptAdaptor implements IScriptAdapter {
    [javac]                                         ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\RecordHTML.java:98: cannot find symbol
    [javac] symbol  : class SwingMain
    [javac] location: class 
com.pushtotest.testmaker.gui.NewAgentWizard.RecordHT
ML
    [javac]     private SwingMain sm = null;
    [javac]             ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\WSDLhelp\SOAPGui.java:62: package com.pushtotest.tool.parser.wsdl does 
not exis
t
    [javac] import com.pushtotest.tool.parser.wsdl.WSDLParser;
    [javac]                                       ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\WSDLhelp\SOAPGui.java:63: package javax.wsdl.extensions.soap does not exist
    [javac] import javax.wsdl.extensions.soap.SOAPAddress;
    [javac]                                  ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\WSDLhelp\SOAPGui.java:64: package com.ibm.wsdl.extensions.soap does not 
exist
    [javac] import com.ibm.wsdl.extensions.soap.SOAPAddressImpl;
    [javac]                                    ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\WSDLhelp\SOAPGui.java:65: package javax.wsdl.extensions.soap does not exist
    [javac] import javax.wsdl.extensions.soap.SOAPBinding;
    [javac]                                  ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\WSDLhelp\SOAPGui.java:68: package javax.wsdl does not exist
    [javac] import javax.wsdl.WSDLException;
    [javac]                  ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\WSDLhelp\SOAPGui.java:69: package javax.wsdl does not exist
    [javac] import javax.wsdl.Service;
    [javac]                  ^
    [javac] 
C:\src\tm5\TestMaker\src\com\pushtotest\testmaker\gui\NewAgentWizard
\WSDLhelp\SOAPGui.java:70: package javax.wsdl does not exist
    [javac] import javax.wsdl.Port;
    [javac]                  ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 100 errors

_______________________________________________
Dev mailing list
Dev at lists.pushtotest.com
http://lists.pushtotest.com/mailman/listinfo/dev


More information about the Dev mailing list