[ 
http://jira.codehaus.org/browse/JBEHAVE-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207862#action_207862
 ] 

Mauro Talevi commented on JBEHAVE-236:
--------------------------------------

Hi Liz,

Ant build had out-of-date dependencies.  I've now refactored it to read the 
dependencies from the Maven pom.xml so they are in sync, using the 
maven-ant-tasks (does not require Maven installed, but does required the 
maven-ant-tasks jar in the Ant lib dir, see BUILD.txt).  Build works again, 
with only exception that I could not get the Paranamer-based behaviours to pass 
in CandidateStepBehaviour.  It is a classloading issue, only occuring with Ant. 
 If you run 'ant setup', which copies the dependencies to target/lib, and then 
use to setup your IDE classpath, you'll see that in IDE the behaviour works 
fine. So I excluded it for now from the batch of unit tests, leaving a FIXME in 
the build.xml.

More in general, this issue shows that keeping two build systems in place is an 
overhead that we could do without.  I think that basic usage of Maven does not 
differ very much from Ant, with notable exception that it's a bit more 
structured (with advantage of consistency).  The BUILD.txt file at top-level 
that has some basic info on how to build with Maven.  We can expand it if you 
can point out what could be clarified better, from a Maven novice POV.
  




> Checking out, building and testing JBehave from scratch
> -------------------------------------------------------
>
>                 Key: JBEHAVE-236
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-236
>             Project: JBehave
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 2.4
>            Reporter: Elizabeth Keogh
>
> Hi Mauro,
> The Maven build has completely superseded the Ant build, which is now very 
> broken. This is fair, since you've done all the work lately - thanks!
> Could you please put a small amount of documentation out to show how to build 
> JBehave from check-out, for those of us who don't know Maven? The learning 
> curve has been off-putting even for those of us who care a lot ;)
> Cheers,
> Liz.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to