Skip to content

Commit

Permalink
remote wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-miroch committed May 19, 2019
1 parent ee3a529 commit 40b690c
Show file tree
Hide file tree
Showing 5 changed files with 178 additions and 93 deletions.
24 changes: 23 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="Pbank" default="default" basedir=".">
<project name="AdvClient" default="default" basedir=".">
<description>Builds, tests, and runs the project Pbank.</description>
<import file="nbproject/build-impl.xml"/>
<!--
Expand Down Expand Up @@ -70,4 +70,26 @@
nbproject/build-impl.xml file.
-->


<target name="package-for-store" depends="jar">
<property name="store.jar.name" value="AdvClient"/>
<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>
Loading

0 comments on commit 40b690c

Please sign in to comment.