Sakai Tool Build

Sakai Tool Build

This all looks pretty Sakai 1.5.x - so don't get too exited yet...

  1. copy the example tool into <sakai-src-dir>/newTool

  2. change <sakai-src-dir>/newToolproject.xml to
    read:

    <project> <pomVersion>3</pomVersion> <name>New Tool Name</name> <groupId>sakaiproject</groupId> <id>sakai-newTool</id>
  3. create <sakai-src-dir>/newTool/src/reg/new.tool.xml to

  4. 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>
  5. 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>
  6. copy <sakai-src-dir>/newTool/src/reg/new.tool.xml to
    /usr/local/sakai/reg

  7. 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>
  8. run maven from <sakai-src-dir>