Skip to content

Commit

Permalink
add package-for-store target
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleyasen committed Aug 23, 2016
1 parent cf27481 commit 439245e
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/dist/
/build/
/store/
build


37 changes: 37 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,41 @@
nbproject/build-impl.xml file.
-->

<target name="package-for-store" depends="jar">

<!-- Change the value of this property to be the name of your JAR,
minus the .jar extension. It should not have spaces.
<property name="store.jar.name" value="MyJarName"/>
-->
<property name="store.jar.name" value="type-detect"/>


<!-- don't edit below this line -->

<property name="store.dir" value="store"/>
<property name="store.jar" value="${store.dir}/${store.jar.name}.jar"/>

<echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/>

<delete dir="${store.dir}"/>
<mkdir dir="${store.dir}"/>

<jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip">
<zipgroupfileset dir="dist" includes="*.jar"/>
<zipgroupfileset dir="dist/lib" includes="*.jar"/>

<manifest>
<attribute name="Main-Class" value="${main.class}"/>
</manifest>
</jar>

<zip destfile="${store.jar}">
<zipfileset src="${store.dir}/temp_final.jar"
excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/>
</zip>

<delete file="${store.dir}/temp_final.jar"/>

</target>
</project>
Binary file modified build/classes/type/detect/grok/BooleanConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/ByteConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/DateConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/DoubleConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/FloatConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/Grok.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/IConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/IntegerConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/LongConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/Match$1.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/ShortConverter.class
Binary file not shown.
Binary file modified build/classes/type/detect/grok/StringConverter.class
Binary file not shown.

0 comments on commit 439245e

Please sign in to comment.