--- /dev/null
+ * Copyright 2007 IT Mill Ltd.
+ *
+ * Licensed 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.
\ No newline at end of file
<target name="build" depends="demo" description="Build package required files, without packing them.">
</target>
-
<!-- Copy and preprocess sources for packaging
NOTE: Replaces <version></version> tags with build version tag for some "textual" files
-->
<target name="preprocess-src">
+ <loadfile property="ITMillApache2LicenseForJavaFiles" srcFile="build/ITMillApache2LicenseForJavaFiles.txt" />
<mkdir dir="${result-path}/src" />
<echo>Copying src directory and processing copied files.</echo>
<echo>Replacing <version> tag with build version for java/html/css/xml files.</echo>
<copy todir="${result-path}/src">
<filterset>
+ <filter token="ITMillApache2LicenseForJavaFiles" value="${ITMillApache2LicenseForJavaFiles}" />
<filter token="VERSION" value="${version}" />
</filterset>
<fileset dir="src">
<include name="META-INF/**/*" />
</fileset>
</copy>
-
+
<!-- Add package specific WebContent files from build/package/WebContent -->
<copy todir="${output-dir}/WebContent">
<fileset dir="build/package/WebContent">
<include name="${toolkit-package}/launcher/**" />
</fileset>
</copy>
-
+
<!--
<echo>Building WAR</echo>
<war warfile="${output-dir}/${product-file}.war">