...
- for each project, right-click->properties->tomcat... general tab: checkbox 'tomcat project' (can't figure out how to do this any other way)
- quit eclipse
- rest
Note title TODO Item I think you can add full tomcat natures from the command line (without all the clicking ....above) by adding this line to the .project files:
No Format <nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
run this scriptlet in the sakai modules' root directory:
...
Code Block | ||
---|---|---|
| ||
#!/bin/tcsh foreach file ( `find . -name .tomcatplugin -exec dirname {} \; | awk -F'/' '{print $NF}'` ) sed -i.bak -r "{s/<warLocation>.*<\/warLocation>/<warLocation>\/usr\/local\/tomcat\/webapps\/sakai-$file.war<\/warLocation>/}" \ ./$file/.tomcatplugin sed -i.bak2 -r "{s/<webPath>.*<\/webPath>/<webPath>\/sakai-$file.war<\/webPath>/}" \ ./$file/.tomcatplugin end |
...