Source

infopad / build.xml

<project name="infopad" default="compile" basedir=".">

<target name="init">
  <property name="depbase" value="${basedir}/deploy"/>
  <property name="src" value="${basedir}/src"/>
  <property name="icons" value="${basedir}/icons"/>
  <property name="helpdoc" value="${basedir}/helpdoc"/>
  <property name="build" value="${basedir}/build"/>
  <property name="docdir" value="${build}/doc"/>
  <property name="fset" value="com/idolstarastronomer/infopad/**"/>
  <property name="jnlpdir" value="${basedir}/jnlp"/>
  <property name="jnlpdeploy" value="${depbase}/jnlp"/>
  <property name="jarname" value="infopad.jar"/>
  <property name="conf" value="${basedir}/conf"/>
</target>

<target name="clean" depends="init">
  <delete dir="${build}"/>
  <delete dir="${depbase}"/>
</target>

<target name="prepare" depends="init">
  <mkdir dir="${build}"/>
  <mkdir dir="${depbase}"/>
</target>

<target name="compile" depends="prepare">
  <javac srcdir="${src}" destdir="${build}" source="1.4" target="1.4"
  optimize="yes"/>
  <copy todir="${build}/icons">
    <fileset dir="${icons}"/>
  </copy>
  <copy todir="${build}/helpdoc">
    <fileset dir="${helpdoc}"/>
  </copy>
</target>

<target name="debug" depends="prepare">
  <javac srcdir="${src}" destdir="${build}" source="1.4" target="1.4"
  debug="yes"/>
  <copy todir="${build}/icons">
    <fileset dir="${icons}"/>
  </copy>
  <copy todir="${build}/helpdoc">
    <fileset dir="${helpdoc}"/>
  </copy>
</target>

<target name="jar" depends="compile">
  <jar jarfile="${depbase}/${jarname}" basedir="${build}"
  manifest="${conf}/manifest"/>
</target>

<target name="jarsign" depends="jar">
  <input message="Type in your key password:" addproperty="keypass"/>
  <signjar jar="${depbase}/${jarname}" alias="devries" storepass="${keypass}"/>
</target>

<target name="jnlp" depends="jarsign">
  <copy todir="${jnlpdeploy}">
    <fileset dir="${jnlpdir}"/>
  </copy>
  <copy file="${depbase}/${jarname}" todir="${jnlpdeploy}"/>
</target>

</project>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.