#pragma section-numbers off 参考 http://www.ether-usa.net/ether-server/macosx/ = Tomcat+cocoonの導入 = Tomcatはhttp://jakarta.apache.org/ にて開発されている。 http://developer.apple.com/internet/macosx/tomcat1.html に説明がある。 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/ よりMac OS X用のバイナリを入手。 $JAVA_HOMEの設定。 tomcat_start.command {{{ #!/bin/sh CATALINA_HOME=/Users/sakito/bin/jakarta-tomcat-4.0.1 export JAVA=$JAVA_HOME export $CATALINA_HOME/bin/startup.sh }}} tomcat_stop.command {{{ #!/bin/sh CATALINA_HOME=/Users/sakito/bin/jakarta-tomcat-4.0.1 export JAVA=$JAVA_HOME export $CATALINA_HOME/bin/shutdown.sh }}} 実行権限を付加すればダブルクリックにて起動停止が可能となる。 = cocoon = http://xml.apache.org/ http://xml.apache.org/cocoon/installing/index.html or http://xml.apache.org/cocoon/dist/cocoon-2.0.2-src.tar.gz より取得。Unixとしての利用方法説明に従えま利用可能である。 {{{ Installing on Tomcat 4.0 - 4.0.1, 4.0.4b1 Tomcat 4 is a really straight-forward installation. 1. Build the Cocoon webapp as described above. 2. Copy cocoon/build/cocoon/cocoon.war into tomcat/webapps directory. 3. Start Tomcat: Go to the tomcat/bin directory, and run the startup script. 4. Open the Cocoon welcome page: http://localhost:8080/cocoon/ 5. Congratulations! You should see the Cocoon welcome page. chmod 755 build.sh [unix] ./build.sh -Dinclude.webapp.libs=yes webapp }}} http://localhost:8080/cocoon/ 初期のみ画面表示までに数分かかります。 これは初期コンパイルしているためです。