|
Java EE 6 example source code file (build.xml)
The Java EE 6 build.xml source code<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.--> <project name="servletcontainerinitializer-war" default="all" basedir="."> <property name="is.war.module" value="true"/> <property name="javadoc.packagenames" value="web.servlet.servletcontainerinitializer_war"/> <property name="run.uri" value="/servletcontainerinitializer-war/SampleServlet"/> <import file="../../../../bp-project/main.xml"/> <target name="all" unless="netbeans.home"> <antcall target="run"/> </target> <target name="shared-lib"> <antcall target="stop-domain"/> <mkdir dir="./containerinitializerlibrary/build" /> <javac srcdir="./containerinitializerlibrary/src" destdir="./containerinitializerlibrary/build" classpath="${javaee.home}/modules/javax.servlet.jar" debug="on" failonerror="true"/> <jar destfile="${javaee.home}/lib/TestSharedLib1.jar"> <fileset dir="./containerinitializerlibrary/build"/> <fileset dir="./containerinitializerlibrary/src" includes="META-INF/**"/> </jar> <antcall target="start-domain"/> </target> <loadfile srcFile="./nbproject/private/private.properties" property="javaee.home.foo" quiet="true"> <filterchain > <linecontains > <contains value="j2ee.server.instance=["/> </linecontains> <tokenfilter> <replaceregex pattern="\].*[0-9]" replace=""/> </tokenfilter> <tokenfilter> <replaceregex pattern="j2ee\.server\.instance=\[" replace=""/> </tokenfilter> <striplinebreaks/> </filterchain> </loadfile> <condition property="javaee.home" value="${javaee.home.foo}"> <not> <isset property="javaee.home"/> </not> </condition> <loadfile srcFile="./nbproject/private/private.properties" property="host.and.port" quiet="true"> <filterchain> <linecontains > <contains value="j2ee.server.instance=["/> </linecontains> <tokenfilter> <replaceregex pattern="j2ee\.server\.instance=\[.*\]deployer\:gfv3ee6:" replace=""/> </tokenfilter> <striplinebreaks/> </filterchain> </loadfile> <property name="host.and.port" value="localhost:4848"/> <target name="-pre-run-deploy" if="netbeans.home"> <copy file="./containerinitializerlibrary/dist/containerinitializerlibrary.jar" tofile="${javaee.home}/lib/TestSharedLib1.jar"/> <!-- Other Java EE 6 examples (source code examples)Here is a short list of links related to this Java EE 6 build.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.