javatools/javasecuritycustomization/policyeditor/build/build.xml
branchRCL_3
changeset 19 04becd199f91
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javatools/javasecuritycustomization/policyeditor/build/build.xml	Tue Apr 27 16:30:29 2010 +0300
@@ -0,0 +1,54 @@
+<!--
+#
+# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description: 
+#
+-->
+
+<project name="securitypolicyeditortool" default="deploy" basedir=".">
+  <description>Compiles the security policy tool</description>
+
+  <property name="tool.classes.dir" location="javabuild"/>
+  <property name="tool.src.dir" location="../javasrc"/>
+  <property name="tool.bin" location="../bin/securitypolicyeditor.jar"/>
+  <property name="tool.lib" location="../lib/engine.jar"/>
+
+  <target name="init">
+    <mkdir dir="${tool.classes.dir}"/>
+  </target>
+  
+  <target name="deploy" depends="compile">
+    <jar jarfile="${tool.bin}" update="true">
+        <fileset dir="${tool.classes.dir}"/>
+    </jar>
+  </target>
+  
+  <target name="compile" depends="init">
+    <javac 
+      source="1.3" 
+      target="1.3"
+      destdir="${tool.classes.dir}"
+      debug="on"
+      debuglevel="lines, vars, and source"
+      classpath="${tool.bin}${path.separator}${tool.lib}">
+      <src path="${tool.src.dir}"/>
+    </javac>
+  </target>
+  
+  <target name="clean"
+        description="clean up" >
+    <delete dir="${tool.classes.dir}"/>
+  </target>
+
+</project>