Author: max.andersen(a)jboss.com
Date: 2007-09-20 20:21:13 -0400 (Thu, 20 Sep 2007)
New Revision: 3745
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetPreInstallDelegate.java
Log:
use getBaseProperties() as suggested by John DTP instead of using generic property name.
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetPreInstallDelegate.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetPreInstallDelegate.java 2007-09-20
23:49:06 UTC (rev 3744)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetPreInstallDelegate.java 2007-09-21
00:21:13 UTC (rev 3745)
@@ -33,7 +33,7 @@
IDataModel model = (IDataModel)config;
if(model.getProperty(ISeamFacetDataModelProperties.SEAM_CONNECTION_PROFILE)==null)
return;
IConnectionProfile connProfile =
ProfileManager.getInstance().getProfileByName(model.getProperty(ISeamFacetDataModelProperties.SEAM_CONNECTION_PROFILE).toString());
- Properties props =
connProfile.getProperties("org.eclipse.datatools.connectivity.db.generic.connectionProfile");
+ Properties props = connProfile.getBaseProperties();
//Properties("org.eclipse.datatools.connectivity.db.generic.connectionProfile");
// Collect properties name from DTP Connection Profile
model.setProperty(ISeamFacetDataModelProperties.DB_USER_NAME,