Hi Julien,

I'm not all that familiar with Maven, but I believe this is what you are 
looking for.

Eric

From: Julien HENRY [mailto:henr...@yahoo.fr]
Sent: Monday, October 04, 2010 9:02 AM
To: Usage problems for JWebUnit
Subject: [JWebUnit-users] Re : HtmlUnit 2.8

Hi Eric,


It could be quickly done if there is not too much API change. I'll try to look 
at it as soon as possible, but on your side you can try to build from trunk 
after updating htmlunit version in Maven pom. Report any test failure here.

Regards,

Julien

De : Eric Jelinek <ejeli...@hotels.com>
À : "jwebunit-users@lists.sourceforge.net" 
<jwebunit-users@lists.sourceforge.net>
Envoyé le : Lun 4 octobre 2010, 14h 53min 05s
Objet : [JWebUnit-users] HtmlUnit 2.8
I'm curious when we might see a jwebunit release with htmlunit 2.8. I've got a 
js problem and perusing the htmlunit community shows that my issue "may" be 
resolved with htmlunit 2.8.

Thanks
Eric

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   JWebUnit
[INFO]   WebTestCase Generator
[INFO]   Core - API
[INFO]   Commons Tests
[INFO]   HtmlUnit Plugin
[INFO]   Selenium Plugin
[INFO] ------------------------------------------------------------------------
[INFO] Building JWebUnit
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [toolchains:toolchain {execution: default}]
[INFO] Type:jdk
[INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] ------------------------------------------------------------------------
[INFO] Building WebTestCase Generator
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [toolchains:toolchain {execution: default}]
[INFO] Type:jdk
[INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] [javacc:javacc {execution: default}]
[INFO] Skipping - all grammars up to date
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
C:\Tools\jwebunit\jwebunit-webtestcase-generator\src\main\resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Toolchain in compiler-plugin: JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] Building Core - API
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [toolchains:toolchain {execution: default}]
[INFO] Type:jdk
[INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] Preparing exec:java
[WARNING] Removing: java from forked lifecycle, to prevent recursive invocation.
[INFO] [toolchains:toolchain {execution: default}]
[INFO] Type:jdk
[INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] [exec:java {execution: default}]
WebTestCaseGenerator:  Reading from file 
C:\Tools\jwebunit\jwebunit-core/src/main/java\net\sourceforge\jwebunit\junit\WebTester.java
 . . .
WebTestCaseGenerator:  WebTester.java parsed successfully.
[INFO] Registering compile source root 
C:\Tools\jwebunit\jwebunit-core\target\generated-sources\main\java
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Toolchain in compiler-plugin: JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] Compiling 1 source file to C:\Tools\jwebunit\jwebunit-core\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] Building Commons Tests
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [toolchains:toolchain {execution: default}]
[INFO] Type:jdk
[INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 96 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Toolchain in compiler-plugin: JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] Building HtmlUnit Plugin
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [toolchains:toolchain {execution: default}]
[INFO] Type:jdk
[INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
C:\Tools\jwebunit\jwebunit-htmlunit-plugin\src\main\resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Toolchain in compiler-plugin: JDK[C:/Tools/Java/jdk1.5.0_22]
[INFO] Compiling 2 source files to 
C:\Tools\jwebunit\jwebunit-htmlunit-plugin\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/Tools/jwebunit/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java:[303,43]
 cannot find symbol
symbol  : method getSecure()
location: interface org.apache.http.cookie.Cookie

[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/Tools/jwebunit/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java:[303,43]
 cannot find symbol
symbol  : method getSecure()
location: interface org.apache.http.cookie.Cookie


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
/Tools/jwebunit/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java:[303,43]
 cannot find symbol
symbol  : method getSecure()
location: interface org.apache.http.cookie.Cookie


        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation 
failure
/Tools/jwebunit/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java:[303,43]
 cannot find symbol
symbol  : method getSecure()
location: interface org.apache.http.cookie.Cookie


        at 
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:613)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:116)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        ... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Oct 04 13:16:03 CDT 2010
[INFO] Final Memory: 20M/48M
[INFO] ------------------------------------------------------------------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to