<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="tabula" default="build" basedir=".">

  <property file="build.properties"/>
  <property name="build.dir" value="build"/>
  <property name="mac.dir" value="${build.dir}/mac" />
  <property name="windows.dir" value="${build.dir}/windows" />
  <property name="full_version" value="0.9.4.0"/>
  <property name="launch4j.dir" location="${build.dir}/../launch4j"  />
  <property name="launch4j.bindir" location="${build.dir}/../launch4j/bin" />

  <target name="check-jar-exists">
    <available file="${build.dir}/tabula.jar" property="jar.exists"/>
  </target>

  <target name="macbundle" depends="check-jar-exists" if="jar.exists">
    <mkdir dir="${mac.dir}"/>
    <taskdef
        name="jarbundler"
        classname="net.sourceforge.jarbundler.JarBundler"
        classpath="${build.dir}/jarbundler-2.2.0.jar"
        />

    <jarbundler
        dir="${build.dir}/mac"
        name="Tabula"
        shortname="Tabula"
        mainclass="WarMain"
        version="${full_version}"
        infostring="© 2012-2013 <NAME>"
        aboutmenuname="Tabula"
        icon="${build.dir}/icons/tabula.icns"
        workingdirectory="$APP_PACKAGE/Contents/Resources"
        jvmversion="1.6+"
        bundleid="org.nerdpower.tabula.Tabula"
        vmoptions="-Xms256M -Xmx1024M -Dfile.encoding=utf-8"
        antialiasedgraphics="true"
        antialiasedtext="true"
        liveresize="true"
        growboxintrudes="true"
        screenmenu="true">
      <jarfilelist dir="${build.dir}" files="tabula.jar" />
    </jarbundler>
    <exec executable="codesign" os="Mac OS X">
      <!--
        Generate a self-signed "Code Signing" certificate[1]
        and use that name below. User can then right-click or Control-click the app
        and "Open" and then tell OS X to open anyway[2].
        [1]: http://support.apple.com/kb/PH7173
        [2]: http://support.apple.com/kb/HT5290
      -->
      <arg line="-f -s 'Tabula' ${build.dir}/mac/Tabula.app" />
    </exec>
  </target>

  <target name="windows" depends="check-jar-exists" if="jar.exists">
    <mkdir dir="${windows.dir}"/>
    <taskdef
        name="launch4j"
        classname="net.sf.launch4j.ant.Launch4jTask"
        classpath="${launch4j.dir}/launch4j.jar:${launch4j.dir}/lib/xstream.jar"
        />
    <launch4j bindir="${launch4j.bindir}">
      <config
          headerType="console"<commit_msg>signing key build config<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="tabula" default="build" basedir=".">

  <property file="build.properties"/>
  <property name="build.dir" value="build"/>
  <property name="mac.dir" value="${build.dir}/mac" />
  <property name="windows.dir" value="${build.dir}/windows" />
  <property name="full_version" value="0.9.4.0"/>
  <property name="launch4j.dir" location="${build.dir}/../launch4j"  />
  <property name="launch4j.bindir" location="${build.dir}/../launch4j/bin" />

  <target name="check-jar-exists">
    <available file="${build.dir}/tabula.jar" property="jar.exists"/>
  </target>

  <target name="macbundle" depends="check-jar-exists" if="jar.exists">
    <mkdir dir="${mac.dir}"/>
    <taskdef
        name="jarbundler"
        classname="net.sourceforge.jarbundler.JarBundler"
        classpath="${build.dir}/jarbundler-2.2.0.jar"
        />

    <jarbundler
        dir="${build.dir}/mac"
        name="Tabula"
        shortname="Tabula"
        mainclass="WarMain"
        version="${full_version}"
        infostring="© 2012-2013 <NAME>"
        aboutmenuname="Tabula"
        icon="${build.dir}/icons/tabula.icns"
        workingdirectory="$APP_PACKAGE/Contents/Resources"
        jvmversion="1.6+"
        bundleid="org.nerdpower.tabula.Tabula"
        vmoptions="-Xms256M -Xmx1024M -Dfile.encoding=utf-8"
        antialiasedgraphics="true"
        antialiasedtext="true"
        liveresize="true"
        growboxintrudes="true"
        screenmenu="true">
      <jarfilelist dir="${build.dir}" files="tabula.jar" />
    </jarbundler>
    <exec executable="codesign" os="Mac OS X">
      <!--
        Generate a self-signed "Code Signing" certificate[1] and give it the
        name "Tabula". User can then right-click or Control-click the app
        and "Open" and then tell OS X to open anyway[2].
        [1]: http://support.apple.com/kb/PH7173
        [2]: http://support.apple.com/kb/HT5290
      -->
      <arg line="-f -s 'Tabula' ${build.dir}/mac/Tabula.app" />
      <!--
        for production builds, requires Mac Developer Account
        and cert from[1] but allows user to open app without warnings
        [1]: https://developer.apple.com/account/mac/certificate/certificateList.action
      <arg line="-f -s 'Developer ID Application: Mike Tigas (68QUP6KP2C)' ${build.dir}/mac/Tabula.app" />
      -->
    </exec>
  </target>

  <target name="windows" depends="check-jar-exists" if="jar.exists">
    <mkdir dir="${windows.dir}"/>
    <taskdef
        name="launch4j"
        classname="net.sf.launch4j.ant.Launch4jTask"
        classpath="${launch4j.dir}/launch4j.jar:${launch4j.dir}/lib/xstream.jar"
        />
    <launch4j bindir="${launch4j.bindir}">
      <config
          headerType="console"
{'fraction_non_alphanumeric': 0.1765382403680276, 'fraction_numerical': 0.021084914701935978, 'mean_word_length': 2.9292168674698793, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 2, '>': 61, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6901137', 'n_tokens_mistral': 1778, 'n_tokens_neox': 1697, 'n_words': 289}