javatools/javasecuritycustomization/policyeditor/build/build.xml
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 <!--
       
     2 #
       
     3 # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 # All rights reserved.
       
     5 # This component and the accompanying materials are made available
       
     6 # under the terms of "Eclipse Public License v1.0"
       
     7 # which accompanies this distribution, and is available
       
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 #
       
    10 # Initial Contributors:
       
    11 # Nokia Corporation - initial contribution.
       
    12 #
       
    13 # Contributors:
       
    14 #
       
    15 # Description: 
       
    16 #
       
    17 -->
       
    18 
       
    19 <project name="securitypolicyeditortool" default="deploy" basedir=".">
       
    20   <description>Compiles the security policy tool</description>
       
    21 
       
    22   <property name="tool.classes.dir" location="javabuild"/>
       
    23   <property name="tool.src.dir" location="../javasrc"/>
       
    24   <property name="tool.bin" location="../bin/securitypolicyeditor.jar"/>
       
    25   <property name="tool.lib" location="../lib/engine.jar"/>
       
    26 
       
    27   <target name="init">
       
    28     <mkdir dir="${tool.classes.dir}"/>
       
    29   </target>
       
    30   
       
    31   <target name="deploy" depends="compile">
       
    32     <jar jarfile="${tool.bin}" update="true">
       
    33         <fileset dir="${tool.classes.dir}"/>
       
    34     </jar>
       
    35   </target>
       
    36   
       
    37   <target name="compile" depends="init">
       
    38     <javac 
       
    39       source="1.3" 
       
    40       target="1.3"
       
    41       destdir="${tool.classes.dir}"
       
    42       debug="on"
       
    43       debuglevel="lines, vars, and source"
       
    44       classpath="${tool.bin}${path.separator}${tool.lib}">
       
    45       <src path="${tool.src.dir}"/>
       
    46     </javac>
       
    47   </target>
       
    48   
       
    49   <target name="clean"
       
    50         description="clean up" >
       
    51     <delete dir="${tool.classes.dir}"/>
       
    52   </target>
       
    53 
       
    54 </project>