Bug 248929 - template for headless-build setup
Summary: template for headless-build setup
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-29 07:30 EDT by Jacek Pospychala CLA
Modified: 2015-05-15 06:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Pospychala CLA 2008-09-29 07:30:31 EDT
Recently I have spent some days configuring plug-in headless build and trying to teach others how to do this (during our famous Eclipse Summer School). Now it's time to share some experiences! :)
Before getting to learn about automated builds, I've heard opionons that it's difficult and error prone. This opinion should change.

First of all preparing basic headless-build setup is easy. It's just a number of well defined steps, that require copying right files to right folders and making few proper modifications (namely two variables in correct build.properties file). I love the Andrew Niefer's blog entry with ultra-condensed way of build setup: http://aniefer.blogspot.com/2008/06/example-headless-build-for-rcp-product.html

Second, my first and major problem was determining "what's the correct way" to do builds. Because there's a lot of blogs and suggestions how to start, but some suggest downloading custom code, other use modified ant build scripts or introduce new ones. This way articles or blog entries look simpler, but they're more difficult to compare with each other in case of any problems.

Third, setting up a headless build together with 15 other (people seeing PDE for second time in their life) in the same room we had of course some problems, but they were very repeatable. They were caused by missing or extra spaces in command line arguments, wrong directory paths, missing files, etc.

And at last, there's tousands of build scenarios. But there's just a few that everyone will really want to consider:
1. Build based on features vs. on plugins
2. Build based on ready files vs. from CVS
3. Plugging headless build into external builder (maven, cron, whatever)

So, what do you think about creating a PDE template that would generate working build infrastructure with some basic customization options?
It would help people set-up their first working build, ready for further customizations. It would of course still require some knowledge to customize the build, but at least would save us all from small painful mistakes.

I currently don't have anything working as described above, but just wanted to put down my idea somewhere to hear your comments. I'm aware of automated build infrastructure being developed by Eclipse releng team - but afaik it's more for Eclipse projects, than for everyone. I also have seen some bugs in PDE-UI bucket to integrate already existing solutions, but haven't seen progress so far. If there are other similar ideas, feel free to mark this one as DUP and move discussion somewhere else.
I'd be happy to implement whatever borns in discussion, as soon as I finish my other pde bugs (zx knows which ;P)
Comment 1 Mike Wilson CLA 2009-05-05 11:27:23 EDT
Changing Version tag to something more believable. Note that this is not a statement about when the enhancement request will be addressed (the Target Milestone field is used for that); the Version tag should be set to the version of Eclipse you were using when you saw the need for the enhancement.
Comment 2 maarten meijer CLA 2015-05-15 06:24:59 EDT
As everybody has switched from PDE Build to Mylyn/Tycho build, propose closing as WONTFIX.

Maybe there is a case for creating Maven/Tycho build templates though.