diff --git a/build_automation/update_dependency.py b/build_automation/update_dependency.py index 3f65a1df..145516e3 100644 --- a/build_automation/update_dependency.py +++ b/build_automation/update_dependency.py @@ -11,13 +11,17 @@ import time dep_name = sys.argv[1] +if len(sys.argv) == 3: # NDTiffStorage.jar comes from NDStorage repo + repo_name = sys.argv[2] +else: + repo_name = dep_name git_repos_dir = str(Path(__file__).parent.parent.parent) + '/' -if('java' in os.listdir(git_repos_dir + dep_name)): - pom_path = git_repos_dir + dep_name + '/java/pom.xml' +if('java' in os.listdir(git_repos_dir + repo_name)): + pom_path = git_repos_dir + repo_name + '/java/pom.xml' else: - pom_path = git_repos_dir + dep_name + '/pom.xml' + pom_path = git_repos_dir + repo_name + '/pom.xml' # Get the latest version number diff --git a/java/pom.xml b/java/pom.xml index 81cb4bd4..6a0bb800 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -2,7 +2,7 @@ 4.0.0 org.micro-manager.pycro-manager PycroManagerJava - 0.46.14 + 0.46.16 jar Pycro-Manager Java The Java components of Pycro-Manager @@ -55,7 +55,7 @@ org.micro-manager.acqengj AcqEngJ - 0.38.0 + 0.38.1 org.micro-manager.ndviewer @@ -65,7 +65,7 @@ org.micro-manager.ndtiffstorage NDTiffStorage - 2.18.2 + 2.18.4 @@ -133,13 +133,7 @@ true 20 - + @@ -154,4 +148,4 @@ - + \ No newline at end of file