Skip to content

Commit

Permalink
added automatic version detection (still wrong)
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerHeintzmann committed Mar 15, 2024
1 parent 0738a70 commit 661c162
Show file tree
Hide file tree
Showing 44 changed files with 56 additions and 12,881 deletions.
Empty file modified .github/build.sh
100755 → 100644
Empty file.
Empty file modified .github/setup.sh
100755 → 100644
Empty file.
35 changes: 16 additions & 19 deletions javacPython → javacAll
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
#! /bin/bash -x
set -e
# -target 1.1
cd src
# cd src
# javac -target 1.1 -deprecation View5D_.java
cp view5d/View5D_.java view5d/aaa.class
rm view5d/*.class
# javac -target 1.5 -source 1.5 -deprecation -classpath ".:/usr/local/ImageJ/ij.jar" view5d/View5D_.java view5d/View5D.java # -target 1.4 -source 1.2
# javac -target 1.6 -source 1.6 -deprecation -classpath ".:/usr/local/ImageJ/ij.jar" view5d/View5D_.java view5d/View5D.java # -target 1.4 -source 1.2
javac -target 1.6 -source 1.6 -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 View5D_.jar ../../../PythonScripts/FromWeb/nanoimagingpack/NanoImagingPack/resources/
cp View5D_.jar "/mnt/c/NoBackup/DeconvCompileTest/DIPlib_3_2017/share/DIPimage/private/View5D.jar"
cp View5D_.jar "/mnt/c/NoBackup/DeconvCompileTest/DIPlib_3_2019/share/DIPimage/private/View5D.jar"
cp View5D_.jar "../View5D.jar"
cp View5D_.jar "/mnt/c/Users/pi96doc/.julia/artifacts/View5D.jar"
cp View5D_.jar "C:\Program Files\DIPimage 2.9\common\dipimage\private\View5D.jar"
cp View5D_.jar "C:\Program Files\DIPlib_3_2019\share\DIPimage\private\View5D.jar"
cp View5D_.jar " C:\NoBackup\DeconvCompileTest\DIPlib_3_2019\share\DIPimage\private\View5D.jar"
cp View5D_.jar " C:\NoBackup\DeconvCompileTest\DIPlib_3_2017\share\DIPimage\private\View5D.jar"
cd ..
cp View5D.jar "View5D_v2.5.2.jar"
tar -czf "View5D_v2.5.2-jar.tar.gz" "View5D_v2.5.2.jar"
# javac -target 1.6 -source 1.6 -deprecation -classpath ".:/usr/share/java/ij.jar" view5d/View5D_.java view5d/View5D.java # -target 1.4 -source 1.2
# jar -cf /tmp/View5D_.jar view5d/*.class plugins.config
mvn clean package
myjar=$(find target -name '*.jar' | grep -v sources)
cp "$myjar" ../../../PythonScripts/FromWeb/nanoimagingpack/NanoImagingPack/resources/
cp "$myjar" "/mnt/c/NoBackup/DeconvCompileTest/DIPlib_3_2017/share/DIPimage/private/View5D.jar"
cp "$myjar" "/mnt/c/NoBackup/DeconvCompileTest/DIPlib_3_2019/share/DIPimage/private/View5D.jar"
cp "$myjar" "../View5D.jar"
cp "$myjar" "/mnt/c/Users/pi96doc/.julia/artifacts/View5D.jar"
cp "$myjar" "C:\Program Files\DIPimage 2.9\common\dipimage\private\View5D.jar"
cp "$myjar" "C:\Program Files\DIPlib_3_2019\share\DIPimage\private\View5D.jar"
cp "$myjar" "C:\NoBackup\DeconvCompileTest\DIPlib_3_2019\share\DIPimage\private\View5D.jar"
cp "$myjar" "C:\NoBackup\DeconvCompileTest\DIPlib_3_2017\share\DIPimage\private\View5D.jar"
cp "$myjar" "/mnt/c/Users/pi96doc/Desktop/UserPrograms/fiji-win64/Fiji.app/plugins/"
tar -czf "${myjar%.jar}.tar.gz" "$myjar"
# cp /*.class /usr/local/ImageJ/plugins/View5D/
#cp View5D_.jar /usr/local/ImageJ/plugins/View5D/
# cp View5D_.jar /windows/C/DriveF/JavaProgs/ImageJ/plugins/View5D/
Expand Down
281 changes: 0 additions & 281 deletions oldJava/AGenericDialog.java

This file was deleted.

Loading

0 comments on commit 661c162

Please sign in to comment.