Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Status

Exercise

Status

Simple 1

Updated to 2.2

Simple 2

Updated to 2.2

Code Changes

The existing simple1 tool has the following files:

simple1/
	project.xml
	src/
		java/org/sakaiproject/tool/simple/
			SimpleTool.java
		webapp/
			web.xml
			tools/
				sakai.sample.tools.simple.xml

To conform to Sakai 2.2. best practice, this should be:

simple1/
	simple1-tool
		tool
			project.xml
			src/
				java/org/sakaiproject/simple/tool/
					SimpleTool.java
				webapp/
					web.xml
					tools/
						sakai.sample.tools.simple.xml

The simple2 version would have exactly the same structure. It uses the ActiveToolManager which is now in a different java package. This needs to be changed in SimpleTool.java.

  • No labels