Added build target to upload css to dev server
[pithos-web-client] / build.xml
index 72ae3b1..12cdddc 100644 (file)
--- a/build.xml
+++ b/build.xml
        </target>
 
     <target name="uploadToVM" depends="gwt-compile">
-        <scp todir="chstath@pithos.dev.grnet.gr:/var/www/pithos_web_client" keyfile="/home/chstath/.ssh/id_rsa" passphrase="r0bax45">
+        <scp todir="chstath@pithos.dev.grnet.gr:/var/www/pithos_web_client" keyfile="${ssh.key}" passphrase="${passphrase}">
             <fileset dir="${gwt.www.dir}/${gwt.module}"/>
         </scp>
     </target>
 
+    <target name="uploadCSSToVM">
+        <scp todir="chstath@pithos.dev.grnet.gr:/var/www/pithos_web_client" keyfile="${ssh.key}" passphrase="${passphrase}">
+            <fileset dir="${gwt.www.dir}/${gwt.module}" includes="pithos.css"/>
+        </scp>
+    </target>
+
        <target name="clean" description="Delete all build artifacts">
                <delete dir="${build.dir}"/>
        </target>
             <jvmarg value="-Xdebug"/>
             <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=55555"/>
             <arg value="-war"/>
-            <arg value="${gwt.www.dir}/${gwt.module}"/>
+            <arg value="${gwt.www.dir}"/>
             <arg value="-noserver"/>
             <arg value="-startupUrl"/>
-            <arg value="http://127.0.0.1:8080/client/pithos.html"/>
+            <arg value="http://127.0.0.1:8080/client"/>
             <arg value="${gwt.module}"/>
         </java>
     </target>