<echo>##teamcity[publishArtifacts '${result-path}/${base-name}-liferay.zip']</echo>
</target>
- <!-- TODO some files should go to the JAR instead of test WAR -->
<target name="add-test-war-files">
<echo>Adding test class files and launcher configuration.</echo>
<copy todir="${output-dir}/WebContent/WEB-INF/classes">
<exclude name="**/*.xml" />
</fileset>
</copy>
-
- <delete includeemptydirs="true" defaultexcludes="false">
- <fileset dir="${output-dir}">
- <include name="*.txt" />
- <include name="build-widgetset.xml" />
- </fileset>
- </delete>
- <copy todir="${output-dir}">
- <filterchain>
- <expandproperties />
- <replacetokens begintoken="@" endtoken="@">
- <token key="version" value="${version.full}" />
- </replacetokens>
- </filterchain>
- <fileset dir="WebContent/license">
- <include name="COPYING" />
- </fileset>
- </copy>
- <copy todir="${output-dir}/WebContent">
- <filterchain>
- <expandproperties />
- <replacetokens begintoken="@" endtoken="@">
- <token key="version" value="${version.full}" />
- </replacetokens>
- <replacetokens begintoken="@" endtoken="@">
- <token key="builddate" value="${build.date}" />
- </replacetokens>
- </filterchain>
- <fileset dir="WebContent">
- <exclude name="**/.svn" />
- <include name="release-notes.html" />
- <include name="*.html" />
- <include name="license/*.html" />
- <include name="license/*.txt" />
- </fileset>
- </copy>
- <copy todir="${output-dir}">
- <filterchain>
- <expandproperties />
- <replacetokens begintoken="@" endtoken="@">
- <token key="version" value="${version.full}" />
- </replacetokens>
- </filterchain>
- <fileset dir="build/package">
- <include name="readme.txt" />
- <include name="build-widgetset.xml" />
- </fileset>
- </copy>
</target>
<!-- Build server-side, client-side, libraries, and tests. -->
<include name="web.xml" />
</fileset>
</copy>
+
+ <!-- These should go to various JARs -->
+ <copy todir="${output-dir}/WebContent">
+ <filterchain>
+ <expandproperties />
+ <replacetokens begintoken="@" endtoken="@">
+ <token key="version" value="${version.full}" />
+ </replacetokens>
+ <replacetokens begintoken="@" endtoken="@">
+ <token key="builddate" value="${build.date}" />
+ </replacetokens>
+ </filterchain>
+ <fileset dir="WebContent">
+ <exclude name="**/.svn" />
+ <include name="release-notes.html" />
+ <include name="*.html" />
+ <include name="license/*.html" />
+ <include name="license/*.txt" />
+ </fileset>
+ <fileset dir="WebContent/license">
+ <include name="COPYING" />
+ </fileset>
+ </copy>
</target>
<target name="compile-java" depends="init, check-servlet-version, webcontent">
<include name="VAADIN/themes/liferay/**/*" />
<include name="VAADIN/themes/runo/**/*" />
<include name="VAADIN/themes/reindeer/**/*" />
+
+ <include name="release-notes.html" />
+ <include name="license/**/*" />
+ <include name="COPYING" />
</patternset>
</fileset>
</jar>
<include name="**/*.java" />
</patternset>
</fileset>
+ <fileset dir="${output-dir}/WebContent">
+ <patternset>
+ <include name="release-notes.html" />
+ <include name="license/**/*" />
+ <include name="COPYING" />
+ </patternset>
+ </fileset>
</jar>
</target>
<include name="**" />
</patternset>
</fileset>
+ <fileset dir="${output-dir}/WebContent">
+ <patternset>
+ <include name="release-notes.html" />
+ <include name="license/**/*" />
+ <include name="COPYING" />
+ </patternset>
+ </fileset>
</jar>
<!-- Append local style definitions. -->
+++ /dev/null
-==============================================================================\r
-Vaadin @version@ Readme\r
-==============================================================================\r
-\r
--------------\r
-How to Start?\r
--------------\r
-\r
-In Windows:\r
- Just double-click start.bat icon. It will start a web application at\r
- port 8888 on the local host and opens a web browser window to display\r
- the start page of Vaadin Content Browser.\r
-\r
-In Linux:\r
- Open a shell window, change to the installation directory, and execute\r
- "sh start.sh". It will start a web application at port 8888 on the local\r
- host and opens a web browser window to display the start page of Vaadin\r
- Content Browser.\r
-\r
-In Mac:\r
- Start Terminal.app and run the start.sh script in the installation\r
- directory. It will start a web application at port 8888 on the local\r
- host and opens a web browser window to display the start page of Vaadin\r
- Content Browser.\r
-\r
-The installation directory is a web application as itself and can be directly\r
-imported to the Eclipse IDE by selecting\r
-"File / Import / Existing Projects into Workspace" from Eclipse main menu.\r
-See the manual for detailed instructions.\r
-\r
----------------------------------\r
-What's Inside the Vaadin Package?\r
----------------------------------\r
-\r
-You should start exploring Vaadin through the provided Content Browser web\r
-application within this package; see 'How to Start?' above.\r
-\r
-The WebContent directory contains the content available through the Content\r
-Browser: the Vaadin Library, demos, documentation, and other useful\r
-information to get started with Vaadin.\r
-\r
-Below is a list of most important locations and files:\r
-\r
-Start Vaadin\r
-- start exploring Vaadin by double-clicking this icon\r
-\r
-COPYING\r
-- license file\r
-\r
-WebContent/vaadin-@version@.jar\r
-- Vaadin Library containing Java source and compiled files\r
-\r
-WebContent/docs/book-of-vaadin.pdf\r
-- Book of Vaadin in PDF format\r
-\r
-WebContent/docs/api/index.html\r
-- Vaadin API Documentation as JavaDoc reference\r
-\r
-WebContent/WEB-INF/src\r
-- Content Browser source code, compiled into WebContent/WEB-INF/classes\r
- \r
-WebContent/docs/example-source\r
-- example source code in HTML format\r
-\r
-WebContent/demo\r
-- files required by the demos\r
-\r
-Vaadin Development Server.launch\r
-GWT Development Mode.launch\r
-- launch configurations for Eclipse workspace\r
-\r
-WebContent/docs/example-source/build-widgetset.xml\r
-- example on how to build GWT widget sets for Vaadin application\r
-\r
-WebContent/VAADIN\r
-- widget sets and themes\r
-\r
-gwt\r
-- Google Web Toolkit is required for building new widget sets\r