So, JDK 1.7 seems to be problematic. At least at build level. Open issue to track it.

http://jira.codehaus.org/browse/JBEHAVE-591

Not sure if at runtime also you'd find problems. To be verified. In the meantime, please note that JBehave behaviour has been verified up to JDK 1.6.

Cheers

On Sat Sep  3 19:11:57 2011, Mauro Talevi wrote:
To echo Paul's reply, you can install m2e from http://m2eclipse.sonatype.org/sites/m2e

Or if you do want to download all the jars, you can do so but you need to run from the lib directory the ant task:

ant copy-dependencies

I don't know why it fails for you. It could be related to the platform or the JDK you're using. The script has been tested up to JDK 1.6.

The reason Maven is recommended is that it's declarative, you only download the jars you need.

Else you can download the single jars individually:

http://search.maven.org/#search|ga|1|g%3A%22org.jbehave%22

Cheers



On Sat Sep 3 18:59:36 2011, Paul Hammant wrote:
Maven and Eclipse play well together too. There's a plugin for Eclipse that works well with maven POM files.

On Sat, Sep 3, 2011 at 11:42 AM, Sunil Thamban <[email protected] <mailto:[email protected]>> wrote:

Hi,

Thanks for the response.

So if i am to understand correctly ideally what you are promoting
is the use of the maven build tool to use JBehave.

I am more of an eclipse guy.

Can i use JBehave without using the maven as a build tool. What if
i could download the jars from maven central and drop them on the
build path of eclipse ? Would that approach be correct. ?


Thanks




On Sat, Sep 3, 2011 at 9:44 PM, Mauro Talevi
<[email protected] <mailto:[email protected]>>
wrote:

Hi,

if you're using Maven you don't need to download the libs via
ant.

Simply declare the dependencies in the POMs following the
examples in

http://jbehave.org/reference/stable/running-examples.html

The deps will be downloaded automatically from Maven Central.

Cheers


On 03/09/2011 17:31, Sunil Thamban wrote:
Hi,

I am trying to use JBehave on ubuntu natty 11.04

I have maven 2.2.1 installed on my system with jdk1.7

I downloaded jbehave-distribution-3.4.5-bin.zip, unzipped it
and did the following steps.

a. cd lib

b. mvn -s settings.xml clean install

It gave me the following error.
"Failed to run xsite"

c. Then i ran ant copy-dependencies. This threw up a missing
artifact error saying that weld-se.jar is not available in
the repositories.

d. I even ran a plain ant but it too threw up the same above
exception.

Could you please suggest any more alternative steps to get
hold of the jbehave jars ??

Thanks













-- -Sunil Thamban
Mobile No. 9967054408
---------------------------------




-- -Sunil Thamban
Mobile No. 9967054408
---------------------------------





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to