0N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
0N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
0N/A the build.properties file:
0N/A pkg.toolkit.dir - pkg(5) toolkit external dependency.
0N/A pkg.toolkit.repo.dir - pkg(5) toolkit repository from which the "pkg-java"
0N/A pkg.authority - Depending on whether you're building a community or
0N/A pkg.repo.url - Depending on whether you're building a communituy or
<target name="package-pkg-make-packages" if="ispkgtoolkitpresent" depends="dynamicconstants, -pkg-init" description="Publish pkg(5)-based packages to a new repository.">
<copy tofile="${pkg.reference.install.dir}/opends/dsml/opends-dsml.war" file="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}-DSML.war"/>
<copy tofile="${pkg.reference.install.dir}/opends/dsml/legal-notices/CDDLv1_0.txt" file="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}/legal-notices/CDDLv1_0.txt"/>
by virtue of the main OpenDS build.xml.
<makepkgs repourl="file://${pkg.repo.dir}" basedir="${pkg.reference.install.dir}" version="${VERSION_NUMBER_STRING},0-0.${REVISION_NUMBER}">
<zip destfile="${package.dir}/pkg/${SHORT_NAME}-${VERSION_NUMBER_STRING}-repo.zip" basedir="${pkg.repo.dir}"/>
<target name="package-publish" if="ispkgtoolkitpresent" description="Publish packages" depends="dynamicconstants, -pkg-init">
<makepkgs repourl="${pkg.repo.url}" basedir="${pkg.reference.install.dir}" version="${VERSION_NUMBER_STRING},0-0.${REVISION_NUMBER}">
<include name="opends_proto.py"/>
<include name="opends-dsml-gateway_proto.py"/>
<target name="package-pkg-make-image" if="ispkgtoolkitpresent" depends="package-pkg-make-packages" description="Assemble pre-installed pkg(5)-based image.">
<makeimage repourl="file://${pkg.repo.dir}" imagedir="${pkg.image.dir}" authority="${pkg.authority}" title="${SHORT_NAME}" description="OpenDS is comprehensive next generation directory service. OpenDS is designed to address large deployments, to provide high performance, to be highly extensible, and to be easy to deploy, manage and monitor. ">
<makeimage repourl="file://${pkg.toolkit.repo.dir}" imagedir="${pkg.image.dir}" authority="${pkg.authority}" title="${SHORT_NAME}" description="OpenDS is comprehensive next generation directory service. OpenDS is designed to address large deployments, to provide high performance, to be highly extensible, and to be easy to deploy, manage and monitor. ">
<copy tofile="${pkg.image.dir}/bin/updatetool.bat" file="${pkg.toolkit.dir}/pkg/lib/pkg-bootstub.bat"/>
<makezip basedir="${pkg.image.container.dir}" destfile="${pkg.build.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}-image.zip" include="${SHORT_NAME}"/>
tofile="${pkg.reference.install.dir}/opends/upgrade" />
<!-- Copy instance files in ${pkg.reference.install.dir}/tmpl_instance -->
file="${pkg.reference.install.dir}/opends/tmpl_instance/config/buildinfo" />
file="${pkg.reference.install.dir}/opends/config/buildinfo" />
<!-- Copy instance files in ${pkg.image.dir} -->