Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Common Build Infrastructure/Athena Progress Report"

m (This week)
m (2009-09-01)
Line 2: Line 2:
  
 
* [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&classification=Technology&product=Dash+Athena&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=1w&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= Bugs changed this week]
 
* [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&classification=Technology&product=Dash+Athena&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=1w&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= Bugs changed this week]
 +
 +
==2009-10-13==
 +
 +
* Infrastructure changes
 +
:* {{bug comment|257074|12}} build.eclipse.org now has SVN 1.6.5 on it; if your map files no longer work (your build complains it can't resolve plugin or features sources) then [https://bugs.eclipse.org/bugs/show_bug.cgi?id=257074#c12 read this].
 +
 +
* Bug fixes
 +
:* {{bug|291446}} Provide hook for extra actions after fetching code from repo and before compiling it (e.g. code generation, parser generators, etc.)
 +
:* {{bug|275529}} Athena is now a full Project rather than a Component! Now if we could just get [https://bugs.eclipse.org/bugs/show_bug.cgi?id=272723 someone to design a logo]... Do I need to offer up prizes? Note that bugzilla links have changed from <code>product=Dash&amp;component=Common+Builder</code> to <code>product=Dash+Athena</code>. Update your bookmarks accordingly.
 +
 +
* Documentation
 +
:* [[MoDisco/Releng/How_to_Use#Building_on_Windows|Tips for Building on Windows]] - community contributed! Thanks to Nicolas Bros!
 +
:* New category created for User-contributed build stories: [[:Category:Athena Common Builder Users]]
 +
:* Bugzilla updated to move <code>product=Dash&amp;component=Common+Builder</code> to <code>product=Dash+Athena</code>; all old bugs moved too.
  
 
==2009-09-01==
 
==2009-09-01==

Revision as of 19:24, 13 October 2009

This week

2009-10-13

  • Infrastructure changes
  • bug 257074 comment 12 build.eclipse.org now has SVN 1.6.5 on it; if your map files no longer work (your build complains it can't resolve plugin or features sources) then read this.
  • Bug fixes
  • bug 291446 Provide hook for extra actions after fetching code from repo and before compiling it (e.g. code generation, parser generators, etc.)
  • bug 275529 Athena is now a full Project rather than a Component! Now if we could just get someone to design a logo... Do I need to offer up prizes? Note that bugzilla links have changed from product=Dash&component=Common+Builder to product=Dash+Athena. Update your bookmarks accordingly.
  • Documentation

2009-09-01

  • Bug fixes
  • In the past, to install extra Orbit bundles into the base Eclipse platform before building, you needed a buildExtra.xml (and/or testExtra.xml), with a task like this:
<target name="getDependencies">
  <mkdir dir="${buildDirectory}/../eclipse/plugins/" />
  <get dest="${buildDirectory}/../eclipse/plugins/org.apache.xalan_2.7.1.v200905122109.jar"
       src="http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/org.apache.xalan_2.7.1.v200905122109.jar"
  />
</target>
  • Now you can now install plugins (not just features) into the target platform prior to building. For example, to install orbit jars for which there are no features, you can add the following into your build.properties file. Note that the update site MUST BE A p2 REPO, not simply a "Classic" Update Site.
repositoryURLs=http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/updateSite
pluginIDsToInstall=org.apache.xml.resolver+javax.xml+org.apache.xml.serializer+org.apache.xerces+org.apache.xalan
  • If you want to install features and their included plugins, simply use the featreIDsToInstall property:
repositoryURLs=http://download.eclipse.org/releases/galileo/
featureIDsToInstall=org.eclipse.emf+org.eclipse.gef

2009-08-07

  • Ease of use / inter-build dependencies
  • bug 285519 support static URLs for "latest build" zips in Hudson so builds can depend on each other's output -- set the
  • bug 284959 hudson shell script should be completely generic

When launching your build via shell script in Hudson, use this instead of your own custom shell script. You'll get N-SNAPSHOT.zip instead of N200908071234.zip so that others can more easily depend on your latest stable build.

export SNAPSHOT="true"
. /opt/public/cbi/build/org.eclipse.dash.common.releng/hudson/run.sh
  • New builds
  • Modeling now has 8 builds
  • PDE Visualization

2009-07-23

  • Ease of Use
  • bug 283776 create dir2svnmap task to generate a map file from checked out SVN sources (use with build.steps=dir2svnmap in build.properties)
  • bug 284055 Build seems not to unpack all dependencies - see FAQ
  • bug 284516 make optional pre-build dependency unpacking and post-build packaging more optional
  • Better testing support
  • bug 284331 Support test plugins as jars, not just folders
  • Better documentation / error handling
  • New builds

2009-07-15

  • Improve signing recovery w/ better log output and better trapping for errors; also, using Ant-Contrib we can avoid the stack overflow issue w/ tasks that call themselves indefinitely.
  • bug 280642 Improve recovery from infinitely long signing queue
  • bug 254205 Signing should fail more gracefully
  • Also updated GEF releng example to build from Eclipse 3.5.0 w/ latest map sources, individual source plugins, and these properties in build.properties:
flattenDependencies=true
parallelCompilation=true
generateFeatureVersionSuffix=true
individualSourceBundles=true

2009-07-10

  • Some minor bug fixes:
  • bug 280747 testPluginsToRun property doesn't ignore whitespace
  • bug 282593 Signing should not be default-enabled for non-eclipse.org builds
  • bug 282910 start.sh help says one can pass projRelengName but the arg is not parsed
  • Several non-Eclipse.org build examples are available, including maps and generated psfs (using map2psf build.step):
  • Discussion starting re: different ways to build - using RCP vs. SDK, using default-specified SDKs for user's platform (rather than needing to be explicit in dependencyURLs)

2009-06-05

2009-05-26

  • Documented p2 repo and SDK zip input options.
  • buildExtra.xml and testExtra.xml are now optional; by default all zips will be unpacked, all repos+features will be installed w/o explicitly needing to direct the build how and where
  • bug 252774 improve support for CVS/SVN repo dumps so building from local sources is easier/smarter (to ease local setup when repo tree is non-standard): testing complete; released to HEAD.

2009-05-18

  • bug 276574 generate default test.xml if not present in test plugin (to ease migration to Athena builder - less boilerplate crap you have to write/maintain)
  • bug 252774 improve support for CVS/SVN repo dumps so building from local sources is easier/smarter (to ease local setup when repo tree is non-standard)
  • bug 273518 Support building against p2 repos using both Eclipse 3.4 and new 3.5 versions of p2.director (work in progress in bug272774-bug273518 branch)
  • Began testing Athena for use with projects outside the org.eclipse namespace.

2009-05-09

Athena Builds In Hudson
  • Other closed bugs since 2009-04-22:
  • bug 273299 index.php should link to http://www.eclipse.org/downloads/download.php?file=/path/to/files/ to use mirrors
  • bug 253277 Local build should warn/fail gracefully in the absence of specific tools
  • bug 266374 design process for publishing builds from Hudson to download.eclipse.org
  • bug 273302 Create crontab'able script for rsync/copy, fix perms, and unpack update zip
  • bug 251926 support setting feature/plugin qualifiers to buildId (instead of map tags) when running nightly builds
  • bug 272965 support packaging for namespaces other than org.eclipse.*

2009-04-22

  • The 'buildZips' step is now optional; you can omit it entirely and still run your tests from the generated update site. This will also verify that your update site can be installed into Eclipse SDK + your runtime requirements using the p2 director (bug 272403).
  • As with PDE SVN support and ant4eclipse, Athena can now fetch ant-contrib from Sourceforge if it's not already installed (bug 253277).
  • Working on a way to input a custom site.xml so that your own categories will be used in the generated p2 repo / update site (bug 272991).
  • Anonymous access to Hudson on build.eclipse.org is now available! Log in using your committerid for more control. To create a new job, you must be in the callisto-dev group (or ask someone who's in the group to create the job and add you to its ACL).
  • Other closed bugs since 2009-03-30:
  • bug 272404 build.step "cleanup" should purge Master + All zips
  • bug 252401 Make unpacking doc.isv optional
  • bug 252030 standalone buildserver-in-a-box (vmware/vbox/qemu/kvm)
  • bug 252049 Separate exploded SDK and sources to build
  • bug 256212 verify default & extra packaging steps are producing correct zips
  • bug 271145 Document build types
  • bug 271211 optional lib folder in project.releng should be optional
  • bug 271322 Need another bootclasspath location
  • bug 271524 run (not runEclipse) task can't find ant4eclipse
  • bug 271549 Should we be able to run tests w/ an archived p2 repo instead of an SDK zip?
  • bug 271661 if map contains svn ref and pde-svn plugin not found in basebuilder, spit out a smarter error message
  • bug 271849 Document requirement to have version variable in script launching build
  • bug 272906 Features with fragments don't build properly
  • bug 252035 Provide a p2 repo after the master feature is built
  • bug 256192 build folder's index.php contains broken links
  • bug 264579 define a better workflow for build steps

2009-03-30

  • Due to popular demand, we'll be adding support for simple product builds (bug 271186) using the Athena system. Anyone want to help beta-test it?

2009-03-15

  • progress made on building locally in Eclipse on Mac OS X 10.5 and on Windows XP. Tests do not yet run on these platforms due to shell script and Xvfb/Xvnc requirements.
  • prototyping work done using ant4eclipse to fetch org.eclipse.test and org.eclipse.ant.optional.junit from a .psf file so they need not be included in project's map file

2009-03-05

  • progress made on building from local sources. It's a hack for now, but it's workable (bug 252774)
  • working on a virtual server image on which Hudson and Eclipse can be run for testing

2009-03-01

  • Signing in Hudson now works (bug 264633)
  • verify build can run in Hudson via shell script
  • verify build can run in Eclipse via build.xml (bug 253269), or commandline via start.sh, including signing
  • refactor relative paths to absolute so build can be configured to run in more ways
  • verify alternate path options: /tools/gef/d/d/$v/$bid/ vs. in /$bid/; /opt/public/cbi/build vs. /tmp/build
  • verify cleanup step actually works for eclipse/ and testing/ folders, locally and in Hudson
  • bugzilla cleanup (previously completed items are now closed); currently 27 closed Athena bugs, 39 open

2009-02-26

  • Getting Started Guide updated with details about running in Eclipse, running commandline, and running in Hudson.
  • signing works when run from local build (headless, in Eclipse) and Hudson build
  • build directory path is more configurable than ever, with (hopefully) no more relative paths

2009-02-22

Numerous items in progress this week thanks to help from Andrew O and Bjorn F-B, including:

  • it seems that the new branch won't run in Hudson, so this is still in progress
  • investigated SVN tagging and SVN change tracking in Hudson; the former does not seem to be working, but the latter is
  • reported Hudson problems w/ CVS checkouts and use of Xvnc for UI testing (bug 265750, bug 265751)

2009-02-16

  • Defined a better way to control flow of build steps, so ant targets "runWithoutTest" and "runWithoutBuildTest" are now obsolete (bug 264579)
  • Improved startup process for build. Migrated several chunks of bash script to Ant (bug 253269)
  • Started working with Hudson on build.eclipse.org for controlling and administering builds' logs and artifacts (bug 251945)
  • Installed several new plugins and got server updated to latest version (bug 264778)
  • However, Hudson cannot currently sign jars (bug 251945)

2009-01-16

Due to other commitments, not much is new.

  • Plan doc updated with target milestones
  • Linuxtools is now running scheduled builds using Dash Athena CBI via crontab
  • Building with PPC Eclipse, GEF's automated JUnit tests PASS. See bug 253114 for followup problems on another server.

2008-11-26

  • Tests (for GEF project build) are working with some success locally, but fail with "Java Result: 13" when run on build.eclipse.org
java.lang.UnsatisfiedLinkError: no swt-gtk-3448 or swt-gtk in swt.library.path, java.library.path or the jar file
  • More refactoring and simplification (less shell, more Ant)
  • System now uses ant-contrib for looping and conditional processing
  • bug 256379 opened to optionally clean cvs exports out of the log (using <cvs reallyquiet="true">)

2008-11-19

2008-11-06

  • SVN support implemented in setup script (to get svn-pde-plugin into the cached copy of basebuilder), startup script (to get a .releng project from svn repo or cvs repo), and generated fetch scripts (map files can specify cvs and svn entries interchangeably) (bug 251923).
  • clean up customTargets.xml (for both ALL and Tests builders) (bug 251879).
  • Support for archived update sites and SDK zips as input to build :: in progress (bug 252423).
  • Testing code refactored and almost working for GEF.

2008-10-28

  • Server config simplified on build.eclipse.org; documented and scripted for reproduction on localhost. Testing through cygwin on Windows TBD.
  • basebuilder.releng from both 3.4 (tag: RC2_34) and 3.5M2 (R35_M2) checked out on build.eclipse.org; builds work equally.
  • GEF build on build.eclipse.org and localhost has succeeded in producing GEF "Master" zip, as well as SDK, runtime, and examples.
  • Signing fails, but can be skipped by running an N build.
  • Test assembly fails; test run fails because tests are not yet built. builder/tests/customTargets.xml needs to be updated/fixed.
  • Creation of Update site, p2 metadata, site digest, etc. still TBD.
  • Web UI to run builds has been decoupled from the build system in case we decide to use Hudson or Cruise Control instead. Paths in web UI still broken (expect /gef/ but have /cbi/gef; downloads page shows builds on download.eclipse.org, not local builds on build.eclipse.org)

--

  • For example:
cd /opt/public/cbi/build/org.eclipse.dash.common.releng_HEAD; \
cvs up -Pd; cd tools/scripts;./start.sh -projectid tools.gef -version 3.4.0 -buildType N \
 -projRelengRoot ':pserver:anonymous@dev.eclipse.org:/cvsroot/technology' \
 -projRelengPath 'org.eclipse.dash/athena/org.eclipse.dash.commonbuilder/org.eclipse.gef.releng' \
 -basebuilderBranch R35_M2 -javaHome /opt/public/common/ibm-java2-142 \
 -URL http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk.tar.gz \
  2>&1 | tee /opt/public/cbi/logs/buildlog_`date +%H%M%S`.txt
  • To run locally, see examples in start.sh.

Back to the top