Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. for each project, right-click->properties->tomcat... general tab: checkbox 'tomcat project' (can't figure out how to do this any other way)
  2. quit eclipse
  3. rest
    Note
    titleTODO 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
titleaddTomcatNatures.tcsh
#!/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

...