Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » [How to] export a plugin with project specific compiler setting (JDK Compliance)
[How to] export a plugin with project specific compiler setting (JDK Compliance) [message #449227] Thu, 11 May 2006 03:47 Go to next message
Eclipse UserFriend
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&uuml;nther
Re: [How to] export a plugin with project specific compiler setting (JDK Compliance) [message #449233 is a reply to message #449227] Thu, 11 May 2006 06:37 Go to previous message
Eclipse UserFriend
I think that you can specify what the compiler and source options are in the build.properties by changing the compilerArgs, can't you? Someone else posted in either the RCP or Platform newsgroups with this recently.

Alex.
Previous Topic:background color
Next Topic:Defining another Project as support for a RCP-Application
Goto Forum:
  


Current Time: Sun Aug 31 12:08:23 EDT 2025

Powered by FUDForum. Page generated in 0.03324 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top