Hi Nayan,

With the plugin you have a couple of classpath.
The first one is the plugin classpath that is use by the maven JVM that
execute the plugin.
The second one is the FitNesse classpath. 

The FitNesse classpath should contain your FitNesse, fixture, applicative
and Runner classes. This classpath could be specified with the FitNesse
mechanism or with the maven pom dependencies (with the parameter
http://mojo.codehaus.org/fitnesse-maven-plugin/run-mojo.html#classPathProvid
er ). 


The fitnesseRunnerClass should be in the fitNesse classpath.

Do you had to defined the jar that contains in FitNesse using the path
directive:
!path C:\yourRunner.jar

The other solution is to use your maven dependencies and add the runner.jar
to maven and give the " classPathProvider  = maven".

If this don't answer to your question would give me the full trace running
the goal with the -X maven option ?


Philippe

 
 
> -----Original Message-----
> From: Nayan Hajratwala [mailto:[EMAIL PROTECTED]
> Sent: jeudi 12 juin 2008 04:58
> To: [email protected]
> Subject: [mojo-user] maven fitnesse plugin - fitnesseRunnerClass
> 
> Folks, I'm trying to get the Spring Rollback
> [http://gojko.net/2008/01/22/spring-rollback/
> ] solution implemented using the Fitnesse Maven Plugin
> [http://mojo.codehaus.org/fitnesse-maven-plugin/run-mojo.html
> ]
> 
> In order to do this, I believe I need to set the fitnesseRunnerClass
> configuration element as such:
> 
> <fitnesseRunnerClass>test.RollbackServer</fitnesseRunnerClass>
> 
> However, when i do this, I get the following error:
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The class [test.RollbackServer] could not be found, check your
> maven-fitnesse-plugin configuration and the plugin documentation.
> [INFO]
> ------------------------------------------------------------------------
> 
> Has anyone been able to successfully use this configuration element to
> change the TestRunner?
> 
> FYI --I crossposted this to the fitnesse mailing list ...
> 
> Thanks!
> 
> 
> ---
> Nayan Hajratwala
> http://agileshrugged.com
> http://chikli.com
> 734.658.6032
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email


Ce message Envoi est certifié sans virus connu (AVG Pro).
Analyse effectuée par AVG.
Version: 7.5.523 / Base de données virus: 270.3.0/1498 - Date: 11/06/2008
19:13
 


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

    http://xircles.codehaus.org/manage_email


Reply via email to