Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333270 - Investigate moving build to Tycho
Summary: Investigate moving build to Tycho
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-28 11:43 EST by Mickael Istria CLA
Modified: 2011-11-07 03:55 EST (History)
3 users (show)

See Also:


Attachments
Added pom and parent project (107.19 KB, patch)
2010-12-29 06:09 EST, Mickael Istria CLA
no flags Details | Diff
Patch for javadoc (Heap Space) (7.94 KB, patch)
2011-06-15 11:15 EDT, Mickael Istria CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2010-12-28 11:43:09 EST
According to Nick advices, moving to Tycho would be a good move for release engineering:
http://dev.eclipse.org/mhonarc/lists/gmf-releng/msg04824.html
Comment 1 Mickael Istria CLA 2010-12-29 06:09:48 EST
Created attachment 185873 [details]
Added pom and parent project

This patch adds some necessary projects and pom file to the GMF-Tooling source tree.
You can test it running "mvn clean install" (with Maven 3) from releng/org.eclipse.gmf.tooling-parent.

It currently support:
* build of plugins and features
* Build of update-site
* Build and execution of tests

Here are the current issues:
* What is the expected content of the delivery update-site? Currently it is almost empty...
* Test fail, I don't know  why.
* No generation of source bundles
Comment 2 Mickael Istria CLA 2011-04-12 12:14:26 EDT
Work in progress:
* Build available here https://hudson.eclipse.org/hudson/job/tycho-gmp.gmf.tooling/
* Source build
* Test execution and report
* Update site generation

Still to do:
* Get all tests working
* Define update site
* Add sources and SDK features
* pack
* Signing
Comment 3 Michael Golubev CLA 2011-06-06 16:52:48 EDT
I commented the line 
    source.. = src/
added for the plugin org.eclipse.gmf.tooling with comment pointing to this Bugzilla. Plugin does not actually contain the sources.

Not sure how it will affect the tycho build, but it makes the old Modeling build failing just-a-bit-later :)
Comment 4 Mickael Istria CLA 2011-06-07 02:04:38 EDT
You did well, I had to do that in order to build with Tycho. I'll try to find a better way that does not break the common build.
Comment 5 Mickael Istria CLA 2011-06-07 02:43:40 EDT
@Michael: I skipped the source generation for org.eclipse.gmf.tooling bundle and I changed a few things in features, Can you please retry a build with those changes. They should not affect the final packaging.
Comment 6 Mickael Istria CLA 2011-06-15 11:15:49 EDT
Created attachment 198033 [details]
Patch for javadoc (Heap Space)

Added a trial patch to generate javadoc, but it causes Java Heap Space memory error...
Comment 7 Mickael Istria CLA 2011-08-01 12:47:21 EDT
This build is ready for production of releases.
Don't miss https://hudson.eclipse.org/hudson/job/tycho-gmp.gmf.tooling/
Comment 8 Aurelien Pupier CLA 2011-11-06 16:01:22 EST
(In reply to comment #7)
> This build is ready for production of releases.
> Don't miss https://hudson.eclipse.org/hudson/job/tycho-gmp.gmf.tooling/

It seems that we have an issue with groupId/artifactId because I can't folow the same guidelines for GMF-Runtime.
For top-level project perhaps we shoudl use groupId org.eclipse.gmf-runtime org.eclipse.gmf-tooling?
What do you think about it?
Comment 9 Mickael Istria CLA 2011-11-07 03:55:37 EST
Ok to use org.eclipse.gmf-tooling or org.eclipse.gmf-runtime as groupId, that's a good idea.
However, I don't understand the rest of your concerns ;)