Permalink
Browse files

Initial Ikido loading...

  • Loading branch information...
1 parent ae8248b commit f32a168b7f38faf9ff8c304be57dfcb22fd61c9c Felipe committed Mar 28, 2009
@@ -0,0 +1,6 @@
+Ikido
+clean
+compile
+jar
+prepare
+sample-app
View
@@ -37,10 +37,11 @@
</jar>
</target>
- <target name="sample-app" description="Create the sample.war file in the jetty/webapps directory">
- <war destfile="sample/sample.war" webxml="sample/WEB-INF/web.xml">
+ <target name="sample-app" depends="jar" description="Create the sample.war file in the jetty/webapps directory">
+ <war destfile="sample/root.war" webxml="sample/WEB-INF/web.xml">
<lib dir="${lib.dir}" includes="ikanserve.jar,ioke.jar,ioke-lib.jar,ikido.jar"/>
- <classes dir="sample/WEB-INF/classes" includes="**/*"/>
+ <classes dir="sample" includes="app/**/*"/>
+<!-- <classes dir="sample/WEB-INF/classes" includes="**/*"/> -->
</war>
</target>
@@ -0,0 +1,10 @@
+"Ikido is loading..." println
+
+ use("app/simple_controller")
+
+ Ikido = Origin mimic
+
+ Ikido action = method(regexp, action,
+ "adding action" println
+ IKanServe actionForPath(regexp, action)
+ )
@@ -0,0 +1,2 @@
+;; File used to load the ikido files to ikanserve
+ use("ikido.ik")
View
Binary file not shown.
View
Binary file not shown.
@@ -0,0 +1,4 @@
+"LOADING: The first ikido Application..." println
+use("ikido")
+
+Ikido action(#r[^/ikido], method("Hello Ikido... cool stuff"))
View
@@ -0,0 +1,10 @@
+"Ikido is loading..." println
+
+ use("app/simple_controller")
+
+ Ikido = Origin mimic
+
+ Ikido action = method(regexp, action,
+ "adding action" println
+ IKanServe actionForPath(regexp, action)
+ )
@@ -0,0 +1,2 @@
+;; File used to load the ikido files to ikanserve
+ use("ikido.ik")

0 comments on commit f32a168

Please sign in to comment.