hi all.

I am facing this issue: integrate fitnesse test with a maven2 build.
So I configured the fitnesse maven2 plugin to use maven classpath.
That seems to work. The problem is to make fitnesse from a browser to
use the maven2 classpath.

The only doc about classpath I found is here:
http://fitnesse.org/FitNesse.ClassPath

But I would like that fitnesse read the updated maven classpath, so I
do not want to hard code references to jars in my page.

The solutions could be the <copyDependencies>true</copyDependencies> tag.
this way I expect that all jars are copied from m2 repo to a lib folder.

My questions are two:

1. copyDependencites broke fitness:run with this error:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] File not found

Embedded error: /home/dev1/development/morbegno/petrol/target/classes
(Is a directory)

2. May I refer to the whole "lib" folder as the classpath so all
classes and jars are used?

I think that point 2 could not be solved.
Anyone has some better idea to use maven2 dependencies from the
fitnesse page that runs in the browser?

thanks.

-- 
Daniele Dellafiore
http://blog.ildella.net/

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

    http://xircles.codehaus.org/manage_email


Reply via email to