Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Automated Builds

Revision as of 12:21, 6 August 2007 by Unnamed Poltroon (Talk) (Information about Components for which automated nightly builds are available)

Auto build project

The build scripts located in org.eclipse.higgins.auto project (commiters.psf anonymous.psf) performs automated builds of Higgins components on Eclipse build server (build.eclipse.org).

Right now in order to add new component to the list of the components been build by automated builds it is necessary to perform two tasks:

  • 1.Create dependencies.xml file in the root folder of adding project.
  • 2.Add description of new component to runtime/project.xml file from org.eclipse.higgins.auto project.

General Server Information

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

Connection Type  :ssh:
Host build.eclipse.org
Build Path /shared/technology/higgins


General CVS Information

Connection Type Committers  :ext:
Anonymous access  :pserver:
Host dev.eclipse.org
Repository Path /cvsroot/technology


Location of the build scripts

Project Module Location Eclipse PSF ViewCVS
Automated Build Scripts org.eclipse.higgins/builds/org.eclipse.higgins.auto anonymous viewcvs
committer


Dependencies.xml file.

The purpose of dependencies.xml file is to provide information on required projects and libraries.

Current build scripts uses dependencies.xml file with the structure below but it will be changed soon in order to simplify and allow to generate it from Eclipse IDE.

<?xml version="1.0" encoding="UTF-8"?>
	<dependencies id="org.eclipse.higgins.icard.provider.cardspace.common">
		<projects>
			<project>
			<!-- same as for build list file -->
				<id>org.eclipse.higgins.icard</id>
				<version>HEAD</version>
				<repositoryLocation>
					:pserver:anonymous@dev.eclipse.org:/cvsroot/technology
				</repositoryLocation>
				<password></password>
				<path>
					org.eclipse.higgins/plugins/org.eclipse.higgins.icard
				</path>
			</project>
			<project>
				<id>org.eclipse.higgins.registry</id>
				<version>HEAD</version>
				<repositoryLocation>
					:pserver:anonymous@dev.eclipse.org:/cvsroot/technology
				</repositoryLocation>
				<password></password>
				<path>
					org.eclipse.higgins/plugins/org.eclipse.higgins.registry
				</path>
			</project>
		</projects>
		<remoteLibs>
		<!-- libs that should be downloaded to the project -->
			<libraries>
				<!-- pace in project where *.jar or *.zip libs should be stored-->
				<location>lib</location>
					<!-- URL where library is available -->
				<url>
					http://shangrila.parityinc.net:8888/projects_deps/commons-logging-1.1.jar
				</url>
				<url>
					http://shangrila.parityinc.net:8888/projects_deps/serializer.jar
				</url>
			</libraries>
			<libraries>
				<location>lib1</location>
				<url>
					http://shangrila.parityinc.net:8888/projects_deps/commons-logging-1.1.jar
				</url>
			</libraries>
		</remoteLibs>
	</dependencies>


Description of a component in the runtime/project.xml file.


Description of a component describes which targets to run from the component’s build file and a location where build results will be placed for downloads.

Right now it also contains information on where to get the component but soon this information will be moved to some “global repository”.

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

<buildProject>
<!-- project identifier-->
	<id>org.eclipse.higgins.hbx</id>
	<!-- CVS version tag -->
	<version>HEAD</version>
	<!-- repository identification string -->
	<repositoryLocation>
		:pserver:anonymous@dev.eclipse.org:/cvsroot/technology
	</repositoryLocation>
	<!-- password -->
	<password></password>
	<!-- path from CVS root to the project location -->
	<path>org.eclipse.higgins/app/firefox/bx/XPCom</path>
	<!-- path from webHome to plase build -->
	<pathFromWebHome>hbx</pathFromWebHome>
	<!-- path from webHome to place updates (optional) update don't happen if not exists-->
	<updatePath>hbx/update</updatePath>
	<!-- prevent source zip (optional) ignored if contains false -->
	<noSource></noSource>
	<!-- prevent publish, don't creates index.html (optional) ignored if contains false -->
	<noPublish />
	<!-- targets to run --> 
	<targetToRun>xpi</targetToRun>
	<targetToRun>jar</targetToRun>
</buildProject>

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 possibility of new target execution need add new target with name «on_<newTargetToRunName>» witch will move results of newTargetToRunName execution to ${finishDir}with ziping or some other transformation (if necessary).

Information about Components for which automated nightly builds are available

Component Last Build
Higgins Browser Extension (HBX) last nightly build
Identity_Attribute_Service
A Identity_Attribute_Service_API (API) last nightly build
B IdAS_Common (IdAS Common) last nightly build
C IdAS_SPI (IdAS SPI) last nightly build
Context_Provider
A Jena_Context_Provider Jena2 last nightly build
I-Card_Interfaces I-Card_Registry
A I-Card_Interfaces last nightly build
B I-Card_Registry last nightly build
C CardSpace_I-Card_Provider_Core last nightly build
D IdAS-based_CardSpace_Managed_I-Card_Provider last nightly build
E XML-based_CardSpace_Managed_I-Card_Provider last nightly build
F CardSpace_Personal_I-Card_Provider last nightly build

This page should include a list of Components and the status of the nightly build script development. E.g. has the script been written or not, etc. n/a means "not applicable"

Back to the top