mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-12-21 23:08:52 -05:00
re-structure into standard maven layout
This commit is contained in:
parent
069b5b965b
commit
2471981dbc
@ -1,43 +0,0 @@
|
||||
BEA Systems, Inc. ("BEA")
|
||||
Binary Code License Agreement
|
||||
JSR 173 "Streaming API for XML" - Reference Implementation
|
||||
|
||||
READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL THESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" BUTTON AT THE END OF THIS AGREEMENT.
|
||||
|
||||
1. LICENSE TO USE. BEA grants you a non-exclusive and non-transferable, royalty-free license for the internal use only of the accompanying software and documentation and any error corrections provided by BEA (collectively "Software").
|
||||
|
||||
2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software and all associated intellectual property rights is retained by BEA and/or its licensors. Except as specifically authorized in any Supplemental License Terms, you may not make copies of Software, other than a single copy of Software for archival purposes. Unless enforcement is prohibited by applicable law, you may not modify, decompile, or reverse engineer Software. Licensee acknowledges that Licensed Software is not designed or intended for use in the design, construction, operation or maintenance of any nuclear facility. BEA disclaims any express or implied warranty of fitness for such uses. No right, title or interest in or to any trademark, service mark, logo or trade name of BEA or its licensors is granted under this Agreement.
|
||||
|
||||
3. LIMITED WARRANTY. BEA warrants to you that for a period of ninety (90) days from the date of purchase, as evidenced by a copy of the receipt, the media on which Software is furnished (if any) will be free of defects in materials and workmanship under normal use. Except for the foregoing, Software is provided "AS IS". Your exclusive remedy and BEA's entire liability under this limited warranty will be at BEA's option to replace Software media or refund the fee paid for Software.
|
||||
|
||||
4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
|
||||
|
||||
5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL BEA OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF BEA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will BEA's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for Software under this Agreement. The foregoing limitations will apply even if the above stated warranty fails of its essential purpose.
|
||||
|
||||
6. Termination. This Agreement is effective until terminated. You may terminate this Agreement at any time by destroying all copies of Software. This Agreement will terminate immediately without notice from BEA if you fail to comply with any provision of this Agreement. Upon Termination, you must destroy all copies of Software.
|
||||
|
||||
7. Export Regulations. All Software and technical data delivered under this Agreement are subject to US export control laws and may be subject to export or import regulations in other countries. You agree to comply strictly with all such laws and regulations and acknowledge that you have the responsibility to obtain such licenses to export, re-export, or import as may be required after delivery to you.
|
||||
|
||||
8. U.S. Government Restricted Rights. If Software is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in Software and accompanying documentation will be only as set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD acquisitions).
|
||||
|
||||
9. Governing Law. Any action related to this Agreement will be governed by California law and controlling U.S. federal law. No choice of law rules of any jurisdiction will apply.
|
||||
|
||||
10. Severability. If any provision of this Agreement is held to be unenforceable, this Agreement will remain in effect with the provision omitted, unless omission would frustrate the intent of the parties, in which case this Agreement will immediately terminate.
|
||||
|
||||
11. Integration. This Agreement is the entire agreement between you and BEA relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in writing and signed by an authorized representative of each party.
|
||||
|
||||
JSR 173, REFERENCE IMPLEMENTATION
|
||||
SUPPLEMENTAL LICENSE TERMS
|
||||
|
||||
These supplemental license terms ("Supplemental Terms") add to or modify the terms of the Binary Code License Agreement (collectively, the "Agreement"). Capitalized terms not defined in these Supplemental Terms shall have the same meanings ascribed to them in the Agreement. These Supplemental Terms shall supersede any inconsistent or conflicting terms in the Agreement, or in any license contained within the Software.
|
||||
|
||||
1. Software Internal Use and Development License Grant. Subject to the terms and conditions of this Agreement, BEA grants you a non-exclusive, non-transferable, limited license to reproduce internally and use internally the binary form of the Software, complete and unmodified, for the sole purpose of designing, developing and testing your Java applets and applications ("Programs").
|
||||
|
||||
2. License to Distribute Software. In addition to the license granted in Section 1 (Software Internal Use and Development License Grant) of these Supplemental Terms, subject to the terms and conditions of this Agreement, BEA grants you a non-exclusive, non-transferable, limited license to reproduce and distribute the Software in binary form only, provided that you (i) distribute the Software complete and unmodified and only bundled as part of your Programs, (ii) do not distribute additional software intended to replace any component(s) of the Software, (iii) do not remove or alter any proprietary legends or notices contained in the Software, (iv) only distribute the Software subject to a license agreement that protects BEA's and its licensor<6F> interests consistent with the terms contained in this Agreement, and (v) agree to defend and indemnify BEA and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Programs and/or Software.
|
||||
|
||||
3. Source Code. Software may contain source code that is provided solely for reference purposes pursuant to the terms of this Agreement. Such source code may not be redistributed unless expressly provided for in this Agreement.
|
||||
|
||||
4. Termination for Infringement. Either party may terminate this Agreement immediately should any Software become, or in either party's opinion be likely to become, the subject of a claim of infringement of any intellectual property right.
|
||||
|
||||
For inquiries please contact: BEA Systems, Inc., 2315 North First Street, San Jose, CA 95131.
|
||||
|
@ -1,50 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
$Header:$
|
||||
-->
|
||||
|
||||
<project name="Beehive/SVN/AxisImports" default="" basedir=".">
|
||||
|
||||
<import file="../beehive-imports.xml"/>
|
||||
|
||||
<path id="webservice.classpath">
|
||||
<fileset id="webservice.jars" dir="${beehive.home}/external/axis-1.3">
|
||||
<include name="axis.jar"/>
|
||||
<include name="axis-ant.jar"/>
|
||||
<include name="axis-schema.jar"/>
|
||||
<include name="jaxrpc.jar"/>
|
||||
<include name="saaj.jar"/>
|
||||
<include name="wsdl4j-1.5.1.jar"/>
|
||||
</fileset>
|
||||
<path refid="commons-discovery.dependency.path"/>
|
||||
<path refid="commons-logging.dependency.path"/>
|
||||
</path>
|
||||
|
||||
<macrodef name="deploy-webservice-runtime">
|
||||
<attribute name="appdir"/>
|
||||
<sequential>
|
||||
<copy todir="@{appdir}" failOnError="true">
|
||||
<fileset refid="webservice.jars"/>
|
||||
<fileset refid="commons-discovery.fileset"/>
|
||||
<fileset refid="commons-logging.fileset"/>
|
||||
</copy>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
</project>
|
@ -1,45 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
$Header:$
|
||||
-->
|
||||
|
||||
<project name="Beehive/SVN/DeployWebappRuntime" default="usage" basedir=".">
|
||||
|
||||
<import file="../beehive-imports.xml"/>
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- -->
|
||||
<!-- Targets for deploying the Beehive runtime into a web application -->
|
||||
<!-- -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<!-- params (location webapp.dir) -->
|
||||
<target name="deploy.beehive.webapp.runtime" description="Deploy the Beehive webapp runtime given a webapp root as -Dwebapp.dir">
|
||||
<ant target="deploy.netui" dir="${beehive.home}/netui/" inheritAll="false">
|
||||
<property name="webapp.dir" location="${webapp.dir}"/>
|
||||
</ant>
|
||||
</target>
|
||||
|
||||
<target name="deploy.controls.webapp.runtime" description="Deploy the Beehive controls runtime given a webapp root as -Dwebapp.dir">
|
||||
<ant target="deploy.controls.runtime" dir="${beehive.home}/controls/" inheritAll="false">
|
||||
<property name="webapp.dir" location="${webapp.dir}"/>
|
||||
</ant>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,166 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
$Header:$
|
||||
-->
|
||||
|
||||
<!--
|
||||
This Ant build file contains <macrodef>s that are used to build
|
||||
Beehive-related source artifacts.
|
||||
-->
|
||||
<project name="Beehive/Tools" default="usage">
|
||||
|
||||
<path id="apt.task.classpath">
|
||||
<path refid="controls.dependency.path"/>
|
||||
<path refid="velocity.dependency.path"/>
|
||||
</path>
|
||||
|
||||
<macrodef name="build-schemas">
|
||||
<attribute name="srcdir" description="The directory containing XML Schemas or XMLBeans xsdconfig files to build"/>
|
||||
<attribute name="destdir" description="The directory to use for files generated during an XSD build"/>
|
||||
<sequential>
|
||||
<taskdef name="xmlbeanbuild"
|
||||
classname="org.apache.xmlbeans.impl.tool.XMLBean"
|
||||
classpathref="xbean.dependency.path"/>
|
||||
|
||||
<xmlbeanbuild classpathref="xbean.dependency.path"
|
||||
schema="@{srcdir}"
|
||||
classgendir="@{destdir}"
|
||||
failonerror="true"/>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<macrodef name="build-controls">
|
||||
<attribute name="srcdir" description="The directory containing controls to build. Required."/>
|
||||
<attribute name="destdir" description="The destination directory for compiled class files. Required."/>
|
||||
<attribute name="tempdir" description="The temporary directory for generated files. Required."/>
|
||||
<attribute name="classpathref" description="The classpath reference for building the controls. Required."/>
|
||||
<attribute name="nocompile" default="false" description="Flag to decide whether to skip compilation. Optional; defaults to false"/>
|
||||
<sequential>
|
||||
<taskdef name="apt"
|
||||
classname="org.apache.beehive.controls.runtime.generator.AptTask"
|
||||
classpathref="apt.task.classpath"
|
||||
onerror="fail"/>
|
||||
|
||||
<!--
|
||||
since Velocity is required at build time for controls, it needs to be
|
||||
explicitly added here via the velocity.dependency.path
|
||||
-->
|
||||
<path id="_controls.build.classpath">
|
||||
<path refid="@{classpathref}"/>
|
||||
<path refid="velocity.dependency.path"/>
|
||||
</path>
|
||||
|
||||
<apt srcdir="@{srcdir}"
|
||||
destdir="@{destdir}"
|
||||
gendir="@{tempdir}"
|
||||
classpathref="_controls.build.classpath"
|
||||
compileByExtension="true"
|
||||
srcExtensions="*.java,*.jcx,*.jcs,*.jws"
|
||||
debug="true"
|
||||
nocompile="@{nocompile}"/>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<!--
|
||||
This macrodef is intended for the compilation of the *page flow* portions of a web application.
|
||||
This macrodef will *not* compile controls inside of a web application. If the web application
|
||||
contains controls, they should be compiled first using the macrodef "build-controls";
|
||||
once the compilation of the controls is complete, the page flows within the web app can be compiled
|
||||
using the macrodef below.
|
||||
-->
|
||||
<macrodef name="build-pageflows">
|
||||
<attribute name="srcdir" description="The root directory which will be scanned for source files. Required."/>
|
||||
<attribute name="classpathref" description="The classpath reference for building page flows. Required."/>
|
||||
<attribute name="sourcepathref"
|
||||
default="_pageflow.default.sourcepath"
|
||||
description="A reference to a path that contains all the source roots. Optional; defaults to a path that contains @{srcdir} and @{srcdir}/WEB-INF/src."/>
|
||||
<attribute name="webcontentdir"
|
||||
default="@{srcdir}"
|
||||
description="The root location for web content (e.g., JSPs, web.xml, etc.). Optional; defaults to @{srcdir}."/>
|
||||
<attribute name="destdir"
|
||||
default="@{srcdir}/WEB-INF/classes"
|
||||
description="The directory for compiled classes and generated resources. Optional; defaults to @{srcdir}/WEB-INF/classes."/>
|
||||
<attribute name="tempdir"
|
||||
default="@{srcdir}/WEB-INF/.tmpbeansrc"
|
||||
description="The directory for any temporary or generated files. Optional; defaults to @{srcdir}/WEB-INF/.tmpbeansrc."/>
|
||||
<attribute name="nocompile"
|
||||
default="false"
|
||||
description="Flag to decide whether to skip compilation. Optional; defaults to false"/>
|
||||
<sequential>
|
||||
<taskdef name="apt"
|
||||
classname="org.apache.beehive.controls.runtime.generator.AptTask"
|
||||
classpathref="apt.task.classpath"
|
||||
onerror="fail"/>
|
||||
|
||||
<!--
|
||||
since the annotation processor for JPFs isn't contained inside of the JPF runtime
|
||||
JAR, it needs to be explicitly added here via the netui-compiler.dependency.path
|
||||
-->
|
||||
<path id="_pageflow.build.classpath">
|
||||
<path refid="@{classpathref}"/>
|
||||
<path refid="netui-compiler.dependency.path"/>
|
||||
<path refid="velocity.dependency.path"/>
|
||||
</path>
|
||||
|
||||
<path id="_pageflow.default.sourcepath">
|
||||
<pathelement path="@{srcdir}"/>
|
||||
<pathelement path="@{srcdir}/WEB-INF/src"/>
|
||||
</path>
|
||||
|
||||
<property name="_pageflow.build.classpath" refid="_pageflow.build.classpath"/>
|
||||
<property name="_pageflow.build.sourcepath" refid="@{sourcepathref}"/>
|
||||
|
||||
<echo> srcdir: @{srcdir}</echo>
|
||||
<echo> classpath: ${_pageflow.build.classpath}</echo>
|
||||
<echo> sourcepath: ${_pageflow.build.sourcepath}</echo>
|
||||
<echo> webcontentdir: @{webcontentdir}</echo>
|
||||
<echo> destdir: @{destdir}</echo>
|
||||
<echo> tempdir: @{tempdir}</echo>
|
||||
|
||||
<mkdir dir="@{destdir}"/>
|
||||
|
||||
<apt srcdir="@{srcdir}"
|
||||
destdir="@{destdir}"
|
||||
gendir="@{tempdir}"
|
||||
classpathref="_pageflow.build.classpath"
|
||||
sourcepathref="@{sourcepathref}"
|
||||
srcExtensions="*.jpf,*.jpfs,*.app,*.jsfb,*.java"
|
||||
processorOptions="web.content.root=@{webcontentdir}"
|
||||
debug="true"
|
||||
nocompile="@{nocompile}"/>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<!-- create a jar of a control -->
|
||||
<taskdef name="control-jar"
|
||||
classname="org.apache.beehive.controls.runtime.packaging.ControlJarTask"
|
||||
classpathref="controls.dependency.path" onerror="report" />
|
||||
|
||||
<target name="usage" description="Print the usage for this Ant build file.">
|
||||
<echo>
|
||||
The beehive-tools.xml file contains Ant macros which can be used
|
||||
to build Beehive related source artifacts such as Controls, Page Flows,
|
||||
and XML Schemas. For examples of how to use these macros, see the
|
||||
Beehive samples.
|
||||
|
||||
Note, this build file does not contain targets that can be called
|
||||
directly on the command line.
|
||||
</echo>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,158 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
$Header:$
|
||||
-->
|
||||
|
||||
<project name="Beehive/SVN/GeronimoImports" default="usage" basedir=".">
|
||||
|
||||
<property environment="os"/>
|
||||
<property name="geronimo.home" location="${os.GERONIMO_HOME}"/>
|
||||
|
||||
<!-- Properties used to run Geronimo -->
|
||||
<property name="geronimo.username" value="system"/>
|
||||
<property name="geronimo.password" value="manager"/>
|
||||
|
||||
<target name="deploy" description="Deploy a app to a running Geronimo server">
|
||||
<fail unless="webapp.dir" message="Can't deploy webapp; the value ${webapp.dir} was unspecified"/>
|
||||
|
||||
<property name="_url" value="file://${webapp.dir}"/>
|
||||
<echo>deploy webapp from ${_url} with context path ${context.path}</echo>
|
||||
|
||||
<java fork="true" jar="${geronimo.home}/bin/deployer.jar">
|
||||
<arg value="--user"/>
|
||||
<arg value="${geronimo.username}"/>
|
||||
<arg value="--password"/>
|
||||
<arg value="${geronimo.password}"/>
|
||||
<arg value="deploy"/>
|
||||
<arg value="${webapp.dir}"/>
|
||||
</java>
|
||||
<sleep seconds="5"/>
|
||||
</target>
|
||||
|
||||
<target name="undeploy" description="Undeploy an app running on a Geronimo server">
|
||||
<!-- context path as used here is actually the targetModuleId for the app to undeploy -->
|
||||
<fail unless="context.path" message="Can't undeploy module; the value ${context.path} was unspecified"/>
|
||||
<java fork="true" jar="${geronimo.home}/bin/deployer.jar">
|
||||
<arg value="--user"/>
|
||||
<arg value="${geronimo.username}"/>
|
||||
<arg value="--password"/>
|
||||
<arg value="${geronimo.password}"/>
|
||||
<arg value="undeploy"/>
|
||||
<arg value="${context.path}"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="redeploy" description="Redeploy an app already running on a Geronimo server">
|
||||
<!-- context path as used here is actually the targetModuleId for the app to redeploy -->
|
||||
<fail unless="context.path" message="Can't undeploy module; the value ${context.path} was unspecified"/>
|
||||
|
||||
<java fork="true" jar="${geronimo.home}/bin/deployer.jar">
|
||||
<arg value="--user"/>
|
||||
<arg value="${geronimo.username}"/>
|
||||
<arg value="--password"/>
|
||||
<arg value="${geronimo.password}"/>
|
||||
<arg value="redeploy"/>
|
||||
<arg value="${context.path}"/>
|
||||
</java>
|
||||
<sleep seconds="5"/>
|
||||
</target>
|
||||
|
||||
<target name="start" description="Start a Geronimo instance.">
|
||||
|
||||
<condition property="cmdline.options" value="">
|
||||
<not><isset property="cmdline.options"/></not>
|
||||
</condition>
|
||||
|
||||
<condition property="java.options" value="">
|
||||
<not><isset property="java.options"/></not>
|
||||
</condition>
|
||||
|
||||
<echo>startup.dir: ${geronimo.home}/bin</echo>
|
||||
<echo>cmdline.options: ${cmdline.options}</echo>
|
||||
<echo>java.options: ${java.options}</echo>
|
||||
|
||||
<echo>Starting Geronimo</echo>
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${geronimo.home}/bin" executable="sh">
|
||||
<env key="GERONIMO_HOME" value="${geronimo.home}"/>
|
||||
<arg line="geronimo.sh start ${cmdline.options}"/>
|
||||
</exec>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${geronimo.home}\bin" executable="cmd.exe">
|
||||
<env key="GERONIMO_HOME" value="${geronimo.home}"/>
|
||||
<arg line="geronimo.bat start ${cmdline.options}"/>
|
||||
</exec>
|
||||
<echo>Pausing for 30 seconds while geronimo starts....</echo>
|
||||
<sleep seconds="30"/>
|
||||
</target>
|
||||
|
||||
<target name="start.with.shmem" description="Start a Geronimo instance with shared memory debugging.">
|
||||
|
||||
<condition property="cmdline.options" value="">
|
||||
<not><isset property="cmdline.options"/></not>
|
||||
</condition>
|
||||
|
||||
<condition property="java.options" value="">
|
||||
<not><isset property="java.options"/></not>
|
||||
</condition>
|
||||
|
||||
<echo>startup.dir: ${geronimo.home}/bin</echo>
|
||||
<echo>cmdline.options: ${cmdline.options}</echo>
|
||||
<echo>java.options: ${java.options}</echo>
|
||||
|
||||
<echo>Starting Geronimo with jpda</echo>
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${geronimo.home}/bin" executable="sh">
|
||||
<env key="GERONIMO_HOME" value="${geronimo.home}"/>
|
||||
<arg line="geronimo.sh jpda start ${cmdline.options}"/>
|
||||
</exec>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${geronimo.home}\bin" executable="cmd.exe">
|
||||
<env key="GERONIMO_HOME" value="${geronimo.home}"/>
|
||||
<arg line="geronimo.bat jpda start ${cmdline.options}"/>
|
||||
</exec>
|
||||
<echo>Pausing for 30 seconds while geronimo starts....</echo>
|
||||
<sleep seconds="30"/>
|
||||
</target>
|
||||
|
||||
<target name="stop" description="Stop the Geronimo server.">
|
||||
<echo>Stop Geronimo in: ${geronimo.home}</echo>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${geronimo.home}\bin" executable="cmd.exe">
|
||||
<arg value="geronimo.bat"/>
|
||||
<arg value="stop"/>
|
||||
<arg value="--force"/>
|
||||
<arg value="--user"/>
|
||||
<arg value="${geronimo.username}"/>
|
||||
<arg value="--password"/>
|
||||
<arg value="${geronimo.password}"/>
|
||||
</exec>
|
||||
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${geronimo.home}/bin" executable="sh">
|
||||
<arg value="geronimo.sh"/>
|
||||
<arg value="stop"/>
|
||||
<arg value="--force"/>
|
||||
<arg value="--user"/>
|
||||
<arg value="${geronimo.username}"/>
|
||||
<arg value="--password"/>
|
||||
<arg value="${geronimo.password}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="usage" description="Print the usage for this build.xml">
|
||||
<java fork="no" classname="org.apache.tools.ant.Main">
|
||||
<arg line="-f ${ant.file} -projecthelp"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,125 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
$Header:$
|
||||
-->
|
||||
|
||||
<project name="jonas-imports" default="" basedir=".">
|
||||
|
||||
<property environment="os"/>
|
||||
<property name="jonas.root" location="${os.JONAS_ROOT}"/>
|
||||
<property name="jonas.deploy.dir" location="${jonas.root}/webapps"/>
|
||||
|
||||
<!-- Properties used to run JOnAS -->
|
||||
|
||||
<path id="appserver.build.classpath">
|
||||
<fileset dir="${jonas.root}/lib/catalina/common/lib">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<target name="deploy" description="Deploy a webapp to a running Jonas server">
|
||||
<fail unless="context.path" message="Can't deploy webapp; the value ${context.path} was unspecified"/>
|
||||
<fail unless="webapp.dir" message="Can't deploy webapp; the value ${webapp.dir} was unspecified"/>
|
||||
|
||||
<available property="webapp.available" file="${webapp.dir}" type="dir"/>
|
||||
<fail unless="webapp.available" message="The webapp at ${webapp.dir} does not exist."/>
|
||||
|
||||
<echo>deploy webapp from ${webapp.dir} with context path ${context.path}</echo>
|
||||
|
||||
<jar destfile="${jonas.deploy.dir}/${context.path}.war"
|
||||
basedir="${webapp.dir}" />
|
||||
|
||||
<echo>deploying via jonas admin</echo>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${jonas.root}\bin\nt" executable="jonas.bat">
|
||||
<env key="JONAS_ROOT" value="${jonas.root}"/>
|
||||
<arg line="/c jonas.bat admin -a ${context.path}.war"/>
|
||||
</exec>
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${jonas.root}/bin/unix" executable="sh">
|
||||
<env key="JONAS_ROOT" value="${jonas.root}"/>
|
||||
<arg line="jonas admin -a ${context.path}.war"/>
|
||||
</exec>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="undeploy" description="Undeploy a webapp running on a Jonas server">
|
||||
<fail unless="context.path" message="Can't undeploy webapp; the
|
||||
value ${context.path} was unspecified"/>
|
||||
|
||||
<echo>undeploying via jonas admin</echo>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${jonas.root}\bin\nt" executable="jonas.bat">
|
||||
<env key="JONAS_ROOT" value="${jonas.root}"/>
|
||||
<arg line="/c jonas.bat admin -r ${context.path}.war"/>
|
||||
</exec>
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${jonas.root}/bin/unix" executable="sh">
|
||||
<env key="JONAS_ROOT" value="${jonas.root}"/>
|
||||
<arg line="jonas admin -r ${context.path}.war"/>
|
||||
</exec>
|
||||
|
||||
<delete file="${jonas.deploy.dir}/${context.path}.war" />
|
||||
</target>
|
||||
|
||||
<target name="redeploy" description="Redeploy a webapp already running on a JOnAS server">
|
||||
<antcall target="undeploy" />
|
||||
<antcall target="deploy" />
|
||||
</target>
|
||||
|
||||
<target name="start" description="Start a Jonas instance.">
|
||||
|
||||
<condition property="cmdline.options" value="">
|
||||
<not><isset property="cmdline.options"/></not>
|
||||
</condition>
|
||||
|
||||
<condition property="java.options" value="">
|
||||
<not><isset property="java.options"/></not>
|
||||
</condition>
|
||||
|
||||
<echo>startup.dir: ${jonas.root}</echo>
|
||||
<echo>cmdline.options: ${cmdline.options}</echo>
|
||||
<echo>java.options: ${java.options}</echo>
|
||||
|
||||
<echo>Start Jonas</echo>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${jonas.root}\bin\nt" executable="jonas.bat">
|
||||
<env key="JONAS_ROOT" value="${jonas.root}"/>
|
||||
<env key="JAVA_OPTS" value="${java.options}"/>
|
||||
<arg line="/c jonas.bat start ${cmdline.options}"/>
|
||||
</exec>
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${jonas.root}/bin/unix" executable="sh">
|
||||
<env key="JONAS_ROOT" value="${jonas.root}"/>
|
||||
<env key="JAVA_OPTS" value="${java.options}"/>
|
||||
<arg line="jonas start ${cmdline.options}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="start.with.shmem" description="Start a JOnAS instance with shared memory debugging.">
|
||||
<echo>shmem is not an option for JOnAS. starting normally...</echo>
|
||||
<antcall target="start" />
|
||||
</target>
|
||||
|
||||
<target name="stop" description="Stop the NetUI server">
|
||||
<echo>Stop Jonas in: ${jonas.root}</echo>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${jonas.root}\bin\nt" executable="jonas.bat">
|
||||
<env key="JONAS_ROOT" value="${jonas.root}"/>
|
||||
<arg line="/c jonas.bat stop"/>
|
||||
</exec>
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${jonas.root}/bin/unix" executable="sh">
|
||||
<env key="JONAS_ROOT" value="${jonas.root}"/>
|
||||
<arg line="jonas stop"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
</project>
|
137
ant/nightly.xml
137
ant/nightly.xml
@ -1,137 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
$Header:$
|
||||
-->
|
||||
<!--
|
||||
Ant build file used to product Beehive nightlies
|
||||
-->
|
||||
<project name="Beehive Nightly Build" default="usage" basedir=".">
|
||||
|
||||
<tstamp>
|
||||
<format property="date" pattern="yyyyMMdd"/>
|
||||
</tstamp>
|
||||
|
||||
<echo>Get SVN revision</echo>
|
||||
<exec executable="svnversion" dir=".." failifexecutionfails="true" outputproperty="beehive.svn.revision">
|
||||
<arg value="."/>
|
||||
</exec>
|
||||
|
||||
<property name="ftp.root" value="http://cvs.apache.org/dist/beehive/nightlies"/>
|
||||
<property name="ftp.dir" value="beehive/${date}"/>
|
||||
<property name="url" value="${ftp.root}/${ftp.dir}"/>
|
||||
<property name="beehive.version" value="${date}-svn${beehive.svn.revision}"/>
|
||||
|
||||
<import file="../beehive-imports.xml"/>
|
||||
|
||||
<echo>Date: ${date}</echo>
|
||||
<echo>Beehive SVN revision: ${beehive.svn.revision}</echo>
|
||||
<echo>Beehive distribution name: ${dist.name}</echo>
|
||||
<echo>FTP URL: ${url}</echo>
|
||||
|
||||
<target name="echo" description="Echo the SVN revision and date for debugging"/>
|
||||
|
||||
<target name="run" description="Run the entire nightly build, test, and distribution packaging / testing process">
|
||||
|
||||
<antcall target="scrub.tomcat"/>
|
||||
|
||||
<ant antfile="../build.xml" target="clean" inheritAll="false"/>
|
||||
<ant antfile="../build.xml" target="deploy" inheritAll="false"/>
|
||||
<ant antfile="../build.xml" target="drt" inheritAll="false"/>
|
||||
|
||||
<java classname="org.apache.tools.ant.Main" fork="true" failOnError="true">
|
||||
<classpath>
|
||||
<pathelement path="${java.class.path}"/>
|
||||
</classpath>
|
||||
<arg line="-f ../build.xml build.dist -Dbeehive.version=${beehive.version} -Dant.home=${os.ANT_HOME} -emacs"/>
|
||||
</java>
|
||||
|
||||
<java classname="org.apache.tools.ant.Main" fork="true" failOnError="true">
|
||||
<classpath>
|
||||
<pathelement path="${java.class.path}"/>
|
||||
</classpath>
|
||||
<arg line="-f ../build.xml build.dist.src -Dbeehive.version=${beehive.version} -Dant.home=${os.ANT_HOME} -emacs"/>
|
||||
</java>
|
||||
|
||||
<java classname="org.apache.tools.ant.Main" fork="true" failOnError="true">
|
||||
<classpath>
|
||||
<pathelement path="${java.class.path}"/>
|
||||
</classpath>
|
||||
<arg line="-f ../build.xml build.dist.lib -Dbeehive.version=${beehive.version} -Dant.home=${os.ANT_HOME} -emacs"/>
|
||||
</java>
|
||||
|
||||
<java classname="org.apache.tools.ant.Main" fork="true" failOnError="true">
|
||||
<classpath>
|
||||
<pathelement path="${java.class.path}"/>
|
||||
</classpath>
|
||||
<arg line="-f ../build.xml build.dist.archives -Dbeehive.version=${beehive.version} -Dant.home=${os.ANT_HOME} -emacs"/>
|
||||
</java>
|
||||
|
||||
<antcall target="scrub.tomcat"/>
|
||||
|
||||
<java classname="org.apache.tools.ant.Main" fork="true" failOnError="true">
|
||||
<classpath>
|
||||
<pathelement path="${java.class.path}"/>
|
||||
</classpath>
|
||||
<arg line="-f ${beehive.home}/test/dist-test/build.xml build -Ddist.name=${dist.name} -Dant.home=${os.ANT_HOME} -emacs"/>
|
||||
</java>
|
||||
|
||||
<java classname="org.apache.tools.ant.Main" fork="true" failOnError="true">
|
||||
<classpath>
|
||||
<pathelement path="${java.class.path}"/>
|
||||
</classpath>
|
||||
<arg line="-f ${beehive.home}/test/dist-test/build.xml run -Dbeehive.dist.dir=${beehive.home}/build/dist/${dist.name} -Dbeehive.dist.name=${dist.name} -Dant.home=${os.ANT_HOME} -emacs"/>
|
||||
</java>
|
||||
|
||||
<!-- ftp to Apache -->
|
||||
<echo></echo>
|
||||
<echo></echo>
|
||||
<echo>FTP to Beehive distribution to Apache</echo>
|
||||
<echo></echo>
|
||||
<echo></echo>
|
||||
</target>
|
||||
|
||||
<!-- this target is a work in progress for automatically FTPing the archives via sftp to Apache -->
|
||||
<target name="sftp.nightly" description="SFTP the nightly release to apache.org; note, this target currently does not work">
|
||||
<fail unless="user" message="Username undefined"/>
|
||||
|
||||
<property name="sftp.script" location="${beehive.home}/build/dist/archives/sftp-${date}-${beehive.svn.revision}"/>
|
||||
<echo file="${sftp.script}">
|
||||
chdir /www/cvs.apache.org/dist/beehive/nightlies/
|
||||
mkdir ${date}
|
||||
put /home/eko/dev/oss/beehive-nightly/trunk/build/dist/archives/apache-beehive-${date}-${beehive.svn.revision}.tar.gz
|
||||
put /home/eko/dev/oss/beehive-nightly/trunk/build/dist/archives/apache-beehive-${date}-${beehive.svn.revision}.zip
|
||||
put /home/eko/dev/oss/beehive-nightly/trunk/build/dist/archives/README.txt
|
||||
</echo>
|
||||
|
||||
<exec dir="." executable="sftp" os="Linux" output="results.txt">
|
||||
<arg line=" -b ${sftp.script} ${user}@cvs.apache.org"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="scrub.tomcat" description="Scrub a local Tomcat install of Beehive related test web applications">
|
||||
<delete dir="${os.CATALINA_HOME}/work/Catalina/localhost/coreWeb"/>
|
||||
<delete file="${os.CATALINA_HOME}/conf/Catalina/localhost/coreWeb.xml"/>
|
||||
<delete dir="${os.CATALINA_HOME}/work/Catalina/localhost/controlsWeb"/>
|
||||
<delete file="${os.CATALINA_HOME}/conf/Catalina/localhost/controlsWeb.xml"/>
|
||||
<delete dir="${os.CATALINA_HOME}/work/Catalina/localhost/jsfWeb"/>
|
||||
<delete file="${os.CATALINA_HOME}/conf/Catalina/localhost/jsfWeb.xml"/>
|
||||
<delete dir="${os.CATALINA_HOME}/work/Catalina/localhost/urlTemplates"/>
|
||||
<delete file="${os.CATALINA_HOME}/conf/Catalina/localhost/urlTemplates.xml"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,140 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
$Header:$
|
||||
-->
|
||||
<project name="Beehive/SVN/TomcatImports" default="usage" basedir=".">
|
||||
|
||||
<property environment="os"/>
|
||||
<property name="tomcat.home" location="${os.CATALINA_HOME}"/>
|
||||
|
||||
<!-- Properties used to run Tomcat -->
|
||||
<!--
|
||||
In the long run, there probably needs to be a tomcat.properties file that is imported here
|
||||
which defines the username / password / port number so that they can be overridden
|
||||
in a user's environment
|
||||
-->
|
||||
<property name="catalina.username" value="manager"/>
|
||||
<property name="catalina.password" value="manager"/>
|
||||
<property name="catalina-ant.jar" location="${tomcat.home}/server/lib/catalina-ant.jar"/>
|
||||
|
||||
<path id="appserver.build.classpath">
|
||||
<fileset dir="${tomcat.home}/common/lib">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<target name="deploy" description="Deploy a webapp to a running Tomcat server">
|
||||
<fail unless="context.path" message="Can't deploy webapp; the value ${context.path} was unspecified"/>
|
||||
<fail unless="webapp.dir" message="Can't deploy webapp; the value ${webapp.dir} was unspecified"/>
|
||||
|
||||
<available property="webapp.available" file="${webapp.dir}" type="dir"/>
|
||||
<fail unless="webapp.available" message="The webapp at ${webapp.dir} does not exist."/>
|
||||
|
||||
<property name="_url" value="file://${webapp.dir}"/>
|
||||
<echo>deploy webapp from ${_url} with context path ${context.path}</echo>
|
||||
|
||||
<taskdef name="tomcatdeploy" classname="org.apache.catalina.ant.DeployTask" classpath="${catalina-ant.jar}"/>
|
||||
<tomcatdeploy path="/${context.path}" localWar="${_url}" username="${catalina.username}" password="${catalina.password}"/>
|
||||
<!-- The Tomcat deploy task doesn't necessarily finish deploying the app when the task completes. Sleep for a few... -->
|
||||
<sleep seconds="5"/>
|
||||
</target>
|
||||
|
||||
<target name="undeploy" description="Undeploy a webapp running on a Tomcat server">
|
||||
<fail unless="context.path" message="Can't undeploy webapp; the value ${context.path} was unspecified"/>
|
||||
|
||||
<taskdef name="tomcatundeploy" classname="org.apache.catalina.ant.UndeployTask" classpath="${catalina-ant.jar}"/>
|
||||
<tomcatundeploy path="/${context.path}" username="${catalina.username}" password="${catalina.password}"/>
|
||||
</target>
|
||||
|
||||
<target name="redeploy" description="Redeploy a webapp already running on a Tomcat server">
|
||||
<fail unless="context.path" message="Can't undeploy webapp; the value ${context.path} was unspecified"/>
|
||||
|
||||
<taskdef name="tomcatreload" classname="org.apache.catalina.ant.ReloadTask" classpath="${catalina-ant.jar}"/>
|
||||
<tomcatreload path="/${context.path}" username="${catalina.username}" password="${catalina.password}"/>
|
||||
<!-- The Tomcat deploy task doesn't necessarily finish deploying the app when the task completes. Sleep for a few... -->
|
||||
<sleep seconds="5"/>
|
||||
</target>
|
||||
|
||||
<target name="start" description="Start a Tomcat instance.">
|
||||
|
||||
<condition property="cmdline.options" value="">
|
||||
<not><isset property="cmdline.options"/></not>
|
||||
</condition>
|
||||
|
||||
<condition property="java.options" value="">
|
||||
<not><isset property="java.options"/></not>
|
||||
</condition>
|
||||
|
||||
<echo>startup.dir: ${tomcat.home}/bin</echo>
|
||||
<echo>cmdline.options: ${cmdline.options}</echo>
|
||||
<echo>java.options: ${java.options}</echo>
|
||||
|
||||
<echo>Start Tomcat</echo>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${tomcat.home}\bin" executable="cmd.exe">
|
||||
<env key="JAVA_OPTS" value="${java.options}"/>
|
||||
<arg line="/c startup.bat ${cmdline.options}"/>
|
||||
</exec>
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${tomcat.home}/bin" executable="sh">
|
||||
<env key="JAVA_OPTS" value="${java.options}"/>
|
||||
<arg line="startup.sh ${cmdline.options}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="start.with.shmem" description="Start a Tomcat instance with shared memory debugging.">
|
||||
|
||||
<condition property="cmdline.options" value="">
|
||||
<not><isset property="cmdline.options"/></not>
|
||||
</condition>
|
||||
|
||||
<condition property="java.options" value="">
|
||||
<not><isset property="java.options"/></not>
|
||||
</condition>
|
||||
|
||||
<echo>startup.dir: ${tomcat.home}/bin</echo>
|
||||
<echo>cmdline.options: ${cmdline.options}</echo>
|
||||
<echo>java.options: ${java.options}</echo>
|
||||
|
||||
<echo>Start Tomcat</echo>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${tomcat.home}\bin" executable="cmd.exe">
|
||||
<env key="JAVA_OPTS" value="${java.options}"/>
|
||||
<arg line="/c catalina.bat jpda start ${cmdline.options}"/>
|
||||
</exec>
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${tomcat.home}/bin" executable="sh">
|
||||
<env key="JAVA_OPTS" value="${java.options}"/>
|
||||
<arg line="startup.sh jpda start ${cmdline.options}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="stop" description="Stop the NetUI server">
|
||||
<echo>Stop Tomcat in: ${tomcat.home}</echo>
|
||||
<exec os="Windows 2000,Windows 2003,Windows XP" dir="${tomcat.home}\bin" executable="cmd.exe">
|
||||
<arg line=" /c shutdown"/>
|
||||
</exec>
|
||||
|
||||
<exec os="Linux,SunOS,Solaris,Mac OS X" dir="${tomcat.home}/bin" executable="sh">
|
||||
<arg line="shutdown.sh"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="usage" description="Print the usage for this build.xml">
|
||||
<java fork="no" classname="org.apache.tools.ant.Main">
|
||||
<arg line="-f ${ant.file} -projecthelp"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -70,40 +70,4 @@
|
||||
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/runtime</directory>
|
||||
<includes>
|
||||
<include>**/*.properties</include>
|
||||
<include>**/*.template</include>
|
||||
<include>**/*.vm</include>
|
||||
<include>META-INF/**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-source</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>add-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/api</source>
|
||||
<source>src/spi</source>
|
||||
<source>src/runtime</source>
|
||||
<source>src/test-container</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user