Skip to content

Instantly share code, notes, and snippets.

@tyano
Created February 4, 2013 11:12
Show Gist options
  • Save tyano/4706178 to your computer and use it in GitHub Desktop.
Save tyano/4706178 to your computer and use it in GitHub Desktop.
apache riverのインストールスクリプト
<target name="install-artifacts" depends="jars">
<macrodef name="install">
<attribute name="file" />
<attribute name="pom" />
<sequential>
<artifact:install file="@{file}" >
<pom refid="@{pom}"/>
</artifact:install>
</sequential>
</macrodef>
<artifact:pom id="parent" file="${poms.dir}/pom.xml" />
<artifact:pom id="jini-core" file="${poms.dir}/jini-core/pom.xml" />
<artifact:pom id="jini-ext" file="${poms.dir}/jini-ext/pom.xml" />
<artifact:pom id="jsk-lib" file="${poms.dir}/jsk-lib/pom.xml" />
<artifact:pom id="jsk-dl" file="${poms.dir}/jsk-dl/pom.xml" />
<artifact:pom id="jsk-resources" file="${poms.dir}/jsk-resources/pom.xml" />
<artifact:pom id="jsk-platform" file="${poms.dir}/jsk-platform/pom.xml" />
<artifact:pom id="jsk-policy" file="${poms.dir}/jsk-policy/pom.xml" />
<artifact:pom id="serviceui" file="${poms.dir}/serviceui/pom.xml" />
<artifact:pom id="sun-util" file="${poms.dir}/sun-util/pom.xml" />
<artifact:pom id="start" file="${poms.dir}/start/pom.xml" />
<artifact:pom id="tools" file="${poms.dir}/tools/pom.xml" />
<install file="${lib.dir}/jini-core.jar" pom="jini-core" />
<install file="${lib.dir}/jini-ext.jar" pom="jini-ext" />
<install file="${lib.dir}/jsk-lib.jar" pom="jsk-lib" />
<install file="${lib-dl.dir}/jsk-dl.jar" pom="jsk-dl" />
<install file="${lib.dir}/jsk-resources.jar" pom="jsk-resources" />
<install file="${lib.dir}/jsk-platform.jar" pom="jsk-platform" />
<install file="${lib-ext.dir}/jsk-policy.jar" pom="jsk-policy" />
<install file="${lib.dir}/serviceui.jar" pom="serviceui" />
<install file="${lib.dir}/sun-util.jar" pom="sun-util" />
<install file="${lib.dir}/start.jar" pom="start" />
<install file="${lib.dir}/tools.jar" pom="tools" />
<install file="${poms.dir}/pom.xml" pom="parent" />
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment