Permalink
Browse files

Add vim target for VimClojure nailgun server

  • Loading branch information...
1 parent 297fa40 commit d24a2b05454727a6bab9477f3a21d303ca8a2d3a @duelinmarkers committed Apr 26, 2009
Showing with 13 additions and 1 deletion.
  1. +13 −1 build.xml
View
@@ -1,5 +1,6 @@
<project name="appengine-clj" basedir="." default="test">
+ <property environment="env" />
<property name="sdk.dir" location="../appengine-java-sdk-1.2.0" />
<property name="classes.dir" value="classes" />
<property name="lib.dir" value="lib" />
@@ -58,6 +59,17 @@
<target name="jar" depends="compile,test">
<jar jarfile="${jar.file}" basedir="${classes.dir}" />
</target>
-
+
+ <target name="vim" description="Run ng server for VimClojure">
+ <java classname="com.martiansoftware.nailgun.NGServer" dir="${src.dir}" fork="true">
+ <arg value="127.0.0.1" />
+ <classpath>
+ <pathelement path="${src.dir}" />
+ <pathelement path="${test.dir}" />
+ <pathelement location="${env.HOME}/.vim/vimclojure.jar" />
+ <path refid="project.classpath" />
+ </classpath>
+ </java>
+ </target>
</project>

0 comments on commit d24a2b0

Please sign in to comment.