JBoss Tools SVN: r36244 - in trunk/maven: plugins/org.jboss.tools.maven.jaxrs/src/org/jboss/tools/maven/jaxrs/configurators and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: xcoulon
Date: 2011-11-09 05:47:47 -0500 (Wed, 09 Nov 2011)
New Revision: 36244
Added:
trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/ProjectUtil.java
trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/
trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/
trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/jaxrs-3layers-child/
trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/jaxrs-3layers-child/pom.xml
trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/pom.xml
trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/pom.xml
trunk/maven/tests/org.jboss.tools.maven.configurators.tests/src/org/jboss/tools/maven/core/
trunk/maven/tests/org.jboss.tools.maven.configurators.tests/src/org/jboss/tools/maven/core/ProjectUtilTest.java
Modified:
trunk/maven/plugins/org.jboss.tools.maven.jaxrs/src/org/jboss/tools/maven/jaxrs/configurators/JaxrsProjectConfigurator.java
Log:
FIXED - issue JBIDE-10037: EE6 EAR Archetype fails to close after completion
https://issues.jboss.org/browse/JBIDE-10037
Rework after fbricon's code review
Added: trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/ProjectUtil.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/ProjectUtil.java (rev 0)
+++ trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/ProjectUtil.java 2011-11-09 10:47:47 UTC (rev 36244)
@@ -0,0 +1,63 @@
+package org.jboss.tools.maven.core;
+
+import java.io.File;
+import java.net.URI;
+
+import org.apache.maven.project.MavenProject;
+import org.eclipse.core.internal.resources.Project;
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.jdt.core.JavaCore;
+
+/**
+ * A utility class for Eclipse Projects.
+ * @author Xavier Coulon
+ *
+ */
+public class ProjectUtil {
+
+ /**
+ * Refreshes the projects hierarchy. For example, if the project on
+ * which a facet should be installed is 'Parent1/Parent2/Child',
+ * then both Parent1, Parent2 and Child are refreshed.
+ *
+ * @param basedir : the base directory (absolute file system path) of the (child) project to refresh.
+ * @param refreshDepth: the refresh depth
+ * @param monitor : the progress monitor
+ * @return the number of projects that were refreshed
+ * @throws CoreException
+ * in case of problem during refresh
+ * @see IResource for depth values.
+ */
+ public static int refreshHierarchy(File basedir, int refreshDepth, IProgressMonitor monitor) throws CoreException {
+ try {
+ int count = 0;
+ final IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+ final IProject[] projects = root.getProjects();
+ final IPath rootLocation = root.getLocation();
+ IPath basedirPath = new Path(basedir.getAbsolutePath());
+ while(basedirPath.matchingFirstSegments(rootLocation) > 0) {
+ for(IProject project : projects) {
+ final IPath projectLocation = project.getLocation();
+ if(projectLocation.equals(basedirPath) && project.isOpen()) {
+ project.refreshLocal(refreshDepth, monitor);
+ count++;
+ break;
+ }
+ }
+ basedirPath = basedirPath.removeLastSegments(1);
+ }
+ return count;
+ } finally {
+ monitor.done();
+ }
+ }
+
+}
Property changes on: trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/ProjectUtil.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/maven/plugins/org.jboss.tools.maven.jaxrs/src/org/jboss/tools/maven/jaxrs/configurators/JaxrsProjectConfigurator.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.jaxrs/src/org/jboss/tools/maven/jaxrs/configurators/JaxrsProjectConfigurator.java 2011-11-09 10:14:43 UTC (rev 36243)
+++ trunk/maven/plugins/org.jboss.tools.maven.jaxrs/src/org/jboss/tools/maven/jaxrs/configurators/JaxrsProjectConfigurator.java 2011-11-09 10:47:47 UTC (rev 36244)
@@ -16,10 +16,12 @@
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IType;
@@ -44,6 +46,7 @@
import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
import org.jboss.tools.common.util.EclipseJavaUtil;
import org.jboss.tools.maven.core.IJBossMavenConstants;
+import org.jboss.tools.maven.core.ProjectUtil;
import org.jboss.tools.maven.core.internal.project.facet.MavenFacetInstallDataModelProvider;
import org.jboss.tools.maven.ui.Activator;
import org.maven.ide.eclipse.wtp.WarPluginConfiguration;
@@ -78,49 +81,11 @@
@Override
public void configure(ProjectConfigurationRequest request, IProgressMonitor monitor) throws CoreException {
MavenProject mavenProject = request.getMavenProject();
- refreshHierarchy(mavenProject, new SubProgressMonitor(monitor, 1));
IProject project = request.getProject();
configureInternal(mavenProject, project, monitor);
}
- /**
- * Refreshes the Maven projects hierarchy. For example, if the project on
- * which the JAX-RS facet should be installed is 'Parent1/Parent2/Child',
- * then both Parent1, Parent2 and Child are refreshed.
- *
- * @param mavenProject
- * @throws CoreException
- * in case of problem during refresh
- */
- private void refreshHierarchy(MavenProject mavenProject, IProgressMonitor monitor) throws CoreException {
- try {
- File basedir = mavenProject.getBasedir();
- IProject project = getProjectAt(basedir);
- while (project != null) {
- project.refreshLocal(IResource.DEPTH_INFINITE, monitor);
- basedir = basedir.getParentFile();
- project = getProjectAt(basedir);
- }
- } finally {
- monitor.done();
- }
- }
- /**
- * Returns the project given its absolute location on the filesystem
- * @param basedir
- * @return the project or null if no project exists at the given location
- */
- private IProject getProjectAt(File basedir) {
- IProject[] projects = ResourcesPlugin.getWorkspace().getRoot()
- .getProjects();
- for (IProject project : projects) {
- if (project.getLocation().toFile().equals(basedir)) {
- return project;
- }
- }
- return null;
- }
private void configureInternal(MavenProject mavenProject,IProject project,
@@ -169,6 +134,9 @@
if (facetVersion != null) {
IStatus status = facetVersion.getConstraint().check(fproj.getProjectFacets());
if (status.isOK()) {
+ // refreshing the project hierarchy to make sure that Eclipse "sees" the .settings folder and file, to be able to add the JAX-RS Facet
+ // see https://issues.jboss.org/browse/JBIDE-10037
+ ProjectUtil.refreshHierarchy(mavenProject.getBasedir(), IResource.DEPTH_INFINITE, new SubProgressMonitor(monitor, 1));
IDataModel model = createJaxRsDataModel(fproj,facetVersion);
WarPluginConfiguration config = new WarPluginConfiguration(mavenProject, fproj.getProject());
String warSourceDirectory = config.getWarSourceDirectory();
Added: trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/jaxrs-3layers-child/pom.xml
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/jaxrs-3layers-child/pom.xml (rev 0)
+++ trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/jaxrs-3layers-child/pom.xml 2011-11-09 10:47:47 UTC (rev 36244)
@@ -0,0 +1,18 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>jaxrs-3layers-middle</artifactId>
+ <groupId>foo.bar</groupId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <artifactId>jaxrs-3layers-child</artifactId>
+ <packaging>war</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.spec.javax.ws.rs</groupId>
+ <artifactId>jboss-jaxrs-api_1.1_spec</artifactId>
+ <scope>provided</scope>
+ <version>1.0.0.Final</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Property changes on: trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/jaxrs-3layers-child/pom.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/pom.xml
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/pom.xml (rev 0)
+++ trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/pom.xml 2011-11-09 10:47:47 UTC (rev 36244)
@@ -0,0 +1,13 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>jaxrs-3layers-root</artifactId>
+ <groupId>foo.bar</groupId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <artifactId>jaxrs-3layers-middle</artifactId>
+ <packaging>pom</packaging>
+ <modules>
+ <module>jaxrs-3layers-child</module>
+ </modules>
+</project>
\ No newline at end of file
Property changes on: trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/pom.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/pom.xml
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/pom.xml (rev 0)
+++ trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/pom.xml 2011-11-09 10:47:47 UTC (rev 36244)
@@ -0,0 +1,10 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>foo.bar</groupId>
+ <artifactId>jaxrs-3layers-root</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <modules>
+ <module>jaxrs-3layers-middle</module>
+ </modules>
+</project>
\ No newline at end of file
Property changes on: trunk/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jaxrs/jaxrs-3layers-root/pom.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/maven/tests/org.jboss.tools.maven.configurators.tests/src/org/jboss/tools/maven/core/ProjectUtilTest.java
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.configurators.tests/src/org/jboss/tools/maven/core/ProjectUtilTest.java (rev 0)
+++ trunk/maven/tests/org.jboss.tools.maven.configurators.tests/src/org/jboss/tools/maven/core/ProjectUtilTest.java 2011-11-09 10:47:47 UTC (rev 36244)
@@ -0,0 +1,28 @@
+package org.jboss.tools.maven.core;
+
+import java.io.File;
+import java.io.IOException;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.m2e.core.project.ResolverConfiguration;
+import org.jboss.tools.maven.configurators.tests.AbstractMavenConfiguratorTest;
+import org.junit.Test;
+
+@SuppressWarnings("restriction")
+public class ProjectUtilTest extends AbstractMavenConfiguratorTest {
+
+ @Test
+ public void testShouldRefreshProjectHierarchy() throws IOException, CoreException, InterruptedException {
+ //String projectLocation = "projects/jaxrs/jaxrs-3layers-root/jaxrs-3layers-middle/jaxrs-3layers-child";
+ IProject[] jaxrsProject = importProjects("projects/jaxrs/",
+ new String[]{"jaxrs-3layers-root/pom.xml",
+ "jaxrs-3layers-root/jaxrs-3layers-middle/pom.xml",
+ "jaxrs-3layers-root/jaxrs-3layers-middle/jaxrs-3layers-child/pom.xml"}, new ResolverConfiguration());
+ waitForJobsToComplete(new NullProgressMonitor());
+ File basedir = jaxrsProject[2].getLocation().toFile();
+ assertEquals(3, ProjectUtil.refreshHierarchy(basedir, IResource.DEPTH_INFINITE, new NullProgressMonitor()));
+ }
+}
Property changes on: trunk/maven/tests/org.jboss.tools.maven.configurators.tests/src/org/jboss/tools/maven/core/ProjectUtilTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
14 years, 2 months
JBoss Tools SVN: r36243 - trunk/common/plugins/org.jboss.tools.common.jdt.ui/src/org/jboss/tools/common/jdt/ui/buildpath/dialog.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2011-11-09 05:14:43 -0500 (Wed, 09 Nov 2011)
New Revision: 36243
Modified:
trunk/common/plugins/org.jboss.tools.common.jdt.ui/src/org/jboss/tools/common/jdt/ui/buildpath/dialog/MaterializeLibraryDialog.java
Log:
JBIDE-10015 : fix entering cells in edit mode on windows.
Added a Reset button
Modified: trunk/common/plugins/org.jboss.tools.common.jdt.ui/src/org/jboss/tools/common/jdt/ui/buildpath/dialog/MaterializeLibraryDialog.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.jdt.ui/src/org/jboss/tools/common/jdt/ui/buildpath/dialog/MaterializeLibraryDialog.java 2011-11-09 08:09:59 UTC (rev 36242)
+++ trunk/common/plugins/org.jboss.tools.common.jdt.ui/src/org/jboss/tools/common/jdt/ui/buildpath/dialog/MaterializeLibraryDialog.java 2011-11-09 10:14:43 UTC (rev 36243)
@@ -59,336 +59,333 @@
public class MaterializeLibraryDialog extends TitleAreaDialog {
- private static final String TITLE = "Materialize ";
+ private static final String TITLE = "Materialize ";
- private static final String SOURCE_PROPERTY = "SOURCE_PROPERTY";
+ private static final String SOURCE_PROPERTY = "SOURCE_PROPERTY";
- private static final String FILENAME_PROPERTY = "FILENAME_PROPERTY";
+ private static final String FILENAME_PROPERTY = "FILENAME_PROPERTY";
- private IFolder libFolder;
- private Map<IClasspathEntry, String> classpathEntryPaths;
- private Map<IPath, String> selectedClasspathEntryPaths;
+ private IFolder libFolder;
+ private Map<IClasspathEntry, String> classpathEntryPaths;
+ private Map<IPath, String> selectedClasspathEntryPaths;
+ private IClasspathContainer containerToMaterialize;
- private final String libName;
+ private final String libName;
- private Image jarImage;
- private Image projectImage;
+ private Image jarImage;
+ private Image projectImage;
- // private StringButtonDialogField libFolderDialogField;
+ private Text libfolderText;
- private Text libfolderText;
+ private CheckboxTableViewer classpathEntriesViewer;
- private CheckboxTableViewer classpathEntriesViewer;
+ private Button keepSourceBtn;
- private Button keepSourceBtn;
+ private boolean keepSources;
- private boolean keepSources;
+ public MaterializeLibraryDialog(Shell shell, IProject project, IClasspathContainer containerToMaterialize, String defaultLib) {
+ super(shell);
+ setShellStyle(super.getShellStyle() | SWT.RESIZE | SWT.MODELESS);
+ this.libName = containerToMaterialize.getDescription();
+ IPath folderPath = project.getFullPath().append(defaultLib);
+ libFolder = ResourcesPlugin.getWorkspace().getRoot().getFolder(folderPath);
+ this.containerToMaterialize = containerToMaterialize;
+ initClasspathEntryPaths();
+ }
+ private void initClasspathEntryPaths() {
+ IClasspathEntry[] cpEntries = containerToMaterialize.getClasspathEntries();
+ classpathEntryPaths = new LinkedHashMap<IClasspathEntry, String>(cpEntries.length);
+ for (IClasspathEntry entry : cpEntries) {
+ if ((entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY && entry.getPath() != null)
+ || (entry.getEntryKind() == IClasspathEntry.CPE_PROJECT)) {
+ IPath sourceFilePath = entry.getPath();
+ String fileName = sourceFilePath.lastSegment();
+ classpathEntryPaths.put(entry, fileName);
+ }
+ }
+ }
- public MaterializeLibraryDialog(Shell shell, IProject project, IClasspathContainer containerToMaterialize, String defaultLib) {
- super(shell);
- setShellStyle(super.getShellStyle() | SWT.RESIZE | SWT.MODELESS);
- this.libName = containerToMaterialize.getDescription();
- IPath folderPath = project.getFullPath().append(defaultLib);
- libFolder = ResourcesPlugin.getWorkspace().getRoot().getFolder(folderPath);
- initClasspathEntryPaths(containerToMaterialize);
- }
+ @Override
+ protected void configureShell(Shell shell) {
+ super.configureShell(shell);
+ shell.setText(TITLE + "Classpath Library");
+ }
- private void initClasspathEntryPaths(IClasspathContainer container) {
- IClasspathEntry[] cpEntries = container.getClasspathEntries();
- classpathEntryPaths = new LinkedHashMap<IClasspathEntry, String>(cpEntries.length);
- for (IClasspathEntry entry : cpEntries) {
- if ((entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY && entry.getPath() != null)
- || (entry.getEntryKind() == IClasspathEntry.CPE_PROJECT)) {
- IPath sourceFilePath = entry.getPath();
- String fileName = sourceFilePath.lastSegment();
- classpathEntryPaths.put(entry, fileName);
- }
- }
- }
+ private void initImages() {
+ jarImage = JDTExtUIActivator.getJarIcon();
+ projectImage = JDTExtUIActivator.getProjectIcon();
+ }
- @Override
- protected void configureShell(Shell shell) {
- super.configureShell(shell);
- shell.setText(TITLE + "Classpath Library");
- }
+ @Override
+ protected Control createDialogArea(Composite parent) {
- private void initImages() {
- jarImage =JDTExtUIActivator.getJarIcon();
- projectImage= JDTExtUIActivator.getProjectIcon();
- }
-
-
- @Override
- protected Control createDialogArea(Composite parent) {
-
- initImages();
- setTitle(TITLE + libName);
-
- Composite area = (Composite) super.createDialogArea(parent);
+ initImages();
+ setTitle(TITLE + libName);
- Composite container = new Composite(area, SWT.NONE);
- container.setEnabled(true);
+ Composite area = (Composite) super.createDialogArea(parent);
- GridLayout layout = new GridLayout(3, false);
- layout.marginLeft = 12;
- container.setLayout(layout);
- container.setLayoutData(new GridData(GridData.FILL_BOTH));
+ Composite container = new Composite(area, SWT.NONE);
+ container.setEnabled(true);
- setMessage("Copy selected jars from " + libName + " to the destination folder.");
+ GridLayout layout = new GridLayout(3, false);
+ layout.marginLeft = 12;
+ container.setLayout(layout);
+ container.setLayoutData(new GridData(GridData.FILL_BOTH));
- // ContainerFieldAdapter adapter= new ContainerFieldAdapter();
- // libFolderDialogField = new StringButtonDialogField(adapter);
- // libFolderDialogField.setLabelText("Destination folder");
- // libFolderDialogField.setButtonLabel("Browse...");
- // libFolderDialogField.doFillIntoGrid(container,
- // libFolderDialogField.getNumberOfControls());
- // LayoutUtil.setWidthHint(libFolderDialogField.getTextControl(null),
- // convertWidthInCharsToPixels(40));
+ setMessage("Copy selected jars from " + libName
+ + " to the destination folder.");
- Label libFolderLabel = new Label(container, SWT.NONE);
- libFolderLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));
- libFolderLabel.setText("Destination folder");
+ Label libFolderLabel = new Label(container, SWT.NONE);
+ libFolderLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false,
+ false, 1, 1));
+ libFolderLabel.setText("Destination folder");
- libfolderText = new Text(container, SWT.BORDER);
- libfolderText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
- libfolderText.setEditable(true);
- libfolderText.setText(libFolder.getFullPath().toPortableString());
- libfolderText.addModifyListener(new ModifyListener() {
- @Override
- public void modifyText(ModifyEvent event) {
- validate();
- }
- });
+ libfolderText = new Text(container, SWT.BORDER);
+ libfolderText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
+ false, 1, 1));
+ libfolderText.setEditable(true);
+ libfolderText.setText(libFolder.getFullPath().toPortableString());
+ libfolderText.addModifyListener(new ModifyListener() {
+ @Override
+ public void modifyText(ModifyEvent event) {
+ validate();
+ }
+ });
- addSelectFolderButton(container);
- // libFolderDialogField.setText(libFolder.getFullPath().toPortableString());
- displayClasspathEntriesTable(container);
+ addSelectFolderButton(container);
+ displayClasspathEntriesTable(container);
- return area;
- }
+ return area;
+ }
- private void addSelectFolderButton(Composite container) {
-
- Button button = new Button(container, SWT.NONE);
- button.setLayoutData(new GridData(SWT.FILL, SWT.UP,
- false, false, 1, 1));
- button.setText("Select Folder");
- button.addSelectionListener(new SelectionListener() {
+ private void addSelectFolderButton(Composite container) {
+
+ Button button = new Button(container, SWT.NONE);
+ button.setLayoutData(new GridData(SWT.FILL, SWT.UP, false, false, 1, 1));
+ button.setText("Select Folder");
+ button.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
- ContainerSelectionDialog dialog = new ContainerSelectionDialog(getShell(), getLibFolderFromText(libfolderText.getText()), true, "Select Destination Folder");
- dialog.setTitle("Container Selection");
- dialog.open();
- Object[] result = dialog.getResult();
- if (result != null && result[0] instanceof IPath) {
- libfolderText.setText(((IPath)result[0]).toPortableString());
- }
+ ContainerSelectionDialog dialog = new ContainerSelectionDialog(
+ getShell(),
+ getLibFolderFromText(libfolderText.getText()),
+ true,
+ "Select Destination Folder");
+ dialog.setTitle("Container Selection");
+ dialog.open();
+ Object[] result = dialog.getResult();
+ if (result != null && result[0] instanceof IPath) {
+ libfolderText.setText(((IPath) result[0]).toPortableString());
+ }
}
-
+
public void widgetDefaultSelected(SelectionEvent e) {
}
});
- }
+ }
- @Override
- public boolean close() {
- if (jarImage != null) {
- jarImage.dispose();
+ @Override
+ public boolean close() {
+ if (jarImage != null) {
+ jarImage.dispose();
+ }
+ if (projectImage != null) {
+ projectImage.dispose();
+ }
+ return super.close();
}
- if (projectImage!= null) {
- projectImage.dispose();
- }
- return super.close();
- }
-
- private void displayClasspathEntriesTable(Composite container) {
- GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true, 2, 4);
- gd.heightHint = 500;
- gd.widthHint = 600;
- classpathEntriesViewer = CheckboxTableViewer.newCheckList(container, SWT.BORDER | SWT.MULTI);
- Table table = classpathEntriesViewer.getTable();
- table.setFocus();
- table.setLayoutData(gd);
- table.setLinesVisible(true);
- table.setHeaderVisible(true);
+ private void displayClasspathEntriesTable(Composite container) {
+ GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true, 2, 4);
+ gd.heightHint = 500;
+ gd.widthHint = 550;
- TableColumn emptyColumn = new TableColumn(table, SWT.NONE);
- emptyColumn.setWidth(20);
+ classpathEntriesViewer = CheckboxTableViewer.newCheckList(container,
+ SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL);
+ Table table = classpathEntriesViewer.getTable();
+ table.setFocus();
+ table.setLayoutData(gd);
+ table.setLinesVisible(true);
+ table.setHeaderVisible(true);
- TableViewerColumn sourceColumn = new TableViewerColumn(classpathEntriesViewer, SWT.NONE);
- sourceColumn.getColumn().setText("Source ");
- sourceColumn.getColumn().setWidth(300);
+ TableColumn emptyColumn = new TableColumn(table, SWT.NONE);
+ emptyColumn.setWidth(20);
+ TableViewerColumn sourceColumn = new TableViewerColumn(classpathEntriesViewer, SWT.NONE);
+ sourceColumn.getColumn().setText("Source ");
+ sourceColumn.getColumn().setWidth(299);
- TableViewerColumn destinationColumn = new TableViewerColumn(classpathEntriesViewer, SWT.NONE);
- destinationColumn.getColumn().setText("Copy as...");
- destinationColumn.getColumn().setWidth(200);
+ TableViewerColumn destinationColumn = new TableViewerColumn(classpathEntriesViewer, SWT.NONE);
+ destinationColumn.getColumn().setText("Copy as...");
+ destinationColumn.getColumn().setWidth(248);
- classpathEntriesViewer.setContentProvider(ArrayContentProvider.getInstance());
- classpathEntriesViewer.setLabelProvider(new ClasspathEntryLabelProvider());
- classpathEntriesViewer.addCheckStateListener(new ICheckStateListener() {
- public void checkStateChanged(CheckStateChangedEvent event) {
- refresh();
- }
- });
- classpathEntriesViewer.setInput(classpathEntryPaths.entrySet());
- classpathEntriesViewer.setAllChecked(true);
+ classpathEntriesViewer.setContentProvider(ArrayContentProvider.getInstance());
+ classpathEntriesViewer.setLabelProvider(new ClasspathEntryLabelProvider());
+ classpathEntriesViewer.addCheckStateListener(new ICheckStateListener() {
+ public void checkStateChanged(CheckStateChangedEvent event) {
+ refresh();
+ }
+ });
+ classpathEntriesViewer.setInput(classpathEntryPaths.entrySet());
+ classpathEntriesViewer.setAllChecked(true);
-
- addSelectionButton(container, "Select All", true);
- addSelectionButton(container, "Deselect All", false);
-
- keepSourceBtn = addCheckButton(container, "Keep source attachments", keepSources);
- keepSourceBtn.setToolTipText("Source attachment paths may contain absolute paths");
- addTableListeners();
+ addSelectionButton(container, "Select All", true);
+ addSelectionButton(container, "Deselect All", false);
+ addResetButton(container, "Reset");
- }
+ keepSourceBtn = addCheckButton(container, "Keep source attachments", keepSources);
+ keepSourceBtn.setToolTipText("Source attachment paths may contain absolute paths");
+ addTableListeners();
- private Button addCheckButton(Composite container, String label, boolean selected) {
+ }
+
+ private Button addCheckButton(Composite container, String label,
+ boolean selected) {
Button checkBtn = new Button(container, SWT.CHECK);
checkBtn.setText(label);
- checkBtn.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER,
- true, false, 2, 1));
+ checkBtn.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1));
checkBtn.setSelection(selected);
return checkBtn;
- }
-
- private void addTableListeners() {
- addCellEditors();
- }
+ }
- protected void addCellEditors() {
- classpathEntriesViewer.setColumnProperties(new String[] {
- "EMPTY", SOURCE_PROPERTY, FILENAME_PROPERTY });
+ private void addTableListeners() {
+ addCellEditors();
+ }
- TextCellEditor ce = new TextCellEditor(classpathEntriesViewer.getTable());
- CellEditor[] editors = new CellEditor[] {null, ce, ce };
-
- classpathEntriesViewer.setCellEditors(editors);
- classpathEntriesViewer.setCellModifier(new FileNameCellModifier());
- }
+ protected void addCellEditors() {
+ classpathEntriesViewer.setColumnProperties(
+ new String[] { "EMPTY", SOURCE_PROPERTY, FILENAME_PROPERTY });
- public Map<IPath, String> getSelectedClasspathEntryPaths() {
- return selectedClasspathEntryPaths;
- }
+ TextCellEditor ce = new TextCellEditor( classpathEntriesViewer.getTable());
+ CellEditor[] editors = new CellEditor[] { null, ce, ce };
+ classpathEntriesViewer.setCellEditors(editors);
+ classpathEntriesViewer.setCellModifier(new FileNameCellModifier());
+ }
- public IFolder getLibFolder() {
- return libFolder;
- }
+ public Map<IPath, String> getSelectedClasspathEntryPaths() {
+ return selectedClasspathEntryPaths;
+ }
- public boolean isKeepSources() {
- return keepSources;
- }
+ public IFolder getLibFolder() {
+ return libFolder;
+ }
- private static IFolder getLibFolderFromText(String text) {
- String portablePath = text.replaceAll("\\\\", "/");
- IPath path = new Path(portablePath);
- return ResourcesPlugin.getWorkspace().getRoot().getFolder(path);
- }
+ public boolean isKeepSources() {
+ return keepSources;
+ }
- @Override
- protected void okPressed() {
- if (!validate()) {
- return;
+ private static IFolder getLibFolderFromText(String text) {
+ String portablePath = text.replaceAll("\\\\", "/");
+ IPath path = new Path(portablePath);
+ return ResourcesPlugin.getWorkspace().getRoot().getFolder(path);
}
- libFolder = getLibFolderFromText(libfolderText.getText());
- keepSources = keepSourceBtn.getSelection();
- super.okPressed();
- }
- private boolean validate() {
- boolean valid = validateLibFolder() && validateEntries();
- if (valid) {
- setErrorMessage(null);
- }
- return valid;
- }
-
- private boolean validateLibFolder() {
- IFolder folder = getLibFolderFromText(libfolderText.getText());
- String ancestorPath = folder.getFullPath().segment(0);
- IResource ancestor = ResourcesPlugin.getWorkspace().getRoot().findMember(ancestorPath);
- if (ancestor == null || !ancestor.exists()) {
- setErrorMessage(ancestorPath + " does not exist ");
- return false;
- }
- return true;
- }
+ @Override
+ protected void okPressed() {
+ if (!validate()) {
+ return;
+ }
+ libFolder = getLibFolderFromText(libfolderText.getText());
+ keepSources = keepSourceBtn.getSelection();
+ super.okPressed();
+ }
- private boolean validateEntries() {
- Object[] selection = classpathEntriesViewer.getCheckedElements();
- selectedClasspathEntryPaths = new LinkedHashMap<IPath, String>(selection.length);
- for (Object o : selection) {
- @SuppressWarnings("unchecked")
- Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>)o;
- if (entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
- String name = entry.getValue();
- if (!checkValidName(name)) {
- setErrorMessage(name + " is not a valid file name");
- return false;
- }
- }
- selectedClasspathEntryPaths.put(entry.getKey().getPath(),entry.getValue());
- }
-
- Set<String> duplicates = findDuplicates(selectedClasspathEntryPaths.values());
- if (!duplicates.isEmpty()) {
- setErrorMessage("Duplicate entries found : "+duplicates.toString());
- return false;
- }
- return true;
- }
+ private boolean validate() {
+ boolean valid = validateLibFolder() && validateEntries();
+ if (valid) {
+ setErrorMessage(null);
+ }
+ return valid;
+ }
- private Set<String> findDuplicates(Collection<String> values) {
- Set<String> uniqueNames = new HashSet<String>(values.size());
- Set<String> duplicateNames = new HashSet<String>();
- for (String name : values) {
- if (!uniqueNames.add(name)) {
- duplicateNames.add(name);
+ private boolean validateLibFolder() {
+ IFolder folder = getLibFolderFromText(libfolderText.getText());
+ String ancestorPath = folder.getFullPath().segment(0);
+ IResource ancestor = ResourcesPlugin.getWorkspace().getRoot()
+ .findMember(ancestorPath);
+ if (ancestor == null || !ancestor.exists()) {
+ setErrorMessage(ancestorPath + " does not exist ");
+ return false;
}
+ return true;
}
- return duplicateNames;
-}
-private class ClasspathEntryLabelProvider extends LabelProvider implements ITableLabelProvider {
+ private boolean validateEntries() {
+ Object[] selection = classpathEntriesViewer.getCheckedElements();
+ selectedClasspathEntryPaths = new LinkedHashMap<IPath, String>(
+ selection.length);
+ for (Object o : selection) {
+ @SuppressWarnings("unchecked")
+ Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) o;
+ if (entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
+ String name = entry.getValue();
+ if (!checkValidName(name)) {
+ setErrorMessage(name + " is not a valid file name");
+ return false;
+ }
+ }
+ selectedClasspathEntryPaths.put(entry.getKey().getPath(),
+ entry.getValue());
+ }
- private static final int SOURCE_COLUMN = 1;
- private static final int FILENAME_COLUMN = 2;
+ Set<String> duplicates = findDuplicates(selectedClasspathEntryPaths.values());
+ if (!duplicates.isEmpty()) {
+ setErrorMessage("Duplicate entries found : " + duplicates.toString());
+ return false;
+ }
+ return true;
+ }
- public String getColumnText(Object element, int columnIndex) {
- Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
- StringBuilder text = new StringBuilder();
- if (entry != null) {
- if (columnIndex == SOURCE_COLUMN) {
- text.append(entry.getKey().getPath().lastSegment());
- } else if (columnIndex == FILENAME_COLUMN){
- text.append(entry.getValue());
- }
- }
+ private Set<String> findDuplicates(Collection<String> values) {
+ Set<String> uniqueNames = new HashSet<String>(values.size());
+ Set<String> duplicateNames = new HashSet<String>();
+ for (String name : values) {
+ if (!uniqueNames.add(name)) {
+ duplicateNames.add(name);
+ }
+ }
+ return duplicateNames;
+ }
- return text.toString();
- }
+ private class ClasspathEntryLabelProvider extends LabelProvider implements
+ ITableLabelProvider {
- @Override
- public Image getColumnImage(Object element, int columnIndex) {
- Image img = null;
- if (columnIndex > 0) {
- Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
- if (entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
- img = jarImage;
- } else {
- img = projectImage;
- }
- }
- return img;
- }
- }
+ private static final int SOURCE_COLUMN = 1;
+ private static final int FILENAME_COLUMN = 2;
- private Button addSelectionButton(Composite container, String label, final boolean ischecked) {
+ public String getColumnText(Object element, int columnIndex) {
+ Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
+ StringBuilder text = new StringBuilder();
+ if (entry != null) {
+ if (columnIndex == SOURCE_COLUMN) {
+ text.append(entry.getKey().getPath().lastSegment());
+ } else if (columnIndex == FILENAME_COLUMN) {
+ text.append(entry.getValue());
+ }
+ }
+
+ return text.toString();
+ }
+
+ @Override
+ public Image getColumnImage(Object element, int columnIndex) {
+ Image img = null;
+ if (columnIndex > 0) {
+ Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
+ if (entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
+ img = jarImage;
+ } else {
+ img = projectImage;
+ }
+ }
+ return img;
+ }
+ }
+
+ private Button addSelectionButton(Composite container, String label,
+ final boolean ischecked) {
Button button = new Button(container, SWT.NONE);
- button.setLayoutData(new GridData(SWT.FILL, SWT.UP,
- false, false, 1, 1));
+ button.setLayoutData(new GridData(SWT.FILL, SWT.UP, false, false, 1, 1));
button.setText(label);
button.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
@@ -400,60 +397,81 @@
}
});
-
+
return button;
}
-
- protected void refresh() {
- classpathEntriesViewer.refresh();
- }
- private class FileNameCellModifier implements ICellModifier {
+ private Button addResetButton(Composite container, String label) {
+ Button button = new Button(container, SWT.NONE);
+ button.setLayoutData(new GridData(SWT.FILL, SWT.UP, false, false, 1, 1));
+ button.setText(label);
+ button.addSelectionListener(new SelectionListener() {
+ public void widgetSelected(SelectionEvent e) {
+ initClasspathEntryPaths();
+ classpathEntriesViewer.setInput(classpathEntryPaths.entrySet());
+ classpathEntriesViewer.setAllChecked(true);
+ refresh();
+ }
- public boolean canModify(Object element, String property) {
- Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
- return (entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY) &&
- (FILENAME_PROPERTY.equals(property) || SOURCE_PROPERTY.equals(property)) ;
- }
+ public void widgetDefaultSelected(SelectionEvent e) {
- public Object getValue(Object element, String property) {
- Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
- //if(entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
- if (property.equals(SOURCE_PROPERTY)) {
- return entry.getKey().getPath().toOSString();
- } else if (property.equals(FILENAME_PROPERTY)) {
- return entry.getValue();
- }
- //}
- return ""; //$NON-NLS-1$
- }
+ }
+ });
- public void modify(Object element, String property, Object value) {
- if (property.equals(FILENAME_PROPERTY)) {
- TableItem item = (TableItem)element;
- Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) item.getData();
- if(entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
- String name = value.toString();
- entry.setValue(name);
- validate();
- classpathEntriesViewer.refresh();
- }
- }
- }
- }
+ return button;
+ }
+ protected void refresh() {
+ classpathEntriesViewer.refresh();
+ }
+
+ private class FileNameCellModifier implements ICellModifier {
+
+ public boolean canModify(Object element, String property) {
+ Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
+ return (entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY)
+ && (FILENAME_PROPERTY.equals(property) || SOURCE_PROPERTY
+ .equals(property));
+ }
+
+ public Object getValue(Object element, String property) {
+ Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
+ // if(entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY)
+ // {
+ if (property.equals(SOURCE_PROPERTY)) {
+ return entry.getKey().getPath().toOSString();
+ } else if (property.equals(FILENAME_PROPERTY)) {
+ return entry.getValue();
+ }
+ // }
+ return ""; //$NON-NLS-1$
+ }
+
+ public void modify(Object element, String property, Object value) {
+ if (property.equals(FILENAME_PROPERTY)) {
+ TableItem item = (TableItem) element;
+ Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) item
+ .getData();
+ if (entry.getKey().getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
+ String name = value.toString();
+ entry.setValue(name);
+ validate();
+ classpathEntriesViewer.refresh();
+ }
+ }
+ }
+ }
+
public boolean checkValidName(String name) {
- //TODO checks for :
+ // TODO checks for :
// - duplicates
// - existing CPE
IWorkspace workspace = ResourcesPlugin.getWorkspace();
IStatus result = workspace.validateName(name, IResource.FILE);
if (!result.isOK()) {
- return false;
+ return false;
}
- return !name.contains("\\") &&
- (name.endsWith(".jar") || name.endsWith(".zip"));
+ return !name.contains("\\")
+ && (name.endsWith(".jar") || name.endsWith(".zip"));
}
-
-
}
14 years, 2 months
JBoss Tools SVN: r36242 - in trunk/documentation/whatsnew: core and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2011-11-09 03:09:59 -0500 (Wed, 09 Nov 2011)
New Revision: 36242
Modified:
trunk/documentation/whatsnew/core/core-news-3.3.0.M4.html
trunk/documentation/whatsnew/upload.sh
Log:
JBIDE-9954 fixed upload.sh to include core explicitliy
Modified: trunk/documentation/whatsnew/core/core-news-3.3.0.M4.html
===================================================================
--- trunk/documentation/whatsnew/core/core-news-3.3.0.M4.html 2011-11-09 07:45:55 UTC (rev 36241)
+++ trunk/documentation/whatsnew/core/core-news-3.3.0.M4.html 2011-11-09 08:09:59 UTC (rev 36242)
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
+<head>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../whatsnew.css"/>
@@ -20,7 +20,7 @@
})();
</script></head>
-<body>
+<body>
<h1>Core/Common 3.3.0.M4 What's New</h1>
<p align="right"><a href="../index.html">< Main Index</a>
Modified: trunk/documentation/whatsnew/upload.sh
===================================================================
--- trunk/documentation/whatsnew/upload.sh 2011-11-09 07:45:55 UTC (rev 36241)
+++ trunk/documentation/whatsnew/upload.sh 2011-11-09 08:09:59 UTC (rev 36242)
@@ -1 +1 @@
-rsync -i -I -c -P -C --protocol=29 --exclude-from '.rsyncexclude' -avz . tools@filemgmt.jboss.org:/docs_htdocs/tools/whatsnew/
+rsync -i -I -c -P -C --protocol=29 --exclude-from '.rsyncexclude' --include=core -avz . tools@filemgmt.jboss.org:/docs_htdocs/tools/whatsnew/
14 years, 2 months
JBoss Tools SVN: r36241 - in trunk/documentation/whatsnew: central and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2011-11-09 02:45:55 -0500 (Wed, 09 Nov 2011)
New Revision: 36241
Added:
trunk/documentation/whatsnew/central/
trunk/documentation/whatsnew/central/central-news-1.0.0.M4.html
trunk/documentation/whatsnew/images/jbosscentraldownloadas.png
trunk/documentation/whatsnew/images/jbosscentraleditor.png
trunk/documentation/whatsnew/images/jbosscentralfeeds.png
trunk/documentation/whatsnew/images/jbosscentralprojects.png
trunk/documentation/whatsnew/images/jbosscentralsearch.png
trunk/documentation/whatsnew/images/jbosscentralsoftwareupdate.png
Modified:
trunk/documentation/whatsnew/esb/esb-news-1.4.0.Beta1.html
trunk/documentation/whatsnew/esb/esb-news-1.4.0.Beta2.html
trunk/documentation/whatsnew/esb/esb-news-1.5.1.M4.html
trunk/documentation/whatsnew/examples/examples-news-3.3.0.M4.html
trunk/documentation/whatsnew/index.html
trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.M4.html
Log:
JBIDE-9954 added central news, fixed stray links in esb and general cleanup
Added: trunk/documentation/whatsnew/central/central-news-1.0.0.M4.html
===================================================================
--- trunk/documentation/whatsnew/central/central-news-1.0.0.M4.html (rev 0)
+++ trunk/documentation/whatsnew/central/central-news-1.0.0.M4.html 2011-11-09 07:45:55 UTC (rev 36241)
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>JBoss Central 1.0.0.M4 What's New</title>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-17645367-5']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script></head>
+<body>
+<h1>JBoss Central 1.0.0.M4 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a>
+</p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>General</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemnam1e" id="itemname1"></a><b>JBoss Central "Editor"</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>JBoss Central is an editor that will show up when you install
+ JBoss Tools and give you a central hub of getting started with
+ the various wizards, quickstarts/project examples, jboss.org
+ news/blogs and a way to easily install additional plugins from
+ JBoss Tools team and others.
+ </p>
+
+ <p>It shows up in Eclipse editor area when you start up Eclipse
+ - if you don't want it to show on startup you can disable that
+ in the preferences or under the "Settings" section.</p>
+
+ <p><img src="../images/jbosscentraleditor.png"/></p>
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9368">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemnam1e" id="itemname1"></a><b>Search and quick access buttons</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The top section of JBoss Central provides an easy way to search
+ jboss.org and the knowledge base from Red Hat. The result will
+ show up in the browser configured in Eclipse preferences.
+ </p>
+
+ <p>There is is also a set of quick access icons to access JBoss
+ Tools homepage, Eclipse Marketplace, Preferences and Twitter account.</p>
+
+ <p><img src="../images/jbosscentralsearch.png"/></p>
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9368">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemnam1e" id="itemname1"></a><b>News</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>On the right side of JBoss Central there are two feeds, one
+ for News another for Blogs - all related to jboss.org and JBoss technology.
+ </p>
+
+ <p>The feeds can be refreshed and if you want to subscribe to
+ these feeds in your newsreader you can click the RSS & Blog icon
+ to get the feedd address.</p>
+
+ <p><img src="../images/jbosscentralfeeds.png"/></p>
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9368">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemnam1e" id="itemname1"></a><b>Create
+ Projects/Project Examples</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>On the left side there are quick access to central wizards in
+ Eclipse & JBoss Tools which will create and setup projects for you.</p>
+
+ <p>In the Project Examples section there is a selected set of
+ Project Examples to get you started using JBoss AS.</p>
+
+ <p><img src="../images/jbosscentralprojects.png"/></p>
+
+ <p>If the examples requires certain runtimes or plugins it will
+ let you know and in case there is a publically available
+ download available it will offer to Download and install
+ it.</p>
+
+ <p><img src="../images/jbosscentraldownloadas.png"/></p>
+
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9368">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemnam1e" id="itemname1"></a><b>Software/Update</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The second tab of JBoss Central provides a list of plugins
+ which works with JBoss Tools - initially we've just added some
+ basic plugins like Maven JBoss Tools integration, TestNG and
+ eGit.</p>
+
+ <p><img src="../images/jbosscentralsoftwareupdate.png"/></p>
+
+ <p>In the future we will add more to this list as they come available.</p>
+
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9368">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+</table>
+
+</body>
+
+</html>
Modified: trunk/documentation/whatsnew/esb/esb-news-1.4.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/esb/esb-news-1.4.0.Beta1.html 2011-11-09 06:39:47 UTC (rev 36240)
+++ trunk/documentation/whatsnew/esb/esb-news-1.4.0.Beta1.html 2011-11-09 07:45:55 UTC (rev 36241)
@@ -1,4 +1,4 @@
- <p><a href="smooks/smooks-news-1.1.0.CR1.html">Smooks Tools</a></p> <?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Modified: trunk/documentation/whatsnew/esb/esb-news-1.4.0.Beta2.html
===================================================================
--- trunk/documentation/whatsnew/esb/esb-news-1.4.0.Beta2.html 2011-11-09 06:39:47 UTC (rev 36240)
+++ trunk/documentation/whatsnew/esb/esb-news-1.4.0.Beta2.html 2011-11-09 07:45:55 UTC (rev 36241)
@@ -1,4 +1,4 @@
- <p><a href="smooks/smooks-news-1.1.0.CR1.html">Smooks Tools</a></p> <?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Modified: trunk/documentation/whatsnew/esb/esb-news-1.5.1.M4.html
===================================================================
--- trunk/documentation/whatsnew/esb/esb-news-1.5.1.M4.html 2011-11-09 06:39:47 UTC (rev 36240)
+++ trunk/documentation/whatsnew/esb/esb-news-1.5.1.M4.html 2011-11-09 07:45:55 UTC (rev 36241)
@@ -1,4 +1,4 @@
- <p><a href="smooks/smooks-news-1.1.0.CR1.html">Smooks Tools</a></p> <?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
@@ -23,7 +23,8 @@
<body>
<h1>ESB tools 1.5.1 M4 What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../modeshape/modeshape-news-3.2.0.Beta2.html">Modeshape Tools ></a></p>
+<p align="right"><a href="../index.html">< Main Index</a> <a
+href="../examples/examples-news-3.3.0.M4.html">Project Examples ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
Modified: trunk/documentation/whatsnew/examples/examples-news-3.3.0.M4.html
===================================================================
--- trunk/documentation/whatsnew/examples/examples-news-3.3.0.M4.html 2011-11-09 06:39:47 UTC (rev 36240)
+++ trunk/documentation/whatsnew/examples/examples-news-3.3.0.M4.html 2011-11-09 07:45:55 UTC (rev 36241)
@@ -21,12 +21,11 @@
</script></head>
<body>
-<h1>Examples 3.3.0.M4 What's New</h1>
+<h1>Examples 3.3.0.M4 What's New</h1>
+<p align="right"><a href="../index.html">< Main Index</a> <a
+href="../central/central-news-1.0.0.M4.html">JBoss Central ></a>
+</p>
-<p align="right"><a href="../index.html">< Main Index</a>
-<a href="../deltacloud/deltacloud-news-0.2.0.M2.html">Delta Cloud
-Tools ></a></p>
-
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
<td colspan="2">
Added: trunk/documentation/whatsnew/images/jbosscentraldownloadas.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbosscentraldownloadas.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jbosscentraleditor.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbosscentraleditor.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jbosscentralfeeds.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbosscentralfeeds.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jbosscentralprojects.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbosscentralprojects.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jbosscentralsearch.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbosscentralsearch.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jbosscentralsoftwareupdate.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbosscentralsoftwareupdate.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2011-11-09 06:39:47 UTC (rev 36240)
+++ trunk/documentation/whatsnew/index.html 2011-11-09 07:45:55 UTC (rev 36241)
@@ -36,14 +36,17 @@
<td valign="top" align="left">
<p align="right"><b>3.3.0.M4</b>
<td valign="top">
- <p><a href="core/core-news-3.3.0.M4.html">Core/General 3.3.0.M4</a></p>
- <p><a href="jst/jst-news-3.3.0.M4.html">JST/JSF 3.3.0.M4</a></p>
- <p><a href="vpe/vpe-news-3.3.0.M4.html">Visual Page Editor 3.3.0.M4</a></p>
+ <p><a href="core/core-news-3.3.0.M4.html">Core/General</a></p>
+ <p><a href="jst/jst-news-3.3.0.M4.html">JST/JSF</a></p>
+ <p><a href="vpe/vpe-news-3.3.0.M4.html">Visual Page Editor</a></p>
<p><a href="cdi/cdi-news-3.3.0.M4.html">CDI/Seam 3 Tools</a></p>
<p><a href="forge/forge-news-3.3.0.M4.html">Forge Tools</a></p>
<p><a href="as/as-news-3.3.0.M4.html">JBoss AS Server Tools</a></p>
<p><a href="openshift/openshift-news-2.3.0.M4.html">OpenShift Tools</a></p>
- </td>
+ <p><a href="esb/esb-news-1.5.1.M4.html">ESB Tools</a></p>
+ <p><a href="examples/examples-news-3.3.0.M4.html">Project Examples</a></p>
+ <p><a href="central/central-news-1.0.0.M4.html">JBoss Central</a></p>
+ </td>
</tr>
<tr>
<td valign="top" align="left">
Modified: trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.M4.html
===================================================================
--- trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.M4.html 2011-11-09 06:39:47 UTC (rev 36240)
+++ trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.M4.html 2011-11-09 07:45:55 UTC (rev 36241)
@@ -24,7 +24,7 @@
<h1>OpenShift 2.3.0.M4 What's New</h1>
<p align="right"><a href="../index.html">< Main Index</a> <a
- href="../modeshape/modeshape-news-3.3.0.M4.html">Modeshape Tools
+ href="../esb/esb-news-1.5.1.M4.html">ESB Tools
></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
14 years, 2 months
JBoss Tools SVN: r36240 - in trunk/documentation/guides/GettingStartedGuide/en-US: images/getting_started and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-11-09 01:39:47 -0500 (Wed, 09 Nov 2011)
New Revision: 36240
Added:
trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_01.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_02.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_03.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_04.png
Modified:
trunk/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml
trunk/documentation/guides/GettingStartedGuide/en-US/Getting_Started_Guide.ent
trunk/documentation/guides/GettingStartedGuide/en-US/Revision_History.xml
trunk/documentation/guides/GettingStartedGuide/en-US/getting_started.xml
Log:
updated for jbds 5 and the start of jboss central inclusion
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml 2011-11-09 05:58:28 UTC (rev 36239)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml 2011-11-09 06:39:47 UTC (rev 36240)
@@ -6,9 +6,9 @@
<title>Getting Started Guide</title>
<subtitle>Provides information on how the JBoss Developer Studio functions.</subtitle>
<productname>JBoss Developer Studio</productname>
-<productnumber>4.1</productnumber>
-<edition>4.1.0</edition>
-<pubsnumber>13</pubsnumber>
+<productnumber>5.0</productnumber>
+<edition>5.0.0</edition>
+<pubsnumber>1</pubsnumber>
<abstract>
<para>The Getting Started Guide explains the JBoss Developer Studio.</para>
</abstract>
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/Getting_Started_Guide.ent
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/Getting_Started_Guide.ent 2011-11-09 05:58:28 UTC (rev 36239)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/Getting_Started_Guide.ent 2011-11-09 06:39:47 UTC (rev 36240)
@@ -4,4 +4,4 @@
<!ENTITY HOLDER "Red Hat">
<!ENTITY BZPRODUCT "JBoss Developer Studio">
<!ENTITY BZCOMPONENT "Getting Started Guide">
-<!ENTITY BZURL "<ulink url='https://bugzilla.redhat.com/enter_bug.cgi?product=JBoss%20Develope...'>http://bugzilla.redhat.com/</ulink>">
+<!ENTITY BZURL "<ulink url='https://bugzilla.redhat.com/enter_bug.cgi?product=JBoss%20Develope...'>http://bugzilla.redhat.com/</ulink>">
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/Revision_History.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/Revision_History.xml 2011-11-09 05:58:28 UTC (rev 36239)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/Revision_History.xml 2011-11-09 06:39:47 UTC (rev 36240)
@@ -6,50 +6,8 @@
<simpara>
<revhistory>
<revision>
- <revnumber>1-3</revnumber>
- <date>Mon Aug 01 2011</date>
- <author>
- <firstname>Isaac</firstname>
- <surname>Rooskov</surname>
- <email>irooskov(a)redhat.com</email>
- </author>
- <revdescription>
- <simplelist>
- <member>Added installation information relating to Linux</member>
- </simplelist>
- </revdescription>
- </revision>
- <revision>
- <revnumber>1-2</revnumber>
- <date>Tue Jan 18 2011</date>
- <author>
- <firstname>JBoss Tools</firstname>
- <surname>Documentation Team</surname>
- <email></email>
- </author>
- <revdescription>
- <simplelist>
- <member>General updates</member>
- </simplelist>
- </revdescription>
- </revision>
- <revision>
- <revnumber>1-1</revnumber>
- <date>Wed Jun 09 2010</date>
- <author>
- <firstname>JBoss Tools</firstname>
- <surname>Documentation Team</surname>
- <email></email>
- </author>
- <revdescription>
- <simplelist>
- <member>General updates</member>
- </simplelist>
- </revdescription>
- </revision>
- <revision>
<revnumber>1-0</revnumber>
- <date>Fri Nov 20 2009</date>
+ <date>Wed Nov 09 2011</date>
<author>
<firstname>Isaac</firstname>
<surname>Rooskov</surname>
@@ -57,7 +15,7 @@
</author>
<revdescription>
<simplelist>
- <member>Initial creation of book by publican</member>
+ <member>Initial creation of book</member>
</simplelist>
</revdescription>
</revision>
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/getting_started.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/getting_started.xml 2011-11-09 05:58:28 UTC (rev 36239)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/getting_started.xml 2011-11-09 06:39:47 UTC (rev 36240)
@@ -117,7 +117,56 @@
</section>
<xi:include href="usage_reporting.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-
+ <section>
+ <title>JBoss Central</title>
+ <para>
+ When viewing the workbench for the first time you will be greated with <firstterm>JBoss Central</firstterm>. JBoss Central assists you in getting started and keeps you up to date with JBoss technologies.
+ </para>
+ <figure>
+ <title>JBoss Central</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/getting_started/jboss_central_01.png" scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ At the top of the tab is a search box. By clicking the down arrow to the left you can select to perform a search on either the <guimenuitem>Red Hat Customer Portal</guimenuitem> or the <guimenuitem>JBoss Community</guimenuitem>.
+ </para>
+ <figure>
+ <title>Search Options</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/getting_started/jboss_central_02.png" scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Performing a search will launch a web browser as a new tab within JBoss Developer Studio displaying the results page. You can interact with the browser as you would any other web browser.
+ </para>
+ <figure>
+ <title>Search Results</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/getting_started/jboss_central_03.png" scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ From the <guilabel>Create Projects</guilabel> section you can create
+ </para>
+ <figure>
+ <title>Creating a Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/getting_started/jboss_central_04.png" scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ If you do not wish to see JBoss Central at every startup, you can deselect the checkbox <guilabel>Show on Startup</guilabel> in the <guilabel>Settings</guilabel> section.
+ </para>
+ </section>
<section id="Support">
<?dbhtml filename="Support.html"?>
<title>Support</title>
Added: trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_02.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_03.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/GettingStartedGuide/en-US/images/getting_started/jboss_central_04.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
14 years, 2 months
JBoss Tools SVN: r36239 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2011-11-09 00:58:28 -0500 (Wed, 09 Nov 2011)
New Revision: 36239
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
Log:
JBIDE-10087 - remove invalid widgets for as7 (until config is re-added) (missed file)JBIDE-10087 - remove invalid widgets for as7 (until config is re-added) (missed file)
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2011-11-09 05:51:59 UTC (rev 36238)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2011-11-09 05:58:28 UTC (rev 36239)
@@ -42,7 +42,7 @@
id="org.jboss.ide.eclipse.as.ui.jboss7RuntimeWizardFragment"
typeIds="%RuntimeTypesJBoss7"/>
<fragment
- class="org.jboss.ide.eclipse.as.ui.wizards.JBossServerWizardFragment"
+ class="org.jboss.ide.eclipse.as.ui.wizards.JBoss7ServerWizardFragment"
id="org.jboss.ide.eclipse.as.ui.jboss7ServerWizardFragment"
typeIds="%ServerTypesJBoss7"/>
<fragment
14 years, 2 months
JBoss Tools SVN: r36238 - trunk/as/plugins/org.jboss.ide.eclipse.as.core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2011-11-09 00:51:59 -0500 (Wed, 09 Nov 2011)
New Revision: 36238
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
JBIDE-10129 - default facet
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2011-11-09 05:09:43 UTC (rev 36237)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2011-11-09 05:51:59 UTC (rev 36238)
@@ -907,6 +907,16 @@
version="5.0">
</facet>
</default-facets>
+ <default-facets>
+ <runtime-component
+ id="org.jboss.ide.eclipse.eap.runtime.component"
+ version="6.0">
+ </runtime-component>
+ <facet
+ id="jst.java"
+ version="6.0">
+ </facet>
+ </default-facets>
</extension>
<extension
14 years, 2 months
JBoss Tools SVN: r36237 - in trunk/documentation/guides/Beginners_Guide/en-US: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-11-09 00:09:43 -0500 (Wed, 09 Nov 2011)
New Revision: 36237
Added:
trunk/documentation/guides/Beginners_Guide/en-US/images/jboss_central_01.png
Modified:
trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent
trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml
trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml
Log:
updated with JBoss Central information
Modified: trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent 2011-11-09 04:16:08 UTC (rev 36236)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent 2011-11-09 05:09:43 UTC (rev 36237)
@@ -4,4 +4,4 @@
<!ENTITY HOLDER "Red Hat">
<!ENTITY BZPRODUCT "JBoss Developer Studio">
<!ENTITY BZCOMPONENT "Beginners Guide">
-<!ENTITY BZURL "<ulink url='https://bugzilla.redhat.com/enter_bug.cgi?product=JBoss%20Develope...'>http://bugzilla.redhat.com/</ulink>">
+<!ENTITY BZURL "<ulink url='https://bugzilla.redhat.com/enter_bug.cgi?product=JBoss%20Develope...'>http://bugzilla.redhat.com/</ulink>">
Modified: trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml 2011-11-09 04:16:08 UTC (rev 36236)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml 2011-11-09 05:09:43 UTC (rev 36237)
@@ -9,9 +9,9 @@
<productname>JBoss Developer Studio</productname>
- <productnumber>4.1</productnumber>
+ <productnumber>5.0</productnumber>
- <edition>4.1.0</edition>
+ <edition>5.0.0</edition>
<pubsnumber>1</pubsnumber>
Modified: trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml 2011-11-09 04:16:08 UTC (rev 36236)
+++ trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml 2011-11-09 05:09:43 UTC (rev 36237)
@@ -64,7 +64,24 @@
Refer to the <ulink url="http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/4.0/html-single/...">Welcome to JBoss Developer Studio</ulink> section of the <citetitle pubwork="book">Getting Started with JBoss Developer Studio</citetitle> guide for further details.
</para>
</section>
-
+ <section id="sect-Beginners_Guide-The_interface-JBoss_Central">
+ <title>JBoss Central</title>
+ <para>
+ When starting the JBoss Developer Studio you will see <guilabel>JBoss Central</guilabel> in the workspace. From <guilabel>JBoss Central</guilabel> you can quickly <guilabel>Create Projects</guilabel>, run <guilabel>Project Examples</guilabel>, view <guilabel>Documentation</guilabel>, read the latest <guilabel>News</guilabel> and <guilabel>Blogs</guilabel>, and change <guilabel>JBoss Central</guilabel>
+ <guilabel>Settings</guilabel>.
+ </para>
+ <figure id="figu-Beginners_Guide-JBoss_Central">
+ <title>JBoss Central</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jboss_central_01.png" format="PNG" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ For further information on <guilabel>JBoss Central</guilabel> see the <emphasis>Getting Started Guide</emphasis> for this realease.
+ </para>
+ </section>
<section id="sect-Beginners_Guide-The_interface-JBoss_Application_Server">
<title>JBoss Application Server</title>
<para>
Added: trunk/documentation/guides/Beginners_Guide/en-US/images/jboss_central_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/Beginners_Guide/en-US/images/jboss_central_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
14 years, 2 months
JBoss Tools SVN: r36236 - in trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal: v7 and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2011-11-08 23:16:08 -0500 (Tue, 08 Nov 2011)
New Revision: 36236
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DelegatingServerBehavior.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/DelegatingJBoss7ServerBehavior.java
Log:
JBIDE-9630 - already-publishing error, may be caused by improper cleanup.
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DelegatingServerBehavior.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DelegatingServerBehavior.java 2011-11-09 03:24:10 UTC (rev 36235)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DelegatingServerBehavior.java 2011-11-09 04:16:08 UTC (rev 36236)
@@ -98,8 +98,11 @@
}
protected void publishFinish(final IProgressMonitor monitor) throws CoreException {
- getDelegate().publishFinish(monitor);
- super.publishFinish(monitor);
+ try {
+ getDelegate().publishFinish(monitor);
+ } finally {
+ super.publishFinish(monitor);
+ }
}
@Deprecated
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/DelegatingJBoss7ServerBehavior.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/DelegatingJBoss7ServerBehavior.java 2011-11-09 03:24:10 UTC (rev 36235)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/DelegatingJBoss7ServerBehavior.java 2011-11-09 04:16:08 UTC (rev 36236)
@@ -87,8 +87,11 @@
@Override
protected void publishFinish(IProgressMonitor monitor) throws CoreException {
// Handle the dodeploy
- createDoDeployMarkers(monitor);
- super.publishFinish(new SubProgressMonitor(monitor, 1));
+ try {
+ createDoDeployMarkers(monitor);
+ } finally {
+ super.publishFinish(new SubProgressMonitor(monitor, 1));
+ }
}
private void createDoDeployMarkers(IProgressMonitor monitor) throws CoreException {
14 years, 2 months
JBoss Tools SVN: r36235 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2011-11-08 22:24:10 -0500 (Tue, 08 Nov 2011)
New Revision: 36235
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBoss7ServerWizardFragment.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossServerWizardFragment.java
Log:
JBIDE-10087 - remove invalid widgets for as7 (until config is re-added)
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBoss7ServerWizardFragment.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBoss7ServerWizardFragment.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBoss7ServerWizardFragment.java 2011-11-09 03:24:10 UTC (rev 36235)
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2011 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.as.ui.wizards;
+
+import org.eclipse.swt.widgets.Composite;
+
+public class JBoss7ServerWizardFragment extends JBossServerWizardFragment {
+
+ public JBoss7ServerWizardFragment() {
+ }
+
+ protected void createRuntimeGroup(Composite main) {
+ createRuntimeGroup2(main);
+ fillRuntimeGroupStandard();
+ }
+
+}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossServerWizardFragment.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossServerWizardFragment.java 2011-11-09 02:55:04 UTC (rev 36234)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossServerWizardFragment.java 2011-11-09 03:24:10 UTC (rev 36235)
@@ -108,14 +108,21 @@
}
- private void createRuntimeGroup(Composite main) {
-
+ protected void createRuntimeGroup(Composite main) {
+ createRuntimeGroup2(main);
+ fillRuntimeGroupStandard();
+ fillRuntimeGroupConfig();
+ }
+
+ protected void createRuntimeGroup2(Composite main) {
runtimeGroup = new Group(main, SWT.NONE);
runtimeGroup.setText(Messages.swf_RuntimeInformation);
FormData groupData = UIUtil.createFormData2(serverExplanationLabel, 5, null, 0, 0,5,100,-5);
runtimeGroup.setLayoutData(groupData);
-
runtimeGroup.setLayout(new GridLayout(2, false));
+ }
+
+ protected void fillRuntimeGroupStandard() {
GridData d = new GridData(SWT.BEGINNING, SWT.CENTER, true, false);
// explanation 2
@@ -141,7 +148,9 @@
jreValLabel = new Label(runtimeGroup, SWT.NONE);
d = new GridData(SWT.BEGINNING, SWT.CENTER, true, false);
jreValLabel.setLayoutData(d);
-
+ }
+
+ protected void fillRuntimeGroupConfig() {
Label configLocationLabel = new Label(runtimeGroup, SWT.NONE);
configLocationLabel.setText(Messages.swf_ConfigurationLocation);
configLocValLabel = new Label(runtimeGroup, SWT.NONE);
@@ -149,7 +158,7 @@
configLabel = new Label(runtimeGroup, SWT.NONE);
configLabel.setText(Messages.wf_ConfigLabel);
configValLabel = new Label(runtimeGroup, SWT.NONE);
- d = new GridData(SWT.BEGINNING, SWT.CENTER, true, false);
+ GridData d = new GridData(SWT.BEGINNING, SWT.CENTER, true, false);
configValLabel.setLayoutData(d);
}
@@ -201,13 +210,15 @@
if(homeValLabel !=null && !homeValLabel.isDisposed()) {
IJBossServerRuntime srt = getRuntime();
homeValLabel.setText(srt.getRuntime().getLocation().toOSString());
- configValLabel.setText(srt.getJBossConfiguration());
execEnvironmentValLabel.setText(srt.getExecutionEnvironment().getDescription());
IVMInstall vm = srt.getHardVM();
String jreVal = vm == null ? NLS.bind(Messages.rwf_DefaultJREForExecEnv, getRuntime().getExecutionEnvironment().getId()) :
vm.getInstallLocation().getAbsolutePath() + " (" + vm.getName() + ")";//$NON-NLS-1$ //$NON-NLS-2$
jreValLabel.setText(jreVal);
- configLocValLabel.setText(srt.getConfigLocation());
+ if( configValLabel != null && !configValLabel.isDisposed())
+ configValLabel.setText(srt.getJBossConfiguration());
+ if( configLocValLabel != null && !configLocValLabel.isDisposed())
+ configLocValLabel.setText(srt.getConfigLocation());
runtimeGroup.layout();
updateErrorMessage();
}
14 years, 2 months