* removed redundant targets (e.g. clean-xtras) * removed unused targets and settings * moved runtime related targets from framework to main build file * moved the search index runtime folder from runtime/data/indexes to runtime/indexes to prevent the removal of indexes when clean-data is executed git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520510 13f79535-47bb-0310-9956-ffa450edef68
77 lines
3.0 KiB
XML
77 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
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.
|
|
-->
|
|
|
|
<project name="OFBiz Framework Build" default="build" basedir=".">
|
|
<import file="../macros.xml"/>
|
|
|
|
<filelist id="framework-builds" dir="."
|
|
files="start/build.xml,base/build.xml,sql/build.xml,
|
|
entity/build.xml,geronimo/build.xml,
|
|
catalina/build.xml,
|
|
security/build.xml,service/build.xml,entityext/build.xml,
|
|
bi/build.xml,minilang/build.xml,
|
|
webapp/build.xml,widget/build.xml,
|
|
common/build.xml,datafile/build.xml,
|
|
testtools/build.xml,
|
|
webtools/build.xml"/>
|
|
|
|
<filelist id="test-builds" dir="." files="base/build.xml,sql/build.xml,entity/build.xml"/>
|
|
|
|
<!-- ================================================================== -->
|
|
<!-- Removes all created files and directories -->
|
|
<!-- ================================================================== -->
|
|
|
|
<target name="clean">
|
|
<iterate target="clean" filelist="framework-builds"/>
|
|
<echo message="[clean] ========== Done Cleaning Framework =========="/>
|
|
</target>
|
|
|
|
<!-- ================================================================== -->
|
|
<!-- Build Components -->
|
|
<!-- ================================================================== -->
|
|
|
|
<target name="build">
|
|
<echo message="[build] ========== Start Building Framework (Compile) =========="/>
|
|
|
|
<iterate inheritall="false" filelist="framework-builds"/>
|
|
|
|
<echo message="[build] ========== Done Building Framework (Compile) =========="/>
|
|
</target>
|
|
|
|
<target name="tests">
|
|
<subant target="tests">
|
|
<filelist refid="test-builds"/>
|
|
</subant>
|
|
</target>
|
|
|
|
<!-- ================================================================== -->
|
|
<!-- Build JavaDocs -->
|
|
<!-- ================================================================== -->
|
|
|
|
<target name="docs">
|
|
<echo message="[docs] ========== Start Building Framework (JavaDoc) =========="/>
|
|
|
|
<iterate target="docs" filelist="framework-builds"/>
|
|
|
|
<echo message="[docs] ========== Done Building Framework (JavaDocs) =========="/>
|
|
</target>
|
|
|
|
</project>
|