changeset 36:7fa7dfeb88d1

add build.xml
author e085711
date Wed, 18 May 2011 15:40:58 +0900
parents 5c158080cb3f
children 6c1b265ed6da
files Makefile/MANIFEST.MF Makefile/MANIFEST2.MF bin/java.policy.applet build.xml src/myVncProxy/CreateHtmlFile.java
diffstat 5 files changed, 36 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile/MANIFEST.MF	Wed Apr 27 06:41:03 2011 +0900
+++ b/Makefile/MANIFEST.MF	Wed May 18 15:40:58 2011 +0900
@@ -1,2 +1,4 @@
-Manifest-Version: 1.0
-Main-Class: VncViewer
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.8.2
+Created-By: 1.6.0_24-b07-334-10M3326 (Apple Inc.)
+Main-Class: myVncProxy.VncProxyService
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile/MANIFEST2.MF	Wed May 18 15:40:58 2011 +0900
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.8.2
+Created-By: 1.6.0_24-b07-334-10M3326 (Apple Inc.)
+Main-Class: myVncProxy.VncViewer
--- a/bin/java.policy.applet	Wed Apr 27 06:41:03 2011 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-/* AUTOMATICALLY GENERATED ON Tue Apr 16 17:20:59 EDT 2002*/
-/* DO NOT EDIT */
-
-grant {
-  permission java.security.AllPermission;
-};
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build.xml	Wed May 18 15:40:58 2011 +0900
@@ -0,0 +1,27 @@
+<project name="tightVNCClient" default="all" basedir=".">
+
+
+	<property name="source" value="./src/" />
+	<property name="dir" value="./bin/" />
+	<property name="mfdir" value="./Makefile/" />
+
+	<target name="all" depends="init,compile,mkjar" />
+
+	<target name="init">
+		<mkdir dir="${dir}" />
+	</target>
+
+
+	<target name="compile">
+		<javac srcdir="${source}" destdir="${dir}" />
+	</target>
+
+	<target name="mkjar">
+		<jar jarfile="VncProxyService.jar" basedir="${dir}" manifest="${mfdir}MANIFEST.MF">
+		</jar>
+		<jar jarfile="VncViewer.jar" basedir="${dir}" manifest="${mfdir}MANIFEST2.MF">
+		</jar>
+	</target>
+
+
+</project>
--- a/src/myVncProxy/CreateHtmlFile.java	Wed Apr 27 06:41:03 2011 +0900
+++ b/src/myVncProxy/CreateHtmlFile.java	Wed May 18 15:40:58 2011 +0900
@@ -33,7 +33,7 @@
 
 	void createHtml(){
 		try{
-//			String html_file = "/var/www/html/hbpVNC/"+ user +".html";
+//			String html_file = "/var/www/html/hbpVNC/view/"+ user +".html";
 			String html_file = "./"+ user +".html";
 		    file = new File(html_file);
 		    PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter(file)));