|
Jetty example source code file (anttasks.xml)
The Jetty anttasks.xml source code<project name="Jetty Debian" default="build-deb" basedir="."> <target name="build-deb"> <copy todir="${project.build.directory}/jetty6-${project.version}"> <fileset dir="../.."> <include name="lib/**"/> <include name="etc/**"/> <include name="bin/**"/> <include name="contexts/**"/> <include name="webapps/**"/> <include name="javadoc/**"/> <include name="resources/**"/> <include name="LICENSES/**"/> <include name="start.jar"/> <include name="*.txt"/> <exclude name="**/.svn"/> <exclude name="LICENSES/cla-*"/> <exclude name="LICENSES/ccla-*"/> </fileset> </copy> <copy todir="${project.build.directory}/jetty6-${project.version}"> <fileset dir="src/main"> <include name="etc/**"/> <include name="debian/**"/> <exclude name="**/.svn"/> </fileset> </copy> <copy file="../../bin/jetty.sh" tofile="${project.build.directory}/jetty6-${project.version}/debian/jetty6.init"/> <replace dir="${project.build.directory}/jetty6-${project.version}" token="$${PROJECT.VERSION}" value="${project.version}"> <include name="debian/**"/> </replace> <chmod perm="755" file="${project.build.directory}/jetty6-${project.version}/debian/rules"/> <exec dir="${project.build.directory}/jetty6-${project.version}" failifexecutionfails="true" executable="dpkg-buildpackage" > <arg value="-rfakeroot"/> </exec> <exec dir="${project.build.directory}" failifexecutionfails="true" executable="dpkg-deb"> <arg value="-b"/> <arg value="jetty6-${project.version}/debian/libjetty6-java"/> <arg value="libjetty6-java_${project.version}_all.deb"/> </exec> <exec dir="${project.build.directory}" failifexecutionfails="true" executable="dpkg-deb"> <arg value="-b"/> <arg value="jetty6-${project.version}/debian/libjetty6-extra-java"/> <arg value="libjetty6-extra-java_${project.version}_all.deb"/> </exec> <exec dir="${project.build.directory}" failifexecutionfails="true" executable="dpkg-deb"> <arg value="-b"/> <arg value="jetty6-${project.version}/debian/jetty6"/> <arg value="jetty6_${project.version}_all.deb"/> </exec> <exec dir="${project.build.directory}" failifexecutionfails="true" executable="dpkg-deb"> <arg value="-b"/> <arg value="jetty6-${project.version}/debian/jetty6-examples"/> <arg value="jetty6-examples_${project.version}_all.deb"/> </exec> <exec dir="${project.build.directory}" failifexecutionfails="true" executable="dpkg-deb"> <arg value="-b"/> <arg value="jetty6-${project.version}/debian/libjetty6-jsp-java"/> <arg value="libjetty6-jsp-java_${project.version}_all.deb"/> </exec> </target> </project> Other Jetty examples (source code examples)Here is a short list of links related to this Jetty anttasks.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.