Skip to main content

Where is sample_jt.jar?

3 replies [Last post]
yuwenfeng
Offline
Joined: 2007-07-27
Points: 0

hi,
In the cqme\samples\meframework\SampleTestSuite\build\testsuite.jtt, it is said that
classpath=lib/j2mefw_jt.jar lib/sample_jt.jar lib/interviewlib.jar
but the "sample_jt.jar" is either in the binary release or source release of CQME, and
after trying to build cqme source code by myself, I still could not find "sample_jt.jar ".
So where it is?
Would you pls give a hand for this issue?
Thanks!

BRs,
Koo

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yuwenfeng
Offline
Joined: 2007-07-27
Points: 0

Thank you very much!

I follow the instructions as you mentioned at http://forums.java.net/jive/ann.jspa?annID=79

"To build the samples, invoke:
ant samples functional-tests

The list of samples:
- SimplestTestSuite
- SimpleTestSutie
- AdvancedTestSuite
- InteractiveTestSuite"

I meet an issue while building, Ant will reprot the error that the directory "lib" cannot be found under
/code/functionalTests/InteractiveTestSuite/
/code/functionalTests/OtaTestSuite/
/code/samples/AdvancedTestSuite/
/code/samples/SimpleTestSuite/
/code/samples/SimplestTestSuite/

I added these empty "lib" directories into the path mentioned above, then the build
can be sucessfully done!

Vladimir Sizikov

Hi Koo,

The samples can be built from the main ME Framework build as follows:

ant samples

Additional test suites (that can also be considered as advanced samlpes)
can be build via:
functional-tests

Let's say that you have a working directory j2me-framework-OSS, which
was checked out from our subversion repository:

https://cqme.dev.java.net/svn/cqme/trunk/code

Then, when you invoke the ant commands, specified above (you should go
into build directory to invoke ant), the following directories will be
created:
j2me-framework-OSS-build
j2me-framework-OSS-build/AdvancedTestSuite
j2me-framework-OSS-build/InteractiveTestSuite
j2me-framework-OSS-build/SimpleTestSuite
j2me-framework-OSS-build/SimplestTestSuite

These are the sample test suites.

The sample_jt.jar file is a part of SimpleTestSuite:
j2me-framework-OSS-build/SimpleTestSuite/lib/sample_jt.jar

Just in case, the detailed list of instructions on how to build the ME
Framework, can be found here:
http://forums.java.net/jive/ann.jspa?annID=79

Thanks,
--Vladimir
[vladimir_sizikov.vcf]
---------------------------------------------------------------------
To unsubscribe, e-mail: meframework-unsubscribe@cqme.dev.java.net
For additional commands, e-mail: meframework-help@cqme.dev.java.net

yuwenfeng
Offline
Joined: 2007-07-27
Points: 0

Sorry, it should be "but the "sample_jt.jar" is neither in the binary release or source release of CQME"(change either to neither)