jetty

jettyでJRuby On Railsを動かすメモ その2

jettyでJRuby On Railsを動かすメモでJRuby On Railsが動くようになったので次はJDBC接続でscaffoldを動かしてみる。データベースはapache derbyを組み込みモードで使うことにしてみる。 derbyのインストール ここからdb-derby-10.2.2.0-bin.zipをダウンロー…

jettyでJRuby On Railsを動かすメモ

JRubyのインストール http://jruby.codehaus.org/から辿って、jruby-bin-1.0.zipをダウンロード C:\jruby\へ解凍 環境変数設定 JRUBY_HOMにC:\jruby\jruby-1.0を設定 PATHに%JRUBY_HOME%\binを追加 C:\>jruby -version ruby 1.8.5 (2007-06-07 rev 3841) [x8…

maven2からjetty6を起動するメモ

mvn archetype:create -DgroupId=org.ikoan -DartifactId=simple -DarchetypeArtifactId=maven-archetype-webapp 生成されたpomを修正 … <build> <plugins> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <configuration> <contextPath>/simple</contextPath> <scanIntervalSeconds>…</scanintervalseconds></configuration></plugin></plugins></build>