Skip to content

Commit

Permalink
changed javacAll
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerHeintzmann committed Mar 16, 2024
1 parent 5f89d76 commit 285cafc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions HowToRelease.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
run the following command:
../scijava-scripts/release-version.sh



1. update version numbers. Also in javacImageJ and pom.xml but advanced its separate Version number from the Java code but these two should be the same (higher ones)
# once git needs to be configured: git config --global core.autocrlf true
go to
https://maven.scijava.org/#nexus-search;classname~View5D
and get the released jar file and put it in the ImageJ folder: C:\Users\pi96doc\Desktop\UserPrograms\fiji-win64\Fiji.app\plugins

launch Fiji
check Version of View5D
help -> Update
as many times as necessary until clean
under help->Update, click manage-update-sites: Java-8 needs to be checked
Host: webdav:RainerHeintzmann
Host: webdav:RainerHeintzmann pass: see email (14 Mar)
in AdvancedMode right-click modified file and choose "Upload to Java-8" and click on "Apply Changes (Upload)"

run from the ~/Documents/Fiji/ folder which contains the pom.xml file:
Expand Down
4 changes: 2 additions & 2 deletions javacAll
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ set -e
# 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/
myjar=$(find target -name '*.jar' | grep -v sources | grep -v javadoc)
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"
Expand Down

0 comments on commit 285cafc

Please sign in to comment.