Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
unimelb-mf-clients
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
resplat-mediaflux
unimelb-mf-clients
Compare revisions
61d7d280484179d34d2a3a9162fa3959b795e6fc to 6fbf6d53f7d377160959cb63035c7ceebc002c71
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
resplat-mediaflux/unimelb-mf-clients
Select target project
No results found
6fbf6d53f7d377160959cb63035c7ceebc002c71
Select Git revision
Swap
Target
resplat-mediaflux/unimelb-mf-clients
Select target project
resplat-mediaflux/unimelb-mf-clients
1 result
61d7d280484179d34d2a3a9162fa3959b795e6fc
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
update jre to 21
· e3e95ea4
Wei Liu
authored
6 months ago
e3e95ea4
Merge branch 'master' of gitlab.unimelb.edu.au:resplat-mediaflux/unimelb-mf-clients
· 6fbf6d53
Wei Liu
authored
6 months ago
6fbf6d53
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ant-build.xml
+58
-41
58 additions, 41 deletions
ant-build.xml
build-all.sh
+1
-1
1 addition, 1 deletion
build-all.sh
pom.xml
+2
-2
2 additions, 2 deletions
pom.xml
with
61 additions
and
44 deletions
ant-build.xml
View file @
6fbf6d53
<?xml version="1.0"?>
<project
name=
"unimelb-mf-clients"
>
<property
name=
"jreMacFile"
value=
"OpenJDK17U-jre_x64_mac_hotspot_17.0.4_8.tar.gz"
/>
<property
name=
"jreMacUrl"
value=
"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4%2B8/OpenJDK17U-jre_x64_mac_hotspot_17.0.4_8.tar.gz"
/>
<property
name=
"jre_x64_windows_file"
value=
"OpenJDK21U-jre_x64_windows_hotspot_21.0.4_7.zip"
/>
<property
name=
"jre_x64_linux_file"
value=
"OpenJDK21U-jre_x64_linux_hotspot_21.0.4_7.tar.gz"
/>
<property
name=
"jre_x64_mac_file"
value=
"OpenJDK21U-jre_x64_mac_hotspot_21.0.4_7.tar.gz"
/>
<property
name=
"jre_aarch64_mac_file"
value=
"OpenJDK21U-jre_aarch64_mac_hotspot_21.0.4_7.tar.gz"
/>
<property
name=
"jre_x64_windows_url"
value=
"https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_x64_windows_hotspot_21.0.4_7.zip"
/>
<property
name=
"jre_x64_linux_url"
value=
"https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_x64_linux_hotspot_21.0.4_7.tar.gz"
/>
<property
name=
"jre_x64_mac_url"
value=
"https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_x64_mac_hotspot_21.0.4_7.tar.gz"
/>
<property
name=
"jre_aarch64_mac_url"
value=
"https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_aarch64_mac_hotspot_21.0.4_7.tar.gz"
/>
<property
name=
"jre_dir_name"
value=
"jdk-21.0.4+7-jre"
/>
<property
name=
"jreWindowsFile"
value=
"OpenJDK17U-jre_x64_windows_hotspot_17.0.4_8.zip"
/>
<property
name=
"jreWindowsUrl"
value=
"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4%2B8/OpenJDK17U-jre_x64_windows_hotspot_17.0.4_8.zip"
/>
<property
name=
"jreLinuxFile"
value=
"OpenJDK17U-jre_x64_linux_hotspot_17.0.4_8.tar.gz"
/>
<property
name=
"jreLinuxUrl"
value=
"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4%2B8/OpenJDK17U-jre_x64_linux_hotspot_17.0.4_8.tar.gz"
/>
<property
name=
"jreDirName"
value=
"jdk-17.0.4+8-jre"
/>
<property
name=
"tempDir"
value=
"${projectBuildDir}/temp"
/>
<property
name=
"distDir"
value=
"${projectBuildDir}/dist"
/>
...
...
@@ -19,49 +21,64 @@
<mkdir
dir=
"${projectLibDir}"
/>
<copy
file=
"${project.build.directory}/${projectArtifactId}-${projectVersion}-jar-with-dependencies.jar"
toFile=
"${projectLibDir}/${projectArtifactId}.jar"
/>
</target>
<target
name=
"pkgMac"
depends=
"init"
>
<echo
message=
"downloading Java Runtime for Mac OS..."
/>
<get
src=
"${jreMacUrl}"
dest=
"${tempDir}"
/>
<untar
src=
"${tempDir}/${jreMacFile}"
dest=
"${tempDir}"
compression=
"gzip"
/>
<delete
file=
"${tempDir}/${jreMacFile}"
/>
<tar
longfile=
"gnu"
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-x64.tar"
>
<tarfileset
dir=
"${tempDir}/${jreDirName}/Contents/Home"
includes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"755"
/>
<tarfileset
dir=
"${tempDir}/${jreDirName}/Contents/Home"
excludes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"644"
/>
<tarfileset
dir=
"${projectLibDir}"
prefix=
"${projectArtifactId}-${projectVersion}/lib"
filemode=
"644"
/>
<tarfileset
dir=
"${projectBaseDir}/src/main/scripts/unix"
prefix=
"${projectArtifactId}-${projectVersion}/bin/unix"
filemode=
"755"
/>
</tar>
<gzip
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-x64.tar.gz"
src=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-x64.tar"
/>
<delete
file=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-x64.tar"
/>
<delete
dir=
"${tempDir}/${jreDirName}"
/>
</target>
<target
name=
"pkgWindows"
depends=
"init"
>
<echo
message=
"downloading Java Runtime for Windows..."
/>
<get
src=
"${jreWindowsUrl}"
dest=
"${tempDir}"
/>
<unzip
src=
"${tempDir}/${jreWindowsFile}"
dest=
"${tempDir}"
/>
<delete
file=
"${tempDir}/${jreWindowsFile}"
/>
<target
name=
"pkg_windows_x64"
depends=
"init"
>
<echo
message=
"downloading Java Runtime for Windows x64..."
/>
<get
src=
"${jre_x64_windows_url}"
dest=
"${tempDir}"
/>
<unzip
src=
"${tempDir}/${jre_x64_windows_file}"
dest=
"${tempDir}"
/>
<delete
file=
"${tempDir}/${jre_x64_windows_file}"
/>
<zip
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-windows-x64.zip"
>
<zipfileset
dir=
"${tempDir}/${jre
DirN
ame}"
includes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"755"
/>
<zipfileset
dir=
"${tempDir}/${jre
DirN
ame}"
excludes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"644"
/>
<zipfileset
dir=
"${tempDir}/${jre
_dir_n
ame}"
includes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"755"
/>
<zipfileset
dir=
"${tempDir}/${jre
_dir_n
ame}"
excludes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"644"
/>
<zipfileset
dir=
"${projectLibDir}"
prefix=
"${projectArtifactId}-${projectVersion}/lib"
filemode=
"644"
/>
<zipfileset
dir=
"${projectBaseDir}/src/main/scripts/windows"
prefix=
"${projectArtifactId}-${projectVersion}/bin/windows"
filemode=
"755"
/>
</zip>
<delete
dir=
"${tempDir}/${jre
DirN
ame}"
/>
<delete
dir=
"${tempDir}/${jre
_dir_n
ame}"
/>
</target>
<target
name=
"pkg
L
inux"
depends=
"init"
>
<echo
message=
"downloading Java Runtime for Linux..."
/>
<get
src=
"${jre
L
inux
U
rl}"
dest=
"${tempDir}"
/>
<untar
src=
"${tempDir}/${jre
L
inux
F
ile}"
dest=
"${tempDir}"
compression=
"gzip"
/>
<delete
file=
"${tempDir}/${jre
L
inux
F
ile}"
/>
<target
name=
"pkg
_l
inux
_x64
"
depends=
"init"
>
<echo
message=
"downloading Java Runtime for Linux
x64
..."
/>
<get
src=
"${jre
_x64_l
inux
_u
rl}"
dest=
"${tempDir}"
/>
<untar
src=
"${tempDir}/${jre
_x64_l
inux
_f
ile}"
dest=
"${tempDir}"
compression=
"gzip"
/>
<delete
file=
"${tempDir}/${jre
_x64_l
inux
_f
ile}"
/>
<tar
longfile=
"gnu"
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-linux-x64.tar"
>
<tarfileset
dir=
"${tempDir}/${jre
DirN
ame}"
includes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"755"
/>
<tarfileset
dir=
"${tempDir}/${jre
DirN
ame}"
excludes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"644"
/>
<tarfileset
dir=
"${tempDir}/${jre
_dir_n
ame}"
includes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"755"
/>
<tarfileset
dir=
"${tempDir}/${jre
_dir_n
ame}"
excludes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"644"
/>
<tarfileset
dir=
"${projectLibDir}"
prefix=
"${projectArtifactId}-${projectVersion}/lib"
filemode=
"644"
/>
<tarfileset
dir=
"${projectBaseDir}/src/main/scripts/unix"
prefix=
"${projectArtifactId}-${projectVersion}/bin/unix"
filemode=
"755"
/>
</tar>
<gzip
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-linux-x64.tar.gz"
src=
"${distDir}/${projectArtifactId}-${projectVersion}-linux-x64.tar"
/>
<delete
file=
"${distDir}/${projectArtifactId}-${projectVersion}-linux-x64.tar"
/>
<delete
dir=
"${tempDir}/${jreDirName}"
/>
<delete
dir=
"${tempDir}/${jre_dir_name}"
/>
</target>
<target
name=
"pkg_mac_x64"
depends=
"init"
>
<echo
message=
"downloading Java Runtime for Mac x64 (intel)..."
/>
<get
src=
"${jre_x64_mac_url}"
dest=
"${tempDir}"
/>
<untar
src=
"${tempDir}/${jre_x64_mac_file}"
dest=
"${tempDir}"
compression=
"gzip"
/>
<delete
file=
"${tempDir}/${jre_x64_mac_file}"
/>
<tar
longfile=
"gnu"
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-x64.tar"
>
<tarfileset
dir=
"${tempDir}/${jre_dir_name}/Contents/Home"
includes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"755"
/>
<tarfileset
dir=
"${tempDir}/${jre_dir_name}/Contents/Home"
excludes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"644"
/>
<tarfileset
dir=
"${projectLibDir}"
prefix=
"${projectArtifactId}-${projectVersion}/lib"
filemode=
"644"
/>
<tarfileset
dir=
"${projectBaseDir}/src/main/scripts/unix"
prefix=
"${projectArtifactId}-${projectVersion}/bin/unix"
filemode=
"755"
/>
</tar>
<gzip
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-x64.tar.gz"
src=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-x64.tar"
/>
<delete
file=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-x64.tar"
/>
<delete
dir=
"${tempDir}/${jre_dir_name}"
/>
</target>
<target
name=
"pkg_mac_aarch64"
depends=
"init"
>
<echo
message=
"downloading Java Runtime for Mac aarch64..."
/>
<get
src=
"${jre_aarch64_mac_url}"
dest=
"${tempDir}"
/>
<untar
src=
"${tempDir}/${jre_aarch64_mac_file}"
dest=
"${tempDir}"
compression=
"gzip"
/>
<delete
file=
"${tempDir}/${jre_aarch64_mac_file}"
/>
<tar
longfile=
"gnu"
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-aarch64.tar"
>
<tarfileset
dir=
"${tempDir}/${jre_dir_name}/Contents/Home"
includes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"755"
/>
<tarfileset
dir=
"${tempDir}/${jre_dir_name}/Contents/Home"
excludes=
"bin/**/*"
prefix=
"${projectArtifactId}-${projectVersion}/jre"
filemode=
"644"
/>
<tarfileset
dir=
"${projectLibDir}"
prefix=
"${projectArtifactId}-${projectVersion}/lib"
filemode=
"644"
/>
<tarfileset
dir=
"${projectBaseDir}/src/main/scripts/unix"
prefix=
"${projectArtifactId}-${projectVersion}/bin/unix"
filemode=
"755"
/>
</tar>
<gzip
destfile=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-aarch64.tar.gz"
src=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-aarch64.tar"
/>
<delete
file=
"${distDir}/${projectArtifactId}-${projectVersion}-mac-aarch64.tar"
/>
<delete
dir=
"${tempDir}/${jre_dir_name}"
/>
</target>
<target
name=
"package"
depends=
"pkg
Mac,pkgW
indows,pkg
L
inux"
>
<target
name=
"package
s
"
depends=
"pkg
_w
indows
_x64
,pkg
_l
inux
_x64,pkg_mac_x64,pkg_mac_aarch64
"
>
</target>
</project>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
build-all.sh
View file @
6fbf6d53
# -X option for debug
ging
# -X option for debug
# mvn clean package -X -P platform-packages
mvn clean package
-P
platform-packages
This diff is collapsed.
Click to expand it.
pom.xml
View file @
6fbf6d53
...
...
@@ -5,7 +5,7 @@
<groupId>
au.edu.unimelb.mf
</groupId>
<artifactId>
unimelb-mf-clients
</artifactId>
<version>
0.8.
0
</version>
<version>
0.8.
1
</version>
<packaging>
jar
</packaging>
<name>
unimelb-mf-clients
</name>
<url>
https://gitlab.unimelb.edu.au/resplat-mediaflux/unimelb-mf-clients
...
...
@@ -213,7 +213,7 @@
<property
name=
"projectLibDir"
value=
"${project.build.directory}/lib"
/>
<ant
antfile=
"${project.basedir}/ant-build.xml"
>
<target
name=
"package"
/>
<target
name=
"package
s
"
/>
</ant>
</target>
</configuration>
...
...
This diff is collapsed.
Click to expand it.