aboutsummaryrefslogtreecommitdiffstats
BranchCommit messageAuthorAge
masterSONAR-24568 Update CFamily analyzer and dependencies to version 6.64.1.81116hashicorp-vault-sonar-prod[bot]4 hours
branch-9.9SONAR-24434 Lower the size limit and exclude duplications_dataEric Giffon5 days
az/ps-wide-outputMake sonar startup script insensitive to the terminal widthArseniy Zaostrovnykh2 weeks
branch-25.01SONAR-24107 Fix quality gate issueAlain Kermis2 months
branch-25.1SONAR-24107 Fix quality gate issueAlain Kermis2 months
task/mm/restore-public-buildDO NOT MERGE Adding shibboleth for OpenSaml dependencyMatteo Mara2 months
branch-10.8SONAR-23954 Fix calculation of the field installedVersionActive in the respon...Matteo Mara3 months
lj/testing-releaseSONAR-23578 Add release.ymllukasz-jarocki-sonarsource4 months
greg/test-new-cirrus-config[DO NOT MERGE] Enable cirrus on this PRGrégoire Aubert4 months
branch-10.7SGB-163 Adding timer to all test inside issueApp as a temporary fixRevanshu Paliwal5 months
feat/smarini/BUILD-6088-add-security-mdBUILD-6088 Create SECURITY.mdSamir M6 months
task/sma/SONAR-22676_DO-NOT-MERGEDO NOT MERGE removal of StatusPrinterSteve Marion6 months
branch-10.6NO-JIRA Remove public modifier from Junit5 Test classesMatteo Mara8 months
branch-10.5SONAR-21218 Split QualityGate test to reduce runtimeAmbroise C9 months
copy_of_masterSONAR-22088 Fix GitLab auth when group sync is disabledAurelien Poscia10 months
branch-10.4SGB-12 Fix tests by setting `issueUpdateDate` instead `updatedAt`Duarte Meneses11 months
wip/ak/BUILD-3755-test-prDO NOT MERGE - testingAlain Kermis13 months
branch-10.3BUILD-3755 Don't trigger a public build for the branch-10.3Antoine Vigneau13 months
wip/ant1/try_BUILD-3755_no_public_build_for_lts[PATCH] BUILD-3755 Don't trigger a public build for the LTS branchAntoine Vigneau13 months
fix/jp/fix-jrogUse maven public repoJacek Poreda13 months
Martin/DefaultSymbol_ErrorMessageFix fail_on_reference_overlaps_declaration testMartin Strecker15 months
feature/wad/wip-node-18DO NOT MERGE!! POC to move to NodeJS 18Wouter Admiraal16 months
bug/cv/SONAR-20986-open-source-build-on-travis-failingSONAR-20986 Debug gradle buildCarmine Vassallo16 months
wouter-admiraal-sonarsource-patch-1[WIP] Move to NodeJS 18Wouter Admiraal16 months
branch-10.2SONAR-20855 uploading logs on failure on cirruslukasz-jarocki-sonarsource16 months
branch-10.1NO_JIRA prepare version 10.1.1 Benjamin Campomenosi20 months
ms/test-timeoutWIPMathieu Suen21 months
branch-10.0BUILD-2798 Move after_failure expressions to conditionJeremy Davis23 months
branch-8.9[NO-JIRA] Fix unittest that relies on no longer existing domainZipeng WU2 years
bugfix/cv/upgrade-travisenv-j17[NO-JIRA] Update the build env to use Ubuntu 22.04 and Java 17Carmine Vassallo2 years
branch-9.8[NO JIRA] Prepare next patch versioningalain2 years
prevent-jvm-overrideUpdate .travis.ymlKlaudio Sinani2 years
branch-9.7[NO-JIRA] Prepare the next release cycleMatteo Mara2 years
branch-9.6NO-JIRA bumping version of SonarQube 9.6Lukasz Jarocki3 years
branch-9.5Fix hash symbol in the name 'C#' for markdownPeeter Piegaze3 years
branch-9.4[NO JIRA] Update SonarJS to fix documentationWouter Admiraal3 years
jp/test-utTesting UT failureJacek3 years
lj/travis-fix-for-masterTesting fix, ignore pleaseLukasz Jarocki3 years
branch-9.3BUILD-1347 added whitesource scanTobias Trabelsi3 years
branch-9.2[NO-JIRA] Fix UT test for UpgradeNotificationMathieu Suen3 years
docs/th/AzureExtensionCompat15621Updated docs to show different compatibilitiesTom Howlett3 years
feature/jay/fix-travis-buildUpdate travis.shJay3 years
branch-9.1Bump version to 9.1.1Philippe Perrin3 years
branch-9.0Switch version to 9.0.1Philippe Perrin4 years
branch-8.7Update version to 8.7.1Duarte Meneses4 years
branch-7.9Prepare next development iterationMalena Ebert4 years
branch-8.6Bump patch versionMalena Ebert4 years
poc/me/travis-public-repoUpdate build.gradleMalena Ebert4 years
branch-8.5SONAR-14009 SVN configuration in SQ server does not workDuarte Meneses4 years
branch-8.4Release 8.4.2Zipeng WU5 years
poc/kirill+dam/open-issue-in-idePoC Add Open in IDE link in issueKirill Knize5 years
branch-8.3Update version to 8.3.1Jacek5 years
feature/wad/do-not-merge-do-not-mergeUpdate run_iris.shWouter Admiraal5 years
feature/wad/refresh-cacheDO NOT MERGE!!Wouter Admiraal5 years
branch-8.1SONAR-12849 Upgrade sonar-cfamily to 6.5Julien Lancelot5 years
feature/jh/scanner_report_uploaderDelete temp report after uploadJulien HENRY6 years
branch-6.7Prepare for next development iterationSimon Brandhof6 years
6.7fix Change Default Visibility localizationColin Mueller6 years
branch-7.0Prepare version 7.0-SNAPSHOTSimon Brandhof7 years
branch-6.6Prepare for next development iterationSimon Brandhof7 years
branch-5.6Fix integration testsDavid Rautureau7 years
branch-6.6-M1Set a version on each analysis to prevent 1 year old snapshots to be purgedJulien HENRY7 years
branch-6.5Prepare for next development iterationSimon Brandhof8 years
branch-6.5-M1Prepare next dev versionSimon Brandhof8 years
branch-6.4integration tests: avoid false positive after cpp quality profile changeDaniel Schwarz8 years
branch-6.3Reset version to 6.3-SNAPSHOTJulien Lancelot8 years
branch-6.2Prepare for next development iterationTom8 years
branch-6.1Prepare for next development iteration (ITs)David Rautureau8 years
branch-6.0prepare for next development iterationDavid Rautureau9 years
4.5.5Release 4.5.4Thomas Vérin10 years
 
