JBoss Tools SVN: r4556 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-10-29 10:22:54 -0400 (Mon, 29 Oct 2007)
New Revision: 4556
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
Log:
JBIDE-1201 code formatter does not run if you regenerate from existing entities
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java 2007-10-29 13:47:28 UTC (rev 4555)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java 2007-10-29 14:22:54 UTC (rev 4556)
@@ -133,13 +133,7 @@
ExporterFactory[] exporters = (ExporterFactory[]) exporterFactories.toArray( new ExporterFactory[exporterFactories.size()] );
ArtifactCollector collector = runExporters(attributes, exporters, outputDirectories, monitor);
- if(collector!=null) {
- formatGeneratedCode( monitor, collector );
- }
-
-
-
- Iterator iterator = outputDirectories.iterator();
+ Iterator iterator = outputDirectories.iterator();
while (iterator.hasNext()) {
String path = (String) iterator.next();
refreshOutputDir( path );
@@ -147,6 +141,12 @@
RefreshTab.refreshResources(configuration, monitor);
+ // code formatting needs to happen *after* refresh to make sure eclipse will format the uptodate files!
+ if(collector!=null) {
+ formatGeneratedCode( monitor, collector );
+ }
+
+
} catch(Exception e) {
throw new CoreException(HibernateConsolePlugin.throwableToStatus(e, 666));
} catch(NoClassDefFoundError e) {
16 years, 6 months
JBoss Tools SVN: r4555 - in trunk/documentation/GettingStartedGuide/docs/userguide/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-10-29 09:47:28 -0400 (Mon, 29 Oct 2007)
New Revision: 4555
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/WriteYourFirst/SeamNewProj050.png
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/WriteYourFirst/SeamNewProj045.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-169 added information about seam runtime
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/WriteYourFirst/SeamNewProj045.png
===================================================================
(Binary files differ)
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/WriteYourFirst/SeamNewProj050.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/WriteYourFirst/SeamNewProj050.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml 2007-10-29 13:29:47 UTC (rev 4554)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml 2007-10-29 13:47:28 UTC (rev 4555)
@@ -83,16 +83,28 @@
<para>We will also use a default Hibernate Dialect - <emphasis>org.hibernate.dialect.HSQLDialect</emphasis> and deploy as a <emphasis>war</emphasis> archive.</para>
- <para>The project setup wizard also asks you to configure how <property>Seam</property> generates code for the project. The <property>Seam</property> Home Folder should point to a valid <property>Seam</property> distribution. By default, it is set to the <property>Seam</property> distribution bundled in your Red Hat Developer Studio tool. For the deployment format, choose WAR deployment if you want to use POJOs for UI event handling and business logic; choose EAR deployment if you want to EJB3 beans for added features. In most web applications, the WAR deployment option would suffice. You should also enter Java packages for the entity beans (for database mapping) and session beans (for action handlers). All generated code will be placed in those packages. </para>
+ <para>The project setup wizard also asks you to configure how <property>Seam</property> generates code for the project. The <property>Seam</property> Home Folder should point to a valid <property>Seam</property> distribution. By default, it is set to the <property>Seam</property> distribution bundled in your Red Hat Developer Studio tool. If you need another one choose it from the drop down list box:</para>
<figure>
- <title>Enter Java packages for generated code</title>
+ <title>Enter Java Packages for Generated Code</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/WriteYourFirst/SeamNewProj045.png"/>
</imageobject>
</mediaobject>
</figure>
+<para>If in this list there is no Seam runtime you want to use add it through <emphasis>Window > Preferences > JBoss Tools > Web > Seam</emphasis> or just click <emphasis>Add</emphasis> button near the Seam Runtime list:</para>
+<figure>
+ <title>Add New Seam Runtime</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/WriteYourFirst/SeamNewProj050.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+<para>For the deployment format, choose WAR deployment if you want to use POJOs for UI event handling and business logic; choose EAR deployment if you want to EJB3 beans for added features. In most web applications, the WAR deployment option would suffice. You should also enter Java packages for the entity beans (for database mapping) and session beans (for action handlers). All generated code will be placed in those packages. </para>
+
<para>Click on Finish to generate a project. The generated project contains all the necessary library JARs, XML configuration files, the ANT build script, as well as simple XHTML web pages and Java classes for the skeleton web application.</para>
16 years, 6 months
JBoss Tools SVN: r4554 - in trunk/jst/plugins/org.jboss.tools.jst.web.ui: src/org/jboss/tools/jst/web/ui and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2007-10-29 09:29:47 -0400 (Mon, 29 Oct 2007)
New Revision: 4554
Removed:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/BrowserView.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/action/OpenOnlineHelpActionDelegate.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/WebDevelopmentPerspectiveFactory.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1208
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2007-10-29 13:26:41 UTC (rev 4553)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2007-10-29 13:29:47 UTC (rev 4554)
@@ -231,8 +231,6 @@
</view>
<view category="web.views.category.id" class="org.jboss.tools.jst.web.ui.navigator.WebProjectsNavigator" icon="images/xstudio/views/web_project.gif" id="org.jboss.tools.jst.web.ui.navigator.WebProjectsView" name="Web Projects">
</view>
- <view category="web.views.category.id" class="org.jboss.tools.jst.web.ui.BrowserView" icon="images/xstudio/views/web_help.gif" id="org.jboss.tools.jst.web.ui.action.BrowserView" name="Online Help">
- </view>
</extension>
Deleted: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/BrowserView.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/BrowserView.java 2007-10-29 13:26:41 UTC (rev 4553)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/BrowserView.java 2007-10-29 13:29:47 UTC (rev 4554)
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jst.web.ui;
-
-import java.util.ResourceBundle;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.IWorkbenchPartSite;
-import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
-import org.eclipse.ui.internal.browser.BrowserViewer;
-import org.eclipse.ui.internal.browser.WebBrowserView;
-
-public class BrowserView extends WebBrowserView {
-
- public static final String ID = "org.jboss.tools.jst.web.ui.action.BrowserView";
-
- private static final String RESOURCE_BUNDLE_NAME = "org.jboss.tools.jst.web.ui.help";
- private static final String HELP_URL_KEY = "Help.url";
-
- private static ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(RESOURCE_BUNDLE_NAME);
- private static final String HELP_URL = RESOURCE_BUNDLE.getString(HELP_URL_KEY);
-
- /**
- * The constructor.
- */
- public BrowserView() {
- }
-
- /**
- * This is a callback that will allow us
- * to create the viewer and initialize it.
- */
- public void createPartControl(Composite parent) {
-// super.createPartControl(parent);
-
-// int style = WebBrowserUtil.decodeStyle(getViewSite().getSecondaryId());
- int style = IWorkbenchBrowserSupport.STATUS;
- viewer = new BrowserViewer(parent, style);
- viewer.setContainer(this);
-
- setURL(HELP_URL);
-
-// try {
-// IWorkbenchBrowserSupport browserSupport = WebUiPlugin.getDefault().getWorkbench().getBrowserSupport();
-// IWebBrowser browser = browserSupport.createBrowser(IWorkbenchBrowserSupport.STATUS | IWorkbenchBrowserSupport.NAVIGATION_BAR | IWorkbenchBrowserSupport.AS_VIEW, null, null, null);
-// browser.openURL(new URL(HELP_URL));
-// } catch (Exception e) {
-// WebModelPlugin.log(e);
-// }
-
-/// new WebBrowser(parent, false, true).getBrowser().setUrl(HELP_URL);
- }
-
- public void setSite(IWorkbenchPartSite site) {
- super.setSite(site);
- getViewSite().setSelectionProvider(NULL_PROVIDER);
- }
-
- static NullSelectionProvider NULL_PROVIDER = new NullSelectionProvider();
-
- static class NullSelectionProvider implements ISelectionProvider {
- public void addSelectionChangedListener(ISelectionChangedListener listener) {
- }
- public ISelection getSelection() {
- return null;
- }
- public void removeSelectionChangedListener(ISelectionChangedListener listener) {
- }
- public void setSelection(ISelection selection) {
- }
- }
-}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/WebDevelopmentPerspectiveFactory.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/WebDevelopmentPerspectiveFactory.java 2007-10-29 13:26:41 UTC (rev 4553)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/WebDevelopmentPerspectiveFactory.java 2007-10-29 13:29:47 UTC (rev 4554)
@@ -42,7 +42,6 @@
IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, (float)0.78, editorArea); //$NON-NLS-1$
- bottom.addView(BrowserView.ID);
bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
bottom.addView(IPageLayout.ID_TASK_LIST);
Deleted: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/action/OpenOnlineHelpActionDelegate.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/action/OpenOnlineHelpActionDelegate.java 2007-10-29 13:26:41 UTC (rev 4553)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/action/OpenOnlineHelpActionDelegate.java 2007-10-29 13:29:47 UTC (rev 4554)
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jst.web.ui.action;
-
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.IWorkbenchWindowActionDelegate;
-
-import org.jboss.tools.common.reporting.ProblemReportingHelper;
-import org.jboss.tools.jst.web.ui.BrowserView;
-import org.jboss.tools.jst.web.ui.WebUiPlugin;
-
-/**
- * @author Igels
- */
-public class OpenOnlineHelpActionDelegate implements IWorkbenchWindowActionDelegate {
-
- /**
- * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
- */
- public void dispose() {
- }
-
- public void init(IWorkbenchWindow window) {
- }
-
- public void run(IAction action) {
- try {
- WebUiPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(BrowserView.ID);
- } catch (Exception e) {
- ProblemReportingHelper.reportProblem(WebUiPlugin.PLUGIN_ID, e);
- }
- }
-
- public void selectionChanged(IAction action, ISelection selection) {
- }
-
-}
\ No newline at end of file
16 years, 6 months
JBoss Tools SVN: r4553 - trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-1.2-facelets/FaceletsKickStartWithRILibs/WebContent/WEB-INF/lib.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2007-10-29 09:26:41 -0400 (Mon, 29 Oct 2007)
New Revision: 4553
Modified:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-1.2-facelets/FaceletsKickStartWithRILibs/WebContent/WEB-INF/lib/jsf-api.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-1.2-facelets/FaceletsKickStartWithRILibs/WebContent/WEB-INF/lib/jsf-impl.jar
Log:
http://jira.jboss.com/jira/browse/JBIDE-1204 Updated jsf 1.2 RI libs
Modified: trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-1.2-facelets/FaceletsKickStartWithRILibs/WebContent/WEB-INF/lib/jsf-api.jar
===================================================================
(Binary files differ)
Modified: trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-1.2-facelets/FaceletsKickStartWithRILibs/WebContent/WEB-INF/lib/jsf-impl.jar
===================================================================
(Binary files differ)
16 years, 6 months
JBoss Tools SVN: r4550 - in trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core: model and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-26 19:49:23 -0400 (Fri, 26 Oct 2007)
New Revision: 4550
Added:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreLog.java
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesModelCore.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveFileSetImpl.java
Log:
fix compilation problems in archives.core
there is cyclic dependency between jars in plugin. I've create ArchiveCoreLog class that uses PLUGIN_ID constant copied from ArchiveCorePlugin to obtain plugin log and log method of this class used everywhere instead of ArchiveCorePlugin.getDefault().log()
Added: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreLog.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreLog.java (rev 0)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreLog.java 2007-10-26 23:49:23 UTC (rev 4550)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.ide.eclipse.archives.core;
+
+import org.eclipse.core.runtime.ILog;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.Status;
+import org.osgi.framework.Bundle;
+
+/**
+ * @author eskimo
+ *
+ */
+public class ArchivesCoreLog {
+ /**
+ * Copy of ArchiveCorePlugin.PLUGIN_ID to break dependency cycle between
+ * jars in this plug-in
+ *
+ * @see ArchiveCorePlugin.PLUGIN_ID
+ */
+ public static final String PLUGIN_ID = "org.jboss.ide.eclipse.archives.core";
+
+ static ILog log = Platform.getLog(Platform.getBundle(PLUGIN_ID));
+
+ public static void log(int severety, String message,Throwable ise) {
+ IStatus status = new Status(severety, PLUGIN_ID, message, ise);
+ log.log(status);
+ }
+}
Property changes on: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreLog.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesModelCore.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesModelCore.java 2007-10-26 22:53:49 UTC (rev 4549)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesModelCore.java 2007-10-26 23:49:23 UTC (rev 4550)
@@ -27,8 +27,7 @@
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.jboss.ide.eclipse.archives.core.ArchivesCorePlugin;
+import org.jboss.ide.eclipse.archives.core.ArchivesCoreLog;
import org.jboss.ide.eclipse.archives.core.build.ArchiveBuildDelegate;
/**
@@ -101,8 +100,7 @@
}
return paths;
} catch( IllegalStateException ise ) {
- IStatus status = new Status(IStatus.WARNING, ArchivesCorePlugin.PLUGIN_ID, "Error creating directory scanner", ise);
- ArchivesCorePlugin.getDefault().getLog().log(status);
+ ArchivesCoreLog.log(IStatus.WARNING, "Error creating directory scanner", ise);
return new IPath[]{};
}
}
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveFileSetImpl.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveFileSetImpl.java 2007-10-26 22:53:49 UTC (rev 4549)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveFileSetImpl.java 2007-10-26 23:49:23 UTC (rev 4550)
@@ -27,8 +27,7 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.jboss.ide.eclipse.archives.core.ArchivesCorePlugin;
+import org.jboss.ide.eclipse.archives.core.ArchivesCoreLog;
import org.jboss.ide.eclipse.archives.core.model.DirectoryScannerFactory;
import org.jboss.ide.eclipse.archives.core.model.IArchiveFileSet;
import org.jboss.ide.eclipse.archives.core.model.DirectoryScannerFactory.DirectoryScannerExtension;
@@ -157,8 +156,7 @@
}
matchingPaths = paths;
} catch( IllegalStateException ise ) {
- IStatus status = new Status(IStatus.WARNING, ArchivesCorePlugin.PLUGIN_ID, "Could not create directory scanner", ise);
- ArchivesCorePlugin.getDefault().getLog().log(status);
+ ArchivesCoreLog.log(IStatus.WARNING, "Could not create directory scanner", ise);
}
}
return scanner;
16 years, 6 months
JBoss Tools SVN: r4549 - trunk/core/plugins/org.jboss.ide.eclipse.archives.core.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-26 18:53:49 -0400 (Fri, 26 Oct 2007)
New Revision: 4549
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/build.properties
Log:
fix compilation problems in archives.core
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/build.properties
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/build.properties 2007-10-26 21:58:47 UTC (rev 4548)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/build.properties 2007-10-26 22:53:49 UTC (rev 4549)
@@ -16,7 +16,7 @@
META-INF/,\
src/
output.archivescore.jar = bin/
-jars.compile.order = archivescore-eclipse.jar,\
- archivescore.jar
+jars.compile.order = archivescore.jar,\
+ archivescore-eclipse.jar
source.archivescore-eclipse.jar = src/eclipse/
output.archivescore-eclipse.jar = bin/
16 years, 6 months
JBoss Tools SVN: r4548 - trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-26 17:58:47 -0400 (Fri, 26 Oct 2007)
New Revision: 4548
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/ArchivesCorePlugin.java
Log:
fix compilation problems in archives.core
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/ArchivesCorePlugin.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/ArchivesCorePlugin.java 2007-10-26 21:47:04 UTC (rev 4547)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/ArchivesCorePlugin.java 2007-10-26 21:58:47 UTC (rev 4548)
@@ -24,7 +24,6 @@
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.Plugin;
-import org.jboss.ide.eclipse.archives.core.model.internal.xb.XMLBinding;
import org.osgi.framework.BundleContext;
/**
16 years, 6 months
JBoss Tools SVN: r4547 - 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-26 17:47:04 -0400 (Fri, 26 Oct 2007)
New Revision: 4547
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizard.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/SeamFormWizard.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1027
fixed. ConversationJavaBean.java template is used to create new Conversation in WAR deployment configuration
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizard.java 2007-10-26 20:56:27 UTC (rev 4546)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizard.java 2007-10-26 21:47:04 UTC (rev 4547)
@@ -65,12 +65,9 @@
static {
// initialize war files mapping
ACTION_WAR_MAPPING.add(new String[]{
- "${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME + "}/seam-gen/src/ConversationBean.java", //$NON-NLS-1$ //$NON-NLS-2$
+ "${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME + "}/seam-gen/src/ConversationJavaBean.java", //$NON-NLS-1$ //$NON-NLS-2$
"${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/action/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" + IParameter.SEAM_BEAN_NAME +"}.java"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
ACTION_WAR_MAPPING.add(new String[]{
- "${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME + "}/seam-gen/src/Conversation.java", //$NON-NLS-1$ //$NON-NLS-2$
- "${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/action/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" + IParameter.SEAM_LOCAL_INTERFACE_NAME +"}.java"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
- ACTION_WAR_MAPPING.add(new String[]{
"${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME + "}/seam-gen/view/conversation.xhtml", //$NON-NLS-1$ //$NON-NLS-2$
"${" + IParameter.SEAM_PROJECT_WEBCONTENT_PATH + "}/${" + IParameter.SEAM_PAGE_NAME +"}.xhtml"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
@@ -81,7 +78,7 @@
ACTION_EAR_MAPPING.add(new String[]{
"${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME + "}/seam-gen/src/Conversation.java", //$NON-NLS-1$ //$NON-NLS-2$
"${" + IParameter.SEAM_EJB_PROJECT_LOCATION_PATH + "}/ejbModule/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" + IParameter.SEAM_LOCAL_INTERFACE_NAME +"}.java"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
- ACTION_EAR_MAPPING.add(ACTION_WAR_MAPPING.get(2));
+ ACTION_EAR_MAPPING.add(ACTION_WAR_MAPPING.get(1));
}
/*
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-26 20:56:27 UTC (rev 4546)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizardPage1.java 2007-10-26 21:47:04 UTC (rev 4547)
@@ -30,29 +30,6 @@
setMessage(getDefaultMessageText());
}
- /**
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
- */
- @Override
- public void createControl(Composite parent) {
- setControl(new GridLayoutComposite(parent));
-
- if (!"".equals(editorRegistry.get(IParameter.SEAM_PROJECT_NAME).getValue())){
- Map errors = ValidatorFactory.SEAM_PROJECT_NAME_VALIDATOR.validate(
- getEditor(IParameter.SEAM_PROJECT_NAME).getValue(), null);
-
- if(errors.size()>0) {
- setErrorMessage(errors.get(IValidator.DEFAULT_ERROR).toString());
- getEditor(IParameter.SEAM_BEAN_NAME).setEnabled(false);
- }
- } else {
- if(getEditor(IParameter.SEAM_PACKAGE_NAME)!=null) {
- getEditor(IParameter.SEAM_PACKAGE_NAME).setEnabled(false);
- }
- }
- setPageComplete(false);
- }
-
/* (non-Javadoc)
* @see org.jboss.tools.seam.ui.wizard.SeamBaseWizardPage#getDefaultMessageText()
*/
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizard.java 2007-10-26 20:56:27 UTC (rev 4546)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizard.java 2007-10-26 21:47:04 UTC (rev 4547)
@@ -53,22 +53,6 @@
super(SeamUIMessages.SEAM_FORM_WIZARD_FORM_CREATING_OPERATION);
}
- public File getBeanFile(Map<String, Object> vars) {
- return new File(getSeamFolder(vars),"src/FormActionJavaBean.java"); //$NON-NLS-1$
- }
-
- public File getTestClassFile(Map<String, Object> vars) {
- return new File(getSeamFolder(vars),"test/FormTest.java"); //$NON-NLS-1$
- }
-
- public File getTestngXmlFile(Map<String, Object> vars) {
- return new File(getSeamFolder(vars),"test/testng.xml"); //$NON-NLS-1$
- }
-
- public File getPageXhtml(Map<String, Object> vars) {
- return new File(getSeamFolder(vars),"view/form.xhtml"); //$NON-NLS-1$
- }
-
/* (non-Javadoc)
* @see org.jboss.tools.seam.ui.wizard.SeamBaseOperation#getFileMappings(java.util.Map)
*/
16 years, 6 months