mirror of
https://github.com/vaadin/framework.git
synced 2024-07-27 20:20:26 +02:00
License parametrized
svn changeset:3163/svn branch:trunk
This commit is contained in:
parent
3b5793fd55
commit
e9e52bf23b
13
build/Apache2LicenseForJavaFiles.txt
Normal file
13
build/Apache2LicenseForJavaFiles.txt
Normal file
@ -0,0 +1,13 @@
|
||||
* 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.
|
@ -455,16 +455,17 @@
|
||||
<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">
|
||||
@ -537,7 +538,7 @@
|
||||
<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">
|
||||
@ -664,7 +665,7 @@
|
||||
<include name="${toolkit-package}/launcher/**" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
|
||||
<!--
|
||||
<echo>Building WAR</echo>
|
||||
<war warfile="${output-dir}/${product-file}.war">
|
||||
|
Loading…
Reference in New Issue
Block a user