Files
cyberduck/runtime.xml
T
2018-02-14 16:05:49 +01:00

33 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project name="Java Runtime" basedir=".">
<property name="runtime.dependency" value="${build}/jre1.8.0_162.jre"/>
<property name="bundle.runtime" value="${bundle.plugins}/Runtime.jre"/>
<property name="bundle.runtime.lib"
value="@executable_path/../PlugIns/Runtime.jre/Contents/Home/lib/server/libjvm.dylib"/>
<target name="runtime">
<mkdir dir="${bundle}/${bundle.runtime}"/>
<!-- Copy runtime -->
<echo message="Copy runtime from ${runtime.dependency} to ${bundle}/${bundle.runtime}"/>
<copy todir="${bundle}/${bundle.runtime}" preservelastmodified="true">
<fileset followsymlinks="true" dir="${runtime.dependency}" excludesfile="${home}/runtime-excludes.properties"/>
</copy>
</target>
<target name="shared-library-install-name">
<echo message="Change dynamic shared library install names to ${newname} in ${directory}"/>
<apply executable="/usr/bin/install_name_tool" failonerror="true"
type="file"
parallel="false" spawn="false" force="true">
<arg line="-change ${oldname} ${newname}"/>
<fileset dir="${directory}">
<include name="*.dylib"/>
</fileset>
<srcfile/>
</apply>
</target>
</project>