JBoss Tools SVN: r3937 - tags/richfaces-2.0.0.beta4.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-01 18:41:46 -0400 (Mon, 01 Oct 2007)
New Revision: 3937
Removed:
tags/richfaces-2.0.0.beta4/common/
tags/richfaces-2.0.0.beta4/jsf/
tags/richfaces-2.0.0.beta4/jst/
tags/richfaces-2.0.0.beta4/tags/
tags/richfaces-2.0.0.beta4/vpe/
Log:
17 years, 3 months
JBoss Tools SVN: r3936 - tags.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-10-01 18:41:35 -0400 (Mon, 01 Oct 2007)
New Revision: 3936
Added:
tags/jbossas-1.0.0.beta4/
Log:
retagging
17 years, 3 months
JBoss Tools SVN: r3935 - tags.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-10-01 18:41:15 -0400 (Mon, 01 Oct 2007)
New Revision: 3935
Removed:
tags/jbossas-1.0.0.beta4/
Log:
delting for re-tag
17 years, 3 months
JBoss Tools SVN: r3934 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-01 18:38:44 -0400 (Mon, 01 Oct 2007)
New Revision: 3934
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-972
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java 2007-10-01 22:08:41 UTC (rev 3933)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java 2007-10-01 22:38:44 UTC (rev 3934)
@@ -227,6 +227,16 @@
model.setProperty(ISeamFacetDataModelProperties.SEAM_PROJECT_NAME, project.getName());
model.setProperty(ISeamFacetDataModelProperties.SEAM_TEST_PROJECT, project.getName()+"-test");
+ Boolean dbExists = (Boolean)model.getProperty(ISeamFacetDataModelProperties.DB_ALREADY_EXISTS);
+ Boolean dbRecreate = (Boolean)model.getProperty(ISeamFacetDataModelProperties.RECREATE_TABLES_AND_DATA_ON_DEPLOY);
+ if(!dbExists && !dbRecreate) {
+ model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,"update");
+ } else if(dbExists && !dbRecreate) {
+ model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,"validate");
+ } else if(dbRecreate) {
+ model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,"create-drop");
+ }
+
final File webContentFolder = folder.getLocation().toFile();
final File webInfFolder = new File(webContentFolder,"WEB-INF");
final File webInfClasses = new File(webInfFolder,"classes");
17 years, 3 months
JBoss Tools SVN: r3933 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-01 18:08:41 -0400 (Mon, 01 Oct 2007)
New Revision: 3933
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java
Log:
/home/dgolovin/workspaces/rhds
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java 2007-10-01 22:08:00 UTC (rev 3932)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java 2007-10-01 22:08:41 UTC (rev 3933)
@@ -339,7 +339,7 @@
AntCopyUtils.copyFileToFile(
new File(seamGenHomeFolder,"src/Authenticator.java"),
- new File(project.getLocation().toFile(),source.getFullPath().lastSegment()+"/model/" + model.getProperty(ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_NAME).toString().replace('.', '/')+"/"+"Authenticator.java"),
+ new File(project.getLocation().toFile(),source.getFullPath().lastSegment()+"/action/" + model.getProperty(ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_NAME).toString().replace('.', '/')+"/"+"Authenticator.java"),
new FilterSetCollection(filtersFilterSet), true);
AntCopyUtils.copyFileToFile(
17 years, 3 months
JBoss Tools SVN: r3932 - in trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui: wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-01 18:08:00 -0400 (Mon, 01 Oct 2007)
New Revision: 3932
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-988
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-01 21:36:34 UTC (rev 3931)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-01 22:08:00 UTC (rev 3932)
@@ -457,8 +457,9 @@
}
public boolean performFinish() {
- added.add(page1.getRuntime());
- value.add(page1.getRuntime());
+ SeamRuntime rt = page1.getRuntime();
+ added.add(rt);
+ value.add(rt);
return true;
}
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java 2007-10-01 21:36:34 UTC (rev 3931)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java 2007-10-01 22:08:00 UTC (rev 3932)
@@ -82,10 +82,10 @@
"${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/model/${" + ISeamFacetDataModelProperties.ENTITY_BEAN_PACKAGE_PATH + "}/${" + IParameter.SEAM_ENTITY_CLASS_NAME +"}.java"});
ACTION_WAR_MAPPING.add(new String[]{
"${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME + "}/seam-gen/src/EntityHome.java",
- "${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/model/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" + IParameter.SEAM_ENTITY_CLASS_NAME +"}Home.java"});
+ "${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/action/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" + IParameter.SEAM_ENTITY_CLASS_NAME +"}Home.java"});
ACTION_WAR_MAPPING.add(new String[]{
"${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME + "}/seam-gen/src/EntityList.java",
- "${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/model/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" + IParameter.SEAM_ENTITY_CLASS_NAME +"}List.java"});
+ "${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/action/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" + IParameter.SEAM_ENTITY_CLASS_NAME +"}List.java"});
ACTION_WAR_MAPPING.add(new String[]{
"${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME + "}/seam-gen/view/edit.xhtml",
17 years, 3 months
JBoss Tools SVN: r3931 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-01 17:36:34 -0400 (Mon, 01 Oct 2007)
New Revision: 3931
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamActionWizardPage1.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizardPage1.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizardPage1.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-976
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamActionWizardPage1.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamActionWizardPage1.java 2007-10-01 19:34:27 UTC (rev 3930)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamActionWizardPage1.java 2007-10-01 21:36:34 UTC (rev 3931)
@@ -47,7 +47,7 @@
setDefaultValue(IParameter.SEAM_PAGE_NAME, "");
} else {
String valueU = value.substring(0,1).toUpperCase() + value.substring(1);
- setDefaultValue(IParameter.SEAM_LOCAL_INTERFACE_NAME, isWar()?valueU :"I" + valueU);
+ setDefaultValue(IParameter.SEAM_LOCAL_INTERFACE_NAME, valueU);
setDefaultValue(IParameter.SEAM_BEAN_NAME, valueU+"Bean");
String valueL = value.substring(0,1).toLowerCase() + value.substring(1);
setDefaultValue(IParameter.SEAM_METHOD_NAME, valueL);
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizardPage1.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizardPage1.java 2007-10-01 19:34:27 UTC (rev 3930)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizardPage1.java 2007-10-01 21:36:34 UTC (rev 3931)
@@ -67,7 +67,7 @@
setDefaultValue(IParameter.SEAM_PAGE_NAME, "");
} else {
String valueU = value.substring(0,1).toUpperCase() + value.substring(1);
- setDefaultValue(IParameter.SEAM_LOCAL_INTERFACE_NAME, "I" + valueU);
+ setDefaultValue(IParameter.SEAM_LOCAL_INTERFACE_NAME, valueU);
setDefaultValue(IParameter.SEAM_BEAN_NAME, valueU+"Bean");
String valueL = value.substring(0,1).toLowerCase() + value.substring(1);
setDefaultValue(IParameter.SEAM_METHOD_NAME, valueL);
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2007-10-01 19:34:27 UTC (rev 3930)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2007-10-01 21:36:34 UTC (rev 3931)
@@ -61,15 +61,14 @@
if(event.getNewValue()==null||"".equals(event.getNewValue().toString().trim())) {
setDefaultValue(IParameter.SEAM_COMPONENT_NAME, "");
setDefaultValue(IParameter.SEAM_LOCAL_INTERFACE_NAME, "");
- setDefaultValue(IParameter.SEAM_BEAN_NAME, "");
- setDefaultValue(IParameter.SEAM_METHOD_NAME, "");
+ setDefaultValue(IParameter.SEAM_METHOD_NAME, "");
setDefaultValue(IParameter.SEAM_PAGE_NAME, "");
} else {
String value = event.getNewValue().toString();
String valueU = value.substring(0,1).toUpperCase() + value.substring(1);
String valueL = value.substring(0,1).toLowerCase() + value.substring(1);
- setDefaultValue(IParameter.SEAM_MASTER_PAGE_NAME, valueL+"-edit");
- setDefaultValue(IParameter.SEAM_PAGE_NAME, valueL+"-list");
+ setDefaultValue(IParameter.SEAM_MASTER_PAGE_NAME, valueL);
+ setDefaultValue(IParameter.SEAM_PAGE_NAME, valueL+"List");
}
}
@@ -79,7 +78,6 @@
if(errors.size()>0) {
setErrorMessage(errors.get(IValidator.DEFAULT_ERROR).toString());
setPageComplete(false);
- getEditor(IParameter.SEAM_BEAN_NAME).setEnabled(false);
return;
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizardPage1.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizardPage1.java 2007-10-01 19:34:27 UTC (rev 3930)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizardPage1.java 2007-10-01 21:36:34 UTC (rev 3931)
@@ -46,7 +46,7 @@
setDefaultValue(IParameter.SEAM_PAGE_NAME, "");
} else {
String valueU = value.substring(0,1).toUpperCase() + value.substring(1);
- setDefaultValue(IParameter.SEAM_LOCAL_INTERFACE_NAME, isWar()?valueU :"I" + valueU);
+ setDefaultValue(IParameter.SEAM_LOCAL_INTERFACE_NAME, valueU);
setDefaultValue(IParameter.SEAM_BEAN_NAME, valueU+"Bean");
String valueL = value.substring(0,1).toLowerCase() + value.substring(1);
setDefaultValue(IParameter.SEAM_METHOD_NAME, valueL);
17 years, 3 months
JBoss Tools SVN: r3930 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-01 15:34:27 -0400 (Mon, 01 Oct 2007)
New Revision: 3930
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamRuntimeManager.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-986
Runtime preferences is flushed on disk every time Seam runtime is added
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamRuntimeManager.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamRuntimeManager.java 2007-10-01 17:51:26 UTC (rev 3929)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamRuntimeManager.java 2007-10-01 19:34:27 UTC (rev 3930)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.jboss.tools.seam.core.project.facet;
+import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
@@ -17,6 +18,8 @@
import java.util.Map;
import org.eclipse.core.resources.IProject;
+import org.eclipse.jface.preference.IPersistentPreferenceStore;
+import org.eclipse.jface.preference.IPreferenceStore;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.internal.core.project.facet.SeamFacetPreferenceInitializer;
@@ -146,11 +149,19 @@
}
/**
- *
+ * Save preference value and force save changes to disk
*/
public void save() {
SeamCorePlugin.getDefault().getPluginPreferences().setValue(
SeamFacetPreference.RUNTIME_LIST, converter.getString(runtimes));
+ IPreferenceStore store = SeamCorePlugin.getDefault().getPreferenceStore();
+ if(store instanceof IPersistentPreferenceStore) {
+ try {
+ ((IPersistentPreferenceStore)store).save();
+ } catch (IOException e) {
+ SeamCorePlugin.getPluginLog().logError(e);
+ }
+ }
}
/**
17 years, 3 months
JBoss Tools SVN: r3929 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-01 13:51:26 -0400 (Mon, 01 Oct 2007)
New Revision: 3929
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-986
fix path for source folders
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java 2007-10-01 17:09:22 UTC (rev 3928)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java 2007-10-01 17:51:26 UTC (rev 3929)
@@ -334,8 +334,8 @@
IVirtualComponent c = ComponentCore.createComponent(project);
IVirtualFolder src = c.getRootFolder().getFolder("/WEB-INF/classes");
- src.createLink(actionSrcPath.removeFirstSegments(1), 0, null);
- src.createLink(modelSrcPath.removeFirstSegments(1), 0, null);
+ src.createLink(actionSrcPath, 0, null);
+ src.createLink(modelSrcPath, 0, null);
AntCopyUtils.copyFileToFile(
new File(seamGenHomeFolder,"src/Authenticator.java"),
17 years, 3 months
JBoss Tools SVN: r3928 - trunk/seam/plugins/org.jboss.tools.seam.ui.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-10-01 13:09:22 -0400 (Mon, 01 Oct 2007)
New Revision: 3928
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
Log:
JBIDE-970 show hibernate code gen in seam perspective
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2007-10-01 15:20:10 UTC (rev 3927)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2007-10-01 17:09:22 UTC (rev 3928)
@@ -142,7 +142,8 @@
</newWizardShortcut>
<newWizardShortcut
id="org.jboss.tools.seam.ui.wizard.SeamGenerateEnitiesWizard">
- </newWizardShortcut>
+ </newWizardShortcut>
+ <actionSet id="org.hibernate.eclipse.launch.actionset"/>
</perspectiveExtension>
</extension>
17 years, 3 months