diff options
author | Konstantin Komissarchik | 2013-08-06 16:33:09 +0000 |
---|---|---|
committer | Neil Hauge | 2013-08-06 17:29:40 +0000 |
commit | a50a4f9a3bd7f752039cb8c45dd4ed0552fa4ad1 (patch) | |
tree | ef2c15aabeca6b89ecd53e8d409de3439a7a9028 | |
parent | 633a6652fc4b72ab1d042e6302534562075670e1 (diff) | |
download | webtools.dali-a50a4f9a3bd7f752039cb8c45dd4ed0552fa4ad1.tar.gz webtools.dali-a50a4f9a3bd7f752039cb8c45dd4ed0552fa4ad1.tar.xz webtools.dali-a50a4f9a3bd7f752039cb8c45dd4ed0552fa4ad1.zip |
413117 - Fix JpaProjectPropertiesPage issue with library providerv201308062258
context.
Signed-off-by: Neil Hauge <neil.hauge@oracle.com>
Signed-off-by: Konstantin Komissarchik <konstantin.komissarchik@oracle.com>
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java index dbd5b32ebb..543daa5b8b 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java +++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java @@ -969,8 +969,11 @@ public class JpaProjectPropertiesPage return; } + JpaPlatform.Config jpaPlatformConfig = this.jpaPlatformConfigModel.getValue(); + String jpaPlatformID = (jpaPlatformConfig == null) ? "" : jpaPlatformConfig.getId(); //$NON-NLS-1$ + Map<String, Object> enablementVariables = new HashMap<String, Object>(); - enablementVariables.put(JpaLibraryProviderInstallOperationConfig.JPA_PLATFORM_ENABLEMENT_EXP, this.jpaPlatformConfigModel.getValue()); + enablementVariables.put(JpaLibraryProviderInstallOperationConfig.JPA_PLATFORM_ENABLEMENT_EXP, jpaPlatformID); enablementVariables.put(JpaLibraryProviderInstallOperationConfig.JPA_PLATFORM_DESCRIPTION_ENABLEMENT_EXP, this.jpaProjectModel.getValue().getJpaPlatform().getConfig()); if ( ! libInstallDelegate.getLibraryProvider().isEnabledFor( |