Mauro,

That worked for me. However, I would like to not have to download the entire
web project to use the web-runner. A composition style dependency will be
better than a inheritance style (maven parent dependency).

Part of the teams requirement is to show the current set of steps in the UI
so that the business analysts and customer community.My plan is to extend
the web application to get the builds to publish the story/scenarios results
to the sitemesh web application.

Thanks,
Ravi


On Thu, Nov 5, 2009 at 5:08 PM, Mauro Talevi <[email protected]>wrote:

> Ravi Varanasi wrote:
>
>> Trying to use the jbehave web runner to provide a web interface to run
>> scenarios. Below the error message while trying to run the application
>> using mvn
>> jetty_run command
>>
>> Failure executing javac, but could not parse the error:
>> An exception has occurred in the compiler (1.5.0_20). Please file a bug at
>> the J
>> ava Developer Connection (http://java.sun.com/webapps/bugreport)  after
>> checking
>>  the Bug Parade for duplicates. Include your program and the following
>> diagnosti
>> c in your report.  Thank you.
>> com.sun.tools.javac.code.Symbol$CompletionFailure: file
>> org\jbehave\scenario\ann
>> otations\Named.class not found
>>
>> This happens during compile phase.
>>
>> Environment :
>> Windows XP
>> Java 1.5.0_20
>> Maven: 2.2.1
>>
>> As a side note, the example for web-runner inherits the
>> jbehave-web-examples
>> 2.2-SNAPSHOT, but the latest version in the snapshots codehaus repo is
>> 2.0-SNAPSHOT. I had to change the parent pom settings to 2.0-SNAPSHOT.
>>
>>
> There's something fishy about this. Where are you getting the example?
> Bear in mind that if you the examples are meant to be checked from trunk.
>  If you check out latest from trunk, you won't find any reference to
> 2.0-SNAPSHOT.  Please try the following:
>
> svn co https://svn.codehaus.org/jbehave/trunk/web jbehave-web
> cd jbehave-web
> mvn clean install
> cd examples/trader-web
> mvn jetty:run-war
>
> It works for me with
>
> Apache Maven 2.2.0 (r788681; 2009-06-26 14:04:01+0100)
> Java version: 1.5.0_20
> OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix"
>
> and
>
> Apache Maven 2.2.0 (r788681; 2009-06-26 14:04:01+0100)
> Java version: 1.5.0_17
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> Cheers
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to