Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

Automated Builds


Higgins logo 76Wx100H.jpg

Higgins Auto-build project

The build scripts located in the project (project.psf projectWithDeps.psf) perform automated builds of Higgins Components on the Eclipse build server (

To add a new component to the list of the those being built automatically every night do the following:

  1. Create build.xml and dependencies.xml files in the root folder of each new project using Higgins2Ant plugin. The same steps should be repeated for all the projects depended on the new project that you are adding to autobuild.
  2. Add description of the new component to projects.xml file in the project.
  3. Add the SVN repository location of the new component to the resourceLocation.xml file in the project. The same step should be repeated for all the projects dependent on the new component that you are adding. The file resourceLocation.xml should also contain the lib id and url of all 3rd party libs that the new component and it's sub-components depend on.

See Higgins downloads

See Starting a Higgins Build

See Higgins Committers and Contributors#Processes

See How To Test Autobuild On Local Machine

See How Autobuild Gets Dependencies

General Server Information

Nightly builds of Higgins Components are performed on Eclipse build server.

Connection Type  :ssh:
Build Path /shared/technology/higgins

General SVN Information

Connection Type Committers https:// or svn+ssh://
Anonymous access http://
Repository Path /svnroot/technology/org.eclipse.higgins

Location of the build scripts

Project Module Location Eclipse PSF ViewSVN
Automated Build Scripts /trunk/builds/ project.psf viewsvn

higgins2ant plugin

The build files and dependencies.xml files for build projects can be generated by using the Higgins2Ant plugin.

Location of the configuration xml files

Project Module Location Eclipse PSF ViewSVN
Automated Build Configuration trunk/builds/ project.psf viewsvn


dependencies.xml provides the build process with information on required projects and/or libraries.

Build scripts use dependencies.xml file with the structure below as generated by Eclipse IDE.

<?xml version="1.0" encoding="UTF-8"?>
<dependencies id="org.eclipse.higgins.icard.provider.cardspace.common">
	<!-- list of projects that are required -->
        <project id="org.eclipse.higgins.registry"/>
        <project id="org.eclipse.higgins.icard"/>
	<!-- libs that should be downloaded to the project. can be multiple for different locations -->
    <remoteLibs location="lib">
        <library id="commons-logging-1.1.jar"/>
        <library id="serializer.jar"/>
        <library id="xalan.jar"/>
        <library id="xercesImpl.jar"/>
        <library id="xmlsec-1.4.0.jar"/>

Description of a component in the project.xml file

Description of a component points to which targets to run from the component’s build file and a location where build results will be placed for downloads. Also this file contains mail lists for notification capability on success & fail.

Below is an example of currently used description of a component .

<?xml version="1.0" encoding="UTF-8"?>
	<!-- path from webHome to plase build -->
	<!-- path from webHome to place updates (optional) update don't happen if not exists-->
	<!-- prevent source zip (optional) ignored if contains false -->
	<!-- prevent publish, don't creates index.html (optional) ignored if contains false -->
	<noPublish />
	<!-- comma-separated list of recipients. Sends to notify of success component build. (optional) -->
	<!-- comma-separated list of recipients. Sends to notify of component build target fail. (optional) -->
	<!-- targets to run --> 

“global repository” of required resources

The file resourceLocation.xml contains information about where to get the component. The structure of this file is very simple and is shown below:

<?xml version="1.0" encoding="UTF-8"?>
                <!-- project identifier-->
		<project id="org.eclipse.higgins.hbx">
	                <!-- SVN revision (any svn supported format) -->
		        <!-- repository identification string -->
        		<!-- password -->
          		<!-- path from SVN root to the project location -->
	<!-- libs that can necessary to build component -->
		<!-- lib identifier -->	
		<lib id="commons-logging-1.1.jar">
			<!-- URL where library is available -->
		<!-- these parameters are used to generate project's dependency page.-->
			<libraryHomePage name="Home Page Name">
			<license name="Library license name">
			<eclipseApproved>[yes|no|some text]</eclipseApproved>
		<!-- lib can be available as single *.jar file or stored in archive package (*.zip, *.tgz, *.gz, *.bz) and will be find automatically -->	
		<lib id="arq.jar">

Add new component to auto projects.xml only in the presence of information about component and dependencies repositories and location of all required libs (for dependencies as well).

Helper targets

Helper target calls after execution of target from projects build.xml file to ${finishDir}. Helper target can contain some transformation (for example: zip task). In current version of auto builder implemented helper targets for {plugin, jar, javadoc, xpi} targets. To add the possibility of a new target execution you need to add a new target with the name «on_<newTargetToRunName>» which will move results of newTargetToRunName execution to ${finishDir}with ziping or some other transformation (if necessary).

See Also

  • The "Downloads" column of each Component's table (see Components) has a link to a page containing the automated build output

Back to the top