This all looks pretty Sakai 1.5.x - so don't get too exited yet...
- copy the example tool into <sakai-src-dir>/newTool
- change <sakai-src-dir>/newToolproject.xml to
read:<project> <pomVersion>3</pomVersion> <name>New Tool Name</name> <groupId>sakaiproject</groupId> <id>sakai-newTool</id>
- create <sakai-src-dir>/newTool/src/reg/new.tool.xml to
- edit <sakai-src-dir>/newTool/src/reg/new.tool.xml to:
<tool id="new.tool" url="/sakai-newTool/entrypoint/jsf.tool" title="Example newTool Tool" description="Example newTool Tool demonstrating a tool interacting with an existing service."> <configuration name="channel" value="" /> </tool>
- add the following line to <sakai-src-dir>/maven.xml:
<copy todir="reference/src/usr_local_sakai/reg" filtering="false" preservelastmodified="true" overwrite="true"> <fileset dir="newTool/src/reg"> <include name="*.xml" /> </fileset> </copy>
- copy <sakai-src-dir>/newTool/src/reg/new.tool.xml to
/usr/local/sakai/reg - edit <sakai-src-dir>/deploy/project.xml :
<dependency> <groupId>sakaiproject</groupId> <artifactId>sakai-newTool</artifactId> <type>war</type> <version>sakai.1.5.0</version> </dependency>
- run maven from <sakai-src-dir>