mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-01 19:26:09 -04:00
Version 0.1.3 interrupted trade process working fine
This commit is contained in:
parent
0008202037
commit
aa1e141900
39 changed files with 209 additions and 148 deletions
|
@ -3,7 +3,7 @@ Binary build instructions with Update FX:
|
|||
Binary build:
|
||||
|
||||
1. Set version numbers in UpdateProcess, BitsquareAppMain and pom files. Check in changes.
|
||||
2. Remove previous build files under gui/updatefx. Use wallet file form backup if not there. Run setup.sh. Key in UpdateProcess must be same as reported in
|
||||
2. Remove previous build files under core/updatefx. Use wallet file form backup if not there. Run setup.sh. Key in UpdateProcess must be same as reported in
|
||||
console.
|
||||
3. Run create_app.sh
|
||||
4. Upload index to server
|
||||
|
|
|
@ -21,9 +21,9 @@ $JAVA_HOME/bin/javapackager \
|
|||
-name Bitsquare \
|
||||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir gui/deploy \
|
||||
-srcfiles gui/updatefx/builds/processed/$buildVersion.jar \
|
||||
-appclass io.bitsquare.app.gui.BitsquareAppMain \
|
||||
-outdir core/deploy \
|
||||
-srcfiles core/updatefx/builds/processed/$buildVersion.jar \
|
||||
-appclass io.bitsquare.app.core.BitsquareAppMain \
|
||||
-outfile Bitsquare
|
||||
|
||||
cd package/linux
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
# setup dirs
|
||||
cd ../../
|
||||
|
||||
mkdir gui/updatefx
|
||||
mkdir gui/updatefx/builds
|
||||
mkdir gui/updatefx/builds/processed
|
||||
mkdir gui/deploy
|
||||
mkdir core/updatefx
|
||||
mkdir core/updatefx/builds
|
||||
mkdir core/updatefx/builds/processed
|
||||
mkdir core/deploy
|
||||
|
||||
cd package/linux
|
|
@ -35,7 +35,7 @@
|
|||
<key>JVMRuntime</key>
|
||||
<string>..</string>
|
||||
<key>JVMMainClassName</key>
|
||||
<string>io.bitsquare.app.gui.BitsquareAppMain</string>
|
||||
<string>io.bitsquare.app.core.BitsquareAppMain</string>
|
||||
<key>JVMAppClasspath</key>
|
||||
<string></string>
|
||||
<key>JVMMainJarName</key>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<key>JVMRuntime</key>
|
||||
<string>..</string>
|
||||
<key>JVMMainClassName</key>
|
||||
<string>io.bitsquare.app.gui.BitsquareAppMain</string>
|
||||
<string>io.bitsquare.app.core.BitsquareAppMain</string>
|
||||
<key>JVMAppClasspath</key>
|
||||
<string></string>
|
||||
<key>JVMMainJarName</key>
|
||||
|
|
|
@ -5,10 +5,10 @@ cd ../../
|
|||
set -e
|
||||
|
||||
# Extract the version number. buildVersion is used for ever increasing integer at UpdateFX. fullVersion contains major and minor version + buildVersion
|
||||
buildVersion=$( sed -n 's/^.*final int BUILD_VERSION = //p' gui/src/main/java/io/bitsquare/app/gui/UpdateProcess.java )
|
||||
buildVersion=$( sed -n 's/^.*final int BUILD_VERSION = //p' core/src/main/java/io/bitsquare/app/UpdateProcess.java )
|
||||
# remove trailing;
|
||||
buildVersion="${buildVersion:0:${#buildVersion}-1}"
|
||||
fullVersion=$( sed -n 's/^.*final String VERSION = "//p' gui/src/main/java/io/bitsquare/app/gui/BitsquareAppMain.java )
|
||||
fullVersion=$( sed -n 's/^.*final String VERSION = "//p' core/src/main/java/io/bitsquare/app/BitsquareAppMain.java )
|
||||
# remove trailing ";
|
||||
fullVersion="${fullVersion:0:${#fullVersion}-2}".$buildVersion
|
||||
|
||||
|
@ -20,9 +20,9 @@ sed "s|JAR_NAME_STRING_GOES_HERE|$buildVersion.jar|" package/mac/Info.template.p
|
|||
|
||||
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/$buildVersion.jar
|
||||
cp core/target/shaded.jar core/updatefx/builds/$buildVersion.jar
|
||||
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ core/updatefx
|
||||
|
||||
$JAVA_HOME/bin/javapackager \
|
||||
-deploy \
|
||||
|
@ -35,9 +35,9 @@ $JAVA_HOME/bin/javapackager \
|
|||
-name Bitsquare \
|
||||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir gui/deploy \
|
||||
-srcfiles gui/updatefx/builds/processed/$buildVersion.jar \
|
||||
-appclass io.bitsquare.app.gui.BitsquareAppMain \
|
||||
-outdir core/deploy \
|
||||
-srcfiles core/updatefx/builds/processed/$buildVersion.jar \
|
||||
-appclass io.bitsquare.app.core.BitsquareAppMain \
|
||||
-outfile Bitsquare
|
||||
|
||||
cd package/mac
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
# setup dirs
|
||||
cd ../../
|
||||
mkdir gui/updatefx
|
||||
mkdir gui/updatefx/builds
|
||||
mkdir gui/updatefx/builds/processed
|
||||
mkdir gui/updatefx/site
|
||||
mkdir gui/deploy
|
||||
mkdir core/updatefx
|
||||
mkdir core/updatefx/builds
|
||||
mkdir core/updatefx/builds/processed
|
||||
mkdir core/updatefx/site
|
||||
mkdir core/deploy
|
||||
|
||||
# create key/wallet. Copy wallet key to UpdateProcess and use wallet for other OS builds
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ core/updatefx
|
||||
|
||||
cd package/mac
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@ cd ../../
|
|||
set -e
|
||||
|
||||
# Extract the version number. buildVersion is used for ever increasing integer at UpdateFX. fullVersion contains major and minor version + buildVersion
|
||||
buildVersion=$( sed -n 's/^.*final int BUILD_VERSION = //p' gui/src/main/java/io/bitsquare/app/gui/UpdateProcess.java )
|
||||
buildVersion=$( sed -n 's/^.*final int BUILD_VERSION = //p' core/src/main/java/io/bitsquare/app/UpdateProcess.java )
|
||||
# remove trailing;
|
||||
buildVersion="${buildVersion:0:${#buildVersion}-1}"
|
||||
echo buildVersion = $buildVersion
|
||||
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/$buildVersion.jar
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
||||
cp core/target/shaded.jar core/updatefx/builds/$buildVersion.jar
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ core/updatefx
|
||||
|
||||
cd package/mac
|
|
@ -8,9 +8,9 @@ cd ..\..\
|
|||
:: 64 bit build
|
||||
:: Needs Inno Setup 5 or later (http://www.jrsoftware.org/isdl.php)
|
||||
:: Build with jdk1.8.0_40 fails but jdk1.8.0_3 works
|
||||
call "C:\Program Files\Java\jdk1.8.0_31\bin\javapackager.exe" -deploy -BappVersion=0.1.1 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir gui\deploy -appclass io.bitsquare.app.gui.BitsquareAppMain -srcfiles "gui\updatefx\builds\processed\1.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_31\jre"
|
||||
call "C:\Program Files\Java\jdk1.8.0_31\bin\javapackager.exe" -deploy -BappVersion=0.1.1 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir core\deploy -appclass io.bitsquare.app.core.BitsquareAppMain -srcfiles "core\updatefx\builds\processed\1.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_31\jre"
|
||||
|
||||
:: 32 bit build
|
||||
:: call "C:\Program Files (x86)\Java\jdk1.8.0_31\bin\javapackager.exe" -deploy -BappVersion=0.1.1 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir gui\deploy -appclass io.bitsquare.app.gui.BitsquareAppMain -srcfiles "gui\updatefx\builds\processed\1.jar" -outfile Bitsquare -Bruntime="C:\Program Files (x86)\Java\jdk1.8.0_31\jre"
|
||||
:: call "C:\Program Files (x86)\Java\jdk1.8.0_31\bin\javapackager.exe" -deploy -BappVersion=0.1.1 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir core\deploy -appclass io.bitsquare.app.core.BitsquareAppMain -srcfiles "core\updatefx\builds\processed\1.jar" -outfile Bitsquare -Bruntime="C:\Program Files (x86)\Java\jdk1.8.0_31\jre"
|
||||
|
||||
cd package\windows
|
|
@ -1,9 +1,9 @@
|
|||
cd ..\..\
|
||||
|
||||
:: setup dirs
|
||||
mkdir gui\updatefx
|
||||
mkdir gui\updatefx\builds
|
||||
mkdir gui\updatefx\builds\processed
|
||||
mkdir gui\deploy
|
||||
mkdir core\updatefx
|
||||
mkdir core\updatefx\builds
|
||||
mkdir core\updatefx\builds\processed
|
||||
mkdir core\deploy
|
||||
|
||||
cd package\windows
|
Loading…
Add table
Add a link
Reference in a new issue