Contents

Prerequests

XSL Specific

One point of continuous integration is that a build should be simple to setup and can be run by anybody, anytime, anywhere. The Athena component within the Dash project allows for a common build script to be used across projects. It leverages the power of PDE Build, but with a much simplier interface.

Current production versions of the XSL Tools component of the WTP Source Editing subproject use the WTP Build infrastructure. Unfortunately at the time of this writing, that build is only reproducible on the server in which it is running.

The sections that follow show how to setup an Athena Build for the wst.xsl component and files.

Setup

There are some differences between the way the current WTP Build works and Athena. There are minor changes that needed to occur for the existing Test Feature and Map files. To get a local build running follow these steps.

Pre-reqs Make sure the Pre-reqs are first done. You need to have a copy of Athena's build files checked out to your workspace.

Map Files

WTP Source Editing stores it's Maps files in webtools.maps/releng.sourceediting in the /cvsroot/webtools repository at dev.eclipse.org. We have created the xsl-test.map file. This contains the location of the Eclipse Test Framework that will be needed by the build for running unit tests.

Testing Properties

In order for tests/junits to be run during a build, there needs to exist a testing.properties file.

#csv list of test plugins to run
testPluginsToRun=org.eclipse.wst.xsl.tests
#,org.eclipse.zest.tests # need an aggregate test suite first!
#map name of test plugin to testsuite class to run
org.eclipse.wst.xsl.tests.suite=org.eclipse.wst.xsl.tests.AllTestsSuite
org.eclipse.wst.xsl.tests.ignoreExistingTestXml=true

Running the Build

The build when run will download all the necessary supporting files that are need.

{{important|Remove XSL plugins From WST ZIP | A WST 3.1 plugin zip is used to help provision the target platform. However, this contains the wst.xsl plugins already, and these need to be removed from the zip after it is downloaded. So if the build fails, open the downloaded zip, and remove the *.XSL, and *.XML.XPATH related plugins and features from the zip file.]]