mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +00:00
Make jar signing optional
This commit is contained in:
parent
7605775c52
commit
0c69ea314f
@ -10,3 +10,4 @@ swtJarPathMac=/Users/Shared/eclipse/plugins/org.eclipse.swt.carbon.macosx_3.2.2.
|
||||
junitPathWin=C:/Java/lib/junit3.8.1/junit.jar
|
||||
junitPathMac=/Users/Shared/junit/junit.jar
|
||||
keyconf=${user.home}/.secret
|
||||
alias=name
|
@ -25,6 +25,9 @@
|
||||
else="${junitPathMac}">
|
||||
<os family="windows"/>
|
||||
</condition>
|
||||
<condition property="signing-needed">
|
||||
<available file="${keyconf}" property="keyconf-exists" />
|
||||
</condition>
|
||||
|
||||
<target name="version" description="Get version from source.">
|
||||
<property name="main.path" value="src/com/webcodepro/applecommander/ui"/>
|
||||
@ -60,11 +63,15 @@
|
||||
<delete dir="${javadoc}"/>
|
||||
</target>
|
||||
|
||||
<target name="all" depends="init,jars,macBundle,sourceZip,javadoc,websiteZip" description="Everything">
|
||||
<target name="all" depends="init,jars,signJars,macBundle,sourceZip,javadoc,websiteZip" description="Everything">
|
||||
<!-- Nothing else to do - depends handles it all. -->
|
||||
</target>
|
||||
|
||||
<target name="jars" depends="init,executableGuiJar,executableCmdJar" description="Build executable jars">
|
||||
<!-- Nothing else to do - depends handles it all. -->
|
||||
</target>
|
||||
|
||||
<target name="signJars" depends="init" if="signing-needed" description="Signs the jars">
|
||||
<!-- In ACBuild.properties => keyconf=${user.home}/.secret alias=name -->
|
||||
<!-- See man keytool, http://java.sun.com/j2se/1.5.0/docs/tooldocs/ -->
|
||||
<loadfile srcfile="${keyconf}" property="password"/>
|
||||
|
Loading…
Reference in New Issue
Block a user