[ptt-users] Peculiarities in TMCP.bat and TMCP.sh

Aaron Romeo aaron.romeo at artez.com
Thu Nov 16 13:43:56 PST 2006


Hi Frank,

I've got it running... :)

I have had to install the plugin PyDev (http://pydev.sourceforge.net/).  I
then created a 'Run' with the necessary information. Please see the attached
example (QAScripts runScripts.py 4.4.launch) of how I'm running this.  It is
one of the Run scripts that I have extracted from
{workspace}\.metadata\.plugins\org.eclipse.debug.core\.launches.

Let me know if you want a deeper explanation, or if this is sufficient.

I'm not sure if the attachment will go through, but if not, I have included
the contents of the file below.

-- Start Run Script --
<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration
type="org.python.pydev.debug.jythonLaunchConfigurationType">
<stringAttribute key="org.python.pydev.debug.ATTR_PROJECT"
value="QAScripts"/>
<stringAttribute key="org.python.pydev.debug.vm.arguments" value="-classpath
C:\Tools\TestMaker4_4\lib\activation.jar;C:\Tools\TestMaker4_4\lib\TestMaker
.jar;C:\Tools\TestMaker4_4\lib\jython\jython.jar;C:\Tools\TestMaker4_4\lib\b
rowseropen_utils.jar;C:\Tools\TestMaker4_4\lib\jfreechart-1.0.1.jar;C:\Tools
\TestMaker4_4\lib\jcommon-1.0.0.jar;C:\Tools\TestMaker4_4\lib\commons-httpcl
ient.jar;C:\Tools\TestMaker4_4\lib\commons-lang-1.0.jar;C:\Tools\TestMaker4_
4\lib\commons-logging.jar;C:\Tools\TestMaker4_4\lib\HTTPClient.zip;C:\Tools\
TestMaker4_4\lib\j.jar;C:\Tools\TestMaker4_4\lib\jaxen-core.jar;C:\Tools\Tes
tMaker4_4\lib\jaxen-jdom.jar;C:\Tools\TestMaker4_4\lib\jCookie.jar;C:\Tools\
TestMaker4_4\lib\jdom.jar;C:\Tools\TestMaker4_4\lib\jnumeric-0.1a3.jar;C:\To
ols\TestMaker4_4\lib\junit.jar;C:\Tools\TestMaker4_4\lib\mail.jar;C:\Tools\T
estMaker4_4\lib\maxq.jar;C:\Tools\TestMaker4_4\lib\soap.jar;C:\Tools\TestMak
er4_4\lib\tagsoup-1.0rc3.jar;C:\Tools\TestMaker4_4\lib\tool.jar;C:\Tools\Tes
tMaker4_4\lib\weather.jar;C:\Tools\TestMaker4_4\lib\wsdl4j.jar;C:\Tools\Test
Maker4_4\lib\xmlrpc-1.1.jar;C:\Tools\TestMaker4_4\lib\looks-1.2.2.jar;C:\Too
ls\TestMaker4_4\lib\kawa-1.7.90.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jaxb
\lib\jaxb-api.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jaxb\lib\jaxb-impl.jar
;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jaxb\lib\jaxb-libs.jar;C:\Tools\TestMak
er4_4\lib\jwsdp_1.4\jaxb\lib\kxml2.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\j
axb\lib\xmlpull.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jaxp\lib\endorsed\do
m.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jaxp\lib\endorsed\sax.jar;C:\Tools
\TestMaker4_4\lib\jwsdp_1.4\jaxp\lib\endorsed\xalan.jar;C:\Tools\TestMaker4_
4\lib\jwsdp_1.4\jaxp\lib\endorsed\xercesImpl.jar;C:\Tools\TestMaker4_4\lib\j
wsdp_1.4\jaxp\lib\jaxp-api.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jwsdp-sha
red\lib\activation.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jwsdp-shared\lib\
commons-beanutils.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jwsdp-shared\lib\c
ommons-collections.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jwsdp-shared\lib\
commons-digester.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jwsdp-shared\lib\co
mmons-logging.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jwsdp-shared\lib\jaas.
jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\jwsdp-shared\lib\jax-qname.jar;C:\To
ols\TestMaker4_4\lib\jwsdp_1.4\jwsdp-shared\lib\jta-spec1_0_1.jar;C:\Tools\T
estMaker4_4\lib\jwsdp_1.4\jwsdp-shared\lib\mail.jar;C:\Tools\TestMaker4_4\li
b\jwsdp_1.4\jwsdp-shared\lib\namespace.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1
.4\jwsdp-shared\lib\relaxngDatatype.jar;C:\Tools\TestMaker4_4\lib\jwsdp_1.4\
jwsdp-shared\lib\xsdlib.jar;C:\Tools\TestMaker4_4\TestNetwork\lib\TestNetwor
kClient.jar;C:\Tools\TestMaker4_4\TestNetwork\lib\saaj-api.jar;C:\Tools\Test
Maker4_4\TestNetwork\lib\saaj-impl.jar;C:\Tools\TestMaker4_4\TestNetwork\lib
\dom4j.jar;C:\Tools\TestMaker4_4\TestNetwork\lib\jaxm-api.jar;C:\Tools\TestM
aker4_4\TestNetwork\lib\jaxm-runtime.jar -Dfrank=cohen
-Dproperties.file=/com/pushtotest/testmaker/gui/NewAgentWizard/maxqhelp/maxq
tm.properties -DTestNetwork.home=C:\Tools\TestMaker4_4\TestNetwork\scripts
-Dlookandfeel=com.jgoodies.plaf.plastic.Plastic3DLookAndFeel"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY"
value="C:/ScratchPad/VSS"/>
<stringAttribute key="org.eclipse.debug.ui.ATTR_CAPTURE_IN_FILE"
value="C:\ScratchPad\outRunScripts.txt"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
value="C:/ScratchPad/VSS/runScripts.py"/>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables"
value="true"/>
<stringAttribute key="org.python.pydev.debug.ATTR_INTERPRETER"
value="C:\jython-2.1\jython.jar"/>
<intAttribute key="org.python.pydev.debug.ATTR_RESOURCE_TYPE" value="1"/>
</launchConfiguration>
-- End Run Script --

-----Original Message-----
From: users-bounces at lists.pushtotest.com
[mailto:users-bounces at lists.pushtotest.com] On Behalf Of Frank Cohen
Sent: Thursday, November 16, 2006 4:28 PM
To: TestMaker users list
Subject: Re: [ptt-users] Peculiarities in TMCP.bat and TMCP.sh

Hi Aaron: Thanks for your interest in TestMaker. Thanks for pointing  
out the problem with the extra Jar files. TestMaker works just fine  
with these extra files on the classpath since activation.jar is  
listed later under the jwsdp files, commons-logging.jar isn't used at  
the moment, and HTTPClient.zip is no longer used. I'll make sure that  
all of these are fixed in the TestMaker 4.4.1 release (coming up in  
the next few weeks.)

We've had a lot of interest to run TestMaker as an Eclipse module.  
Any thoughts, input, or how-to instructions you may want to offer are  
most welcome.

-Frank



On Nov 16, 2006, at 11:59 AM, Aaron Romeo wrote:

> Hello,
>
> I'm attempting to get TestMaker 4.4 running from the Eclipse IDE  
> because of
> Eclipse's debugging capabilities.
>
> I've noticed that TMCP.bat and TMCP.sh both refer to the following  
> jars.
>
> .\lib\activation.jar
> .\lib\commons-logging.jar
> .\lib\HTTPClient.zip
>
> However, in the distribution I have obtained from
> http://downloads.pushtotest.com/TestMaker.zip I don't see these  
> jars in the
> expected location.
>
> I'm hoping someone can tell me if these jars are required or of  
> there is a
> correct class path that needs to be set.
>
> Thanks plenty,
> --
> Aaron
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
>

_______________________________________________
Users mailing list
Users at lists.pushtotest.com
http://lists.pushtotest.com/mailman/listinfo/users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: QAScripts runScripts.py 4.4.launch
Type: application/octet-stream
Size: 3961 bytes
Desc: not available
Url : http://cake.pushtotest.com/pipermail/users/attachments/20061116/25a0c231/QAScriptsrunScripts.py4.4-0001.obj


More information about the Users mailing list