-
Notifications
You must be signed in to change notification settings - Fork 0
/
javacImageJ
35 lines (32 loc) · 1.67 KB
/
javacImageJ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#! /bin/bash -x
set -e
# -target 1.1
cd src
# javac -target 1.1 -deprecation View5D_.java
cp view5d/View5D_.java view5d/aaa.class
rm view5d/*.class
javac -target 1.8 -source 1.8 -deprecation -classpath ".:/usr/share/java/ij.jar" view5d/View5D_.java view5d/View5D.java # -target 1.4 -source 1.2
# javac -deprecation -classpath "." View5D_.java
jar -cf /tmp/View5D_.jar view5d/*.class plugins.config
cp /tmp/View5D_.jar .
# cp /*.class /usr/local/ImageJ/plugins/View5D/
cp View5D_.jar /mnt/c/Users/pi96doc/Desktop/UserPrograms/fiji-win64/Fiji.app/plugins/View5D_-2.5.2.jar
# cp View5D_.jar /usr/local/ImageJ/plugins/View5D/
# cp View5D_.jar /windows/C/DriveF/JavaProgs/ImageJ/plugins/View5D/
# cp View5D_.jar /windows/D/JavaProgs/ImageJ/plugins/View5D/View5D.jar
# cp View5D_.jar /usr/local/KhorosInstall/goodies/data/display/View5D.jar
# cp View5D_.jar /usr/local/matlab/java/jar/toolbox/View5D.jar
# cp View5D_.jar /usr/local/dip/common/dipimage/private/View5D.jar
# cp View5D_.jar ../examples/View5D.jar
# cp View5D_.jar ..
# rm View5D_.jar
# cd ..
# zip -r View5D.zip View5D_.jar view5d.m *.html *.jpg *.m *.policy examples COPYING src/plugins.config
# zip -r View5DSources.zip view5d.m src/*.java src/view5d/*.java COPYING javacImageJ Makefile *.m src/plugins.config
# cp View5D.html /usr/local/ImageJ/plugins/View5D/index.html
# cp *.html /usr/local/ImageJ/plugins/View5D/
# cp -r examples/* /usr/local/ImageJ/plugins/View5D/examples/
# cp *.class /net/mobi1/data1/WinApps/ImageJ/plugins/View5D/
# cp View5D.html /net/mobi1/data1/WinApps/ImageJ/plugins/View5D/index.html
# cp -r examples /net/mobi1/data1/WinApps/ImageJ/plugins/View5D/
# cp *.class /net/mobi1/data1/MacOSX_local/ImageJ/plugins/View5D/