Archive for the 'scripting' Category
HOWTO: Use the p2 director to control where you install
A number of people have remarked to me that there’s a very important feature missing in Eclipse 3.4 Ganymede’s p2 Update UI, which they consider a regression from Eclipse 3.3 Europa’s Update Manager UI.
Specifically, the feature — introduced in Eclipse 3.1? — that allows users to choose where to install a new feature, rather than [...]
[ Back to top ]
A Call To Arms
Calling all Eclipse Release Engineers!
If you plan to be in Ottawa next week for the Ganymede festivities or for the Demo Camp on June 26, why not drop by the Eclipse Foundation offices for Build Workshop 2: Build Harder, and help us build a “buildserver in a box” prototype?
Sign up now!
[ Back to top ]
p2: Uncovering your kludgy code
In EMFland, we have some crazy-old internal FVT, BVT, and SVT tests that we run as a followup to our public JUnits. These are rather complex, involving codegen, hooking into PDE in less-than-standard ways, and doing all sorts of wierd modeling test work.
Unfortunately, they break a few times a year, and this time it took [...]
[ Back to top ]
Jar Signing Tips
As of M5, most of the projects I’m responsible for building now include jar signing & packing. The rest will soon follow. Here are a few lessons I’ve learned.
Do not try to sign your jars between 00:00 and 01:00.
The following are not the same:
<include name=”**/org.eclipse.draw2d*” /><include name=”**/org.eclipse.draw2d*/*” /><include name=”**/org.eclipse.draw2d*/**” />
Forgetting the “-r” when zipping a [...]
[ Back to top ]
HOWTO: Timestamp Your Build
Ever wondered how long an Ant task takes? Or where to look for ways to performance tune your build?
Well, here’s a quick way to add changing timestamps to your Ant script or PDE build log, so you can see how long specific subtasks and antcalls take, or when they occur. This trick gets around [...]
[ Back to top ]
Web-Based PDE Builds, Part 2: Q&A
I received some questions from the guys in the ECF project about using my infra for doing web-based PDE builds, so I thought I’d digest them and post them here:
Q: When running a build from the web, why queue the command? Why not just exec() it directly?
A: Well, it depends on your infrastructure. On our [...]
[ Back to top ]