TagDownloadAuthorAge
25.3.0.104237sonarqube-25.3.0.104237.tar.gz  sonarqube-25.3.0.104237.zip  Jay2 days
25.2.0.102705sonarqube-25.2.0.102705.tar.gz  sonarqube-25.2.0.102705.zip  Lukasz Jarocki5 weeks
25.1.0.102122sonarqube-25.1.0.102122.tar.gz  sonarqube-25.1.0.102122.zip  Nolwenn Cadic8 weeks
24.12.0.100206sonarqube-24.12.0.100206.tar.gz  sonarqube-24.12.0.100206.zip  Steve Marion3 months
9.9.8.100196sonarqube-9.9.8.100196.tar.gz  sonarqube-9.9.8.100196.zip  David Cho-Lerat3 months
10.7.0.96327sonarqube-10.7.0.96327.tar.gz  sonarqube-10.7.0.96327.zip  Julien HENRY5 months
9.9.7.96285sonarqube-9.9.7.96285.tar.gz  sonarqube-9.9.7.96285.zip  David Cho-Lerat5 months
10.6.0.92116sonarqube-10.6.0.92116.tar.gz  sonarqube-10.6.0.92116.zip  Matteo Mara8 months
9.9.6.92038sonarqube-9.9.6.92038.tar.gz  sonarqube-9.9.6.92038.zip  Antoine Vigneau9 months
10.5.1.90531sonarqube-10.5.1.90531.tar.gz  sonarqube-10.5.1.90531.zip  Alain Kermis10 months
9.9.5.90363sonarqube-9.9.5.90363.tar.gz  sonarqube-9.9.5.90363.zip  Aurelien Poscia10 months
10.5.0.89998sonarqube-10.5.0.89998.tar.gz  sonarqube-10.5.0.89998.zip  Pierre11 months
10.4.1.88267sonarqube-10.4.1.88267.tar.gz  sonarqube-10.4.1.88267.zip  Steve Marion12 months
9.9.4.87374sonarqube-9.9.4.87374.tar.gz  sonarqube-9.9.4.87374.zip  Matteo Mara12 months
10.4.0.87286sonarqube-10.4.0.87286.tar.gz  sonarqube-10.4.0.87286.zip  Antoine Vigneau13 months
10.3.0.82913sonarqube-10.3.0.82913.tar.gz  sonarqube-10.3.0.82913.zip  Jacek Poreda16 months
9.9.3.79811sonarqube-9.9.3.79811.tar.gz  sonarqube-9.9.3.79811.zip  guillaume-peoch-sonarsource16 months
10.2.1.78527sonarqube-10.2.1.78527.tar.gz  sonarqube-10.2.1.78527.zip  Jacek Poreda17 months
10.2.0.77647sonarqube-10.2.0.77647.tar.gz  sonarqube-10.2.0.77647.zip  Léo Geoffroy18 months
9.9.2.77730sonarqube-9.9.2.77730.tar.gz  sonarqube-9.9.2.77730.zip  Matteo Mara18 months
10.1.0.73491sonarqube-10.1.0.73491.tar.gz  sonarqube-10.1.0.73491.zip  Revanshu Paliwal21 months
9.9.1.69595sonarqube-9.9.1.69595.tar.gz  sonarqube-9.9.1.69595.zip  Pierre22 months
10.0.0.68432sonarqube-10.0.0.68432.tar.gz  sonarqube-10.0.0.68432.zip  Pierre23 months
9.9.0.65466sonarqube-9.9.0.65466.tar.gz  sonarqube-9.9.0.65466.zip  Wouter Admiraal2 years
9.8.0.63668sonarqube-9.8.0.63668.tar.gz  sonarqube-9.8.0.63668.zip  David Cho-Lerat2 years
9.7.1.62043sonarqube-9.7.1.62043.tar.gz  sonarqube-9.7.1.62043.zip  Gabriel Vivas2 years
9.7.0.61563sonarqube-9.7.0.61563.tar.gz  sonarqube-9.7.0.61563.zip  cynthiabethea2 years
8.9.10.61524sonarqube-8.9.10.61524.tar.gz  sonarqube-8.9.10.61524.zip  Jacek2 years
9.6.1.59531sonarqube-9.6.1.59531.tar.gz  sonarqube-9.6.1.59531.zip  Lukasz Jarocki3 years
9.6.0.59041sonarqube-9.6.0.59041.tar.gz  sonarqube-9.6.0.59041.zip  Wouter Admiraal3 years
8.9.9.56886sonarqube-8.9.9.56886.tar.gz  sonarqube-8.9.9.56886.zip  Philippe Perrin3 years
9.5.0.56709sonarqube-9.5.0.56709.tar.gz  sonarqube-9.5.0.56709.zip  Duarte Meneses3 years
8.9.8.54436sonarqube-8.9.8.54436.tar.gz  sonarqube-8.9.8.54436.zip  Mathieu Suen3 years
9.4.0.54424sonarqube-9.4.0.54424.tar.gz  sonarqube-9.4.0.54424.zip  Wouter Admiraal3 years
8.9.7.52159sonarqube-8.9.7.52159.tar.gz  sonarqube-8.9.7.52159.zip  Philippe Perrin3 years
9.3.0.51899sonarqube-9.3.0.51899.tar.gz  sonarqube-9.3.0.51899.zip  Klaudio Sinani3 years
9.2.4.50792sonarqube-9.2.4.50792.tar.gz  sonarqube-9.2.4.50792.zip  Jacek3 years
8.9.6.50800sonarqube-8.9.6.50800.tar.gz  sonarqube-8.9.6.50800.zip  Jacek3 years
9.2.3.50713sonarqube-9.2.3.50713.tar.gz  sonarqube-9.2.3.50713.zip  Jacek3 years
8.9.5.50698sonarqube-8.9.5.50698.tar.gz  sonarqube-8.9.5.50698.zip  Jacek3 years
9.2.2.50622sonarqube-9.2.2.50622.tar.gz  sonarqube-9.2.2.50622.zip  Jeremy Davis3 years
8.9.4.50575sonarqube-8.9.4.50575.tar.gz  sonarqube-8.9.4.50575.zip  Jacek3 years
9.2.1.49989sonarqube-9.2.1.49989.tar.gz  sonarqube-9.2.1.49989.zip  Malena Ebert3 years
9.2.0.49834sonarqube-9.2.0.49834.tar.gz  sonarqube-9.2.0.49834.zip  Lukasz Jarocki3 years
8.9.3.48735sonarqube-8.9.3.48735.tar.gz  sonarqube-8.9.3.48735.zip  Wouter Admiraal3 years
9.1.0.47736sonarqube-9.1.0.47736.tar.gz  sonarqube-9.1.0.47736.zip  Philippe Perrin3 years
8.9.2.46101sonarqube-8.9.2.46101.tar.gz  sonarqube-8.9.2.46101.zip  Jacek4 years
9.0.1.46107sonarqube-9.0.1.46107.tar.gz  sonarqube-9.0.1.46107.zip  Philippe Perrin4 years
9.0.0.45539sonarqube-9.0.0.45539.tar.gz  sonarqube-9.0.0.45539.zip  Zipeng WU4 years
8.9.1.44547sonarqube-8.9.1.44547.tar.gz  sonarqube-8.9.1.44547.zip  Lukasz Jarocki4 years
8.9.0.43852sonarqube-8.9.0.43852.tar.gz  sonarqube-8.9.0.43852.zip  Pierre4 years
8.8.0.42792sonarqube-8.8.0.42792.tar.gz  sonarqube-8.8.0.42792.zip  Wouter Admiraal4 years
8.7.1.42226sonarqube-8.7.1.42226.tar.gz  sonarqube-8.7.1.42226.zip  Duarte Meneses4 years
7.9.6sonarqube-7.9.6.tar.gz  sonarqube-7.9.6.zip  Malena Ebert4 years
8.7.0.41497sonarqube-8.7.0.41497.tar.gz  sonarqube-8.7.0.41497.zip  Wouter Admiraal4 years
8.6.1.40680sonarqube-8.6.1.40680.tar.gz  sonarqube-8.6.1.40680.zip  Malena Ebert4 years
8.6.0.39681sonarqube-8.6.0.39681.tar.gz  sonarqube-8.6.0.39681.zip  Mathieu Suen4 years
7.9.5sonarqube-7.9.5.tar.gz  sonarqube-7.9.5.zip  Malena Ebert4 years
8.5.1.38104sonarqube-8.5.1.38104.tar.gz  sonarqube-8.5.1.38104.zip  Duarte Meneses4 years
8.5.0.37579sonarqube-8.5.0.37579.tar.gz  sonarqube-8.5.0.37579.zip  Duarte Meneses4 years
8.4.2.36762sonarqube-8.4.2.36762.tar.gz  sonarqube-8.4.2.36762.zip  Zipeng WU5 years
7.9.4sonarqube-7.9.4.tar.gz  sonarqube-7.9.4.zip  Malena Ebert5 years
8.4.1.35646sonarqube-8.4.1.35646.tar.gz  sonarqube-8.4.1.35646.zip  Malena Ebert5 years
8.4.0.35506sonarqube-8.4.0.35506.tar.gz  sonarqube-8.4.0.35506.zip  tobias-trabelsi-sonarsource5 years
8.3.1.34397sonarqube-8.3.1.34397.tar.gz  sonarqube-8.3.1.34397.zip  Malena Ebert5 years
8.3.0.34182sonarqube-8.3.0.34182.tar.gz  sonarqube-8.3.0.34182.zip  Wouter Admiraal5 years
7.9.3sonarqube-7.9.3.tar.gz  sonarqube-7.9.3.zip  Jacek5 years
8.2.0.32929sonarqube-8.2.0.32929.tar.gz  sonarqube-8.2.0.32929.zip  Jeremy Davis5 years
8.1.0.31237sonarqube-8.1.0.31237.tar.gz  sonarqube-8
<?xml version="1.0"?>

<project
         xmlns:antcontrib="antlib:net.sf.antcontrib"
		 xmlns:artifact="antlib:org.apache.maven.artifact.ant"
         name="Vaadin"
         basedir="../" default="package-all">

	<!-- Package creation - - - - - - - - - - - - - - - - - - - - - - - - -

	When creating release use only "package-*" targets:
	package-all
	 * creates four release packages for three three platforms (below)
	 
	package-windows
     * vaadin-windows-<version>.zip
	
	package-linux
	 * vaadin-linux-<version>.tar.bz2
	 
	package-mac
	 * vaadin-mac-<version>.tar.gz
	 * vaadin-mac-<version>.dmg

    In addition, the OOPHM package has the following target for building:
	package-oophm
	 * vaadin-oophm-<version>.zip

	NOTE: This build script requires directories named ${gwt-dir}/(linux|windows|mac) .
	See build.properties to define path where your gwt installation is located.
	You must unpack platform specific binaries under linux, windows and mac directories.
	${gwt-dir}/${platform} (linux|windows|mac) are used for
  	a) compile WebContent/VAADIN/widgetsets
	b) creating platform specific release ZIP/TGZ packages.
	
	NOTE FOR USING OOPHM:
	 * To build with oophm define the property platform=oophm
	   * In Eclipse this is done in External Tools Configurations -> properties
	 * If you are using windows you must use JDK 1.6 and not 1.5
	   * To enable building with JDK 1.6, define ignoreversion=1
	-->

	<!-- 
	Call one of package-* targets unless you understand what you are doing 
	-->
	<target name="package-all" depends="clean-all, package-init, init, build, docs, internal-package-mac, internal-package-windows, internal-package-linux, internal-package-war, internal-package-liferay" description="Build public packages for Windows, Linux and Mac platforms.">
	</target>

	<target name="package-mac" depends="clean-result, package-init, init, build, docs, internal-package-mac" description="Create public tar.gz package for Mac.">
	</target>

	<target name="package-windows" depends="clean-result, package-init, init, build, docs, internal-package-wi  sonarqube-6.5-RC1.zip  
