Skip to content
This repository
Browse code

Initial Ikido loading...

  • Loading branch information...
commit f32a168b7f38faf9ff8c304be57dfcb22fd61c9c 1 parent ae8248b
authored March 28, 2009
6  .ant-targets-build.xml
... ...
@@ -0,0 +1,6 @@
  1
+Ikido
  2
+clean
  3
+compile
  4
+jar
  5
+prepare
  6
+sample-app
7  build.xml
@@ -37,10 +37,11 @@
37 37
     </jar>
38 38
   </target>
39 39
 
40  
-  <target name="sample-app" description="Create the sample.war file in the jetty/webapps directory">
41  
-    <war destfile="sample/sample.war" webxml="sample/WEB-INF/web.xml">
  40
+  <target name="sample-app" depends="jar" description="Create the sample.war file in the jetty/webapps directory">
  41
+    <war destfile="sample/root.war" webxml="sample/WEB-INF/web.xml">
42 42
       <lib dir="${lib.dir}" includes="ikanserve.jar,ioke.jar,ioke-lib.jar,ikido.jar"/>
43  
-      <classes dir="sample/WEB-INF/classes" includes="**/*"/>
  43
+      <classes dir="sample" includes="app/**/*"/>
  44
+<!--       <classes dir="sample/WEB-INF/classes" includes="**/*"/> -->
44 45
     </war>
45 46
   </target>
46 47
 
10  build/classes/ikido.ik
... ...
@@ -0,0 +1,10 @@
  1
+"Ikido is loading..." println
  2
+
  3
+    use("app/simple_controller")
  4
+
  5
+    Ikido = Origin mimic
  6
+    
  7
+    Ikido action = method(regexp, action, 
  8
+      "adding action" println
  9
+      IKanServe actionForPath(regexp, action)
  10
+    )
2  build/classes/iks_load.ik
... ...
@@ -0,0 +1,2 @@
  1
+;; File used to load the ikido files to ikanserve
  2
+  use("ikido.ik")
BIN  lib/ikanserve.jar
Binary file not shown
BIN  lib/ikido.jar
Binary file not shown
4  sample/app/simple_controller.ik
... ...
@@ -0,0 +1,4 @@
  1
+"LOADING: The first ikido Application..." println
  2
+use("ikido")
  3
+
  4
+Ikido action(#r[^/ikido], method("Hello Ikido... cool stuff"))
10  src/ioke/ikido.ik
... ...
@@ -0,0 +1,10 @@
  1
+"Ikido is loading..." println
  2
+
  3
+    use("app/simple_controller")
  4
+
  5
+    Ikido = Origin mimic
  6
+    
  7
+    Ikido action = method(regexp, action, 
  8
+      "adding action" println
  9
+      IKanServe actionForPath(regexp, action)
  10
+    )
2  src/ioke/iks_load.ik
... ...
@@ -0,0 +1,2 @@
  1
+;; File used to load the ikido files to ikanserve
  2
+  use("ikido.ik")

0 notes on commit f32a168

Please sign in to comment.
Something went wrong with that request. Please try again.