create release file path in ant process and explicitly make build dir

pull/533/head
Michael Christen 2 years ago
parent 8b37a5dc6f
commit 56aa23a3ca

@ -5,7 +5,6 @@ javacTarget=1.8
# Release Configuration # Release Configuration
releaseVersion=1.925 releaseVersion=1.925
releaseNr=9749 releaseNr=9749
stdReleaseFile=yacy_v${releaseVersion}_${releaseNr}.tar.gz
releaseFileParentDir=yacy releaseFileParentDir=yacy
privateKeyFile=private.key privateKeyFile=private.key

@ -93,6 +93,8 @@
<!-- initializing all needed variables --> <!-- initializing all needed variables -->
<target name="init"> <target name="init">
<loadproperties srcFile="build.properties" /> <loadproperties srcFile="build.properties" />
<property name="stdReleaseFile" value="yacy_v${releaseVersion}_${releaseNr}.tar.gz"/>
<mkdir dir="${data}"/> <mkdir dir="${data}"/>
<mkdir dir="${release}"/> <mkdir dir="${release}"/>
@ -107,6 +109,8 @@
<!-- apply replacments --> <!-- apply replacments -->
<copy file="${defaults}/yacyBuild.properties.template" tofile="${defaults}/yacyBuild.properties" overwrite="true" filtering="true" /> <copy file="${defaults}/yacyBuild.properties.template" tofile="${defaults}/yacyBuild.properties" overwrite="true" filtering="true" />
<!-- prepare target -->
<mkdir dir="${build}"/>
</target> </target>
<target name="javadoc" depends="init" description="make javadoc for YaCy core"> <target name="javadoc" depends="init" description="make javadoc for YaCy core">

Loading…
Cancel
Save