INCOMPLETE!!
Here are some hints for the development of the Version 1 (1.N) of LocoBuffer Server “LbServer”.
On ubuntu 16.04 x86_64:
https://wiki.ubuntuusers.de/Java/Installation/OpenJDK/
https://wiki.ubuntuusers.de/Java/Oracle_Java/
$ sudo apt-get install openjdk-8-jre
$ sudo apt-get install openjdk-8-jdk
$ sudo apt-get install openjdk-8-demo openjdk-8-doc openjdk-8-source
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt install oracle-java7-installer
$ sudo apt install oracle-java8-installer
$ sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1083 auto mode
1 /usr/lib/jvm/java-7-oracle/jre/bin/java 1082 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
3 /usr/lib/jvm/java-8-oracle/jre/bin/java 1083 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/java to provide /usr/bin/java (java) in manual mode
$
$ sudo update-alternatives --config javac
There are 3 choices for the alternative javac (providing /usr/bin/javac).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-8-oracle/bin/javac 1083 auto mode
1 /usr/lib/jvm/java-7-oracle/bin/javac 1082 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/bin/javac 1081 manual mode
3 /usr/lib/jvm/java-8-oracle/bin/javac 1083 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javac to provide /usr/bin/javac (javac) in manual mode
$
$ java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
$ javac -version
javac 1.7.0_80
$
On ubuntu 16.04:
$ sudo apt-get install ant
$ ant -version
Apache Ant(TM) version 1.9.6 compiled on July 8 2015
$
Only on Windows
http://launch4j.sourceforge.net/
On Linux (ubuntu 16.04 x86_64) download launch4j-3.7-linux.tgz
(may be
newer version will also work) and install with:
$ sudo apt-get install libc6-i386
$ sudo tar xf launch4j-3.7-linux.tgz -C /opt
On Windows run launch4j-3.7-win32.exe and accept default location `C:\Program Files (x86)\Launch4j`
Makeself by megastep - St??phane Peter. https://github.com/megastep/makeself/releases http://stephanepeter.com/makeself/
Only on Linux. On (ubuntu 16.04):
$ sudo apt-get install makeself
1.) In Visual Studio 2008 open LbServerSetup\LbServerSetup.sln. Select LbServerSetup in Solution Explorer. In the Properties change “Version” to new version number and accept generation of new ProductCode by pressing “Yes” in Dialog.
2.) Check that all files (new ones) are included in the application directory.
2.) Commit changes to SVN.
3.) Create tag in SVN (copy trunk
to tags/1.NN
)
4.) Checkout new tags/1.NN
to new local directory.
5.) Run ant distclean makeself
on ubuntu and copy *.run
6.) Run ant distclean setup release-zips
on Windows and copy *.zip