Commit 77df2537 authored by Marco Mariani's avatar Marco Mariani

provide jdk and policy under different names as well

parent 1d3938e5
......@@ -39,6 +39,7 @@ parts =
jdk
jdk-sources
jdk-sources-policy
jdk-sources-policy2
junit
junixsocket
junixsocket-sources
......@@ -105,8 +106,14 @@ update-command = ${:command}
command =
mkdir -p ${:zimbra-target}
cp ${jdk-download:location}/${jdk-download:filename} ${:zimbra-target}/${:zimbra-filename}
# alternate spelling (the jdk is referenced with two different names)
ln -s ${:zimbra-target}/${:zimbra-filename} ${:zimbra-target}/jdk-1.7.0_13.tgz
#------------------------
# The policy files are looked for under two different paths.
[jdk-sources-policy]
# copy the java policy inside the build tree
recipe = hexagonit.recipe.download
......@@ -114,6 +121,16 @@ url = ${jdk-download:location}/${jdk-download:policy-filename}
destination = ${jdk-sources:zimbra-target}/jce
strip-top-level-dir = True
[jdk-sources-policy2]
# copy the java policy inside the build tree
recipe = hexagonit.recipe.download
url = ${jdk-download:location}/${jdk-download:policy-filename}
destination = ${jdk-sources:zimbra-target}/jce/UnlimitedJCEPolicy7/
strip-top-level-dir = True
#------------------------
[junit]
recipe = hexagonit.recipe.download
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment