f!@#!!! jar in jar files


Since several weeks my headless build main part works perfectly. The few problems encountered since there (Debug info, Html report generation) where secondary problems ;o)

Recently we decided to setup the product headless build on an other workstation and guess what …. ???? I had some ERRORS generated by javac task when building one my plug-in depending on an other …. dependencies were not resolved …. !!!!

Why ??

Because One of the plug-ins used in our product is not under source control for some reasons and this plug-in build.properties and Manifest.mf files were different between the 2 workstations. In my environment the plugin build.properties contains

source.. = src/
output.. = bin/

whereas this file contains the following on my colleague workstation:

source.pluginname.jar = src/

This was the old version of build.properties file .. isn’t it ??

Changing this file (and manifest.mf according to build.properties) in order to generate a plug-in jar containing build classes files in its root instead of generating a plug-in jar containing an embedded jar which contains generated classes fixed the problem.

I am only thinking now (while writing this post) that long times ago I read some where that PDE headless build doesn’t support embedded jar files ….. (I should may be buy more memory for my brain in order to avoid wasting time in the future ;o) )

Hope this can help other.

Manu

Advertisements

2 thoughts on “f!@#!!! jar in jar files

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s