Difference between revisions of "WTP Build Process and Procedures"

From Eclipsepedia

Jump to: navigation, search
m (Build mechanics)
Line 26: Line 26:
  
 
Note: do NOT use underscores in the CVS version, as there are some issues with Eclispe tooling when it finds an underscore in a plugin or version qualifier, see [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=89428 89428]].
 
Note: do NOT use underscores in the CVS version, as there are some issues with Eclispe tooling when it finds an underscore in a plugin or version qualifier, see [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=89428 89428]].
 +
 +
== Chronological Notes ==
 +
 +
This section is just to make quick notes about changes to our build files/scripts that others might find intersting.
 +
 +
# Update prereqs to include official Eclipse M5.<p>
 +
<pre>
 +
/downloads/drops/S-3.2M5-200602171115/
 +
eclipse-SDK-3.2M5-win32.zip
 +
eclipse-SDK-3.2M5-linux-gtk.tar.gz
 +
eclipse-SDK-3.2M5-linux-gtk-ppc.tar.gz
 +
eclipse-test-framework-3.2M5.zip
 +
</pre>
 +
There was an "odd" note when I downloaded the PPC version ...
 +
<pre>
 +
Eclipse fails to create a lock file with reason "No locks available."  To launch eclipse you must disable file
 +
locking using the osgi.locking property. For example, you could launch eclipse as follows:
 +
 +
"eclipse -vmargs -Dosgi.locking=none".
 +
</pre>
 +
 +
Thus, we *might* have to -Dosgi.locking=none on our PPC machine when we move to this M5 version of the base builder.
 +
 +
 +
 +
 +
-- [[User:David williams|David williams]] 18:04, 21 February 2006 (EST)
 +
 +
</p>
 +
  
 
== Background and Further Reading References ==
 
== Background and Further Reading References ==

Revision as of 19:04, 21 February 2006

This page is to collect general information and references about the WTP build process and procedures. The idea is that any WTP committer can update it, pretty much "on the fly" or "as you go", or "as needed", so that there will often be a bit of a disorganized, stream of consciousness flavor to it. Hopefully, occasionally, some kind-hearted committer will stop and organize all the miscellaneous notes and tips and references that are provided, into fun-to-read treasure that you just can't put down.

Note: since only committers can edit these pages, if anyone from the community has contributions or suggestions for additions, please open a [feature request] on our releng component.

Thanks, David Williams 01:42, 2 February 2006 (EST)

Contents

Build Schedules

As of February 1, 2006

Our WTP 1.0.1 contributions are due by EOD on Monday's, we smoke test that build on Tuesday's, and plan to declare it by Wednesday's at noon (eastern time).

Our WTP 1.5 contributions are due by EOD Wednesday's, we smoke test that build on Thursday's, and plan to declare it by Friday's at noon (eastern time).


Build mechanics

The platform's releng tool should be used to "release" projects to the map files. Be sure to have the appropriate branch of releng project (which has the map files) loaded in your workspace. R1_0_maintenance for 1.0.x builds, and HEAD for 1.5 builds.

As projects are versioned, please use the "standard" format, in UTC time, following vYYYYMMDDHHMM. This is important as these cvs tags become the qualifier field of the plugin's version.

Note: do NOT use underscores in the CVS version, as there are some issues with Eclispe tooling when it finds an underscore in a plugin or version qualifier, see [89428].

Chronological Notes

This section is just to make quick notes about changes to our build files/scripts that others might find intersting.

  1. Update prereqs to include official Eclipse M5.

/downloads/drops/S-3.2M5-200602171115/
eclipse-SDK-3.2M5-win32.zip
eclipse-SDK-3.2M5-linux-gtk.tar.gz
eclipse-SDK-3.2M5-linux-gtk-ppc.tar.gz
eclipse-test-framework-3.2M5.zip

There was an "odd" note when I downloaded the PPC version ...

Eclipse fails to create a lock file with reason "No locks available."  To launch eclipse you must disable file
locking using the osgi.locking property. For example, you could launch eclipse as follows:

"eclipse -vmargs -Dosgi.locking=none".

Thus, we *might* have to -Dosgi.locking=none on our PPC machine when we move to this M5 version of the base builder.



-- David williams 18:04, 21 February 2006 (EST)


Background and Further Reading References

We in WTP following the basic process and recommendations for versioning as the base Eclipse platform. Plugin Versioning

Very helpful guide to builds and automatic testing. Build and Test Automation for plug-ins and features

Good step-by-step on how to do updates. How To Keep Up To Date

We base our builds on the Eclipse platform's "basebuilder". Platform-releng

With our WTP specific needs addressed in the WTP project called releng.wtpbuilder. While slightly out of date, see the [attachment] to [bug 108259]

Our basic server configuration and cruise control triggers is handled by the WTP project called releng.builder (see especially the tools/cruise directory in that project).

And ... never forget Eclipse Help ... search for things related to update manager, PDE, features, site.xml, etc.