.releng

automation, application, assembly, and angst

Archive for the 'ant' Category

HOWTO: Capture Headless JUnit Console Logs

Posted in ant, build, testing on April 14th, 2008 | No Comments »

If you run more than one automated JUnit test suite during your build, it can at times be difficult to ascertain why a suite failed. You can of course run the tests locally, but if your local environment is not identical to the build/test environment (eg., your build server is virtual and its X server [...]

[ Back to top ]

p2: Uncovering your kludgy code

Posted in ant, classpath, features, p2, pde, scripting, testing on April 2nd, 2008 | No Comments »

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

Posted in ant, build, errata, scripting on March 7th, 2008 | No Comments »

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

Posted in ant, build, pde, scripting, testing on January 25th, 2008 | 4 Comments »

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 ]

Adding libraries to your java project

Posted in ant, build, classpath, faq, jdt on September 15th, 2007 | 3 Comments »

A question I see once in a while in #eclipse is How do I add libraries to my java or plugin project? or How do I fix errors like ‘The import org.eclipse.foo cannot be resolved’?
The latter is particularly common when you’re working with someone else’s code and they didn’t provide you with a [...]

[ Back to top ]

Recent Posts

Archives

Categories

Meta