[How to] export a plugin with project specific compiler setting (JDK Compliance) [message #449227] |
Thu, 11 May 2006 03:47  |
Eclipse User |
|
|
|
Hi,
my workspace builds all plug-ins with 1.4 JDK Compliance settings except
for one plug-in/feature that uses the new 1.5 JDK Compliance settings
(e.g. needed for generics).
Exporting my plug-in results in the following error message:
<error-message>
private HashMap<String, String> m_classMap = new HashMap<String, String>();
^^^^^^^
The type HashMap is not generic; it cannot be parameterized with
arguments <String, String>
</error-message>
It looks to me like the plug-in export does not honor the project
specific settings. My temporary solution was to switch to a "custom
build" file and insert the 1.5 at the right place.
How to export my plug-in without a custom build file?
Curious,
Günther
|
|
|
|
Powered by
FUDForum. Page generated in 0.03508 seconds