JBoss Tools SVN: r13803 - trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/ant/parser/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-25 15:44:00 -0500 (Wed, 25 Feb 2009)
New Revision: 13803
Modified:
trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/ant/parser/test/AntParserTest.java
Log:
fix ant parser test error
Modified: trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/ant/parser/test/AntParserTest.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/ant/parser/test/AntParserTest.java 2009-02-25 20:38:03 UTC (rev 13802)
+++ trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/ant/parser/test/AntParserTest.java 2009-02-25 20:44:00 UTC (rev 13803)
@@ -6,7 +6,7 @@
public class AntParserTest extends TestCase {
- public static final String ANT_FILE_CONTENT="<project><target name=\"name1\"/><target name=\"name2\"/><target name=\"name3\"/ </project>";
+ public static final String ANT_FILE_CONTENT="<project><target name=\"name1\"/><target name=\"name2\"/><target name=\"name3\"/></project>";
public void testGetTargets() {
AntParser parser = new AntParser(ANT_FILE_CONTENT);
15 years, 10 months
JBoss Tools SVN: r13802 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-25 15:38:03 -0500 (Wed, 25 Feb 2009)
New Revision: 13802
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam12XFacetTestSuite121EAP.java
Log:
disable validatio n fro seam 12X facet tests
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam12XFacetTestSuite121EAP.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam12XFacetTestSuite121EAP.java 2009-02-25 20:20:45 UTC (rev 13801)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam12XFacetTestSuite121EAP.java 2009-02-25 20:38:03 UTC (rev 13802)
@@ -11,13 +11,30 @@
package org.jboss.tools.seam.core.test.project.facet;
+import org.eclipse.wst.validation.ValidationFramework;
+
+import junit.extensions.TestSetup;
import junit.framework.Test;
import junit.framework.TestSuite;
public class Seam12XFacetTestSuite121EAP {
public static Test suite() {
TestSuite suite = new TestSuite("Seam 1.2.X tests");
- suite.addTestSuite(SeamFacetInstallDelegateTest.class);
+ suite.addTest(new TestSetup(new TestSuite(SeamFacetInstallDelegateTest.class)) {
+
+ private boolean suspendAllValidation ;
+
+ @Override
+ protected void setUp() throws Exception {
+ suspendAllValidation = ValidationFramework.getDefault().isSuspended();
+ ValidationFramework.getDefault().suspendAllValidation(true);
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ ValidationFramework.getDefault().suspendAllValidation(suspendAllValidation);
+ }
+ });
return suite;
}
}
15 years, 10 months
JBoss Tools SVN: r13801 - in trunk/documentation/qa/reports: Tests and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-25 15:20:45 -0500 (Wed, 25 Feb 2009)
New Revision: 13801
Added:
trunk/documentation/qa/reports/Tests 02.25.2009/
trunk/documentation/qa/reports/Tests 02.25.2009/VPE Tests.htm
Log:
Added: trunk/documentation/qa/reports/Tests 02.25.2009/VPE Tests.htm
===================================================================
--- trunk/documentation/qa/reports/Tests 02.25.2009/VPE Tests.htm (rev 0)
+++ trunk/documentation/qa/reports/Tests 02.25.2009/VPE Tests.htm 2009-02-25 20:20:45 UTC (rev 13801)
@@ -0,0 +1,112 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>Execution Report</TITLE>
+<STYLE>H1 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+H2 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+TR {
+ BACKGROUND-COLOR: #f5f5f5
+}
+TD {
+ BORDER-RIGHT: dimgray 1px solid; PADDING-RIGHT: 0.5em; BORDER-TOP: dimgray 1px solid; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.15em; BORDER-LEFT: dimgray 1px solid; PADDING-TOP: 0.15em; BORDER-BOTTOM: dimgray 1px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+HR {
+ COLOR: #999; BORDER-COLLAPSE: collapse
+}
+BODY {
+ PADDING-RIGHT: 2em; PADDING-LEFT: 2em; FONT-SIZE: 12px; PADDING-BOTTOM: 0em; COLOR: #333; LINE-HEIGHT: 100%; PADDING-TOP: 0em; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; max-width: 55em
+}
+TABLE {
+ BORDER-RIGHT: dimgray 0px solid; BORDER-TOP: dimgray 0px solid; BORDER-LEFT: dimgray 0px solid; COLOR: #4a5d75; BORDER-BOTTOM: dimgray 0px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif
+}
+</STYLE>
+
+<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
+<BODY bgColor=#f5f5f5>
+<CENTER>
+<H1>Execution Report</H1>
+<TABLE
+style="BORDER-TOP-WIDTH: 1pt; BORDER-LEFT-WIDTH: 1pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"
+cellSpacing=0 cellPadding=4 width="100%" align=center>
+ <TBODY>
+ <TR bgColor=gray>
+ <TD><B>Test Name</B></TD>
+ <TD><B>Status</B></TD>
+ <TD><B>Exec Date</B></TD>
+ <TD><B>Bug Number</B></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Creating
+ New Css class</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-3869,3868</TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> More
+ then one class applying</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-3872</TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> New
+ styleClass for component</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">CSS
+ dialog appearing</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Empty
+ class editing</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Editing
+ existing class</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-3871</TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Dialog
+ buttons test</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Choose
+ equal classes</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Clear
+ button</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/25/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white
+size=1> </FONT></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
15 years, 10 months
JBoss Tools SVN: r13800 - trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-02-25 15:11:48 -0500 (Wed, 25 Feb 2009)
New Revision: 13800
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
Log:
JBIDE-3790
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2009-02-25 19:52:32 UTC (rev 13799)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2009-02-25 20:11:48 UTC (rev 13800)
@@ -27,6 +27,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Method;
+import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.sql.DatabaseMetaData;
@@ -169,13 +170,77 @@
return newInstance;
}
+ protected void refreshProfile(IConnectionProfile profile) {
+ // refresh profile (refresh jpa connection):
+ // get fresh information about current db structure and update error markers
+ profile.disconnect();
+ profile.connect(null);
+ }
+
+ /*
+ * try get a path to the sql driver jar file from DTP connection profile
+ */
+ protected String getConnectionProfileDriverURL() {
+ String connectionProfile = prefs.getConnectionProfileName();
+ if (connectionProfile == null) {
+ return null;
+ }
+ IConnectionProfile profile = ProfileManager.getInstance().getProfileByName(connectionProfile);
+ if (profile == null) {
+ return null;
+ }
+ refreshProfile(profile);
+ //
+ Properties cpProperties = profile.getProperties(profile.getProviderId());
+ String driverJarPath = cpProperties.getProperty("jarList"); //$NON-NLS-1$
+ return driverJarPath;
+ }
+
+ /*
+ * get custom classpath URLs
+ */
+ protected URL[] getCustomClassPathURLs() {
+ URL[] customClassPathURLsTmp = prefs.getCustomClassPathURLS();
+ URL[] customClassPathURLs = null;
+ String driverURL = getConnectionProfileDriverURL();
+ URL url = null;
+ if (driverURL != null) {
+ try {
+ url = new URL("file:/" + driverURL); //$NON-NLS-1$
+ } catch (MalformedURLException e) {
+ // just ignore
+ }
+ }
+ // should DTP connection profile driver jar file be inserted
+ boolean insertFlag = ( url != null );
+ if (insertFlag) {
+ for (int i = 0; i < customClassPathURLsTmp.length; i++) {
+ if (url.equals(customClassPathURLsTmp[i])) {
+ insertFlag = false;
+ break;
+ }
+ }
+ }
+ if (insertFlag) {
+ customClassPathURLs = new URL[customClassPathURLsTmp.length + 1];
+ System.arraycopy(customClassPathURLsTmp, 0,
+ customClassPathURLs, 0, customClassPathURLsTmp.length);
+ // insert DTP connection profile driver jar file URL after the default classpath entries
+ customClassPathURLs[customClassPathURLsTmp.length] = url;
+ }
+ else {
+ customClassPathURLs = customClassPathURLsTmp;
+ }
+ return customClassPathURLs;
+ }
+
/**
* @return
*
*/
public Configuration buildWith(final Configuration cfg, final boolean includeMappings) {
- URL[] customClassPathURLS = prefs.getCustomClassPathURLS();
- executionContext = new DefaultExecutionContext( getName(), new URLClassLoader( customClassPathURLS, getParentClassLoader() ) {
+ URL[] customClassPathURLs = getCustomClassPathURLs();
+ executionContext = new DefaultExecutionContext( getName(), new URLClassLoader( customClassPathURLs, getParentClassLoader() ) {
protected Class findClass(String name) throws ClassNotFoundException {
try {
return super.findClass( name );
@@ -614,10 +679,7 @@
IConnectionProfile profile = ProfileManager.getInstance().getProfileByName(connectionProfile);
if (profile != null) {
- // refresh profile (refresh jpa connection):
- // get fresh information about current db structure and update error markers
- profile.disconnect();
- profile.connect(null);
+ refreshProfile(profile);
//
final Properties invokeProperties = localCfg.getProperties();
// set this property to null!
@@ -629,6 +691,8 @@
//invoke.setProperty(Environment.DIALECT, dialect);
String driver = cpProperties.getProperty("org.eclipse.datatools.connectivity.db.driverClass"); //$NON-NLS-1$
localCfg.setProperty(Environment.DRIVER, driver);
+ // TODO:
+ String driverJarPath = cpProperties.getProperty("jarList"); //$NON-NLS-1$
String url = cpProperties.getProperty("org.eclipse.datatools.connectivity.db.URL"); //$NON-NLS-1$
//url += "/";// + cpProperties.getProperty("org.eclipse.datatools.connectivity.db.databaseName");
localCfg.setProperty(Environment.URL, url);
15 years, 10 months
JBoss Tools SVN: r13799 - trunk/as/docs/reference.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-25 14:52:32 -0500 (Wed, 25 Feb 2009)
New Revision: 13799
Modified:
trunk/as/docs/reference/pom.xml
Log:
refvert changes from commit http://fisheye.jboss.com/changelog/JBossTools?cs=13680
to get doc build back
Modified: trunk/as/docs/reference/pom.xml
===================================================================
--- trunk/as/docs/reference/pom.xml 2009-02-25 18:56:20 UTC (rev 13798)
+++ trunk/as/docs/reference/pom.xml 2009-02-25 19:52:32 UTC (rev 13799)
@@ -12,18 +12,9 @@
<profiles>
<profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- </properties>
- </profile>
- <profile>
<id>diffmk</id>
<properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ <master>master_output.xml</master>
</properties>
</profile>
</profiles>
@@ -39,15 +30,10 @@
<dependencies>
<dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <!--dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-docbook-xslt</artifactId>
<version>1.1.0</version>
- </dependency-->
+ </dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-jdocbook-style</artifactId>
@@ -72,22 +58,22 @@
<formats>
<format>
<formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/pdf.xsl</stylesheetResource>
<finalName>${pom.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
- <stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>${xsl-single}</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml-single.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -122,9 +108,7 @@
</distributionManagement>
<properties>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
<master>master.xml</master>
<translation>en-US</translation>
15 years, 10 months
JBoss Tools SVN: r13798 - in trunk/seam/tests: org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-25 13:56:20 -0500 (Wed, 25 Feb 2009)
New Revision: 13798
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam12XFacetTestSuite121EAP.java
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam20XFacetTestSuite201GA.java
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/SeamFacetInstallDelegateTest.java
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20XOperationsTestSuite201GA.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2850 - fixed now we have test suites that can be tested with different seam versions
1.2.1.EAP
2.0.1.GA
2.0.2.SP1
2.0.3.CR1
2.0.FP
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam12XFacetTestSuite121EAP.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam12XFacetTestSuite121EAP.java 2009-02-25 18:03:00 UTC (rev 13797)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam12XFacetTestSuite121EAP.java 2009-02-25 18:56:20 UTC (rev 13798)
@@ -11,10 +11,11 @@
package org.jboss.tools.seam.core.test.project.facet;
+import junit.framework.Test;
import junit.framework.TestSuite;
public class Seam12XFacetTestSuite121EAP {
- public static TestSuite suite() {
+ public static Test suite() {
TestSuite suite = new TestSuite("Seam 1.2.X tests");
suite.addTestSuite(SeamFacetInstallDelegateTest.class);
return suite;
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam20XFacetTestSuite201GA.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam20XFacetTestSuite201GA.java 2009-02-25 18:03:00 UTC (rev 13797)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam20XFacetTestSuite201GA.java 2009-02-25 18:56:20 UTC (rev 13798)
@@ -22,7 +22,7 @@
*
*/
public class Seam20XFacetTestSuite201GA {
- public static final Test suite() {
+ public static Test suite() {
TestSuite suite = new TestSuite("Seam 2.0.X tests");
suite.addTest(new Seam2FacetInstallDelegateTestSetup(new TestSuite(Seam2FacetInstallDelegateTest.class)));
return suite;
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java 2009-02-25 18:03:00 UTC (rev 13797)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java 2009-02-25 18:56:20 UTC (rev 13798)
@@ -317,8 +317,8 @@
IProject warProject = warPs.getWarProject();
assertTrue(warProject.exists());
- assertNotNull(warProject.findMember("src/model/seam.properties"));
- IResource findMember = warProject.findMember("src/action/seam.properties");
+ assertNotNull(warProject.findMember("src/main/seam.properties"));
+ IResource findMember = warProject.findMember("src/hot/seam.properties");
assertNotNull(findMember);
assertTrue(findMember instanceof IFile);
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/SeamFacetInstallDelegateTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/SeamFacetInstallDelegateTest.java 2009-02-25 18:03:00 UTC (rev 13797)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/SeamFacetInstallDelegateTest.java 2009-02-25 18:56:20 UTC (rev 13798)
@@ -47,7 +47,7 @@
final IFacetedProject fproj = createSeamProject("customProject",createSeamDataModel);
JobUtils.waitForIdle(500);
- assertTrue(fproj.getProject().findMember("src/action/x/y/z").exists());
+ assertTrue(fproj.getProject().findMember("src/hot/x/y/z").exists());
}
public void testJiraJbide1544() throws CoreException, IOException {
@@ -59,7 +59,7 @@
createSeamDataModel.setProperty(ISeamFacetDataModelProperties.DB_DEFAULT_CATALOG_NAME, catalogName);
createSeamDataModel.setProperty(ISeamFacetDataModelProperties.DB_DEFAULT_SCHEMA_NAME, schemaName);
IFacetedProject fproj = createSeamProject("customSchemaAndCatalog",createSeamDataModel);
- IFile persistence = (IFile)fproj.getProject().findMember("src/model/META-INF/persistence.xml");
+ IFile persistence = (IFile)fproj.getProject().findMember("src/main/META-INF/persistence.xml");
assertTrue(persistence.exists());
boolean schemaExists = ResourcesUtils.findLineInFile(persistence, ".*" +
NLS.bind(
@@ -89,7 +89,7 @@
createSeamDataModel = createSeamDataModel("war");
fproj = createSeamProject("noSchemaAndCatalog",createSeamDataModel);
- persistence = (IFile)fproj.getProject().findMember("src/model/META-INF/persistence.xml");
+ persistence = (IFile)fproj.getProject().findMember("src/main/META-INF/persistence.xml");
assertTrue(persistence.exists());
schemaExists = ResourcesUtils.findLineInFile(persistence, ".*" +
NLS.bind(
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20XOperationsTestSuite201GA.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20XOperationsTestSuite201GA.java 2009-02-25 18:03:00 UTC (rev 13797)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20XOperationsTestSuite201GA.java 2009-02-25 18:56:20 UTC (rev 13798)
@@ -20,7 +20,7 @@
*/
public class Seam20XOperationsTestSuite201GA {
- public static final Test suite() {
+ public static Test suite() {
TestSuite suite = new TestSuite();
suite.setName("Seam 2.0.X Operations Test");
suite.addTest(
15 years, 10 months
JBoss Tools SVN: r13797 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-02-25 13:03:00 -0500 (Wed, 25 Feb 2009)
New Revision: 13797
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3850, org.jboss.tools.vpe.editor.util.HTML.VALUE_TYPE_RADIOBUTTON was unused property, so it's was removed
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2009-02-25 16:43:45 UTC (rev 13796)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2009-02-25 18:03:00 UTC (rev 13797)
@@ -123,7 +123,6 @@
public static final String VALUE_TYPE_TEXT = "text"; //$NON-NLS-1$
public static final String VALUE_TYPE_PASSWORD = "password"; //$NON-NLS-1$
public static final String VALUE_TYPE_IMAGE = "image"; //$NON-NLS-1$
- public static final String VALUE_TYPE_RADIOBUTTON = "radiobutton"; //$NON-NLS-1$
public static final String VALUE_TYPE_CHECKBOX = "checkbox"; //$NON-NLS-1$
public static final String VALUE_TYPE_HIDDEN = "hidden"; //$NON-NLS-1$
public static final String VALUE_TYPE_BUTTON= "button"; //$NON-NLS-1$
15 years, 10 months
JBoss Tools SVN: r13796 - trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/helpers/page/link.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-02-25 11:43:45 -0500 (Wed, 25 Feb 2009)
New Revision: 13796
Modified:
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/helpers/page/link/Links.java
Log:
JBIDE-3843
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/helpers/page/link/Links.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/helpers/page/link/Links.java 2009-02-25 16:22:12 UTC (rev 13795)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/helpers/page/link/Links.java 2009-02-25 16:43:45 UTC (rev 13796)
@@ -14,7 +14,7 @@
import org.jboss.tools.common.model.*;
public class Links {
- Set<String> tags;
+ Set<String> tags = new HashSet<String>();
String[] tagsArray;
Map<String,Link[]> links = new HashMap<String,Link[]>();
ArrayList<LinksListener> listeners = new ArrayList<LinksListener>();
15 years, 10 months
JBoss Tools SVN: r13794 - trunk/hibernatetools/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-02-25 11:21:50 -0500 (Wed, 25 Feb 2009)
New Revision: 13794
Modified:
trunk/hibernatetools/docs/reference/en/modules/plugins.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-548
The info about "Detect one-to-one associations" checkbox is added
Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-02-25 13:38:25 UTC (rev 13793)
+++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-02-25 16:21:50 UTC (rev 13794)
@@ -838,6 +838,26 @@
strategy.</para>
</entry>
</row>
+
+ <row>
+ <entry>
+ <para>Detect one-to-one associations</para>
+ </entry>
+
+ <entry>
+ <para>
+ Reverse engineering detects one-to-one associations via primary key and both hbm.xml and annotation generation generates the proper code for it.
+ </para>
+ <para>
+ The detection is enabled by default (except for Seam 1.2 and Seam 2.0) reverse engineering.
+ For Hibernate Tools generation there is a checkbox to disable if not wanted.
+
+ </para>
+ </entry>
+ </row>
+
+
+
<row>
<entry>
15 years, 10 months