Mercurial Hosting > junotu
annotate package.gui_sh @ 55:154c07f4c23c
TabColumns: Ability to edit column titles (double click)
author | Fox |
---|---|
date | Wed, 14 Dec 2022 17:01:00 +0100 |
parents | 11bf54badc99 |
children | 0d4e996a5d99 |
rev | line source |
---|---|
22 | 1 #!/bin/sh |
2 | |
3 #export _JAVA_AWT_WM_NONREPARENTING=1 | |
4 export CLASSPATH=./src:./build:./lib/lucene-core-3.0.3.jar | |
5 #JAVA=/usr/lib/jvm/java-8-openjdk-amd64/bin/java | |
6 | |
25
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
7 version=$(hg identify -i) |
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
8 |
36
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
9 mkdir -p ./build/packed/libraries |
22 | 10 |
36
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
11 javac -d ./build $(find ./src -name '*.java' | xargs) && cd build && jar cvefm junotu.Main ./packed/JUnotu.jar ../src/manifest $(find ./ -name *.class) |
22 | 12 cd .. |
36
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
13 cat > ./build/packed/readme.txt <<EOF |
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
14 To run the program, unpack it from the achive and either double click 'JUnotu.jar' or run 'java -jar JUnotu.jar' command in the terminal. |
25
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
15 EOF |
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
16 echo $version > ./build/packed/version |
36
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
17 scp -r ./lib/* ./build/packed/libraries |
23 | 18 rm -f ./build/packed/JUnotu.tar |
25
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
19 tar -cvhf ./build/packed/JUnotu.tar -C ./build/packed/ $(ls ./build/packed) |
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
20 echo Packed revision: $version |