You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by Paul Sharples <p....@bolton.ac.uk> on 2011/11/14 19:08:32 UTC

Wookie and Rave integration using maven

Hi all,

This is a quick heads up to let you know about a new Maven WAR artifact 
I've uploaded to the snapshot repo here...

https://repository.apache.org/content/repositories/snapshots/org/apache/wookie/wookie/0.9.2-incubating-SNAPSHOT/wookie-0.9.2-incubating-SNAPSHOT.war

This is a self contained version of wookie and runs a Derby DB as its 
backend.

How to get this working with RAVE automatically.

You add this to rave-portal/pom.xml:

<dependency>
<groupId>org.apache.wookie</groupId>
<artifactId>wookie</artifactId>
<version>0.9.2-incubating-SNAPSHOT</version>
<type>war</type>
</dependency>

And then in the cargo section:

<deployable>
<groupId>org.apache.wookie</groupId>
<artifactId>wookie</artifactId>
<type>war</type>
<properties>
<context>/wookie</context>
</properties>
</deployable>

Once tomcat has started, you should be able to access Wookie at 
http://localhost:8080/wookie.

Note: For the tomcat instance, you may wish to also update the 
conf/tomcat-users.xml file and add the wookie admin credentials. (so you 
can also login as the admin)

i.e.

<role rolename="widgetadmin"/>
<user username="java" password="java" roles="widgetadmin"/>

Paul