All Downloads are FREE. Search and download functionalities are using the official Maven repository.

e.plist.dd-plist.1.18.source-code.build.xml Maven / Gradle / Ivy

Go to download

This library enables Java applications to work with property lists in various formats. Supported formats for reading and writing are OS X/iOS binary and XML property lists. ASCII property lists are also supported. The library also provides access to basic functions of NeXTSTEP/Cocoa classes like NSDictionary, NSArray, etc.

There is a newer version: 1.28
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<project name="plist" default="compile" basedir=".">
  <property name="source"     value="src/main/java" />
  <property name="test-src"   value="src/test/java" />
  <property name="build"      value="target" />
  <property name="doc"        value="doc" />
  <property name="dist"       value="target"  />
  <property name="jar"        value="dd-plist.jar" />
  
  <target name="init">
    <mkdir dir="${build}/classes" />
    <!--mkdir dir="${build}/test-classes" /-->
    <mkdir dir="${dist}" />
    <mkdir dir="${doc}" />
  </target>
  
  <target name="clean">
    <delete dir="${build}" />
    <delete dir="${dist}" />
    <delete dir="${doc}"/>
  </target>
  
  <target name="compile" depends="init">
    <mkdir dir="${build}/classes/" />
    <javac srcdir="${source}"
           destdir="${build}/classes/"
           target="1.5"
           source="1.5"
           debug="on" debuglevel="lines,vars,source"
           includeantruntime="false"
           fork="true" />
  </target>

  <target name="jar" depends="compile">
    <jar destfile="${dist}/${jar}">
      <fileset dir="${build}/classes"/>
    </jar>
  </target>

  <target name="javadoc" depends="init">
    <delete dir="${doc}/javadoc" />
    <javadoc destdir="${doc}/javadoc">
        <fileset dir="${source}"/>
    </javadoc>
  </target>

  <target name="package" depends="jar,javadoc">
    <zip destfile="${dist}/dd-plist.zip">
      <fileset dir="${dist}" includes="${jar}" />
      <fileset dir="." includes="*.txt" />
      <fileset dir="${doc}"/>
    </zip>
  </target>

</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy