Files
ofbiz-framework/framework/build.xml
T
Jacques Le Roux a5eae6afcc Add an EncryptedString format possibilities in datafile (use in Record.java, needed some changes to build in framework/build.xml and datafile/build.xml)
+ datafile/dtd/datafiles.xsd enhanced with some documentations, and an enumeration for the type: I used all occurrences found in Record.setString() method)
+ datafile/dtd/datafiles-catalog.xml added
+ Few generics cleaning in login/LoginServices.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882892 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 13:10:07 +00:00

185 lines
6.8 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,jetty/build.xml,
security/build.xml,service/build.xml,entityext/build.xml,
webslinger/build.xml,
bi/build.xml,minilang/build.xml,
webapp/build.xml,guiapp/build.xml,widget/build.xml,
common/build.xml,datafile/build.xml,
testtools/build.xml,
appserver/build.xml,webtools/build.xml,example/build.xml"/>
<filelist id="test-builds" dir="." files="base/build.xml,entity/build.xml"/>
<property name="memory.max.param" value="-Xmx384M"/>
<!-- ================================================================== -->
<!-- Initialization of all property settings -->
<!-- ================================================================== -->
<target name="ofbiz-init">
<property environment="env"/>
</target>
<target name="dir-init" depends="ofbiz-init">
<mkdir dir="../runtime"/>
<mkdir dir="../runtime/output"/>
<mkdir dir="../runtime/logs"/>
<mkdir dir="../runtime/logs/test-results"/>
<mkdir dir="../runtime/data"/>
<mkdir dir="../runtime/data/derby"/>
<mkdir dir="../runtime/data/hsql"/>
<condition property="isMac">
<os family="mac"/>
</condition>
<antcall target="copy-derby-props" inheritall="true"/>
</target>
<target name="copy-derby-props" if="isMac">
<copy file="../runtime/data/derby.properties" todir="../runtime/data/derby"/>
</target>
<!-- ================================================================== -->
<!-- Removes all created files and directories -->
<!-- ================================================================== -->
<target name="refresh">
<antcall target="clean-all"/>
<antcall target="build"/>
</target>
<target name="clean-all">
<antcall target="clean-data"/>
<antcall target="clean-logs"/>
<antcall target="clean-output"/>
<antcall target="clean-xtra"/>
<antcall target="clean-catalina"/>
<antcall target="clean"/>
</target>
<target name="clean-data">
<delete verbose="on" includeemptydirs="true">
<fileset dir="../runtime/data" includes="**/*">
<exclude name="README"/>
<exclude name="derby.properties"/>
</fileset>
</delete>
</target>
<target name="clean-logs">
<delete verbose="on" dir="../runtime/logs/test-results"/>
<delete verbose="on">
<fileset dir="../runtime/logs" includes="*">
<exclude name="README"/>
</fileset>
</delete>
</target>
<target name="clean-output">
<delete verbose="on">
<fileset dir="." includes="../runtime/output/*"/>
</delete>
</target>
<target name="clean-xtra">
<delete verbose="on">
<fileset dir="." includes="**/.nbattrs,**/*~,**/.#*,**/.DS_Store,**/*.rej,**/*.orig"/>
</delete>
</target>
<target name="clean-catalina">
<delete dir="../runtime/catalina/work"/>
</target>
<target name="clean-tempfiles">
<delete verbose="on">
<fileset dir="../runtime" includes="tempfiles/**/*"/>
</delete>
</target>
<target name="tests">
<subant target="tests">
<filelist refid="test-builds"/>
</subant>
</target>
<target name="clean">
<iterate target="clean" filelist="framework-builds"/>
<echo message="[clean] ========== Done Cleaning Framework =========="/>
</target>
<!-- ================================================================== -->
<!-- Build Components -->
<!-- ================================================================== -->
<target name="build" depends="dir-init">
<echo message="[build] ========== Start Building Framework (Compile) =========="/>
<!-- make sure the data and logs directories exist (they should exist, because they are in svn) -->
<mkdir dir="../runtime/data"/>
<mkdir dir="../runtime/logs"/>
<iterate inheritall="false" filelist="framework-builds"/>
<echo message="[build] ========== Done Building Framework (Compile) =========="/>
</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>
<!-- ================================================================== -->
<!-- Contrib Targets -->
<!-- ================================================================== -->
<target name="copy-contrib">
<copy todir="${basedir}" overwrite="true" verbose="true">
<fileset dir="${basedir}/contrib" excludes="contrib/**,**/*.class"/>
</copy>
</target>
<target name="build-contrib" depends="copy-contrib,refresh"/>
<!-- ================================================================== -->
<!-- Script Targets -->
<!-- ================================================================== -->
<target name="scriptfix">
<fixcrlf srcdir="${basedir}" eol="lf" eof="remove" includes="**/*.sh"/>
<fixcrlf srcdir="${basedir}" eol="crlf" includes="**/*.bat"/>
</target>
</project>