[Dev] errors building tm5
Frank Cohen
fcohen at pushtotest.com
Mon Oct 8 19:08:45 PDT 2007
Hi Lars:
I used NetBeans 5.5 to checkout the TM5 project. I ran the tm5/
build.xml build_distribution target. And sure enough I see the
exception below.
I opened a ticket:
http://bugs.pushtotest.com/ticket/167
I will get one of our engineers on this immediately. I am sorry for
the problems this caused you.
-Frank
==============================================================
PushToTest(tm) TestMaker Distribution Generator
PushToTest TestMaker is the open-source SOA governance and
test automation platform. Details at http://www.pushtotest.com
==============================================================
clean:
Removing any previous distribution.
compile_modules:
==============================================
Compile All Modules
Monitors: WinMonitor
jar:
Created dir: /Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/build
Compiling 3 source files to /Users/frankcohen/dev/cvs/tm5/TestMaker/
PTTMonitor/build
Building jar: /Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/
PTTMonitor.jar
Building jar: /Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/
PTTMonitorClient.jar
Copying 1 file to /Users/frankcohen/dev/cvs/tm5/TestMaker/lib
Monitors: UnixMonitor
init:
deps-jar:
Created dir: /Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/
UnixMonitor/build/classes
Compiling 5 source files to /Users/frankcohen/dev/cvs/tm5/TestMaker/
PTTMonitor/UnixMonitor/build/classes
compile:
Building jar: /Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/
UnixMonitor/dist/UnixMonitor.jar
To run this application from the command line without Ant, try:
java -cp "/Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/
UnixMonitor/lib/log4j-1.2.13.jar:/Users/frankcohen/dev/cvs/tm5/
TestMaker/PTTMonitor/UnixMonitor/lib/swing-layout-1.0.jar:/Users/
frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/UnixMonitor/dist/
UnixMonitor.jar" com.pushtotest.testnetwork.monitor.PTTMonitor
jar:
Monitors: MacMonitor
init:
deps-jar:
Created dir: /Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/
MacMonitor/build/classes
Compiling 5 source files to /Users/frankcohen/dev/cvs/tm5/TestMaker/
PTTMonitor/MacMonitor/build/classes
compile:
Building jar: /Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/
MacMonitor/dist/MacMonitor.jar
To run this application from the command line without Ant, try:
java -cp "/Users/frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/
MacMonitor/lib/log4j-1.2.13.jar:/Users/frankcohen/dev/cvs/tm5/
TestMaker/PTTMonitor/MacMonitor/lib/swing-layout-1.0.jar:/Users/
frankcohen/dev/cvs/tm5/TestMaker/PTTMonitor/MacMonitor/dist/
MacMonitor.jar" com.pushtotest.testnetwork.monitor.PTTMonitor
jar:
MaxQ: Then add MaxQ - note this is a branch of MaxQ v1.21
compile:
Created dir: /Users/frankcohen/dev/cvs/tm5/maxq-1.0-tmbranch/target/
build
Compiling 32 source files to /Users/frankcohen/dev/cvs/tm5/maxq-1.0-
tmbranch/target/build
Copying 9 files to /Users/frankcohen/dev/cvs/tm5/maxq-1.0-tmbranch/
target/build
dist:
Building jar: /Users/frankcohen/dev/cvs/tm5/maxq-1.0-tmbranch/lib/
maxq.jar
Copying 1 file to /Users/frankcohen/dev/cvs/tm5/TestMaker/lib
TOOL: Build the Test Object Oriented Library (TOOL)
========================================================
Test Object Oriented Library (TOOL) for TestMaker
Brought to you by PushToTest. Please read license.html
to understand your rights to build and distribute this
software. Additional information at www.pushtotest.com
========================================================
init:
build_results:
Compiling results log file XML schema binding
Using JAXB to compile Java source against the results.xsd schema
results.xsd
Compiling file:/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/
tool/xml/results.xsd
Writing output to /Users/frankcohen/dev/cvs/tm5/tool/src
TXLog.xsd
Compiling file:/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/
tool/xml/TXLog.xsd
Writing output to /Users/frankcohen/dev/cvs/tm5/tool/src
SDLog.xsd
Compiling file:/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/
tool/xml/SDLog.xsd
Writing output to /Users/frankcohen/dev/cvs/tm5/tool/src
Summary.xsd
Compiling file:/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/
tool/xml/Summary.xsd
Writing output to /Users/frankcohen/dev/cvs/tm5/tool/src
JAR the Test Object Oriented Library (TOOL)
========================================================
Test Object Oriented Library (TOOL) for TestMaker
Brought to you by PushToTest. Please read license.html
to understand your rights to build and distribute this
software. Additional information at www.pushtotest.com
========================================================
init:
deps-jar:
Created dir: /Users/frankcohen/dev/cvs/tm5/tool/build/classes
Compiling 301 source files to /Users/frankcohen/dev/cvs/tm5/tool/
build/classes
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:62: package javax.wsdl.factory does not exist
import javax.wsdl.factory.WSDLFactory;
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:63: package javax.wsdl does not exist
import javax.wsdl.Definition;
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:64: package javax.wsdl does not exist
import javax.wsdl.WSDLException;
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:65: package javax.wsdl.xml does not exist
import javax.wsdl.xml.WSDLReader;
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:74: cannot find symbol
symbol : class WSDLFactory
location: class com.pushtotest.tool.parser.wsdl.WSDLParser
private WSDLFactory factory;
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:75: cannot find symbol
symbol : class WSDLReader
location: class com.pushtotest.tool.parser.wsdl.WSDLParser
private WSDLReader reader;
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:76: cannot find symbol
symbol : class Definition
location: class com.pushtotest.tool.parser.wsdl.WSDLParser
private Definition def;
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:81: cannot find symbol
symbol : class WSDLException
location: class com.pushtotest.tool.parser.wsdl.WSDLParser
public WSDLParser(String wsdluri) throws WSDLException {
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:91: cannot find symbol
symbol : class Definition
location: class com.pushtotest.tool.parser.wsdl.WSDLParser
public Definition getDefinition() {
/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/tool/parser/
wsdl/WSDLParser.java:82: cannot find symbol
symbol : variable WSDLFactory
location: class com.pushtotest.tool.parser.wsdl.WSDLParser
factory = WSDLFactory.newInstance();
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
10 errors
BUILD FAILED (total time: 14 seconds)
On Oct 8, 2007, at 9:24 AM, Lars Huttar wrote:
>>
>> 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
>>
> Thanks again for your reply.
>
> I did a fresh cvs checkout, and then used "ant
> update_distribution". This gave the following errors:
>
> ...
> -pre-compile:
>
> -do-compile:
> [javac] Compiling 301 source files to C:\src\tm5\tool\build\classes
> [javac] C:\src\tm5\tool\src\com\pushtotest\tool\parser\wsdl
> \WSDLParser.java:
> 62: package javax.wsdl.factory does not exist
> [javac] import javax.wsdl.factory.WSDLFactory;
> [javac] ^
> [javac] C:\src\tm5\tool\src\com\pushtotest\tool\parser\wsdl
> \WSDLParser.java:
> 63: package javax.wsdl does not exist
> [javac] import javax.wsdl.Definition;
>
> etc.
> I'm using JDK 1.6.0_02.
>
> I can't figure out why the java.wsdl.** packages are missing?
> I've looked at other build targets but none of them seem relevant.
>
> Thanks for your help,
> Lars
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/dev
>
--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122
TestMaker open-source test automation
More information about the Dev
mailing list