forked from Exslims/MercuryTrade
-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added instructions for jar file, changed build scripts
- Loading branch information
Showing
4 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,4 +76,5 @@ logs/ | |
release_files/MercuryTrade.* | ||
release_files/resources/ | ||
release_files/launch4j.log | ||
release_files/lang.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
echo off | ||
cls | ||
echo preparing zip files for release starting... | ||
echo zipping with jar file start | ||
cd release_files | ||
echo removing old zip files | ||
del MercuryTrade.jar.zip | ||
del MercuryTrade.exe.zip | ||
copy MercuryTrade.jar MercuryTrade | ||
copy HOW_TO_RUN_JAR.txt MercuryTrade | ||
call powershell Compress-Archive MercuryTrade MercuryTrade.jar.zip | ||
cd MercuryTrade | ||
del MercuryTrade.jar | ||
del HOW_TO_RUN_JAR.txt | ||
cd .. | ||
echo Zipping with jar completed | ||
echo Zipping with exe file start | ||
copy MercuryTrade.exe MercuryTrade | ||
call powershell Compress-Archive MercuryTrade MercuryTrade.exe.zip | ||
cd MercuryTrade | ||
del MercuryTrade.exe | ||
cd .. | ||
echo zipping with exe completed | ||
echo zipping with lang started | ||
echo removing old lang files | ||
del lang.zip | ||
call powershell Compress-Archive ../app-shared/src/main/resources/lang/* lang.zip | ||
echo zipping with lang ended |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
If you want to run this app from jar you need to type in cmd following command: | ||
|
||
java "-Dfile.encoding=UTF-8" -jar MercuryTrade.jar | ||
|
||
This s very important "-Dfile.encoding=UTF-8" since it loads application with UTF-8 charset so characters like ąśćł and some chinese/japanese characters needs that | ||
|