Julien,
I tried getting maven to work (see below), but i got stuck.  Can you help me
with this?  Either would be fine:

   - provide me a 3.0 release/snapshot zip
   - provide me instructions for building with maven.  (i have never been
   able to successfully build with maven, so instructions would need to be from
   scratch)  I tried below, but it didn't work.

-------------------------------------------
I'd like to get this moving ASAP.  70% of my automation currently depends on
JWebUnit.  If i can't get this resolved quickly, i'm going to have to rip
out the JWebUnit, and reimplement in HtmlUnit.

Since i haven't heard back from anyone yet, i started fishing around on the
link.  Heer is what i've done.  (i have no idea what the "right" steps are
since i can't seem to find any documentation on this.

   1. install apache-maven-3.0.3-bin.tar-gz
   2. followed linux/unit install instructions, and confirmed that
   java/maven are happy, and environment paths are correct.
   3. read the "Learning About Maven > Run Maven" section.
   4. mkdir ~/maven-repo
   5. downloaded the most current POM from jWebUnit @
   
https://oss.sonatype.org/content/repositories/snapshots/net/sourceforge/jwebunit/jwebunit/3.0-SNAPSHOT/jwebunit-3.0-20110816.092626-4.pom
   6. saved to maven-repo dir
   7. chmod 777 *.pom
   8. try to compile the project, but it fails.  here is the output below.

jason@mcswain2:~/maven-repo$ mvn -f jwebunit-3.0-20110816.092626-4.pom
compile
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project net.sourceforge.jwebunit:jwebunit:3.0-SNAPSHOT
(/home/jason/maven-repo/jwebunit-3.0-20110816.092626-4.pom) has 5 errors
[ERROR]     Child module /home/jason/maven-repo/jwebunit-code-generator of
/home/jason/maven-repo/jwebunit-3.0-20110816.092626-4.pom does not exist
[ERROR]     Child module /home/jason/maven-repo/jwebunit-core of
/home/jason/maven-repo/jwebunit-3.0-20110816.092626-4.pom does not exist
[ERROR]     Child module /home/jason/maven-repo/jwebunit-commons-tests of
/home/jason/maven-repo/jwebunit-3.0-20110816.092626-4.pom does not exist
[ERROR]     Child module /home/jason/maven-repo/jwebunit-htmlunit-plugin of
/home/jason/maven-repo/jwebunit-3.0-20110816.092626-4.pom does not exist
[ERROR]     Child module /home/jason/maven-repo/jwebunit-selenium-plugin of
/home/jason/maven-repo/jwebunit-3.0-20110816.092626-4.pom does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
jason@mcswain2:~/maven-repo$


Regards,
-Jason-



On Tue, Aug 16, 2011 at 9:41 AM, Jason McSwain <jasonwmcsw...@gmail.com>wrote:

> Julien,
>
> I'd be happy to test a snapshot, but i don't know what this link is for.  I
> can't seem to find any downloadable jWebUnit bundle.  (I was looking for a
> zip with a jar...)  What am i looking at?
>
>    - https://oss.sonatype.org/content/repositories/snapshots/
>
> Regards,
> -Jason-
>
>
>
> On Tue, Aug 16, 2011 at 4:30 AM, Julien HENRY <henr...@yahoo.fr> wrote:
>
>> Hi Jason,
>>
>> It seems the problem was already fixed in trunk. I have uploaded a new
>> SNAPSHOT of jwebunit 3.0. Could you please test and tell me if it works for
>> you. In this case I will perform the release.
>>
>> http://oss.sonatype.org/content/repositories/snapshots
>>
>>
>> Regards,
>>
>> Julien
>>
>> >________________________________
>> >De : Jason McSwain <jasonwmcsw...@gmail.com>
>> >À : Usage problems for JWebUnit <jwebunit-users@lists.sourceforge.net>
>> >Envoyé le : Lundi 15 Août 2011 21h30
>> >Objet : [JWebUnit-users] JWebUnit 2.5 and HtmlUnit 2.9
>> >
>> >
>> >It seems that i'm having a problem with the integration between
>> HtmlUnit-2.9 & JWebUnit-2.5.
>> >
>> >Has anyone seen this type of error before?  Are there any plans for a new
>> JWebUnit drop that will be compatible with HtmlUnit-2.9?
>> >
>> >java.lang.NoSuchMethodError:
>> com.gargoylesoftware.htmlunit.html.HtmlPage.getAllHtmlChildElements()Ljava/lang/Iterable;
>> >    at
>> net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.hasFormParameterNamed(HtmlUnitTestingEngineImpl.java:413)
>> >    at
>> net.sourceforge.jwebunit.junit.WebTester.assertFormElementPresent(WebTester.java:903)
>> >    at
>> net.sourceforge.jwebunit.junit.WebTester.setTextField(WebTester.java:2324)
>> >
>> >
>> >Any help would be appreciated.
>> >Thanks,
>> >-Jason-
>> >
>>
>> >------------------------------------------------------------------------------
>> >uberSVN's rich system and user administration capabilities and model
>> >configuration take the hassle out of deploying and managing Subversion
>> and
>> >the tools developers use with it. Learn more about uberSVN and get a free
>> >download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> >
>> >_______________________________________________
>> >JWebUnit-users mailing list
>> >JWebUnit-users@lists.sourceforge.net
>> >https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>> >
>> >
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> uberSVN's rich system and user administration capabilities and model
>> configuration take the hassle out of deploying and managing Subversion and
>> the tools developers use with it. Learn more about uberSVN and get a free
>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> _______________________________________________
>> JWebUnit-users mailing list
>> JWebUnit-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>>
>
>
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to