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

Difference between revisions of "Automated Builds"

Line 1: Line 1:
The build scripts located in org.eclipse.higgins.auto project ([http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/builds/org.eclipse.higgins.auto/committer.psf?root=Technology_Project&view=co commiters.psf] [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/builds/org.eclipse.higgins.auto/anonymous.psf?root=Technology_Project&view=co anonymous.psf]) performs automated builds of Higgins components on Eclipse build server (build.eclipse.org).
+
== Auto build project ==
 +
The build scripts located in org.eclipse.higgins.auto project ([http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/builds/org.eclipse.higgins.auto/committers.psf?root=Technology_Project&view=co commiters.psf] [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/builds/org.eclipse.higgins.auto/anonymous.psf?root=Technology_Project&view=co 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:
 
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:
Line 6: Line 7:
 
*  2.Add description of new component to runtime/project.xml file from org.eclipse.higgins.auto 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.
 +
{| class="wikitable" style="text-align:left; border="1" cellpadding="5" cellspacing="0" 
 +
! border="1" align="left" valign="top" | Connection Type
 +
| :ssh:
 +
|-
 +
! border="1" align="left" valign="top" | Host
 +
| build.eclipse.org
 +
|-
 +
! border="1" align="left" valign="top" | Build Path
 +
| /shared/technology/higgins
 +
|-
 +
|}
  
<big>'''Dependencies.xml file.'''</big>
 
  
== new ==
+
== General CVS Information ==
 +
{| class="wikitable" style="text-align:left; border="1" cellpadding="5" cellspacing="0" 
 +
! rowspan="2" border="1" align="left" valign="top" | Connection Type
 +
| Committers
 +
| :ext:
 +
|-
 +
| Anonymous access
 +
| :pserver:
 +
|-
 +
! colspan="2" border="1" align="left" valign="top" | Host
 +
| dev.eclipse.org
 +
|-
 +
! colspan="2" border="1" align="left" valign="top" | Repository Path
 +
| /cvsroot/technology
 +
|-
 +
|} 
 +
 
 +
 
 +
=== Location of the build scripts ===
 +
 
 +
{| class="wikitable" style="text-align:left; border="1" cellpadding="5" cellspacing="0" 
 +
|-style="background:#d6dee9; color:black" 
 +
! border="1" align="left" valign="top" | Project
 +
! border="1" align="left" valign="top" | Module Location
 +
! border="1" align="left" valign="top" | Eclipse PSF
 +
! border="1" align="left" valign="top" | ViewCVS
 +
|-
 +
|rowspan="2" |Automated Build Scripts
 +
|rowspan="2" |org.eclipse.higgins/builds/org.eclipse.higgins.auto
 +
| [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/builds/org.eclipse.higgins.auto/anonymous.psf?root=Technology_Project&view=co anonymous]
 +
|rowspan="2" | [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/builds/org.eclipse.higgins.auto/?cvsroot=Technology_Project viewcvs]
 +
|-
 +
| [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/builds/org.eclipse.higgins.auto/committers.psf?root=Technology_Project&view=co committer]
 +
|-
 +
|}
 +
 
 +
 
 +
== '''Dependencies.xml file.''' ==
  
 
The purpose of dependencies.xml file is to provide information on required projects and libraries.
 
The purpose of dependencies.xml file is to provide information on required projects and libraries.
Line 108: Line 158:
  
 
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).
 
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 ==
 +
 +
{| class="wikitable" style="text-align:left; border="1" cellpadding="4" cellspacing="0"
 +
|-style="background:grey; color:black"
 +
!Component
 +
!Last Build
 +
|-
 +
|[[Higgins Browser Extension]] (HBX)
 +
|[http://download.eclipse.org/technology/higgins/hbx/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[Identity_Attribute_Service]] (API)
 +
|[http://download.eclipse.org/technology/higgins/downloads/idas.api/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[Identity_Attribute_Service]] (IdAS Common)
 +
|[http://download.eclipse.org/technology/higgins/downloads/idas.common/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[Identity_Attribute_Service]] (IdAS SPI)
 +
|[http://download.eclipse.org/technology/higgins/downloads/idas.spi/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[Jena_Context_Provider]] Jena2
 +
|[http://download.eclipse.org/technology/higgins/downloads/idas.cp.jena2/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[I-Card_Interfaces]]
 +
|[http://download.eclipse.org/technology/higgins/downloads/icard/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[I-Card_Registry]]
 +
|[http://download.eclipse.org/technology/higgins/downloads/icard.registry/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[CardSpace_I-Card_Provider_Core]]
 +
|[http://download.eclipse.org/technology/higgins/downloads/icard.provider.cardspace.common/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[IdAS-based_CardSpace_Managed_I-Card_Provider]]
 +
|[http://download.eclipse.org/technology/higgins/downloads/icard.provider.cardspace.managed/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[XML-based_CardSpace_Managed_I-Card_Provider]]
 +
|[http://download.eclipse.org/technology/higgins/downloads/icard.provider.cardspace.managed.xml/lastNightlyBuild/ last nightly build]
 +
|-
 +
|[[CardSpace_Personal_I-Card_Provider]]
 +
|[http://download.eclipse.org/technology/higgins/downloads/icard.provider.cardspace.personal/lastNightlyBuild/ 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"

Revision as of 11:38, 6 August 2007

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 (API) last nightly build
Identity_Attribute_Service (IdAS Common) last nightly build
Identity_Attribute_Service (IdAS SPI) last nightly build
Jena_Context_Provider Jena2 last nightly build
I-Card_Interfaces last nightly build
I-Card_Registry last nightly build
CardSpace_I-Card_Provider_Core last nightly build
IdAS-based_CardSpace_Managed_I-Card_Provider last nightly build
XML-based_CardSpace_Managed_I-Card_Provider last nightly build
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