JBoss Tools SVN: r33555 - trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/preferences.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-08-03 16:00:42 -0400 (Wed, 03 Aug 2011)
New Revision: 33555
Modified:
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/preferences/SeverityConfigurationBlock.java
Log:
JBIDE-9120
https://issues.jboss.org/browse/JBIDE-9120
Modified: trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/preferences/SeverityConfigurationBlock.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/preferences/SeverityConfigurationBlock.java 2011-08-03 19:22:41 UTC (rev 33554)
+++ trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/preferences/SeverityConfigurationBlock.java 2011-08-03 20:00:42 UTC (rev 33555)
@@ -105,7 +105,9 @@
c.setLayout(layout);
c.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- addMaxNumberOfMarkersField(c);
+ if(getMaxNumberOfProblemsKey() != null) {
+ addMaxNumberOfMarkersField(c);
+ }
addWrongBuilderOrderField(c);
fFilteredPrefTree = new FilteredPreferenceTree(this, folder, getCommonDescription());
@@ -167,18 +169,20 @@
}
private IStatus validateMaxNumberProblems() {
- String number = getValue(getMaxNumberOfProblemsKey());
StatusInfo status= new StatusInfo();
- if (number == null || number.length() == 0) {
- status.setError(PreferencesMessages.JavaBuildConfigurationBlock_empty_input);
- } else {
- try {
- int value= Integer.parseInt(number);
- if (value <= 0) {
+ if(getMaxNumberOfProblemsKey() != null) {
+ String number = getValue(getMaxNumberOfProblemsKey());
+ if (number == null || number.length() == 0) {
+ status.setError(PreferencesMessages.JavaBuildConfigurationBlock_empty_input);
+ } else {
+ try {
+ int value= Integer.parseInt(number);
+ if (value <= 0) {
+ status.setError(Messages.format(PreferencesMessages.JavaBuildConfigurationBlock_invalid_input, number));
+ }
+ } catch (NumberFormatException e) {
status.setError(Messages.format(PreferencesMessages.JavaBuildConfigurationBlock_invalid_input, number));
}
- } catch (NumberFormatException e) {
- status.setError(Messages.format(PreferencesMessages.JavaBuildConfigurationBlock_invalid_input, number));
}
}
return status;
@@ -245,8 +249,10 @@
return;
}
- if (changedKey == null || getMaxNumberOfProblemsKey().equals(changedKey)) {
- fContext.statusChanged(validateMaxNumberProblems());
+ if(getMaxNumberOfProblemsKey() != null) {
+ if (changedKey == null || getMaxNumberOfProblemsKey().equals(changedKey)) {
+ fContext.statusChanged(validateMaxNumberProblems());
+ }
}
}
13 years, 5 months
JBoss Tools SVN: r33554 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-08-03 15:22:41 -0400 (Wed, 03 Aug 2011)
New Revision: 33554
Modified:
trunk/build/aggregate/site/site.xml
Log:
https://issues.jboss.org/browse/JBIDE-9229 move org.jboss.tools.ws.feature and org.jboss.tools.ws.jaxrs.feature from SOATools (defunct) catg to WebTools catg
Modified: trunk/build/aggregate/site/site.xml
===================================================================
--- trunk/build/aggregate/site/site.xml 2011-08-03 19:12:00 UTC (rev 33553)
+++ trunk/build/aggregate/site/site.xml 2011-08-03 19:22:41 UTC (rev 33554)
@@ -65,11 +65,11 @@
</feature>
<feature url="features/org.jboss.tools.ws.feature_0.0.0.jar" id="org.jboss.tools.ws.feature" version="0.0.0">
<category name="AllTools" />
- <category name="SOATools" />
+ <category name="WebTools" />
</feature>
<feature url="features/org.jboss.tools.ws.jaxrs.feature_0.0.0.jar" id="org.jboss.tools.ws.jaxrs.feature" version="0.0.0">
<category name="AllTools" />
- <category name="SOATools" />
+ <category name="WebTools" />
</feature>
<feature url="features/org.jboss.tools.portlet.feature_0.0.0.jar" id="org.jboss.tools.portlet.feature" version="0.0.0">
<category name="AllTools" />
13 years, 5 months
JBoss Tools SVN: r33553 - trunk/build/parent.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-08-03 15:12:00 -0400 (Wed, 03 Aug 2011)
New Revision: 33553
Modified:
trunk/build/parent/pom.xml
Log:
https://issues.jboss.org/browse/JBIDE-9140 switch from org.sonatype.tycho:tycho-maven-plugin:0.10.0 to org.eclipse.tycho:tycho-maven-plugin:0.12.0 with option to run against latest 0.13.0-SNAPSHOT
Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml 2011-08-03 19:11:50 UTC (rev 33552)
+++ trunk/build/parent/pom.xml 2011-08-03 19:12:00 UTC (rev 33553)
@@ -12,8 +12,10 @@
</modules>
<properties>
- <!--tychoVersion>0.10.0-SNAPSHOT</tychoVersion -->
- <tychoVersion>0.10.0</tychoVersion>
+ <!-- to build w/ latest 0.13.0-SNAPSHOT, run `mvn install -DtychoVersion=0.13.0-SNAPSHOT`, or uncomment this property:
+ <tychoVersion>0.13.0-SNAPSHOT</tychoVersion>
+ -->
+ <tychoVersion>0.12.0</tychoVersion>
<scmBranch>trunk</scmBranch>
<BUILD_ALIAS>M3</BUILD_ALIAS>
<memoryOptions1>-Xms512m -Xmx1024m -XX:PermSize=256m</memoryOptions1>
@@ -96,7 +98,7 @@
</plugin>
<plugin>
- <groupId>org.sonatype.tycho</groupId>
+ <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tychoVersion}</version>
<extensions>true</extensions>
@@ -706,6 +708,20 @@
</repository -->
</repositories>
+ <!-- Additional m2 repos to resolve things like org.eclipse.tycho:tycho-maven-plugin:0.13.0-SNAPSHOT -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>sonatype-public-grid</id>
+ <name>sonatype-public-grid</name>
+ <url>https://repository.sonatype.org/content/groups/sonatype-public-grid</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>repository.sonatype.org-snapshots</id>
+ <name>repository.sonatype.org-snapshots</name>
+ <url>https://repository.sonatype.org/content/repositories/snapshots</url>
+ </pluginRepository>
+ </pluginRepositories>
+
<!-- commented to check if it is added by default on hudson but with https:// -->
<!-- pluginRepositories>
<pluginRepository>
13 years, 5 months
JBoss Tools SVN: r33552 - trunk.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-08-03 15:11:50 -0400 (Wed, 03 Aug 2011)
New Revision: 33552
Modified:
trunk/.gitignore
Log:
.gitignore file
Modified: trunk/.gitignore
===================================================================
--- trunk/.gitignore 2011-08-03 18:59:38 UTC (rev 33551)
+++ trunk/.gitignore 2011-08-03 19:11:50 UTC (rev 33552)
@@ -1,4 +1,3 @@
-.project
*.class
bin
target
13 years, 5 months
JBoss Tools SVN: r33551 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2011-08-03 14:59:38 -0400 (Wed, 03 Aug 2011)
New Revision: 33551
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/RuntimeBean.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/ServerBean.java
Log:
swtbot ext: allow runtime locations be relative paths
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/RuntimeBean.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/RuntimeBean.java 2011-08-03 18:52:34 UTC (rev 33550)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/RuntimeBean.java 2011-08-03 18:59:38 UTC (rev 33551)
@@ -21,7 +21,7 @@
return null;
}
String[] params = propValue.split(",");
- bean.runtimeHome=params[1];
+ bean.runtimeHome=new File(params[1]).getAbsolutePath();
bean.version=params[0];
return bean;
}
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/ServerBean.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/ServerBean.java 2011-08-03 18:52:34 UTC (rev 33550)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/ServerBean.java 2011-08-03 18:59:38 UTC (rev 33551)
@@ -54,7 +54,7 @@
}
String[] serverParams = propValue.split(",");
bean.withJavaVersion = serverParams[2];
- bean.runtimeHome=serverParams[3];
+ bean.runtimeHome=new File(serverParams[3]).getAbsolutePath();
bean.version=serverParams[1];
bean.type = serverParams[0];
13 years, 5 months
JBoss Tools SVN: r33550 - in trunk/jst/plugins/org.jboss.tools.jst.web.kb: src/org/jboss/tools/jst/web/kb and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-08-03 14:52:34 -0400 (Wed, 03 Aug 2011)
New Revision: 33550
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencePage.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.properties
trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.properties
Log:
JBIDE-9120
https://issues.jboss.org/browse/JBIDE-9120
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.properties 2011-08-03 18:34:20 UTC (rev 33549)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.properties 2011-08-03 18:52:34 UTC (rev 33550)
@@ -11,4 +11,7 @@
PreferencePage_KBSettings=JBoss Tools Knowledge Base
ConfigureMenu_AddKBSupport=Add JBoss Tools Knowledge Base Support
-ConfigureMenu_RemoveKBSupport=Remove JBoss Tools Knowledge Base Support
\ No newline at end of file
+ConfigureMenu_RemoveKBSupport=Remove JBoss Tools Knowledge Base Support
+
+PreferencePage_KB=Knowledge Base
+PreferencePage_KBValidator=Validator
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2011-08-03 18:34:20 UTC (rev 33549)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2011-08-03 18:52:34 UTC (rev 33550)
@@ -308,6 +308,21 @@
</page>
</extension>
+ <extension point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.jboss.tools.common.model.ui.kb"
+ class="org.jboss.tools.jst.web.kb.preferences.KBValidationPreferencePage"
+ id="org.jboss.tools.jst.web.kb.preferences.KBValidationPreferencePage"
+ name="%PreferencePage_KBValidator">
+ </page>
+ <page
+ category="org.jboss.tools.common.model.ui"
+ class="org.jboss.tools.jst.web.kb.preferences.KBPreferencePage"
+ id="org.jboss.tools.common.model.ui.kb"
+ name="%PreferencePage_KB">
+ </page>
+ </extension>
+
<extension
point="org.eclipse.ui.popupMenus">
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.properties 2011-08-03 18:34:20 UTC (rev 33549)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.properties 2011-08-03 18:52:34 UTC (rev 33550)
@@ -20,5 +20,3 @@
ILLEGAL_CONTENTTYPE=Unknown contentType argument value: {0}
EXCEPTION_DURING_CREATING_MARKER=Exception occurred during creating marker for validation error on ''{0}''
-
-KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT=JBoss Tools Knowledge Base support\:
\ No newline at end of file
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencePage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencePage.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencePage.java 2011-08-03 18:52:34 UTC (rev 33550)
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * 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.tools.jst.web.kb.preferences;
+
+import org.eclipse.jface.preference.PreferencePage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPreferencePage;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class KBPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
+
+ /**
+ * @see plugin.xml descriptor for ID
+ */
+ public static final String ID = "org.jboss.tools.common.model.ui.kb"; //$NON-NLS-1$
+
+ @Override
+ protected Control createContents(Composite parent) {
+ Composite root = new Composite(parent, SWT.NONE);
+ GridLayout gl = new GridLayout(1, false);
+ root.setLayout(gl);
+
+ Label lable = new Label(root, 0);
+ lable.setText(KBPreferencesMessages.KB_DESCRIPTION);
+
+ return root;
+ }
+
+ public void init(IWorkbench workbench) {
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencePage.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java 2011-08-03 18:52:34 UTC (rev 33550)
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * 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.tools.jst.web.kb.preferences;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class KBPreferencesMessages extends NLS {
+ private static final String BUNDLE_NAME = KBPreferencesMessages.class.getName();
+
+ public static String KB_DESCRIPTION;
+
+ public static String KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT;
+
+ static {
+ NLS.initializeMessages(BUNDLE_NAME, KBPreferencesMessages.class);
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties 2011-08-03 18:52:34 UTC (rev 33550)
@@ -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
+##################################################################################
+
+KB_DESCRIPTION=JBoss Tools Knowledge Base is a set of basic frameworks \n\
+that provides for concerted action of other JBoss Tools \n\
+(such as CDI, Seam, JSF) at validation, expression language resolution, \n\
+content assist in expression language and in web page xml/html structures. \n\
+Enabling Knowledge Base capabilities (nature and builder) on a project \n\
+is required for correct work of other JBoss Tools capabilities. \n\
+Since each Java archive is ready to provide JSF 2 resources, \n\
+it is recommended to enable Knowledge Base capabilities on any \n\
+Java project that is used as a module by another Web project.
+
+KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT=JBoss Tools Knowledge Base support\:
+
+KB_VALIDATOR_PREFERENCE_PAGE_KB_VALIDATOR=KB Validator
+
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java 2011-08-03 18:52:34 UTC (rev 33550)
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * 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.tools.jst.web.kb.preferences;
+
+import org.eclipse.jface.preference.PreferencePage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPreferencePage;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class KBValidationPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
+
+ /**
+ * @see plugin.xml descriptor for ID
+ */
+ public static final String ID = "org.jboss.tools.common.model.ui.kb"; //$NON-NLS-1$
+
+ @Override
+ protected Control createContents(Composite parent) {
+ Composite root = new Composite(parent, SWT.NONE);
+ GridLayout gl = new GridLayout(1, false);
+ root.setLayout(gl);
+
+ return root;
+ }
+
+ public void init(IWorkbench workbench) {
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 5 months
JBoss Tools SVN: r33549 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2011-08-03 14:34:20 -0400 (Wed, 03 Aug 2011)
New Revision: 33549
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/ServerBean.java
Log:
swtbot ext: fixed NPE when runtime is relative path
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/ServerBean.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/ServerBean.java 2011-08-03 18:19:48 UTC (rev 33548)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/ServerBean.java 2011-08-03 18:34:20 UTC (rev 33549)
@@ -27,14 +27,15 @@
String runtimeFile = downloadRuntime(url);
if (runtimeFile!=null) {
// where to unzip it?
- String runtimeOutput;
+ File runtimeOutput;
+ File runtimeHomeAbs = new File(bean.runtimeHome).getAbsoluteFile();
if (TestConfigurator.Values.SERVER_TYPE_JBOSSAS.equals(bean.type)) {
- runtimeOutput=new File(bean.runtimeHome).getParent();
+ runtimeOutput=runtimeHomeAbs.getParentFile();
}
else {
- runtimeOutput=new File(bean.runtimeHome).getParentFile().getParent();
+ runtimeOutput=runtimeHomeAbs.getParentFile().getParentFile();
}
- FileHelper.unzipArchive(new File(runtimeFile), new File(runtimeOutput));
+ FileHelper.unzipArchive(new File(runtimeFile), runtimeOutput);
}
}
return bean;
13 years, 5 months
JBoss Tools SVN: r33548 - in trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test: .settings and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-08-03 14:19:48 -0400 (Wed, 03 Aug 2011)
New Revision: 33548
Added:
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.project
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.settings/
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
Log:
add missing dotfiles (JBIDE-8734)
Added: trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.project
===================================================================
--- trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.project (rev 0)
+++ trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.project 2011-08-03 18:19:48 UTC (rev 33548)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.drools.ui.bot.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/.settings/org.eclipse.jdt.core.prefs 2011-08-03 18:19:48 UTC (rev 33548)
@@ -0,0 +1,8 @@
+#Tue Apr 06 13:22:27 CEST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
13 years, 5 months
JBoss Tools SVN: r33546 - trunk/maven/features/org.jboss.tools.maven.tests.feature.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-08-03 14:15:26 -0400 (Wed, 03 Aug 2011)
New Revision: 33546
Modified:
trunk/maven/features/org.jboss.tools.maven.tests.feature/feature.xml
trunk/maven/features/org.jboss.tools.maven.tests.feature/pom.xml
Log:
https://issues.jboss.org/browse/JBIDE-9450 bump tests feature to 1.3
Modified: trunk/maven/features/org.jboss.tools.maven.tests.feature/feature.xml
===================================================================
--- trunk/maven/features/org.jboss.tools.maven.tests.feature/feature.xml 2011-08-03 14:07:06 UTC (rev 33545)
+++ trunk/maven/features/org.jboss.tools.maven.tests.feature/feature.xml 2011-08-03 18:15:26 UTC (rev 33546)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.maven.tests.feature" label="%featureName" version="1.2.0.qualifier" provider-name="%featureProvider">
+<feature id="org.jboss.tools.maven.tests.feature" label="%featureName" version="1.3.0.qualifier" provider-name="%featureProvider">
<description>
%description
Modified: trunk/maven/features/org.jboss.tools.maven.tests.feature/pom.xml
===================================================================
--- trunk/maven/features/org.jboss.tools.maven.tests.feature/pom.xml 2011-08-03 14:07:06 UTC (rev 33545)
+++ trunk/maven/features/org.jboss.tools.maven.tests.feature/pom.xml 2011-08-03 18:15:26 UTC (rev 33546)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools.maven</groupId>
<artifactId>features</artifactId>
- <version>1.2.0-SNAPSHOT</version>
+ <version>1.3.0-SNAPSHOT</version>
</parent>
<groupId>org.jboss.tools.maven.features</groupId>
<artifactId>org.jboss.tools.maven.tests.feature</artifactId>
13 years, 5 months