[hatatap] new release: hatatap 0.8.8
Hughes, Marc
MHughes at TomSnyder.com
Thu Jun 1 14:19:52 BST 2006
Thanks for the fast fix.
Unfortunately, it doesn't seem to fix the problem. Now the test doesn't
seem to even run as no output is generated, and I still get the
gentest.xsl missing error.
Additionally, when I now try to run my scripts from the command line
(which worked in the previous version) I get the following:
> java -jar lib/hatatap.jar com.pingdynasty.hatatap.Hatatap -in
user9_script.xml -out output9.xml
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/meterware/httpunit/WebConversation (Unsupported major.minor version
49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
org.oXML.extras.java.ResolveMapping.map(ResolveMapping.java:36)
at
org.oXML.engine.CompilationContext.getTemplate(CompilationContext.java:2
60)
at
org.oXML.engine.CompilationContext.getBody(CompilationContext.java:303)
at
org.oXML.engine.mapping.dom.TypeMapping.map(TypeMapping.java:147)
at
org.oXML.engine.CompilationContext.getTemplate(CompilationContext.java:2
60)
at
org.oXML.engine.CompilationContext.getBody(CompilationContext.java:303)
at
org.oXML.engine.mapping.dom.ProgramMapping.map(ProgramMapping.java:56)
at
org.oXML.engine.CompilationContext.getTemplate(CompilationContext.java:2
60)
at
org.oXML.engine.CompilationContext.getBody(CompilationContext.java:303)
at
org.oXML.engine.mapping.dom.DocumentMapping.map(DocumentMapping.java:27)
at
org.oXML.engine.CompilationContext.getTemplate(CompilationContext.java:2
85)
at
org.oXML.engine.CompilationContext.compile(CompilationContext.java:239)
at
org.oXML.engine.InterpretedProgram.compile(InterpretedProgram.java:192)
at
org.oXML.engine.InterpretedProgram.compile(InterpretedProgram.java:176)
at
com.pingdynasty.hatatap.TestRunFactory.buildTestRun(TestRunFactory.java:
129)
at
com.pingdynasty.hatatap.TestRunFactory.buildTestRun(TestRunFactory.java:
84)
at com.pingdynasty.hatatap.Hatatap.run(Hatatap.java:136)
at com.pingdynasty.hatatap.Hatatap.main(Hatatap.java:168)
I'm guessing it's an incompatibility between my java environment and the
updated httpunit library. My java version is as follows:
> java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-239)
Java HotSpot(TM) Client VM (build 1.4.2-66, mixed mode)
Unfortunately, the project I'm currently working on prevents me from
upgrading to java 1.5
Let me know if you need any other information.
Thanks for any help,
-Marc
-----Original Message-----
From: hatatap-bounces at lists.pingdynasty.com
[mailto:hatatap-bounces at lists.pingdynasty.com] On Behalf Of Martin Klang
Sent: Wednesday, May 31, 2006 9:45 PM
To: hatatap at lists.pingdynasty.com
Subject: [hatatap] new release: hatatap 0.8.8
hello hatatapers,
the new release primarily fixes the classpath problem that some
people have experienced using the Ant task.
there's also a new feature: you can add binary attachments when
creating web service requests (eg SOAP) using test:send and
test:attachment.
the release also includes updated versions of HttpUnit and the o:XML
libs.
as usual you can pick it up from the download server:
http://download.pingdynasty.com/hatatap/hatatap-0.8.8/
also: has anyone experienced this error: FATAL ERROR: 'Could not
compile stylesheet'
it seems that JDK 1.5 uses Xalan XSLTC by default, and the release
they've included has a bug...
the work-around is to enable another transformer, such as the regular
Xalan one.
you can do this from the command line with eg:
java -
Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Trans
formerFactoryImpl -jar hatatap.jar
I guess that's all for now -
regards,
/m
_______________________________________________
hatatap mailing list
hatatap at lists.pingdynasty.com
http://lists.pingdynasty.com/mailman/listinfo/hatatap
More information about the hatatap
mailing list