Simon Brandhof8 years
6.5-M2sonarqube-6.5-M2.tar.gz  sonarqube-6.5-M2.zip  Simon Brandhof8 years
6.5-M1sonarqube-6.5-M1.tar.gz  sonarqube-6.5-M1.zip  Simon Brandhof8 years
6.4sonarqube-6.4.tar.gz  sonarqube-6.4.zip  Simon Brandhof8 years
6.4-RC3sonarqube-6.4-RC3.tar.gz  sonarqube-6.4-RC3.zip  Simon Brandhof8 years
6.4-RC2sonarqube-6.4-RC2.tar.gz  sonarqube-6.4-RC2.zip  Simon Brandhof8 years
6.4-RC1sonarqube-6.4-RC1.tar.gz  sonarqube-6.4-RC1.zip  Simon Brandhof8 years
6.3.2sonarqube-6.3.2.tar.gz  sonarqube-6.3.2.zip  Julien Lancelot8 years
6.3.1sonarqube-6.3.1.tar.gz  sonarqube-6.3.1.zip  Simon Brandhof8 years
6.3sonarqube-6.3.tar.gz  sonarqube-6.3.zip  Simon Brandhof8 years
6.3-RC4sonarqube-6.3-RC4.tar.gz  sonarqube-6.3-RC4.zip  Simon Brandhof8 years
6.3.0.18800sonarqube-6.3.0.18800.tar.gz  sonarqube-6.3.0.18800.zip  Simon Brandhof8 years
6.3.0.18587sonarqube-6.3.0.18587.tar.gz  sonarqube-6.3.0.18587.zip  Sébastien Lesaint8 years
5.6.6sonarqube-5.6.6.tar.gz  sonarqube-5.6.6.zip  David Rautureau8 years
6.3-RC1sonarqube-6.3-RC1.tar.gz  sonarqube-6.3-RC1.zip  Simon Brandhof8 years
6.3.0.18401sonarqube-6.3.0.18401.tar.gz  sonarqube-6.3.0.18401.zip  Simon Brandhof8 years
5.6.5sonarqube-5.6.5.tar.gz  sonarqube-5.6.5.zip  Tom8 years
6.2.1sonarqube-6.2.1.tar.gz  sonarqube-6.2.1.zip  Tom8 years
6.2sonarqube-6.2.tar.gz  sonarqube-6.2.zip  Tom8 years
5.6.4sonarqube-5.6.4.tar.gz  sonarqube-5.6.4.zip  Tom8 years
6.2-RC3sonarqube-6.2-RC3.tar.gz  sonarqube-6.2-RC3.zip  Tom8 years
6.2-RC2sonarqube-6.2-RC2.tar.gz  sonarqube-6.2-RC2.zip  Tom8 years
6.2-RC1sonarqube-6.2-RC1.tar.gz  sonarqube-6.2-RC1.zip  David Rautureau8 years
6.1.1sonarqube-6.1.1.tar.gz  sonarqube-6.1.1.zip  David Rautureau8 years
6.1sonarqube-6.1.tar.gz  sonarqube-6.1.zip  David Rautureau8 years
5.6.3sonarqube-5.6.3.tar.gz  sonarqube-5.6.3.zip  Tom8 years
6.1-RC2sonarqube-6.1-RC2.tar.gz  sonarqube-6.1-RC2.zip  Tom8 years
6.1-RC1sonarqube-6.1-RC1.tar.gz  sonarqube-6.1-RC1.zip  David Rautureau8 years
5.6.2sonarqube-5.6.2.tar.gz  sonarqube-5.6.2.zip  Tom8 years
6.0sonarqube-6.0.tar.gz  sonarqube-6.0.zip  David Rautureau9 years
6.0-RC2sonarqube-6.0-RC2.tar.gz  sonarqube-6.0-RC2.zip  David Rautureau9 years
5.6.1sonarqube-5.6.1.tar.gz  sonarqube-5.6.1.zip  David Rautureau9 years
6.0-RC1sonarqube-6.0-RC1.tar.gz  sonarqube-6.0-RC1.zip  David Rautureau9 years
5.6sonarqube-5.6.tar.gz  sonarqube-5.6.zip  Tom9 years
5.6-RC2sonarqube-5.6-RC2.tar.gz  sonarqube-5.6-RC2.zip  Tom9 years
5.6-RC1sonarqube-5.6-RC1.tar.gz  sonarqube-5.6-RC1.zip  Julien Lancelot9 years
5.5sonarqube-5.5.tar.gz  sonarqube-5.5.zip  Tom9 years
5.5-RC2sonarqube-5.5-RC2.tar.gz  sonarqube-5.5-RC2.zip  Tom9 years
4.5.7sonarqube-4.5.7.tar.gz  sonarqube-4.5.7.zip  Tom9 years
5.5-RC1sonarqube-5.5-RC1.tar.gz  sonarqube-5.5-RC1.zip  Tom9 years
5.5-M14sonarqube-5.5-M14.tar.gz  sonarqube-5.5-M14.zip  Stas Vilchik9 years
5.5-M13sonarqube-5.5-M13.tar.gz  sonarqube-5.5-M13.zip  Stas Vilchik9 years
5.5-M12sonarqube-5.5-M12.tar.gz  sonarqube-5.5-M12.zip  Teryk Bellahsene9 years
5.5-M11sonarqube-5.5-M11.tar.gz  sonarqube-5.5-M11.zip  Stas Vilchik9 years
5.5-M10sonarqube-5.5-M10.tar.gz  sonarqube-5.5-M10.zip  Simon Brandhof9 years
5.4sonarqube-5.4.tar.gz  sonarqube-5.4.zip  Eric Hartmann9 years
5.4-RC4sonarqube-5.4-RC4.tar.gz  sonarqube-5.4-RC4.zip  Eric Hartmann9 years
5.5-M7sonarqube-5.5-M7.tar.gz  sonarqube-5.5-M7.zip  Jenkins CI9 years
5.5-M6sonarqube-5.5-M6.tar.gz  sonarqube-5.5-M6.zip  Julien Lancelot9 years
5.4-RC3sonarqube-5.4-RC3.tar.gz  sonarqube-5.4-RC3.zip  Eric Hartmann9 years
5.5-M5sonarqube-5.5-M5.tar.gz  sonarqube-5.5-M5.zip  Simon Brandhof9 years
5.5-M4sonarqube-5.5-M4.tar.gz  sonarqube-5.5-M4.zip  Simon Brandhof9 years
5.5-M3sonarqube-5.5-M3.tar.gz  sonarqube-5.5-M3.zip  Jenkins CI9 years
5.5-M2sonarqube-5.5-M2.tar.gz  sonarqube-5.5-M2.zip  Simon Brandhof9 years
5.4-RC2sonarqube-5.4-RC2.tar.gz  sonarqube-5.4-RC2.zip  Thomas Vérin9 years
5.5-M1sonarqube-5.5-M1.tar.gz  sonarqube-5.5-M1.zip  Julien Lancelot9 years
5.4-M1sonarqube-5.4-M1.tar.gz  sonarqube-5.4-M1.zip  Julien Lancelot9 years
5.4-M14sonarqube-5.4-M14.tar.gz  sonarqube-5.4-M14.zip  Julien Lancelot9 years
5.4-RC1sonarqube-5.4-RC1.tar.gz  sonarqube-5.4-RC1.zip  Eric Hartmann9 years
5.4-M13sonarqube-5.4-M13.tar.gz  sonarqube-5.4-M13.zip  Teryk Bellahsene9 years
5.4-M12sonarqube-5.4-M12.tar.gz  sonarqube-5.4-M12.zip  Julien Lancelot9 years
5.4-M11sonarqube-5.4-M11.tar.gz  sonarqube-5.4-M11.zip  Teryk Bellahsene9 years
5.4-M10sonarqube-5.4-M10.tar.gz  sonarqube-5.4-M10.zip  Stas Vilchik9 years
5.4-M9sonarqube-5.4-M9.tar.gz  sonarqube-5.4-M9.zip  Simon Brandhof9 years
5.4-M8sonarqube-5.4-M8.tar.gz  sonarqube-5.4-M8.zip  Teryk Bellahsene9 years
5.4-M7sonarqube-5.4-M7.tar.gz  sonarqube-5.4-M7.zip  Sébastien Lesaint9 years
5.4-M6sonarqube-5.4-M6.tar.gz  sonarqube-5.4-M6.zip  Stas Vilchik9 years
5.4-M5sonarqube-5.4-M5.tar.gz  sonarqube-5.4-M5.zip  Sébastien Lesaint9 years
5.4-M4sonarqube-5.4-M4.tar.gz  sonarqube-5.4-M4.zip  Stas Vilchik9 years
5.3sonarqube-5.3.tar.gz  sonarqube-5.3.zip  Thomas Vérin9 years
5.3-RC3sonarqube-5.3-RC3.tar.gz  sonarqube-5.3-RC3.zip  Thomas Vérin9 years
5.4-M3sonarqube-5.4-M3.tar.gz  sonarqube-5.4-M3.zip  Simon Brandhof9 years
5.4-M2sonarqube-5.4-M2.tar.gz  sonarqube-5.4-M2.zip  Stas Vilchik9 years
5.3-RC2sonarqube-5.3-RC2.tar.gz  sonarqube-5.3-RC2.zip  Thomas Vérin9 years
5.3-RC1sonarqube-5.3-RC1.tar.gz  sonarqube-5.3-RC1.zip  Eric Hartmann9 years
5.2sonarqube-5.2.tar.gz  sonarqube-5.2.zip  Simon Brandhof9 years
5.2-RC3sonarqube-5.2-RC3.tar.gz  sonarqube-5.2-RC3.zip  Thomas Vérin9 years
4.5.6sonarqube-4.5.6.tar.gz  sonarqube-4.5.6.zip  Thomas Vérin9 years
4.5.5sonarqube-4.5.5.tar.gz  sonarqube-4.5.5.zip  Thomas Vérin9 years
5.2-RC2sonarqube-5.2-RC2.tar.gz  sonarqube-5.2-RC2.zip  Thomas Vérin9 years
5.2-RC1sonarqube-5.2-RC1.tar.gz  sonarqube-5.2-RC1.zip  Thomas Vérin9 years
5.1.2sonarqube-5.1.2.tar.gz  sonarqube-5.1.2.zip  Eric Hartmann10 years
5.1.1sonarqube-5.1.1.tar.gz  sonarqube-5.1.1.zip  Eric Hartmann10 years
5.1sonarqube-5.1.tar.gz  sonarqube-5.1.zip  Sonartech10 years
5.1-RC2sonarqube-5.1-RC2.tar.gz  sonarqube-5.1-RC2.zip  Eric Hartmann10 years
5.1-RC1sonarqube-5.1-RC1.tar.gz  sonarqube-5.1-RC1.zip  Eric Hartmann10 years
4.5.4sonarqube-4.5.4.tar.gz  sonarqube-4.5.4.zip  Thomas Vérin10 years
4.5.3sonarqube-4.5.3.tar.gz  sonarqube-4.5.3.zip  Thomas Vérin10 years
5.0.1sonarqube-5.0.1.tar.gz  sonarqube-5.0.1.zip  Thomas Vérin10 years
latest-silver-master-#65sonarqube-latest-silver-master-#65.tar.gz  sonarqube-latest-silver-master-#65.zip  Jean-Baptiste Lievremont10 years
5.0sonarqube-5.0.tar.gz  sonarqube-5.0.zip  Eric Hartmann10 years
5.0-RC4sonarqube-5.0-RC4.tar.gz  sonarqube-5.0-RC4.zip  Thomas Vérin10 years
4.5.2sonarqube-4.5.2.tar.gz  sonarqube-4.5.2.zip  Thomas Vérin10 years
5.0-RC3sonarqube-5.0-RC3.tar.gz  sonarqube-5.0-RC3.zip  Eric Hartmann10 years
5.0-RC2sonarqube-5.0-RC2.tar.gz  sonarqube-5.0-RC2.zip  Eric Hartmann10 years
5.0-RC1sonarqube-5.0-RC1.tar.gz  sonarqube-5.0-RC1.zip  Eric Hartmann10 years
4.5.1sonarqube-4.5.1.tar.gz  sonarqube-4.5.1.zip  Eric Hartmann10 years
4.5.1-RC1sonarqube-4.5.1-RC1.tar.gz  sonarqube-4.5.1-RC1.zip  Julien Lancelot10 years
4.5sonarqube-4.5.tar.gz  sonarqube-4.5.zip  Eric Hartmann10 years
4.5-RC3sonarqube-4.5-RC3.tar.gz  sonarqube-4.5-RC3.zip  Eric Hartmann10 years
4.4.1sonarqube-4.4.1.tar.gz  sonarqube-4.4.1.zip  Eric Hartmann10 years
4.5-RC2sonarqube-4.5-RC2.tar.gz  sonarqube-4.5-RC2.zip  Eric Hartmann10 years
4.5-RC1sonarqube-4.5-RC1.tar.gz  sonarqube-4.5-RC1.zip  Eric Hartmann10 years
4.3.3sonarqube-4.3.3.tar.gz  sonarqube-4.3.3.zip  Eric Hartmann11 years
4.4sonarqube-4.4.tar.gz  sonarqube-4.4.zip  Eric Hartmann11 years
4.4-RC3sonarqube-4.4-RC3.tar.gz  sonarqube-4.4-RC3.zip  Eric Hartmann11 years
4.4-RC2sonarqube-4.4-RC2.tar.gz  sonarqube-4.4-RC2.zip  Eric Hartmann11 years
4.4-RC1sonarqube-4.4-RC1.tar.gz  sonarqube-4.4-RC1.zip  Eric Hartmann11 years
4.3.2sonarqube-4.3.2.tar.gz  sonarqube-4.3.2.zip  Eric Hartmann11 years
4.3.1sonarqube-4.3.1.tar.gz  sonarqube-4.3.1.zip  Eric Hartmann11 years
4.3sonarqube-4.3.tar.gz  sonarqube-4.3.zip  Eric Hartmann11 years
4.2sonarqube-4.2.tar.gz  sonarqube-4.2.zip  Eric Hartmann11 years
4.1.2sonarqube-4.1.2.tar.gz  sonarqube-4.1.2.zip  Julien Lancelot11 years
4.1.1sonarqube-4.1.1.tar.gz  sonarqube-4.1.1.zip  Eric Hartmann11 years
4.1sonarqube-4.1.tar.gz  sonarqube-4.1.zip  Eric Hartmann11 years
3.7.4sonarqube-3.7.4.tar.gz  sonarqube-3.7.4.zip  Eric Hartmann11 years
4.1-RC2sonarqube-4.1-RC2.tar.gz  sonarqube-4.1-RC2.zip  Eric Hartmann11 years
4.1-RC1sonarqube-4.1-RC1.tar.gz  sonarqube-4.1-RC1.zip  Eric Hartmann11 years
4.0sonarqube-4.0.tar.gz  sonarqube-4.0.zip  Eric Hartmann11 years
3.7.2sonarqube-3.7.2.tar.gz  sonarqube-3.7.2.zip  Eric Hartmann11 years
3.7.1sonarqube-3.7.1.tar.gz  sonarqube-3.7.1.zip  Eric Hartmann11 years
3.7.1-RC1-sonarqube-3.7.1-RC1-.tar.gz  sonarqube-3.7.1-RC1-.zip  Eric Hartmann12 years
3.7sonarqube-3.7.tar.gz  sonarqube-3.7.zip  Eric Hartmann12 years
3.6.3sonarqube-3.6.3.tar.gz  sonarqube-3.6.3.zip  Eric Hartmann12 years
3.6.2sonarqube-3.6.2.tar.gz  sonarqube-3.6.2.zip  Eric Hartmann12 years
3.6.1sonarqube-3.6.1.tar.gz  sonarqube-3.6.1.zip  Eric Hartmann12 years
3.6sonarqube-3.6.tar.gz  sonarqube-3.6.zip  Eric Hartmann12 years
3.5.1sonarqube-3.5.1.tar.gz  sonarqube-3.5.1.zip  Eric Hartmann12 years
3.5sonarqube-3.5.tar.gz  sonarqube-3.5.zip  Eric Hartmann12 years
3.4.1sonarqube-3.4.1.tar.gz  sonarqube-3.4.1.zip  Eric Hartmann12 years
3.4sonarqube-3.4.tar.gz  sonarqube-3.4.zip  GAUDIN12 years
3.3.2sonarqube-3.3.2.tar.gz  sonarqube-3.3.2.zip  Eric Hartmann12 years
3.3.1sonarqube-3.3.1.tar.gz  sonarqube-3.3.1.zip  Eric Hartmann12 years
3.3sonarqube-3.3.tar.gz  sonarqube-3.3.zip  Eric Hartmann12 years
3.2.1sonarqube-3.2.1.tar.gz  sonarqube-3.2.1.zip  Eric Hartmann12 years
3.2sonarqube-3.2.tar.gz  sonarqube-3.2.zip  Eric Hartmann13 years
3.1.1sonarqube-3.1.1.tar.gz  sonarqube-3.1.1.zip  Eric Hartmann13 years
3.1sonarqube-3.1.tar.gz  sonarqube-3.1.zip  Eric Hartmann13 years
3.0.1sonarqube-3.0.1.tar.gz  sonarqube-3.0.1.zip  Eric Hartmann13 years
3.0sonarqube-3.0.tar.gz  sonarqube-3.0.zip  Eric Hartmann13 years
2.14sonarqube-2.14.tar.gz  sonarqube-2.14.zip  Eric Hartmann13 years
2.13.1sonarqube-2.13.1.tar.gz  sonarqube-2.13.1.zip  Eric Hartmann13 years
2.13sonarqube-2.13.tar.gz  sonarqube-2.13.zip  Eric Hartmann13 years
2.12sonarqube-2.12.tar.gz  sonarqube-2.12.zip  Eric Hartmann13 years
2.10.1sonarqube-2.10.1.tar.gz  sonarqube-2.10.1.zip  GAUDIN13 years
2.11sonarqube-2.11.tar.gz  sonarqube-2.11.zip  GAUDIN13 years
2.10sonarqube-2.10.tar.gz  sonarqube-2.10.zip  Simon Brandhof14 years
2.9sonarqube-2.9.tar.gz  sonarqube-2.9.zip  simonbrandhof14 years
2.8sonarqube-2.8.tar.gz  sonarqube-2.8.zip  simonbrandhof14 years
2.7sonarqube-2.7.tar.gz  sonarqube-2.7.zip  simonbrandhof14 years
2.6sonarqube-2.6.tar.gz  sonarqube-2.6.zip  simonbrandhof14 years
pan class="cp">}.tar.gz" compression="gzip" longfile="gnu"> <tarfileset prefix="${product-file}-${package-platform}-${version.full}" dir="${result-path}/${product-file}-${version.full}"> <patternset> <include name="**/*" /> </patternset> </tarfileset> <tarfileset prefix="${product-file}-${package-platform}-${version.full}/gwt" dir="${gwt-dir}/${package-platform}"> <patternset> <include name="**/*" /> </patternset> </tarfileset> </tar> <!-- TODO: remove me: DISABLE for speed --> <!-- <antcall target="create-mac-diskimage" inheritAll="true" inheritRefs="true" /> --> </target> <target name="internal-package-war"> <echo>Building WAR</echo> <!-- Add the files. --> <!-- Warning: This should not really be "platform spefic". --> <antcontrib:var name="package-platform" value="linux" /> <antcontrib:var name="eclipse-launch-vmargs" value="-Xms256M -Xmx512M" /> <antcall target="add-platform-specific-files" inheritAll="true" inheritRefs="true" /> <!-- Copy source tree to class tree. --> <!-- A workaround for not setting classpath properly in WAR. --> <copy todir="${output-dir}/WebContent/WEB-INF/classes"> <fileset dir="${output-dir}/WebContent/WEB-INF/src"> <include name="**/*" /> </fileset> </copy> <war warfile="${result-path}/${product-file}-demo-${version.full}.war"> <fileset dir="${output-dir}/WebContent"> <include name="**/*" /> </fileset> </war> </target> <target name="internal-package-liferay" depends="internal-package-war"> <!-- We assume the needed files are put in place by internal-package-war --> <echo>Building Liferay zip</echo> <zip zipfile="${result-path}/${product-file}-${version.full}-liferay.zip"> <zipfileset prefix="VAADIN/widgetsets/com.vaadin.portal.gwt.PortalDefaultWidgetSet" dir="${output-dir}/WebContent/VAADIN/widgetsets/com.vaadin.portal.gwt.PortalDefaultWidgetSet"> <patternset> <include name="**/*" /> </patternset> </zipfileset> <zipfileset prefix="VAADIN/themes" dir="${output-dir}/WebContent/VAADIN/themes"> <patternset> <include name="base/**/*" /> <include name="liferay/**/*" /> <include name="runo/**/*" /> <include name="reindeer/**/*" /> <include name="default/**/*" /> </patternset> </zipfileset> </zip> <echo>##teamcity[publishArtifacts '${result-path}/${product-file}-${version.full}-liferay.zip']</echo> </target> <target name="create-mac-diskimage"> <!-- create Mac disk image (dmg) also --> <property name="mount.dir" value="${result-path}/mac-mounted-image" /> <mkdir dir="${mount.dir}" /> <delete file="${result-path}/*.dmg" /> <antcontrib:if> <equals arg1="${platform}" arg2="mac" /> <then> <untar src="${result-path}/${product-file}-${package-platform}-${version.full}.tar.gz" dest="${result-path}/" compression="gzip" /> <echo>Creating Mac disk image (dmg)</echo> <!-- create image --> <echo>hdiutil create -format UDRW -volname ${product-file}-${version.full} -srcfolder ${result-path}/${product-file}-${package-platform}-${version.full} ${result-path}/disk-image.dmg</echo> <exec executable="hdiutil" failonerror="true"> <arg line="create -format UDRW -volname ${product-file}-${version.full} -srcfolder ${result-path}/${product-file}-${package-platform}-${version.full} ${result-path}/disk-image.dmg" /> </exec> <!-- open image --> <exec executable="hdiutil" failonerror="true"> <arg line='attach' /> <arg line='-readwrite' /> <arg line='-noverify' /> <arg line='-noautoopen' /> <arg line='-mountpoint ${mount.dir}' /> <arg line='${result-path}/disk-image.dmg' /> </exec> <!-- make sure root folder is opened when image is --> <exec executable="bless" failonerror="true"> <arg line='--folder ${mount.dir}' /> <arg line='--openfolder ${mount.dir}' /> </exec> <!-- hack: wait for completion --> <exec executable="sleep" failonerror="true"> <arg line='2' /> </exec> <!-- here we could position items --> <!-- <exec executable="osascript" failonerror="true"> <arg line='package/positionItems.scpt ${mount.dir}' /> </exec> --> <!-- turn on volume icon --> <exec executable="/Developer/Tools/SetFile" failonerror="true"> <arg line='-a C' /> <arg line='${mount.dir}' /> </exec> <!-- set executable bit --> <chmod file="${mount.dir}/start.sh" perm="ugo+x" /> <!-- close image --> <exec executable="hdiutil" failonerror="true"> <arg line='detach ${mount.dir}/' /> </exec> <!-- make read-only --> <exec executable="hdiutil" failonerror="true"> <arg line='convert ${result-path}/disk-image.dmg' /> <arg line='-format UDZO' /> <arg line='-imagekey zlib-level=9' /> <arg line='-o ${result-path}/${product-file}-${package-platform}-${version.full}.dmg' /> </exec> <delete file="${result-path}/disk-image.dmg" /> <!-- internet-enable --> <exec executable="hdiutil" failonerror="true"> <arg line='internet-enable ${result-path}/${product-file}-${package-platform}-${version.full}.dmg' /> </exec> </then> </antcontrib:if> </target> <target name="add-platform-specific-files"> <echo>Adding platform specific files for ${package-platform}</echo> <delete includeemptydirs="true" defaultexcludes="false"> <fileset dir="${output-dir}"> <include name=".*" /> <include name="*.launch" /> <include name="*.txt" /> <include name="*.bat" /> <include name="*.sh" /> <include name="*.app" /> <include name="build-widgetset.xml" /> </fileset> </delete> <copy todir="${output-dir}"> <filterchain> <expandproperties /> <replacetokens begintoken="@" endtoken="@"> <token key="version" value="${version.full}" /> </replacetokens> <replacetokens begintoken="@" endtoken="@"> <token key="platform" value="${package-platform}" /> </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}" /> <token key="/version" value="" /> </replacetokens> <replacetokens begintoken="@" endtoken="@"> <token key="platform" value="${package-platform}" /> <token key="/platform" value="" /> </replacetokens> <replacetokens begintoken="@" endtoken="@"> <token key="builddate" value="${build.date}" /> </replacetokens> </filterchain> <fileset dir="WebContent"> <exclude name="**/.svn" /> <exclude name="windoweddemos.html" /> <include name="release-notes.html" /> <include name="*.html" /> <include name="license/*.html" /> <include name="license/*.txt" /> </fileset> </copy> <copy file="build/package/${package-platform}-readme.txt" tofile="${output-dir}/readme.txt"> <filterchain> <expandproperties /> <replacetokens begintoken="&lt;" endtoken=">"> <token key="version" value="${version.full}" /> <token key="/version" value="" /> </replacetokens> </filterchain> </copy> <copy todir="${output-dir}"> <filterchain> <expandproperties /> <!-- .classpath, *.launch, build-widgetset.xml --> <replacetokens begintoken="&lt;" endtoken=">"> <token key="version" value="${version.full}" /> <token key="/version" value="" /> </replacetokens> <!-- .classpath --> <replacetokens begintoken="&lt;" endtoken=">"> <token key="platform-specific-entries" value="&lt;classpathentry kind=&quot;lib&quot; path=&quot;gwt/gwt-dev-${package-platform}.jar&quot; /&gt;" /> <token key="/platform-specific-entries" value="" /> </replacetokens> <!-- .classpath, HostedMode.launch, build-widgetset.xml --> <!-- We can't use XML notation for this, because it can be inside an attribute definition. --> <replacetokens begintoken="@" endtoken="@"> <token key="platform" value="${package-platform}" /> </replacetokens> <!-- .project, *.launch --> <replacetokens begintoken="&lt;" endtoken=">"> <token key="eclipse-workspace-name" value="${eclipse-workspace-name}" /> <token key="/eclipse-workspace-name" value="" /> </replacetokens> <!-- HostedMode.launch --> <replacetokens begintoken="&lt;" endtoken=">"> <token key="eclipse-launch-vmargs" value="${eclipse-launch-vmargs}" /> <token key="/eclipse-launch-vmargs" value="" /> </replacetokens> </filterchain> <fileset dir="build/package"> <include name="eclipse-classpath" /> <include name="eclipse-project" /> <include name="eclipse*launch" /> <include name="build-widgetset.xml" /> <include name="eclipse-org.eclipse.core.resources.prefs" /> <include name="eclipse-org.eclipse.jdt.core.prefs" /> </fileset> </copy> <move file="${output-dir}/build-widgetset.xml" tofile="${output-dir}/WebContent/docs/example-source/build-widgetset.xml" /> <move file="${output-dir}/eclipse-classpath" tofile="${output-dir}/.classpath" /> <move file="${output-dir}/eclipse-project" tofile="${output-dir}/.project" /> <move file="${output-dir}/eclipse-Vaadin Hosted Mode Browser-launch" tofile="${output-dir}/Vaadin Hosted Mode Browser.launch" /> <move file="${output-dir}/eclipse-Vaadin Development Server-launch" tofile="${output-dir}/Vaadin Development Server.launch" /> <mkdir dir="${output-dir}/.settings" /> <move file="${output-dir}/eclipse-org.eclipse.core.resources.prefs" tofile="${output-dir}/.settings/org.eclipse.core.resources.prefs" /> <move file="${output-dir}/eclipse-org.eclipse.jdt.core.prefs" tofile="${output-dir}/.settings/org.eclipse.jdt.core.prefs" /> <antcontrib:if> <equals arg1="${package-platform}" arg2="windows" /> <then> <copy todir="${output-dir}"> <fileset dir="build/package"> <include name="start.bat" /> </fileset> </copy> </then> </antcontrib:if> <antcontrib:if> <equals arg1="${package-platform}" arg2="linux" /> <then> <copy todir="${output-dir}"> <fileset dir="build/package"> <include name="start.sh" /> </fileset> </copy> <chmod file="${output-dir}/start.sh" perm="ugo+x" /> <exec executable="chmod" failonerror="false"> <arg line="ugo+x" /> <arg line="${output-dir}/start.sh" /> </exec> </then> </antcontrib:if> <antcontrib:if> <equals arg1="${package-platform}" arg2="oophm" /> <then> <copy todir="${output-dir}"> <fileset dir="build/package"> <include name="start.sh" /> </fileset> </copy> <chmod file="${output-dir}/start.sh" perm="ugo+x" /> <exec executable="chmod" failonerror="false"> <arg line="ugo+x" /> <arg line="${output-dir}/start.sh" /> </exec> </then> </antcontrib:if> <antcontrib:if> <equals arg1="${package-platform}" arg2="mac" /> <then> <copy todir="${output-dir}"> <fileset dir="build/package"> <include name="start.sh" /> </fileset> </copy> <!-- must be done manually --> <!-- <exec executable="cp" failonerror="true"> <arg line="-r" /> <arg line="build/package/Start.app" /> <arg line="${output-dir}" /> </exec> --> <!-- but again, ant just fails with any * or other special characters --> <!-- package icon or folder background image / icon placements not in use --> <!-- <exec executable="cp" failonerror="true"> <arg line="build/package/Icon*" /> <arg line="${output-dir}" /> </exec> <exec executable="cp" failonerror="true"> <arg line="build/package/mac-DS_Store" /> <arg line="${output-dir}/.DS_Store" /> </exec> <copy file="build/package/mac-VolumeIcon.icns" tofile="${output-dir}/.VolumeIcon.icns" /> --> <chmod file="${output-dir}/start.sh" perm="ugo+x" /> <exec executable="chmod" failonerror="false"> <arg line="ugo+x" /> <arg line="${output-dir}/start.sh" /> </exec> </then> </antcontrib:if> </target> <target name="build" depends="libs, compile-client-side, 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 &lt;version&gt; 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.full}" /> </filterset> <fileset dir="src"> <patternset> <include name="**/*.java" /> <include name="**/*.html" /> <include name="**/*.css" /> <include name="**/*.xml" /> <exclude name="**/tests/**" unless="build.include.tests"/> <exclude name="**/demo/sampler/**" if="build.sampler.disabled" /> </patternset> </fileset> </copy> <!-- Unify mix usage of mac/Linux/Win characters --> <echo>Unifying mix usage of Mac/Linux/Win linefeeds for java/html/css/xml files.</echo> <fixcrlf srcdir="${result-path}/src" eol="crlf" tablength="4" tab="asis" includes="**/*.java **/*.html **/*.css **/*.xml" /> <!-- Add other files such as images, these are not filtered or processed by fixcrlf task --> <echo>Copying non java/html/css/xml files such as images.</echo> <copy todir="${result-path}/src"> <fileset dir="src"> <patternset> <exclude name="**/.svn" /> <exclude name="**/*.java" /> <exclude name="**/*.html" /> <exclude name="**/*.css" /> <exclude name="**/*.xml" /> <exclude name="**/tests/**" unless="build.include.tests"/> <exclude name="**/demo/sampler/**" if="build.sampler.disabled" /> </patternset> </fileset> </copy> </target> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WebContent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <target name="webcontent" depends="preprocess-src,defaulttheme"> <!-- copy 3rd part libraries used by demo --> <copy todir="${output-dir}/WebContent/demo/lib"> <fileset dir="lib"> <include name="reservr/**/*" /> </fileset> </copy> <copy todir="${output-dir}/WebContent/demo/lib"> <fileset dir="lib"> <include name="jetty/**/*" /> </fileset> </copy> <copy todir="${output-dir}/WebContent/demo/lib"> <fileset dir="lib"> <include name="portlet/**/*" /> </fileset> </copy> <!-- Add demo sources --> <echo>Adding demo sources to WebContent/WEB-INF/src</echo> <copy todir="${output-dir}/WebContent/WEB-INF/src"> <fileset dir="${result-path}/src"> <include name="${toolkit-package}/demo/**/*" /> <exclude name="${toolkit-package}/demo/sampler/**" if="build.sampler.disabled" /> </fileset> </copy> <echo>Creating demo source html files</echo> <java2html srcdir="${output-dir}/WebContent/WEB-INF/src/${toolkit-package}/demo" destdir="${output-dir}/WebContent/docs/example-source/${toolkit-package}/demo" includes="**/*.java" style="eclipse" showLineNumbers="false" showFileName="true" showTableBorder="false" /> <!-- Add WebContent --> <echo>Adding VAADIN/themes, demo and hsqldb.jar files.</echo> <copy todir="${output-dir}/WebContent"> <fileset dir="WebContent"> <exclude name="**/.svn" /> <!-- TODO check what is neccessary --> <!-- These are needed for running tests, but are copied during testing. --> <exclude name="VAADIN/themes/tests*"/> <exclude name="VAADIN/themes/tests-magi/**/*" /> <exclude name="VAADIN/themes/tests-featurebrowser/**/*" /> <exclude name="VAADIN/themes/tests*/**/*"/> <exclude name="VAADIN/themes/sampler/**" if="build.sampler.disabled" /> <include name="demo/**/*" /> <include name="WEB-INF/lib/hsqldb.jar" /> <include name="VAADIN/themes/**/*" /> <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"> <exclude name="**/.*" /> <include name="**/*" /> </fileset> </copy> <java classname="com.vaadin.buildhelpers.PortletConfigurationGenerator" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="${output-dir}/WebContent/WEB-INF" /> <arg value="com.vaadin.demo.sampler.gwt.SamplerWidgetSet" /> <classpath> <pathelement location="build/buildhelpers/" /> </classpath> </java> </target> <target name="compile-fileupload"> <echo>Compiling custom fileupload classes.</echo> <ant dir="build/external/fileupload" antfile="build.xml" target="compile" /> </target> <target name="unpack-gwt" depends="init"> <!-- Unpack GWT from JARs. This is needed for excluding Servlet API 2.4. --> <delete dir="${result-path}/gwt"/> <unjar src="${gwt-dir}/${platform}/gwt-user.jar" dest="${result-path}/gwt/"/> <unjar src="${gwt-dir}/${platform}/${lib-gwt-dev}" dest="${result-path}/gwt/"/> <delete dir="${result-path}/gwt/javax/servlet"/> </target> <target name="compile-java" depends="init, unpack-gwt, check-servlet-version, compile-fileupload, webcontent"> <echo>Compiling src (server-side)</echo> <!-- Compile --> <mkdir dir="${result-path}/classes" /> <javac source="1.5" target="1.5" classpathref="compile.classpath.server-side" destdir="${result-path}/classes" debug="true" encoding="UTF-8"> <src path="${result-path}/src"/> <!-- This seems to be included by default: include name="${toolkit-package}/**"/ --> <exclude name="${toolkit-package}/demo/sampler/**" if="build.sampler.disabled" /> <exclude name="${toolkit-package}/tests/**" unless="build.include.tests"/> </javac> </target> <target name="defaulttheme"> <echo>Combining default themes css files</echo> <!-- ensure buildhelpers are compiled --> <javac source="1.5" target="1.5" srcdir="build/buildhelpers" classpath="build/smartsprites/lib/smartsprites-0.2.3-itmill.jar"/> <java classname="com.vaadin.buildhelpers.CompileDefaultTheme" failonerror="yes" fork="yes"> <classpath> <pathelement location="build/buildhelpers" /> <fileset dir="build/smartsprites/lib"> <include name="*.jar"/> </fileset> </classpath> <jvmarg value="-Djava.awt.headless=true"/> </java> </target> <target name="testtarget"> <echo>TEST TARGET CALLED</echo> </target> <target name="remove-widgetset-gwt-tmp"> <echo>Removing widgetset temp files</echo> <delete dir="${output-dir}/WebContent/VAADIN/widgetsets/.gwt-tmp" includeemptydirs="true"/> </target> <!-- Note: Probably not needed any longer as all sources need to be compiled. --> <target name="compile-widgetset-generator-only" depends="init, preprocess-src, compile-java"> <mkdir dir="${result-path}/classes"/> <javac source="1.5" target="1.5" destdir="${result-path}/classes" debug="true" encoding="UTF-8"> <src path="${result-path}/src"/> <include name="com/vaadin/terminal/gwt/widgetsetutils/WidgetMapGenerator.java" /> <!-- <exclude name="**"/> --> <classpath> <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> <pathelement location="${result-path}/classes" /> <pathelement location="${result-path}/src" /> </classpath> </javac> </target> <!-- The widgetset generator is currently compiled along with rest of server-side Java. --> <target name="compile-widgetset-generator" depends="init, preprocess-src, compile-java"/> <target name="compile-widgetset-default"> <echo>Compiling src (client-side)</echo> <echo>com.vaadin.terminal.gwt.DefaultWidgetSet</echo> <java classname="com.google.gwt.dev.Compiler" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="-war" /> <arg value="${output-dir}/WebContent/VAADIN/widgetsets" /> <arg value="com.vaadin.terminal.gwt.DefaultWidgetSet" /> <arg value="-style" /> <arg value="OBF" /> <jvmarg value="-Xss8M"/> <jvmarg value="-Djava.awt.headless=true"/> <classpath> <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> <pathelement location="${result-path}/classes" /> <pathelement location="${result-path}/src" /> </classpath> </java> <antcall target="remove-widgetset-gwt-tmp"/> <echo>Compiled DefaultWidgetSet</echo> </target> <target name="compile-widgetset-portal-default"> <echo>Compiling src (client-side)</echo> <echo>com.vaadin.portal.gwt.PortalDefaultWidgetSet</echo> <java classname="com.google.gwt.dev.Compiler" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="-war" /> <arg value="${output-dir}/WebContent/VAADIN/widgetsets" /> <arg value="com.vaadin.portal.gwt.PortalDefaultWidgetSet" /> <arg value="-style" /> <arg value="OBF" /> <jvmarg value="-Xss8M"/> <jvmarg value="-Djava.awt.headless=true"/> <classpath> <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> <pathelement location="${result-path}/src" /> <pathelement location="${result-path}/classes" /> </classpath> </java> <antcall target="remove-widgetset-gwt-tmp"/> <echo>Compiled PortalDefaultWidgetSet</echo> </target> <target name="compile-widgetset-reserver"> <condition property="googlemaps-jar" value="${output-dir}/WebContent/demo/lib/reservr/gwt-maps.jar"> <available file="${output-dir}/WebContent/demo/lib/reservr/gwt-maps.jar" /> </condition> <condition property="googlemaps-jar" value="lib/reservr/gwt-maps.jar"> <available file="lib/reservr/gwt-maps.jar" /> </condition> <echo>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</echo> <java classname="com.google.gwt.dev.Compiler" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="-war" /> <arg value="${output-dir}/WebContent/VAADIN/widgetsets" /> <arg value="com.vaadin.demo.reservation.gwt.ReservationWidgetSet" /> <arg value="-style" /> <arg value="OBF" /> <jvmarg value="-Xss8M"/> <jvmarg value="-Djava.awt.headless=true"/> <classpath> <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> <pathelement location="${result-path}/src" /> <!-- demo jars --> <pathelement location="${googlemaps-jar}" /> <!-- demo widgetset sources --> <pathelement path="${output-dir}/WebContent/WEB-INF/src" /> <pathelement location="${result-path}/classes" /> </classpath> </java> <antcall target="remove-widgetset-gwt-tmp"/> <echo>Compiled ReservationWidgetSet</echo> </target> <!-- Building Sampler for installation package is disabled. --> <target name="compile-widgetset-sampler" unless="build.sampler.disabled"> <echo>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</echo> <java classname="com.google.gwt.dev.Compiler" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="-war" /> <arg value="${output-dir}/WebContent/VAADIN/widgetsets" /> <arg value="com.vaadin.demo.sampler.gwt.SamplerWidgetSet" /> <arg value="-style" /> <arg value="OBF" /> <jvmarg value="-Xss8M"/> <jvmarg value="-Djava.awt.headless=true"/> <classpath> <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> <pathelement location="${result-path}/src" /> <!-- demo widgetset sources --> <pathelement path="${output-dir}/WebContent/WEB-INF/src" /> <pathelement location="${result-path}/classes" /> </classpath> </java> <antcall target="remove-widgetset-gwt-tmp"/> <echo>Compiled SamplerWidgetSet</echo> </target> <target name="compile-widgetset-coverflow"> <echo>com.vaadin.demo.coverflow.gwt.CoverflowWidgetSet</echo> <java classname="com.google.gwt.dev.Compiler" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="-war" /> <arg value="${output-dir}/WebContent/VAADIN/widgetsets" /> <arg value="com.vaadin.demo.coverflow.gwt.CoverflowWidgetSet" /> <arg value="-style" /> <arg value="OBF" /> <jvmarg value="-Xss8M"/> <jvmarg value="-Djava.awt.headless=true"/> <classpath> <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> <pathelement location="${result-path}/src" /> <!-- demo widgetset sources --> <pathelement path="${output-dir}/WebContent/WEB-INF/src" /> <pathelement location="${result-path}/classes" /> </classpath> </java> <antcall target="remove-widgetset-gwt-tmp"/> <echo>Compiled CoverflowWidgetSet</echo> </target> <target name="compile-widgetset-colorpicker"> <echo>com.vaadin.demo.colorpicker.gwt.ColorPickerWidgetSet</echo> <java classname="com.google.gwt.dev.Compiler" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="-war" /> <arg value="${output-dir}/WebContent/VAADIN/widgetsets" /> <arg value="com.vaadin.demo.colorpicker.gwt.ColorPickerWidgetSet" /> <arg value="-style" /> <arg value="OBF" /> <jvmarg value="-Xss8M"/> <jvmarg value="-Djava.awt.headless=true"/> <classpath> <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> <pathelement location="${result-path}/src" /> <!-- demo widgetset sources --> <pathelement path="${output-dir}/WebContent/WEB-INF/src" /> <pathelement location="${result-path}/classes" /> </classpath> </java> <antcall target="remove-widgetset-gwt-tmp"/> <echo>Compiled ColorPickerWidgetSet</echo> </target> <!-- Builds the client-side engine, i.e., the widgetsets sequentially. --> <target name="compile-client-side-sequential" unless="build.parallel"> <echo>Compiling widget sets sequentially.</echo> <!-- We can't call these with 'depends' because of the 'unless' specifier. --> <subant antfile="build.xml" target="compile-widgetset-default" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-portal-default" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-reserver" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-sampler" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-colorpicker" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-coverflow" inheritall="true" buildpath="build" /> </target> <!-- Builds the client-side engine, i.e., the widgetsets in parallel. --> <target name="compile-client-side-parallel" if="build.parallel"> <echo>Compiling widget sets in parallel.</echo> <parallel threadsperprocessor="1"> <subant antfile="build.xml" target="compile-widgetset-default" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-portal-default" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-reserver" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-sampler" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-colorpicker" inheritall="true" buildpath="build" /> <subant antfile="build.xml" target="compile-widgetset-coverflow" inheritall="true" buildpath="build" /> </parallel> </target> <!-- Build either sequentially or in parallel, --> <!-- depending on the 'build-parallel' property. --> <target name="compile-client-side" depends="compile-client-side-sequential, compile-client-side-parallel"/> <!-- Definitions for building local components, i.e., not for an installation package. --> <target name="init-nonpackage" depends="init-platform, init"> <property file="build/VERSION.properties" /> <property file="build/GWT-VERSION.properties" /> <!-- Definitions for building the client-side. --> <property name="output-dir" value="." /> <!-- The "result-path" simply contains the sources. --> <property name="result-path" value="." /> <!-- Path to GWT directory. TODO: This should be read from build.properties file. --> <property name="gwt-dir" value="build/gwt" /> <!-- required when compiling WebContent/VAADIN/widgetsets (and also Java server-side classes) --> <property name="lib-gwt-dev" value="gwt-dev-${platform}.jar" /> <echo>We are on ${platform} platform, using ${gwt-dir}/${platform}/${lib-gwt-dev}.</echo> <echo>GWT dir: ${gwt-dir}</echo> <echo>Output dir: ${output-dir}</echo> </target> <!-- Builds all widgetsets locally, i.e., not for an installation package. --> <target name="widgetsets" depends="compile-widgetset-generator, init-nonpackage, compile-client-side"> </target> <!-- Build each widgetset locally, i.e., not for an installation package. --> <target name="widgetset-default" depends="compile-widgetset-generator, init-nonpackage, compile-widgetset-default"/> <target name="widgetset-portal-default" depends="compile-widgetset-generator, init-nonpackage, compile-widgetset-portal-default"/> <target name="widgetset-sampler" depends="compile-widgetset-generator, init-nonpackage, compile-widgetset-sampler"/> <target name="widgetset-coverflow" depends="compile-widgetset-generator, init-nonpackage, compile-widgetset-coverflow"/> <target name="widgetset-reserver" depends="compile-widgetset-generator, init-nonpackage, compile-widgetset-reserver"/> <target name="widgetset-colorpicker" depends="compile-widgetset-generator, init-nonpackage, compile-widgetset-colorpicker"/> <!-- Compile the Toolkit library JAR. --> <!-- Only need the default widgetset for this. --> <target name="libs" depends="compile-java, webcontent, compile-widgetset-default"> <echo>Creating libs (server-side) ${lib-jar-name}</echo> <!-- Create Toolkit JAR --> <mkdir dir="${output-dir}/META-INF"/> <echo file="${output-dir}/META-INF/VERSION">${version.full}</echo> <echo file="${output-dir}/META-INF/GWT-VERSION">${gwt-version}</echo> <jar jarfile="${output-dir}/WebContent/WEB-INF/lib/${lib-jar-name}" compress="true" manifest="build/package/META-INF/MANIFEST.MF"> <metainf dir="${output-dir}/META-INF"/> <manifest> <attribute name="Vaadin-Widgetsets" value="com.vaadin.terminal.gwt.DefaultWidgetSet" /> <attribute name="Bundle-Version" value="${version.full}" /> </manifest> <fileset dir="${result-path}/classes"> <patternset> <exclude name="${toolkit-package}/demo/**" /> <exclude name="${toolkit-package}/tests/**"/> <exclude name="${toolkit-package}/launcher/**" /> <exclude name="${toolkit-package}/automatedtests/**" /> </patternset> </fileset> <!-- fileupload, see build/external/fileupload/build.xml --> <fileset dir="build/external/fileupload/classes"> <include name="**/*" /> </fileset> <!-- add sources --> <fileset dir="${result-path}/src"> <patternset> <exclude name="${toolkit-package}/demo/**" /> <exclude name="${toolkit-package}/tests/**"/> <exclude name="${toolkit-package}/launcher/**" /> <exclude name="${toolkit-package}/automatedtests/**" /> </patternset> </fileset> <fileset dir="${output-dir}/WebContent"> <patternset> <include name="VAADIN/widgetsets/com.vaadin.terminal.gwt.DefaultWidgetSet/**/*" /> <include name="VAADIN/themes/base/**/*" /> <include name="VAADIN/themes/default/**/*" /> <include name="VAADIN/themes/runo/**/*" /> <include name="VAADIN/themes/reindeer/**/*" /> </patternset> </fileset> </jar> <copy file="${output-dir}/WebContent/WEB-INF/lib/${lib-jar-name}" tofile="${output-dir}/WebContent/${lib-jar-name}" /> </target> <!-- Demo - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <target name="demo" depends="libs, docs"> <echo>Building demo</echo> <echo>Adding demo class files.</echo> <copy todir="${output-dir}/WebContent/WEB-INF/classes"> <fileset dir="${result-path}/classes"> <include name="${toolkit-package}/demo/**/*" /> <!-- user might want to tweak launcher classes --> <include name="${toolkit-package}/launcher/**" /> </fileset> </copy> <echo>Adding source for demo</echo> <copy todir="${output-dir}/WebContent/WEB-INF/src"> <fileset dir="${result-path}/src"> <include name="${toolkit-package}/demo/**/*" /> <!-- user might want to tweak launcher classes --> <include name="${toolkit-package}/launcher/**" /> </fileset> </copy> </target> <!-- ================================================================== --> <!-- Documentation --> <!-- ================================================================== --> <target name="docs" depends="init, javadoc, manual"> </target> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- Manual: Build from external repository. --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <target name="manual-init" depends="init"> <!-- Can run XEP only if license is available. --> <available file="build/lib/XEP/license.xml" property="xep.license.available" /> <!-- Path to installed XEP license. --> <property name="xep.license.path.installed" value="/opt/RenderX/XEP/license.xml"/> <echo>XEP license expected to be installed as ${xep.license.path.installed}</echo> <!-- Can copy XEP license only if it is available. --> <available file="${xep.license.path.installed}" property="xep.license.installed"/> </target> <!-- Checkout doc repository. --> <target name="manual-checkout" depends="manual-init" unless="docdir"> <mkdir dir="${checkout-path}"/> <exec executable="svn" dir="${checkout-path}"> <arg value="checkout"/> <arg value="http://dev.vaadin.com/svn/doc/trunk"/> <arg value="docs"/> </exec> <!-- Documentation source directory. --> <property name="docdir" value="${checkout-path}/docs"/> </target> <!-- If the XEP is installed, copy it to proper place. --> <target name="xep-license-copy" if="xep.license.installed"> <copy file="${xep.license.path.installed}" todir="${docdir}/build/lib/XEP"/> </target> <!-- Build manual. --> <target name="manual-build" depends="manual-init, xep-license-copy"> <ant dir="${docdir}" antfile="build/build.xml" inheritAll="false"> <property name="version" value="${version.full}"/> </ant> </target> <!-- Copy the manual from sub Ant results to our output directory. --> <target name="manual-copy" depends="manual-init"> <copy todir="${output-dir}/WebContent/docs"> <fileset dir="${docdir}/build/result/package/WebContent/docs"> <exclude name="**/.svn" /> <include name="book-of-vaadin.pdf" /> </fileset> </copy> </target> <target name="manual-package" depends="manual-init, manual-copy"> <tar destfile="${result-path}/${product-file}-docs-${version.full}.tar.gz" compression="gzip" longfile="gnu"> <tarfileset prefix="docs" dir="${result-path}/${product-file}-${version.full}/WebContent/docs"> <patternset> <include name="api/**" /> <include name="book-of-vaadin.pdf" /> <include name="example-source" /> </patternset> </tarfileset> <tarfileset prefix="docs" dir="${docdir}/build/result/package/WebContent/docs"> <patternset> <include name="book/**" /> <include name="tutorial/**" /> <include name="vaadin-tutorial.pdf" /> </patternset> </tarfileset> </tar> </target> <target name="manual" depends="init, manual-init, manual-checkout, manual-build, manual-copy, manual-package"> </target> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- Documentation: Add Javadoc to doc --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <target name="javadoc" depends="init, preprocess-src"> <javadoc destdir="${output-dir}/WebContent/docs/api" author="true" version="true" use="true" windowtitle="${product-name}" classpathref="compile.classpath.client-side"> <packageset dir="src"> <include name="${toolkit-package}/**" /> <exclude name="${toolkit-package}/demo/**" /> <!-- <exclude name="${toolkit-package}/tests/**" /> --> <exclude name="${toolkit-package}/automatedtests/**" /> </packageset> <doctitle>${javadoc.doctitle}</doctitle> <!-- <header><![CDATA[<script type="text/javascript" src=".html-style/style.js"></script>]]></header> --> <bottom>${javadoc.bottom}</bottom> <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/" packagelistLoc="build/javadoc/j2se-1.5.0" /> <link offline="true" href="http://java.sun.com/j2ee/1.4/docs/api/" packagelistLoc="build/javadoc/j2ee-1.4" /> </javadoc> </target> <!-- java2html converter --> <taskdef name="java2html" classname="de.java2html.anttasks.Java2HtmlTask" classpath="build/lib/java2html.jar" /> <!-- ================================================================== --> <!-- Difference to previous release package. --> <!-- ================================================================== --> <target name="differences" depends="init, internal-package-linux"> <exec executable="python" searchpath="true" failonerror="true" output="${result-path}/differences-linux.txt"> <arg value="build/bin/package-diff.py"/> <arg value="${version.full}"/> </exec> <echo>##teamcity[publishArtifacts '${result-path}/differences-linux.txt']</echo> </target> <!-- ================================================================== --> <!-- Nightly build. --> <!-- ================================================================== --> <!-- Main target for the nightly build. --> <target name="nightly" depends="clean-result, nightly-init, package-init, init, build, internal-package-linux"> </target> <!-- Create symlink to GWT installation directory. --> <target name="gwt-symlink"> <!-- Optional property. --> <property name="gwt.link.target" value="../../gwt-1.7"/> <!-- Remove the old link, as the link target may have changed. --> <exec executable="rm" dir="build" searchpath="true" failonerror="false"> <arg value="gwt"/> </exec> <echo>Creating symlink to GWT installation directory.</echo> <exec executable="ln" dir="build" searchpath="true" failonerror="true"> <arg value="-s"/> <!-- Symlink. --> <arg value="-f"/> <!-- Overwrite. --> <arg value="${gwt.link.target}"/> <arg value="gwt"/> </exec> </target> <!-- Initialize a nightly build. --> <target name="nightly-init" depends="gwt-symlink"> <!-- Mandatory parameters. --> <fail unless="build.number" message="The build.number property must be defined."/> <fail unless="nightly.publish" message="The nightly.publish property must be defined."/> <!-- Optional parameters. --> <property name="build.tag" value="dev"/> <property file="build/VERSION.properties" /> <echo>Base version: ${version}</echo> <echo>Build number: ${build.number}</echo> <echo>Build tag: ${build.tag}</echo> <echo>Publish target: ${nightly.publish}</echo> <!-- Set build number. --> <tstamp> <format property="nightly.date" pattern="yyyyMMdd"/> </tstamp> <property name="version.full" value="${version}.${build.tag}-${nightly.date}-c${build.number}"/> <echo>Version will be: ${version.full}</echo> <!-- Tell TeamCity the build name. Have to do it this way, because --> <!-- this script needs to get the plain build number as a parameter. --> <echo>##teamcity[buildNumber '${version.full}-c${build.number}']</echo> </target> <target name="nightly-teamcity-publish"> <!-- Publish as a TeamCity artifact. --> <echo>##teamcity[publishArtifacts '${output-dir}/WebContent/WEB-INF/lib/${lib-jar-name}']</echo> </target> <!-- Copies the nightly build artifacts to the download server. --> <target name="nightly-download-publish" if="nightly.publish"> <!-- Publish to the download server. --> <echo>Installing ${output-dir}/WebContent/${lib-jar-name} to ${nightly.publish}</echo> <echo>Hopefully you have permissions for the copy operation with SSH.</echo> <!-- Only Linux tests allowed. TODO: Generalize this. --> <property name="package.linux.filename" value="${result-path}/${product-file}-${package-platform}-${version.full}.tar.gz"/> <!-- Copy the linux installation package and the JAR. --> <exec executable="scp" searchpath="true" resultproperty="nightly.install.scp.result"> <arg value="-B"/> <arg value="${output-dir}/WebContent/${lib-jar-name}"/> <arg value="${package.linux.filename}"/> <arg value="${nightly.publish}"/> </exec> <echo>Result: ${nightly.install.scp.result}</echo> </target> <target name="nightly-publish" depends="nightly-teamcity-publish, nightly-download-publish"> </target> <target name="nightly-maven-publish" depends=""> <property file="${gpg.passphrase.file}" /> <echo>Publishing ${output-dir}/WebContent/${lib-jar-name} to Maven repository</echo> <artifact:mvn> <arg value="gpg:sign-and-deploy-file"/> <!-- .. is a workaround as maven runs in the build directory --> <sysproperty key="file" value="../${output-dir}/WebContent/${lib-jar-name}" /> <sysproperty key="pomFile" value="maven/pom.xml" /> <sysproperty key="repositoryId" value="vaadin-snapshots" /> <sysproperty key="url" value="http://oss.sonatype.org/content/repositories/vaadin-snapshots" /> <sysproperty key="gpg.passphrase" value="${maven.gpg.passphrase}" /> </artifact:mvn> </target> <!-- ================================================================== --> <!-- Automated tests. --> <!-- ================================================================== --> <target name="tests" depends="ant-tests, testbench-tests"> </target> <target name="testbench-tests" depends="init"> <fail unless="product-file" message="The 'product-file' property must be defined."/> <fail unless="package-platform" message="The 'package-platform' property must be defined."/> <fail unless="version" message="The 'version' property must be defined."/> <echo>Version: ${version.full}</echo> <!-- Parameters for the test.xml script. --> <fail unless="com.vaadin.testbench.tester.host" message="The 'com.vaadin.testbench.tester.host' property must be defined."/> <fail unless="com.vaadin.testbench.deployment.url" message="The 'com.vaadin.testbench.deployment.url' property must be defined."/> <fail unless="com.vaadin.testbench.lib.dir" message="The 'com.vaadin.testbench.lib.dir' property must be defined."/> <property name="package.platform.name" value="${product-file}-${package-platform}-${version.full}"/> <!-- Only Linux tests allowed. TODO: Generalize this. --> <property name="package.linux.filename" value="${result-path}/${package.platform.name}.tar.gz"/> <property name="package.linux.dir" value="${result-path}/${package.platform.name}.tar.gz"/> <!-- Run the separate test script. --> <ant antfile="tests/test.xml" target="test-package" inheritall="false" inheritrefs="true"> <!-- This is provided so that the test script can copy the --> <!-- "tests" classes after unpacking the package. --> <property name="output-dir" value="${output-dir}"/> <property name="package.filename" value="${package.linux.filename}"/> <property name="testing.testarea" value="/tmp/testarea"/> <property name="package.name" value="${package.platform.name}"/> <property name="com.vaadin.testbench.tester.host" value="${com.vaadin.testbench.tester.host}"/> <property name="com.vaadin.testbench.deployment.url" value="${com.vaadin.testbench.deployment.url}"/> <property name="com.vaadin.testbench.lib.dir" value="${com.vaadin.testbench.lib.dir}"/> </ant> </target> <target name="ant-tests"> <echo>##teamcity[testSuiteStarted name='com.vaadin.tests.test-framework']</echo> <!-- A smoke test for testing the testing framework. --> <echo>##teamcity[testStarted name='testingSmoketest']</echo> <echo>##teamcity[testStdOut name='testingSmoketest' out='Here be some text related to the test.]</echo> <echo>##teamcity[testFinished name='testingSmoketest']</echo> <echo>##teamcity[testSuiteFinished name='com.vaadin.tests.test-framework']</echo> </target> </project> <!-- These are for emacs. --> <!-- Keep this comment at the end of the file Local variables: mode: xml sgml-omittag:nil sgml-shorttag:nil sgml-namecase-general:nil sgml-general-insert-case:lower sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:4 sgml-indent-data:t sgml-parent-document:nil sgml-exposed-tags:nil sgml-local-catalogs:("/etc/sgml/catalog" "/usr/share/xemacs21/xemacs-packages/etc/psgml-dtds/CATALOG") sgml-local-ecat-files:("ECAT" "~/sgml/ECAT" "/usr/share/sgml/ECAT" "/usr/local/share/sgml/ECAT" "/usr/local/lib/sgml/ECAT") End: -->