JBoss Tools SVN: r14351 - in trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res: project/test/annotated/getters and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-03-27 10:39:55 -0400 (Fri, 27 Mar 2009)
New Revision: 14351
Added:
trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/fields/Entity.java
trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Country.java
trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Visa.java
trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/fields/Entity.java
trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Country.java
trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Visa.java
Modified:
trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Passport.java
trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Passport.java
Log:
JBIDE-4031
Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/fields/Entity.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/fields/Entity.java (rev 0)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/fields/Entity.java 2009-03-27 14:39:55 UTC (rev 14351)
@@ -0,0 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package test.annotated.getters;
+
+// just specific test case
+public interface Entity extends Identifiable <Long>
+{ Long getId (); }
Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Country.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Country.java (rev 0)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Country.java 2009-03-27 14:39:55 UTC (rev 14351)
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package test.annotated.fields;
+
+public class Country {
+
+ private String name;
+
+ public Country(String name){
+ this.name = name;
+ }
+
+ public String getName(){
+ return this.name;
+ }
+
+}
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Passport.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Passport.java 2009-03-27 14:27:16 UTC (rev 14350)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Passport.java 2009-03-27 14:39:55 UTC (rev 14351)
@@ -10,12 +10,24 @@
******************************************************************************/
package test.annotated.getters;
+import java.util.Map;
+
public class Passport extends Document {
- private Long fakeId;
+ protected Long fakeId;
+ private Map<Visa, String> visas;
+
public Passport() {
setDocType((byte)1);
}
+
+ public void setVisas(Map<Visa, String> visas){
+ this.visas = visas;
+ }
+
+ public Map<Visa, String> getVisas(){
+ return visas;
+ }
}
Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Visa.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Visa.java (rev 0)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/project/test/annotated/getters/Visa.java 2009-03-27 14:39:55 UTC (rev 14351)
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package test.annotated.fields;
+
+/**
+ * @author Dmitry Geraskov
+ *
+ */
+public class Visa {
+ private Country[] countries;
+
+ private byta nonCompiledProterty1;
+ privata byte nonCompiledProterty2;
+
+ public Visa(Country[] countries) {
+ this.countries = countries;
+ }
+
+ public getCountriesNonCompiledMethod() {
+ return countries;
+ }
+
+ publis getCountriesNonCompiledMethod2() {
+ return countries;
+ }
+
+ public Country[] getCountries() {
+ return countries;
+ }
+
+ public setCountries(Country[] countries) {
+ this.countries = countries;
+ }
+}
Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/fields/Entity.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/fields/Entity.java (rev 0)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/fields/Entity.java 2009-03-27 14:39:55 UTC (rev 14351)
@@ -0,0 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package test.annotated.getters;
+
+// just specific test case
+public interface Entity extends Identifiable <Long>
+{ Long getId (); }
Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Country.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Country.java (rev 0)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Country.java 2009-03-27 14:39:55 UTC (rev 14351)
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package test.annotated.fields;
+
+import javax.persistence.Entity;
+
+@Entity
+public class Country {
+
+ private String name;
+
+ public Country(String name){
+ this.name = name;
+ }
+
+ public String getName(){
+ return this.name;
+ }
+
+}
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Passport.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Passport.java 2009-03-27 14:27:16 UTC (rev 14350)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Passport.java 2009-03-27 14:39:55 UTC (rev 14351)
@@ -10,15 +10,29 @@
******************************************************************************/
package test.annotated.getters;
+import java.util.Map;
+
import javax.persistence.Entity;
+import javax.persistence.OneToMany;
@Entity
public class Passport extends Document {
- private Long fakeId;
+ protected Long fakeId;
+
+ private Map<Visa, String> visas;
public Passport() {
setDocType((byte)1);
}
+
+ public void setVisas(Map<Visa, String> visas){
+ this.visas = visas;
+ }
+
+ @OneToMany
+ public Map<Visa, String> getVisas(){
+ return visas;
+ }
}
Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Visa.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Visa.java (rev 0)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/res/specimen/test/annotated/getters/Visa.java 2009-03-27 14:39:55 UTC (rev 14351)
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package test.annotated.fields;
+
+import javax.persistence.Entity;
+import javax.persistence.OneToMany;
+
+@Entity
+public class Visa {
+ private Country[] countries;
+
+ private byta nonCompiledProterty1;
+ privata byte nonCompiledProterty2;
+
+ public Visa(Country[] countries){
+ this.countries = countries;
+ }
+
+ public getCountriesNonCompiledMethod() {
+ return countries;
+ }
+
+ publis getCountriesNonCompiledMethod2() {
+ return countries;
+ }
+
+ @OneToMany(mappedBy="country")
+ public Country[] getCountries(){
+ return countries;
+ }
+
+ public setCountries(Country[] countries){
+ this.countries = countries;
+ }
+}
15 years, 10 months
JBoss Tools SVN: r14350 - trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/collect.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-03-27 10:27:16 -0400 (Fri, 27 Mar 2009)
New Revision: 14350
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/collect/CollectEntityInfo.java
Log:
JBIDE-4028 - fix: npe for non compilable getter
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/collect/CollectEntityInfo.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/collect/CollectEntityInfo.java 2009-03-27 01:10:54 UTC (rev 14349)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/collect/CollectEntityInfo.java 2009-03-27 14:27:16 UTC (rev 14350)
@@ -364,6 +364,9 @@
}
public boolean processFieldOrGetter(Type type, List<String> list) {
+ if (type == null) {
+ return false;
+ }
if (type.isPrimitiveType()) {
PrimitiveType pt = (PrimitiveType)type;
if (!pt.getPrimitiveTypeCode().equals(PrimitiveType.BOOLEAN)) {
15 years, 10 months
JBoss Tools SVN: r14349 - in trunk/documentation/whatsnew: smooks and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-26 21:10:54 -0400 (Thu, 26 Mar 2009)
New Revision: 14349
Modified:
trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA-full.html
trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html
trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.GA-full.html
Log:
https://jira.jboss.org/jira/browse/JBDS-679 Titles and navigation of what's new "full" pages is checked and corrected, syntax errors are fixed in seam pages
Modified: trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
+++ trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA-full.html 2009-03-27 01:10:54 UTC (rev 14349)
@@ -1,4 +1,4 @@
-2<?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">
@@ -9,6 +9,7 @@
<title>Seam Tools 3.0.0.GA What's New</title>
</head>
<body>
+
<h1>Seam Tools 3.0.0.GA What's New</h1>
<p align="right"><a href="../index.html">< Main Index</a> <a href="../smooks/smooks-news-1.0.0.GA-full.html">Smooks Tools News ></a></p>
@@ -22,13 +23,14 @@
<h3>General</h3>
<hr/>
</td>
- <tr>
+ </tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Seam 2.1 support</b>
</td>
<td width="70%" valign="top">
<p>Work have been done to make sure this release will work with Seam 2.1 as a Technology Preview; i.e. components.xml editor supports 2.1 schemas.</p>
- <p>Generate Entities wizard will only work with Seam 2.1.0.SP1 or use the patch available in the related <a href="https://jira.jboss.org/jira/browse/JBSEAM-3617">bug in jira</a> for Seam 2.1.0.GA</a></p>
+ <p>Generate Entities wizard will only work with Seam 2.1.0.SP1 or use the patch available in the related <a href="https://jira.jboss.org/jira/browse/JBSEAM-3617">bug in jira</a> for Seam 2.1.0.GA</p>
<p><img src="../images/seam_21facet.png"/></p>
@@ -37,9 +39,6 @@
</td>
</tr>
- </td>
- </tr>
-
<tr>
<td colspan="2"><hr />
</td>
@@ -53,7 +52,7 @@
<p>Seam 2.0 is no longer a technology preview, since it is fully supported via the Feature Pack (FP) to JBoss EAP.</p>
</td>
</tr>
- </tr>
+
<tr>
<td colspan="2">
@@ -105,7 +104,7 @@
<p>The graphical outline gives a birds-view of the layout to allow quick navigation for even big sites</p>
- <img src="../images/pagesxml_graphicaloutline.png"/></p>
+ <img src="../images/pagesxml_graphicaloutline.png"/>
<p>The structural outline shows a tree for every element in pages.xml. You can get a quick overview plus by selecting an element the related element will be highlighted in the graphical, structural or source page.</p>
<p>
@@ -167,7 +166,7 @@
<a name="itemnam2e" id="itemname2"></a><b>Uppercase warning</b>
</td>
<td width="70%" valign="top">
- <p>The Seam wizard now warns if you create a project with first uppercase letter because of a tricky <a href="https://jira.jboss.org/jira/browse/JBIDE-2190">set of bugs</a> in JBoss AS/Seam/JSF could cause deployment to fail.</p
+ <p>The Seam wizard now warns if you create a project with first uppercase letter because of a tricky <a href="https://jira.jboss.org/jira/browse/JBIDE-2190">set of bugs</a> in JBoss AS/Seam/JSF could cause deployment to fail.</p>
<p><img src="../images/seamfacet_warning.png"/></p>
</td>
@@ -183,12 +182,6 @@
<tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
-
- <tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Ordered JSF code completions</b>
</td>
@@ -207,7 +200,7 @@
<li>JSF EL (Managed Beans, Managed Bean Properties, Managed Bean Methods, Constants, Resource Bundles, Resource Bundle Properties)</li>
<li>WTP JSF EL</li>
</ol>
-<li>
+</li>
</ol>
<p><img src="../images/orderedcompletions.png"/></p>
@@ -258,7 +251,8 @@
<h3>Projects</h3>
<hr/>
</td>
- <tr>
+ </tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Up- or Down-grade of Seam versions</b>
</td>
@@ -276,12 +270,6 @@
</td>
</tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Hot Deploy of WAR in EAR</b>
</td>
@@ -295,6 +283,7 @@
<td colspan="2"><hr />
</td>
</tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>action/model vs hot/main</b>
@@ -311,6 +300,7 @@
<td colspan="2"><hr />
</td>
</tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Open Web Browser</b>
@@ -328,7 +318,8 @@
<h3>Validation</h3>
<hr/>
</td>
- <tr>
+ </tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Severity preference for EL Syntax check</b>
</td>
@@ -403,7 +394,8 @@
<h3>Pages Editor</h3>
<hr/>
</td>
- <tr>
+ </tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Delete on nodes</b>
</td>
@@ -469,7 +461,8 @@
<h3>Projects</h3>
<hr/>
</td>
- <tr>
+ </tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Change Seam parent project</b>
</td>
@@ -489,6 +482,7 @@
<h3>Editors</h3>
<hr/>
</td>
+</tr>
<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Seam pages editor preferences</b>
@@ -529,6 +523,7 @@
<h3>Performance</h3>
<hr/>
</td>
+</tr>
<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Seam validators</b>
Modified: trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html 2009-03-27 00:32:21 UTC (rev 14348)
+++ trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html 2009-03-27 01:10:54 UTC (rev 14349)
@@ -6,10 +6,10 @@
<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>Seam Tools 3.0.0.GA What's New</title>
+<title>Seam tools 3.0.0.GA What's New</title>
</head>
<body>
-<h1>Seam Tools 3.0.0.GA What's New</h1>
+<h1>Seam tools 3.0.0.GA What's New</h1>
<p align="right"><a href="../index.html">< Main Index</a> <a href="../jst/jst-news-3.0.0.GA.html">JST/JSF Tools News ></a></p>
@@ -20,7 +20,8 @@
<h3>General</h3>
<hr/>
</td>
- <tr>
+ </tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Improved Seam 2.1 support</b>
</td>
@@ -39,7 +40,8 @@
<h3>Performance</h3>
<hr/>
</td>
- <tr>
+ </tr>
+<tr>
<td valign="top" align="right">
<a name="itemnam2e" id="itemname2"></a><b>Seam validators</b>
</td>
Modified: trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
+++ trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.GA-full.html 2009-03-27 01:10:54 UTC (rev 14349)
@@ -11,7 +11,7 @@
<body>
<h1>Smooks Tools 1.0.0.GA What's New</h1>
- <p align="right"><a href="../index.html">< Main Index</a> <a href="../vpe/vpe-news-3.0.0.GA-full.html">Examples ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../vpe/vpe-news-3.0.0.GA-full.html">VPE News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
15 years, 10 months
JBoss Tools SVN: r14348 - in trunk/documentation/whatsnew: birt and 12 other directories.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-26 20:32:21 -0400 (Thu, 26 Mar 2009)
New Revision: 14348
Added:
trunk/documentation/whatsnew/jmx/jmx-news-1.0.0.GA-full.html
trunk/documentation/whatsnew/jst/jst-news-3.0.0.GA-full.html
trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA-full.html
Removed:
trunk/documentation/whatsnew/jmx/jmx-news-0.5.0.GA-full.html
trunk/documentation/whatsnew/jst/jst-news-2.0.0.GA-full.html
trunk/documentation/whatsnew/seam/seam-news-2.0.0.GA-full.html
Modified:
trunk/documentation/whatsnew/as/as-news-2.0.0.GA-full.html
trunk/documentation/whatsnew/birt/birt-news-1.0.0.GA-full.html
trunk/documentation/whatsnew/core/core-news-3.0.0.GA-full.html
trunk/documentation/whatsnew/esb/esb-news-1.0.0.GA-full.html
trunk/documentation/whatsnew/examples/examples-news-1.0.0.GA-full.html
trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.GA-full.html
trunk/documentation/whatsnew/jbpm/jbpm-news-3.1.7.GA-full.html
trunk/documentation/whatsnew/portlet/portlet-news-1.0.0.GA-full.html
trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html
trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.GA-full.html
trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.GA-full.html
trunk/documentation/whatsnew/ws/ws-news-1.0.0.GA-full.html
Log:
https://jira.jboss.org/jira/browse/JBDS-679 Titles and navigation of what's new "full" pages is checked and corrected
Modified: trunk/documentation/whatsnew/as/as-news-2.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/as/as-news-2.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/as/as-news-2.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -2,14 +2,14 @@
<head>
<link rel="stylesheet" href="../whatsnew.css">
-<title>JBoss AS Tools 2.0.0.Alpha1 News</title>
+<title>JBoss AS Tools 2.0.0.GA News</title>
</head>
<body>
-<h1>JBoss AS Tools 2.0.0.Alpha1 - New and Noteworthy</h1>
+<h1>JBoss AS Tools 2.0.0.GA - New and Noteworthy</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../portlet/portlet-news-1.0.0.Alpha1.html">Portlet Tools News ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../birt/birt-news-1.0.0.GA-full.html">Birt Tools News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
Modified: trunk/documentation/whatsnew/birt/birt-news-1.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/birt/birt-news-1.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/birt/birt-news-1.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,12 +6,12 @@
<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 BIRT Integration</title>
+ <title>JBoss BIRT Integration 1.0.0.GA</title>
</head>
<body>
<h1>JBoss BIRT Integration 1.0.0.GA - New and Noteworthy</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../vpe/vpe-news-3.0.0.Alpha1.html">Visual Page Editor News ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../core/core-news-3.0.0.GA-full.html">Core News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
<td colspan="2">
Modified: trunk/documentation/whatsnew/core/core-news-3.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/core/core-news-3.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/core/core-news-3.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,12 +6,12 @@
<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>Core 3.0.0.Alpha1 What's New</title>
+<title>Core 3.0.0.GA What's New</title>
</head>
<body>
-<h1>Core 3.0.0.Alpha1 What's New</h1>
+<h1>Core 3.0.0.GA What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../seam/seam-news-2.0.0.Alpha1.html">Seam News ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../esb/esb-news-1.0.0.GA-full.html">ESB News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
Modified: trunk/documentation/whatsnew/esb/esb-news-1.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/esb/esb-news-1.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/esb/esb-news-1.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,12 +6,12 @@
<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>ESB tools 1.0.0.GA What's New</title>
+<title>ESB Tools 1.0.0.GA What's New</title>
</head>
<body>
-<h1>ESB tools 1.0.0.GA What's New</h1>
+<h1>ESB Tools 1.0.0.GA What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-1.1.0.beta1.html">JBoss AS Tools News ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../examples/examples-news-1.0.0.GA-full.html">JBoss Project Examples News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
Modified: trunk/documentation/whatsnew/examples/examples-news-1.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/examples/examples-news-1.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/examples/examples-news-1.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -11,7 +11,7 @@
<body>
<h1>Examples 1.0.0.GA What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../core/core-news-3.0.0.Beta1.html">Core/General ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../hibernate/hibernate-news-3.2.4.GA-full.html">Hibernate Tools News></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
@@ -56,7 +56,7 @@
<p>Project Examples Wizard provide a filter and site field to more easily locate the project examples you want.</p>
<p><img src="../images/sitefilter_projectexamples.png"/></p>
-
+
<p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3087">Related jira</a></small></p>
</td>
Modified: trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,19 +6,19 @@
<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>Hibernate tools 3.2.4.GA What's New</title>
+<title>Hibernate Tools 3.2.4.GA What's New</title>
</head>
<body>
-<h1>Hibernate tools 3.2.4.GA What's New</h1>
+<h1>Hibernate Tools 3.2.4.GA What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-2.0.0.Alpha1.html">JBoss AS Tools News ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../jbpm/jbpm-news-3.1.7.GA-full.html">JBoss JBPM Tools News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
- <td colspan="2"><hr />
+ <td colspan="2"><hr />
<h3>Setup</h3>
</td>
</tr>
@@ -70,7 +70,7 @@
<hr/>
</td>
</tr>
-
+
<tr>
<td colspan="2">
<hr/>
@@ -96,8 +96,8 @@
</td>
</tr>
-
-
+
+
<tr>
<td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>JPA/Dali support</b></td>
<td valign="top">
Modified: trunk/documentation/whatsnew/jbpm/jbpm-news-3.1.7.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/jbpm/jbpm-news-3.1.7.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/jbpm/jbpm-news-3.1.7.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,12 +6,12 @@
<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>jBPM tools 3.1.7.GA What's New</title>
+<title>jBPM Tools 3.1.7.GA What's New</title>
</head>
<body>
-<h1>jBPM tools 3.1.7.GA What's New</h1>
+<h1>jBPM Tools 3.1.7.GA What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> </p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../jmx/jmx-news-1.0.0.GA-full.html">JBoss JMX Tools News></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
Deleted: trunk/documentation/whatsnew/jmx/jmx-news-0.5.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/jmx/jmx-news-0.5.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/jmx/jmx-news-0.5.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -1,57 +0,0 @@
-<html>
-
-<head>
-<link rel="stylesheet" href="../whatsnew.css">
-<title>JMX Tools 0.5.GA News</title>
-</head>
-
-<body>
-
-<h1>JMX Tools 0.5.GA - New and Noteworthy</h1>
-
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../esb/esb-news-1.1.0.CR1.html">JBoss ESB Tools ></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">
- <p align="right"><b>Eclipse JMX moves to JBoss Tools</b></td>
- <td valign="top">
- <p>Jeff Mesnil contributed his <a href="http://code.google.com/p/eclipse-jmx/">Eclipse-JMX</a> plugin to JBoss Tools, now called JMX Tools.</p>
- <p>JMX Tools allows you to setup multiple JMX connections and
- provides view for exploring the JMX tree and execute operations
- directly from Eclipse. The JMX Tools replaces the JMX node we previously had in the JBoss Server View.</p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr>
- </td>
- </tr>
- <tr>
- <td valign="top" align="left">
- <p align="right"><b>JMX Perspective</b></td>
- <td valign="top">
-<p>The JMX perspective is the simplest way to use the MBean explorer. It allows you to explore the MBean tree on any JMX based system (not just JBoss AS); double click an operation or attribute and a MBean editor shows up with info about the related MBean. </p>
-
- <p><img src="../images/jmx_perspective.png"/></p>
- </td>
-
- </tr>
-
-
-</table>
-
-</body>
-
-</html>
-
-
Added: trunk/documentation/whatsnew/jmx/jmx-news-1.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/jmx/jmx-news-1.0.0.GA-full.html (rev 0)
+++ trunk/documentation/whatsnew/jmx/jmx-news-1.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -0,0 +1,57 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="../whatsnew.css">
+<title>JMX Tools 1.0.0.GA News</title>
+</head>
+
+<body>
+
+<h1>JMX Tools 1.0.0.GA - New and Noteworthy</h1>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../jst/jst-news-3.0.0.GA-full.html">JST/JSF Tools News ></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">
+ <p align="right"><b>Eclipse JMX moves to JBoss Tools</b></td>
+ <td valign="top">
+ <p>Jeff Mesnil contributed his <a href="http://code.google.com/p/eclipse-jmx/">Eclipse-JMX</a> plugin to JBoss Tools, now called JMX Tools.</p>
+ <p>JMX Tools allows you to setup multiple JMX connections and
+ provides view for exploring the JMX tree and execute operations
+ directly from Eclipse. The JMX Tools replaces the JMX node we previously had in the JBoss Server View.</p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>JMX Perspective</b></td>
+ <td valign="top">
+<p>The JMX perspective is the simplest way to use the MBean explorer. It allows you to explore the MBean tree on any JMX based system (not just JBoss AS); double click an operation or attribute and a MBean editor shows up with info about the related MBean. </p>
+
+ <p><img src="../images/jmx_perspective.png"/></p>
+ </td>
+
+ </tr>
+
+
+</table>
+
+</body>
+
+</html>
+
+
Deleted: trunk/documentation/whatsnew/jst/jst-news-2.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-2.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/jst/jst-news-2.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -1,50 +0,0 @@
-<?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>JST/JSF tools 2.0.0.GA What's New</title>
-</head>
-<body>
-<h1>JST/JSF Tools 2.0.0.GA What's New</h1>
-
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-2.0.0.GA.html">JBoss AS Tools ></a></p>
-
-
-<table border="0" cellpadding="10" cellspacing="0" width="80%">
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Projects</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Label/Grouping of faces-config.xml and other resources</b>
- </td>
- <td width="70%" valign="top">
- <p>In case of projects with multiple similar named resources (i.e. faces-config.xml in Seam projects) we now add a small label to the name to indicate where the resource is from.</p>
-
-<p><img src="../images/multiple_faces_config.png"/></p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3764">Related Jira</a></small></p>
-
- </td>
- </tr>
-
-
-
-
-
-
-
-</table>
-
-</body>
-
-</html>
-
-
Added: trunk/documentation/whatsnew/jst/jst-news-3.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-3.0.0.GA-full.html (rev 0)
+++ trunk/documentation/whatsnew/jst/jst-news-3.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -0,0 +1,50 @@
+<?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>JST/JSF tools 3.0.0.GA What's New</title>
+</head>
+<body>
+<h1>JST/JSF Tools 3.0.0.GA What's New</h1>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../portlet/portlet-news-1.0.0.GA-full.html">JBoss Tools Portlet></a></p>
+
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Projects</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Label/Grouping of faces-config.xml and other resources</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>In case of projects with multiple similar named resources (i.e. faces-config.xml in Seam projects) we now add a small label to the name to indicate where the resource is from.</p>
+
+<p><img src="../images/multiple_faces_config.png"/></p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3764">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+
+
+
+
+
+
+</table>
+
+</body>
+
+</html>
+
+
Modified: trunk/documentation/whatsnew/portlet/portlet-news-1.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/portlet/portlet-news-1.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/portlet/portlet-news-1.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,12 +6,12 @@
<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 Tools Portlet</title>
+ <title>JBoss Tools Portlet 1.0.0.GA</title>
</head>
<body>
-<h1>JBoss Tools Portlet 3.0.0.GA - New and Noteworthy</h1>
+<h1>JBoss Tools Portlet 1.0.0.GA - New and Noteworthy</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../ws/ws-news-1.0.0.Alpha1.html">Web Services News ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../seam/seam-news-3.0.0.GA-full.html">Seam Tools News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
@@ -138,14 +138,14 @@
</td>
</tr>
-
+
<tr>
<td colspan="2">
<hr/>
</td>
</tr>
<tr>
-
+
<td valign="top" align="left">
<p><b>Portlet runtime validation</b></p>
</td>
Deleted: trunk/documentation/whatsnew/seam/seam-news-2.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-2.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/seam/seam-news-2.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -1,576 +0,0 @@
-2<?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>Seam tools 2.0.0.GA What's New</title>
-</head>
-<body>
-<h1>Seam tools 2.0.0.GA What's New</h1>
-
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../hibernate/hibernate-news-3.2.4.Alpha1.html">Hibernate News ></a></p>
-
-
-<table border="0" cellpadding="10" cellspacing="0" width="80%">
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>General</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Seam 2.1 support</b>
- </td>
- <td width="70%" valign="top">
- <p>Work have been done to make sure this release will work with Seam 2.1 as a Technology Preview; i.e. components.xml editor supports 2.1 schemas.</p>
- <p>Generate Entities wizard will only work with Seam 2.1.0.SP1 or use the patch available in the related <a href="https://jira.jboss.org/jira/browse/JBSEAM-3617">bug in jira</a> for Seam 2.1.0.GA</a></p>
-
- <p><img src="../images/seam_21facet.png"/></p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3854">Related Jira</a></small></p>
-
- </td>
- </tr>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Seam 2.0 no longer marked as Technology Preview</b>
- </td>
- <td width="70%" valign="top">
- <p>Seam 2.0 is no longer a technology preview, since it is fully supported via the Feature Pack (FP) to JBoss EAP.</p>
- </td>
- </tr>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Editors</h3>
- <hr/>
- </td>
- </tr>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>pages.xml editor</b>
- </td>
- <td width="70%" valign="top">
- <p>An editor for pages.xml have been added for visualizing and edit the flow defined in pages.xml (single page.xml will be added later)</p>
- <p>There are three modes: Graphical, Tree and plain source.</p>
-
-<b>Graphical</b>
- <p><img src="../images/enhance_pagesxmleditor.png"/></p>
-
- <p>Yellow, full line: Represent a <code><page></code> element.</p>
- <p>Yellow, dashed line: Represent a page that is being navigated to but does not exist in pages.xml </p>
- <p>Red box: <code><exception></code> element</p>
- <p>Red cross on page icon: the view-id is not found in the project.</p>
-
-<br/>
-
-<p>Edit tips: Double click on a page with a concrete view-id will open up that page, selecting and single clicking on the page name allows for quick rename. The context menu also has operations that is worth trying out.</p>
-<b>Tree</b>
-
- <p>
- <img src="../images/structured_pagesxmleditor.png"/>
- </p>
-
- </td>
- </tr>
-
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>pages.xml outline</b>
- </td>
- <td width="70%" valign="top">
- <p>pages.xml editor has outline support for both the graphical and structural mode.</p>
-
- <p>The graphical outline gives a birds-view of the layout to allow quick navigation for even big sites</p>
-
- <img src="../images/pagesxml_graphicaloutline.png"/></p>
-
-<p>The structural outline shows a tree for every element in pages.xml. You can get a quick overview plus by selecting an element the related element will be highlighted in the graphical, structural or source page.</p>
- <p>
- <img src="../images/pagesxml_structuraloutline.png"/>
- </p>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Wizards</h3>
- <hr/>
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Selective Generate Entities</b>
- </td>
- <td width="70%" valign="top">
- <p>.</p>
-
- <p>Seam Generate Entities now allow you to select which catalog/schemas/tables you want to reverse engineer.</p>
-
- <p><img src="../images/selective_seam_generate_entities.png"/></p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Modular Seam Facets/Projects</b>
- </td>
- <td width="70%" valign="top">
- <p>The Seam facet does no longer force creation of EAR, WAR, test, utility project. This means if you use Dynamic Web Project we will now only create a simple War project with Seam support enabled. The Seam Web Project Wizard works like before and should be used if you want the full triage project setup with everything set up from the start.</p>
-
- <p>This also allow you to enable/disable Seam facets on existing projects instead of always having to use the wizard to create a new project.</p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Uppercase warning</b>
- </td>
- <td width="70%" valign="top">
- <p>The Seam wizard now warns if you create a project with first uppercase letter because of a tricky <a href="https://jira.jboss.org/jira/browse/JBIDE-2190">set of bugs</a> in JBoss AS/Seam/JSF could cause deployment to fail.</p
- <p><img src="../images/seamfacet_warning.png"/></p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Editors</h3>
- <hr/>
- </td>
- </tr>
-
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Ordered JSF code completions</b>
- </td>
- <td width="70%" valign="top">
-
- <p>JSF code completions are now explicitly ordered by type to give more relevant completions higher priority. The current ordering is below.</p>
-
-<ol>
-<li>XML/JSP/HTML Tags</li>
-<li>Tag Attributes</li>
-<li>Tag Attribute Values:
-<ol>
- <li>The Tag Name List for the jsfc-attribute</li>
- <li>Predefined Tag Attribute Values </li>
- <li>SEAM EL (Seam Components, Seam Component Properties, Seam Component Methods, Seam Message Components, Seam Message Component Properties, Seam Factories)</li>
- <li>JSF EL (Managed Beans, Managed Bean Properties, Managed Bean Methods, Constants, Resource Bundles, Resource Bundle Properties)</li>
- <li>WTP JSF EL</li>
-</ol>
-<li>
-</ol>
-
-<p><img src="../images/orderedcompletions.png"/></p>
-
- </td>
- </tr>
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>@DataModelSelection support</b>
- </td>
- <td width="70%" valign="top">
-
- <p>Seam code completion now also picks up <code>@DataModelSection</code>.</p>
-
- <p><img src="../images/datamodel_support.png"/></p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Warning for unbalanced EL</b>
- </td>
- <td width="70%" valign="top">
-
- <p>EL validation now adds warnings for unbalanced EL.</p>
-
-<p><img src="../images/unbalanced_el.png"/></p>
-
-
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Projects</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Up- or Down-grade of Seam versions</b>
- </td>
- <td width="70%" valign="top">
- <p>It is now possible to use the facet preferences to uprade or downgrade your projects Seam version.</p>
- <p>The update is a "best-attempt" that will adjust the libraries, Seam facet and runtime version, but configuration files that refer to
-the old version will have to be manually updated.</p>
-
-<p><img src="../images/seam_changeversion.png"/></p>
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Hot Deploy of WAR in EAR</b>
- </td>
- <td width="70%" valign="top">
- <p>The WAR generated for EAR's is now configured to utilize Seam hot-deployment (WEB-INF/dev) similar to standalone WAR projects.</p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>action/model vs hot/main</b>
- </td>
- <td width="70%" valign="top">
- <p>To align with seam-gen in Seam 2.1 naming of source path's,
-action is now hot and model is now main. The reason being that hot and
-main better described what the folders are used for.</p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Open Web Browser</b>
- </td>
- <td width="70%" valign="top">
- <p>The Open Web Browser action is now directly available in the Seam perspective.</p>
-
- <p><img src="../images/seam_openwebbrowser.png"/></p>
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Validation</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Severity preference for EL Syntax check</b>
- </td>
- <td width="70%" valign="top">
- <p>There is now a preference for setting severity of EL Syntax check to Error, Warning or Ignore.</p>
-
- <p><img src="../images/seam_el_preference.png"/></p>
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Warning for wrong Seam version</b>
- </td>
- <td width="70%" valign="top">
- <p>The valdiator now checks if the runtime matches with the
- version referred to in components.xml, i.e. runtime is Seam 2.0,
- but components.xml refers to Seam 2.1</p>
-
- </td>
- </tr>
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Wizards warns against existing file</b>
- </td>
- <td width="70%" valign="top">
- <p>The various Seam action,form,etc. wizard now warns if the wizard will generate a class or page that already
-exist.</p>
-
-<p><img src="../images/seam_actionwarning.png"/></p>
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Project Wizards escape spaces</b>
- </td>
- <td width="70%" valign="top">
- <p>Use of project names with spaces now work since we now escape the related package names.</p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>entity-query support</b>
- </td>
- <td width="70%" valign="top">
- <p><code><framework:entity-query name="postList" ...></code> is now recognized as a EntityQuery component making code completion aware of it methods/attributes.</p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Pages Editor</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Delete on nodes</b>
- </td>
- <td width="70%" valign="top">
- <p>Nodes in graphical pages.xml can now be directly deleted by using the Delete key.</p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>View ID browser</b>
- </td>
- <td width="70%" valign="top">
- <p>When referring a page node you can now browse for existing pages.</p>
-
- <p><img src="../images/seam_pages_idbrowser.png"/></p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>OpenOn</b>
- </td>
- <td width="70%" valign="top">
- <p>EL and Page Id's can now be navigate to directly via OpenOn's from source page.</p>
-
-<p><img src="../images/seam_openon_viewid.png"/></p>
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Code completion</b>
- </td>
- <td width="70%" valign="top">
- <p>EL references is now code completed in the source tab of pages.xml. The graphical node now also provides code completion for page id and EL expressions..</p>
-
-<p><img src="../images/seam_pages_codecomplete_id.png"/></p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Projects</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Change Seam parent project</b>
- </td>
- <td width="70%" valign="top">
- <p>It is now possible to change the Seam parent project directly in Seam preferences. In earlier versions this was only controllable at project creation time, now it can be changed for existing projects too.</p>
-
- <p><img src="../images/change_seam_parent.png"/></p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3535">Related Jira</a></small></p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Editors</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Seam pages editor preferences</b>
- </td>
- <td width="70%" valign="top">
- <p>There is now a preference page for controlling visual look and behavior of the Seam pages editor.</p>
-
- <p><img src="../images/seam_pages_editor_preferences.png"/></p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3409">Related Jira</a></small></p>
- </td>
- </tr>
-
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Easier view-id selection</b>
- </td>
- <td width="70%" valign="top">
- <p>When editing properties of elements that point to view-id's the dialog now lists existing view-id's for quick selection.</p>
-
- <p><img src="../images/navigation_page_dialog.png"/></p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3145">Related Jira</a></small></p>
- </td>
- </tr>
-
-
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Performance</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Seam validators</b>
- </td>
- <td width="70%" valign="top">
- <p>Various issues around Seam validators running too often were fixed.</p>
-
- <p>We now only validate files within source path and web content, meaning temporary files or test files is not included.</p>
- <p>Re-validation of unresolved EL expressions will only be triggered if the saved resource is a .java file or a components.xml file.</p>
- <p>Issue where Seam validator were invoked multiple times on the same resource were fixed.</p>
-
-<p>All of the above should make the time spent on validation for Seam much less prominent.</p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3336">Related Jira</a></small></p>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>More efficient scanning</b>
- </td>
- <td width="70%" valign="top">
- <p>Previous releases scanned all folders of a project for Seam resources, sometime causing unwanted sideeffects (duplicate components, out of sync resources etc.).</p>
- <p>Seam now only scans Java source directories, project classpath and WTP projects WEB-INF directory.</p>
- <p>Besides stopping giving bad errors/warnings it should also give a decent speed up for large projects since only a smaller focused set of resources will be scanned.</p>
-
- </td>
- </tr>
-
-
-
-
-</table>
-
-</body>
-
-</html>
-
-
Added: trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA-full.html (rev 0)
+++ trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -0,0 +1,576 @@
+2<?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>Seam Tools 3.0.0.GA What's New</title>
+</head>
+<body>
+<h1>Seam Tools 3.0.0.GA What's New</h1>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../smooks/smooks-news-1.0.0.GA-full.html">Smooks Tools News ></a></p>
+
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>General</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Seam 2.1 support</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Work have been done to make sure this release will work with Seam 2.1 as a Technology Preview; i.e. components.xml editor supports 2.1 schemas.</p>
+ <p>Generate Entities wizard will only work with Seam 2.1.0.SP1 or use the patch available in the related <a href="https://jira.jboss.org/jira/browse/JBSEAM-3617">bug in jira</a> for Seam 2.1.0.GA</a></p>
+
+ <p><img src="../images/seam_21facet.png"/></p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3854">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Seam 2.0 no longer marked as Technology Preview</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Seam 2.0 is no longer a technology preview, since it is fully supported via the Feature Pack (FP) to JBoss EAP.</p>
+ </td>
+ </tr>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Editors</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>pages.xml editor</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>An editor for pages.xml have been added for visualizing and edit the flow defined in pages.xml (single page.xml will be added later)</p>
+ <p>There are three modes: Graphical, Tree and plain source.</p>
+
+<b>Graphical</b>
+ <p><img src="../images/enhance_pagesxmleditor.png"/></p>
+
+ <p>Yellow, full line: Represent a <code><page></code> element.</p>
+ <p>Yellow, dashed line: Represent a page that is being navigated to but does not exist in pages.xml </p>
+ <p>Red box: <code><exception></code> element</p>
+ <p>Red cross on page icon: the view-id is not found in the project.</p>
+
+<br/>
+
+<p>Edit tips: Double click on a page with a concrete view-id will open up that page, selecting and single clicking on the page name allows for quick rename. The context menu also has operations that is worth trying out.</p>
+<b>Tree</b>
+
+ <p>
+ <img src="../images/structured_pagesxmleditor.png"/>
+ </p>
+
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>pages.xml outline</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>pages.xml editor has outline support for both the graphical and structural mode.</p>
+
+ <p>The graphical outline gives a birds-view of the layout to allow quick navigation for even big sites</p>
+
+ <img src="../images/pagesxml_graphicaloutline.png"/></p>
+
+<p>The structural outline shows a tree for every element in pages.xml. You can get a quick overview plus by selecting an element the related element will be highlighted in the graphical, structural or source page.</p>
+ <p>
+ <img src="../images/pagesxml_structuraloutline.png"/>
+ </p>
+
+
+ </td>
+ </tr>
+
+
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Wizards</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Selective Generate Entities</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>.</p>
+
+ <p>Seam Generate Entities now allow you to select which catalog/schemas/tables you want to reverse engineer.</p>
+
+ <p><img src="../images/selective_seam_generate_entities.png"/></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Modular Seam Facets/Projects</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The Seam facet does no longer force creation of EAR, WAR, test, utility project. This means if you use Dynamic Web Project we will now only create a simple War project with Seam support enabled. The Seam Web Project Wizard works like before and should be used if you want the full triage project setup with everything set up from the start.</p>
+
+ <p>This also allow you to enable/disable Seam facets on existing projects instead of always having to use the wizard to create a new project.</p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Uppercase warning</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The Seam wizard now warns if you create a project with first uppercase letter because of a tricky <a href="https://jira.jboss.org/jira/browse/JBIDE-2190">set of bugs</a> in JBoss AS/Seam/JSF could cause deployment to fail.</p
+ <p><img src="../images/seamfacet_warning.png"/></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Editors</h3>
+ <hr/>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Ordered JSF code completions</b>
+ </td>
+ <td width="70%" valign="top">
+
+ <p>JSF code completions are now explicitly ordered by type to give more relevant completions higher priority. The current ordering is below.</p>
+
+<ol>
+<li>XML/JSP/HTML Tags</li>
+<li>Tag Attributes</li>
+<li>Tag Attribute Values:
+<ol>
+ <li>The Tag Name List for the jsfc-attribute</li>
+ <li>Predefined Tag Attribute Values </li>
+ <li>SEAM EL (Seam Components, Seam Component Properties, Seam Component Methods, Seam Message Components, Seam Message Component Properties, Seam Factories)</li>
+ <li>JSF EL (Managed Beans, Managed Bean Properties, Managed Bean Methods, Constants, Resource Bundles, Resource Bundle Properties)</li>
+ <li>WTP JSF EL</li>
+</ol>
+<li>
+</ol>
+
+<p><img src="../images/orderedcompletions.png"/></p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>@DataModelSelection support</b>
+ </td>
+ <td width="70%" valign="top">
+
+ <p>Seam code completion now also picks up <code>@DataModelSection</code>.</p>
+
+ <p><img src="../images/datamodel_support.png"/></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Warning for unbalanced EL</b>
+ </td>
+ <td width="70%" valign="top">
+
+ <p>EL validation now adds warnings for unbalanced EL.</p>
+
+<p><img src="../images/unbalanced_el.png"/></p>
+
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Projects</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Up- or Down-grade of Seam versions</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>It is now possible to use the facet preferences to uprade or downgrade your projects Seam version.</p>
+ <p>The update is a "best-attempt" that will adjust the libraries, Seam facet and runtime version, but configuration files that refer to
+the old version will have to be manually updated.</p>
+
+<p><img src="../images/seam_changeversion.png"/></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Hot Deploy of WAR in EAR</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The WAR generated for EAR's is now configured to utilize Seam hot-deployment (WEB-INF/dev) similar to standalone WAR projects.</p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>action/model vs hot/main</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>To align with seam-gen in Seam 2.1 naming of source path's,
+action is now hot and model is now main. The reason being that hot and
+main better described what the folders are used for.</p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Open Web Browser</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The Open Web Browser action is now directly available in the Seam perspective.</p>
+
+ <p><img src="../images/seam_openwebbrowser.png"/></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Validation</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Severity preference for EL Syntax check</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>There is now a preference for setting severity of EL Syntax check to Error, Warning or Ignore.</p>
+
+ <p><img src="../images/seam_el_preference.png"/></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Warning for wrong Seam version</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The valdiator now checks if the runtime matches with the
+ version referred to in components.xml, i.e. runtime is Seam 2.0,
+ but components.xml refers to Seam 2.1</p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Wizards warns against existing file</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The various Seam action,form,etc. wizard now warns if the wizard will generate a class or page that already
+exist.</p>
+
+<p><img src="../images/seam_actionwarning.png"/></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Project Wizards escape spaces</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Use of project names with spaces now work since we now escape the related package names.</p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>entity-query support</b>
+ </td>
+ <td width="70%" valign="top">
+ <p><code><framework:entity-query name="postList" ...></code> is now recognized as a EntityQuery component making code completion aware of it methods/attributes.</p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Pages Editor</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Delete on nodes</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Nodes in graphical pages.xml can now be directly deleted by using the Delete key.</p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>View ID browser</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>When referring a page node you can now browse for existing pages.</p>
+
+ <p><img src="../images/seam_pages_idbrowser.png"/></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>OpenOn</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>EL and Page Id's can now be navigate to directly via OpenOn's from source page.</p>
+
+<p><img src="../images/seam_openon_viewid.png"/></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Code completion</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>EL references is now code completed in the source tab of pages.xml. The graphical node now also provides code completion for page id and EL expressions..</p>
+
+<p><img src="../images/seam_pages_codecomplete_id.png"/></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Projects</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Change Seam parent project</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>It is now possible to change the Seam parent project directly in Seam preferences. In earlier versions this was only controllable at project creation time, now it can be changed for existing projects too.</p>
+
+ <p><img src="../images/change_seam_parent.png"/></p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3535">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Editors</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Seam pages editor preferences</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>There is now a preference page for controlling visual look and behavior of the Seam pages editor.</p>
+
+ <p><img src="../images/seam_pages_editor_preferences.png"/></p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3409">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Easier view-id selection</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>When editing properties of elements that point to view-id's the dialog now lists existing view-id's for quick selection.</p>
+
+ <p><img src="../images/navigation_page_dialog.png"/></p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3145">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Performance</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Seam validators</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Various issues around Seam validators running too often were fixed.</p>
+
+ <p>We now only validate files within source path and web content, meaning temporary files or test files is not included.</p>
+ <p>Re-validation of unresolved EL expressions will only be triggered if the saved resource is a .java file or a components.xml file.</p>
+ <p>Issue where Seam validator were invoked multiple times on the same resource were fixed.</p>
+
+<p>All of the above should make the time spent on validation for Seam much less prominent.</p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3336">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>More efficient scanning</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Previous releases scanned all folders of a project for Seam resources, sometime causing unwanted sideeffects (duplicate components, out of sync resources etc.).</p>
+ <p>Seam now only scans Java source directories, project classpath and WTP projects WEB-INF directory.</p>
+ <p>Besides stopping giving bad errors/warnings it should also give a decent speed up for large projects since only a smaller focused set of resources will be scanned.</p>
+
+ </td>
+ </tr>
+
+
+
+
+</table>
+
+</body>
+
+</html>
+
+
Modified: trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,10 +6,10 @@
<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>Seam tools 3.0.0.GA What's New</title>
+<title>Seam Tools 3.0.0.GA What's New</title>
</head>
<body>
-<h1>Seam tools 3.0.0.GA What's New</h1>
+<h1>Seam Tools 3.0.0.GA What's New</h1>
<p align="right"><a href="../index.html">< Main Index</a> <a href="../jst/jst-news-3.0.0.GA.html">JST/JSF Tools News ></a></p>
Modified: trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,12 +6,12 @@
<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>Smooks tools 3.0.0.Beta1 What's New</title>
+<title>Smooks Tools 1.0.0.GA What's New</title>
</head>
<body>
-<h1>Smooks tools 3.0.0.Beta1 What's New</h1>
+<h1>Smooks Tools 1.0.0.GA What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../examples/examples-news-1.0.0.Beta1.html">Examples ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../vpe/vpe-news-3.0.0.GA-full.html">Examples ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
Modified: trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -10,9 +10,9 @@
</head>
<body>
<h1>What's New Visual Page Editor</h1>
-
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../core/core-news-3.0.0.Alpha1.html">Core News ></a></p>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../ws/ws-news-1.0.0.GA-full.html">Web Services News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
<td colspan="2">
@@ -273,8 +273,8 @@
<p><img src="../images/vpe_iconcompletion.png"/></p>
</td>
</tr>
-
+
<tr>
<td colspan="2">
<hr/>
Modified: trunk/documentation/whatsnew/ws/ws-news-1.0.0.GA-full.html
===================================================================
--- trunk/documentation/whatsnew/ws/ws-news-1.0.0.GA-full.html 2009-03-27 00:00:11 UTC (rev 14347)
+++ trunk/documentation/whatsnew/ws/ws-news-1.0.0.GA-full.html 2009-03-27 00:32:21 UTC (rev 14348)
@@ -6,12 +6,12 @@
<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>Web Services 1.0.0.Alpha What's New</title>
+<title>Web Services 1.0.0.GA What's New</title>
</head>
<body>
-<h1>Web Services 1.0.0.Alpha What's New</h1>
+<h1>Web Services 1.0.0.GA What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../birt/birt-news-1.0.0.Alpha1.html">Birt News ></a></p>
+<p align="right"><a href="../index.html">< Main Index</a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
<td colspan="2">
15 years, 10 months
JBoss Tools SVN: r14347 - in trunk/documentation/whatsnew: examples and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-26 20:00:11 -0400 (Thu, 26 Mar 2009)
New Revision: 14347
Added:
trunk/documentation/whatsnew/jst/jst-news-3.0.0.GA.html
trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html
Removed:
trunk/documentation/whatsnew/jst/jst-news-2.0.0.GA.html
trunk/documentation/whatsnew/seam/seam-news-2.0.0.GA.html
Modified:
trunk/documentation/whatsnew/as/as-news-2.0.0.GA.html
trunk/documentation/whatsnew/examples/examples-news-1.0.0.GA.html
Log:
https://jira.jboss.org/jira/browse/JBDS-679 Titles and navigation of what's new individual pages is checked and corrected
Modified: trunk/documentation/whatsnew/as/as-news-2.0.0.GA.html
===================================================================
--- trunk/documentation/whatsnew/as/as-news-2.0.0.GA.html 2009-03-26 20:37:26 UTC (rev 14346)
+++ trunk/documentation/whatsnew/as/as-news-2.0.0.GA.html 2009-03-27 00:00:11 UTC (rev 14347)
@@ -9,7 +9,7 @@
<h1>JBoss AS Tools 2.0.0.GA - New and Noteworthy</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../vpe/vpe-news-3.0.0.CR2.html">Visual Page Editor ></a></p>
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../seam/seam-news-3.0.0.GA.html">JBoss Seam Tools ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
Modified: trunk/documentation/whatsnew/examples/examples-news-1.0.0.GA.html
===================================================================
--- trunk/documentation/whatsnew/examples/examples-news-1.0.0.GA.html 2009-03-26 20:37:26 UTC (rev 14346)
+++ trunk/documentation/whatsnew/examples/examples-news-1.0.0.GA.html 2009-03-27 00:00:11 UTC (rev 14347)
@@ -11,7 +11,7 @@
<body>
<h1>Examples 1.0.0.GA What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../seam/seam-news-2.0.0.GA.html">Seam Tools ></a></p>
+<p align="right"><a href="../index.html">< Main Index</a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
Deleted: trunk/documentation/whatsnew/jst/jst-news-2.0.0.GA.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-2.0.0.GA.html 2009-03-26 20:37:26 UTC (rev 14346)
+++ trunk/documentation/whatsnew/jst/jst-news-2.0.0.GA.html 2009-03-27 00:00:11 UTC (rev 14347)
@@ -1,50 +0,0 @@
-<?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>JST/JSF tools 2.0.0.GA What's New</title>
-</head>
-<body>
-<h1>JST/JSF 2.0.0.GA What's New</h1>
-
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-2.0.0.GA.html">JBoss AS Tools ></a></p>
-
-
-<table border="0" cellpadding="10" cellspacing="0" width="80%">
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Projects</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Label/Grouping of faces-config.xml and other resources</b>
- </td>
- <td width="70%" valign="top">
- <p>In case of projects with multiple similar named resources (i.e. faces-config.xml in Seam projects) we now add a small label to the name to indicate where the resource is from.</p>
-
-<p><img src="../images/multiple_faces_config.png"/></p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3764">Related Jira</a></small></p>
-
- </td>
- </tr>
-
-
-
-
-
-
-
-</table>
-
-</body>
-
-</html>
-
-
Added: trunk/documentation/whatsnew/jst/jst-news-3.0.0.GA.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-3.0.0.GA.html (rev 0)
+++ trunk/documentation/whatsnew/jst/jst-news-3.0.0.GA.html 2009-03-27 00:00:11 UTC (rev 14347)
@@ -0,0 +1,50 @@
+<?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>JST/JSF tools 3.0.0.GA What's New</title>
+</head>
+<body>
+<h1>JST/JSF 3.0.0.GA What's New</h1>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../examples/examples-news-1.0.0.GA.html">Project Examples News></a></p>
+
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Projects</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Label/Grouping of faces-config.xml and other resources</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>In case of projects with multiple similar named resources (i.e. faces-config.xml in Seam projects) we now add a small label to the name to indicate where the resource is from.</p>
+
+<p><img src="../images/multiple_faces_config.png"/></p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3764">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+
+
+
+
+
+
+</table>
+
+</body>
+
+</html>
+
+
Deleted: trunk/documentation/whatsnew/seam/seam-news-2.0.0.GA.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-2.0.0.GA.html 2009-03-26 20:37:26 UTC (rev 14346)
+++ trunk/documentation/whatsnew/seam/seam-news-2.0.0.GA.html 2009-03-27 00:00:11 UTC (rev 14347)
@@ -1,74 +0,0 @@
-<?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>Seam tools 2.0.0.GA What's New</title>
-</head>
-<body>
-<h1>Seam tools 2.0.0.GA What's New</h1>
-
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-2.0.0.GA.html">JBoss AS Tools ></a></p>
-
-
-<table border="0" cellpadding="10" cellspacing="0" width="80%">
- <tr>
- <td colspan="2">
- <hr/>
- <h3>General</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Improved Seam 2.1 support</b>
- </td>
- <td width="70%" valign="top">
- <p>XSD's and corresponding have been updated to handle new attributes and elements in Seam 2.1.</p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3854">Related Jira</a></small></p>
-
- </td>
- </tr>
-
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Performance</h3>
- <hr/>
- </td>
- <tr>
- <td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Seam validators</b>
- </td>
- <td width="70%" valign="top">
- <p>Various issues around Seam validators running too often were fixed.</p>
-
- <p>We now only validate files within source path and web content, meaning temporary files or test files is not included.</p>
- <p>Re-validation of unresolved EL expressions will only be triggered if the saved resource is a .java file or a components.xml file.</p>
- <p>Issue where Seam validator were invoked multiple times on the same resource were fixed.</p>
-
-<p>All of the above should make the time spent on validation for Seam much less prominent.</p>
-
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3336">Related Jira</a></small></p>
-
- </td>
- </tr>
-
-
-
-
-
-
-
-
-</table>
-
-</body>
-
-</html>
-
-
Added: trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html (rev 0)
+++ trunk/documentation/whatsnew/seam/seam-news-3.0.0.GA.html 2009-03-27 00:00:11 UTC (rev 14347)
@@ -0,0 +1,73 @@
+<?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>Seam tools 3.0.0.GA What's New</title>
+</head>
+<body>
+<h1>Seam tools 3.0.0.GA What's New</h1>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../jst/jst-news-3.0.0.GA.html">JST/JSF Tools News ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>General</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Improved Seam 2.1 support</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>XSD's and corresponding have been updated to handle new attributes and elements in Seam 2.1.</p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3854">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Performance</h3>
+ <hr/>
+ </td>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Seam validators</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Various issues around Seam validators running too often were fixed.</p>
+
+ <p>We now only validate files within source path and web content, meaning temporary files or test files is not included.</p>
+ <p>Re-validation of unresolved EL expressions will only be triggered if the saved resource is a .java file or a components.xml file.</p>
+ <p>Issue where Seam validator were invoked multiple times on the same resource were fixed.</p>
+
+<p>All of the above should make the time spent on validation for Seam much less prominent.</p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3336">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+
+
+
+
+
+
+
+</table>
+
+</body>
+
+</html>
+
+
15 years, 10 months
JBoss Tools SVN: r14346 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-03-26 16:37:26 -0400 (Thu, 26 Mar 2009)
New Revision: 14346
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetAbstractInstallDelegate.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4081 - Fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetAbstractInstallDelegate.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetAbstractInstallDelegate.java 2009-03-26 19:28:21 UTC (rev 14345)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetAbstractInstallDelegate.java 2009-03-26 20:37:26 UTC (rev 14346)
@@ -68,6 +68,7 @@
import org.eclipse.jst.javaee.web.WebApp;
import org.eclipse.jst.javaee.web.WebFactory;
import org.eclipse.jst.javaee.web.WebResourceCollection;
+import org.eclipse.jst.jsf.core.internal.project.facet.JSFUtils;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.dialogs.IOverwriteQuery;
import org.eclipse.ui.wizards.datatransfer.FileSystemStructureProvider;
@@ -145,7 +146,7 @@
//.include("WEB-INF/web\\.xml") //$NON-NLS-1$
.include("WEB-INF/pages\\.xml") //$NON-NLS-1$
.include("WEB-INF/jboss-web\\.xml") //$NON-NLS-1$
- .include("WEB-INF/faces-config\\.xml") //$NON-NLS-1$
+// .include("WEB-INF/faces-config\\.xml") //$NON-NLS-1$
.include("WEB-INF/componets\\.xml"); //$NON-NLS-1$
public static AntCopyUtils.FileSet JBOOS_WAR_WEB_INF_CLASSES_SET = new AntCopyUtils.FileSet()
@@ -341,6 +342,31 @@
}
}
+ protected String getFacesConfigPath(WebApp webApp) {
+ if(webApp==null) {
+ return JSFUtils.JSF_DEFAULT_CONFIG_PATH;
+ }
+ File facesConfig = new File(webContentFolder, JSFUtils.JSF_DEFAULT_CONFIG_PATH);
+ if(facesConfig.exists()) {
+ return JSFUtils.JSF_DEFAULT_CONFIG_PATH;
+ }
+ String path = null;
+ Iterator it = webApp.getContextParams().iterator();
+ while (it.hasNext()) {
+ ParamValue cp = (ParamValue) it.next();
+ if (cp != null && cp.getParamName()!= null && cp.getParamName().trim().equals(JSFUtils.JSF_CONFIG_CONTEXT_PARAM)) {
+ path = cp.getParamValue().trim();
+ if(path.length()>0) {
+ facesConfig = new File(webContentFolder, path);
+ if(facesConfig.exists()) {
+ return path;
+ }
+ }
+ }
+ }
+ return JSFUtils.JSF_DEFAULT_CONFIG_PATH;
+ }
+
/**
*
* @param project
@@ -382,19 +408,15 @@
// *******************************************************************
AntCopyUtils.FileSet webInfSet = new AntCopyUtils.FileSet(JBOOS_WAR_WEBINF_SET).dir(seamGenResFolder);
- configureWebXml(project);
+ WebApp webApp = configureWebXml(project);
AntCopyUtils.copyFileToFile(
componentsFile,
new File(webInfFolder, "components.xml"), //$NON-NLS-1$
new FilterSetCollection(projectFilterSet), false);
- File facesConfig = new File(webContentFolder, "WEB-INF/faces-config.xml"); //$NON-NLS-1$
- IPath webConfigPath = webContentPath.append("WEB-INF").append("faces-config.xml"); //$NON-NLS-1$ //$NON-NLS-2$
- String webConfigName = webConfigPath.removeFirstSegments(1).toString();
- if(facesConfig.exists()) {
- configureFacesConfigXml(project, monitor, webConfigName);
- }
+ String facesConfigPath = getFacesConfigPath(webApp);
+ configureFacesConfigXml(project, monitor, facesConfigPath);
AntCopyUtils.copyFilesAndFolders(
seamGenResFolder, webContentFolder, new AntCopyUtils.FileSetFileFilter(webInfSet), viewFilterSetCollection, false);
@@ -1134,13 +1156,13 @@
protected abstract void configure(WebApp webApp);
- protected void configureWebXml(final IProject project) {
+ protected WebApp configureWebXml(final IProject project) {
IModelProvider modelProvider = ModelProviderManager
.getModelProvider(project);
Object modelObject = modelProvider.getModelObject();
if (!(modelObject instanceof WebApp)) {
// TODO log
- return;
+ return null;
}
IPath modelPath = new Path("WEB-INF").append("web.xml"); //$NON-NLS-1$ //$NON-NLS-2$
boolean exists = project.getProjectRelativePath().append(modelPath)
@@ -1163,7 +1185,7 @@
}
}, modelPath);
-
+ return (WebApp)modelObject;
}
protected abstract SeamProjectCreator getProjectCreator(IDataModel model, IProject project);
15 years, 10 months
JBoss Tools SVN: r14345 - in trunk/documentation/qa/reports: Tests and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-03-26 15:28:21 -0400 (Thu, 26 Mar 2009)
New Revision: 14345
Added:
trunk/documentation/qa/reports/Tests 03.26.2009/
trunk/documentation/qa/reports/Tests 03.26.2009/VPE Tests.htm
Log:
Added: trunk/documentation/qa/reports/Tests 03.26.2009/VPE Tests.htm
===================================================================
--- trunk/documentation/qa/reports/Tests 03.26.2009/VPE Tests.htm (rev 0)
+++ trunk/documentation/qa/reports/Tests 03.26.2009/VPE Tests.htm 2009-03-26 19:28:21 UTC (rev 14345)
@@ -0,0 +1,176 @@
+<!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.5726" 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>Exec Date</B></TD>
+ <TD><B>Status</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; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> ...class
+ buttons tests</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> CSS
+ dialog appearing</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Empty
+ style editing</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Editing
+ existing class</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Dialog
+ buttons test</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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">JBIDE-4084</TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Preview
+ for new CSS classes</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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">JBIDE-3913</TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> CSS
+ class name validation</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Custom
+ tag setting</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Template
+ attributes</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Edit
+ custom tag</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Custom
+ tag without taglib</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">
+ Validation of Template dialog fields</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Dnd from
+ palette into blank page</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> DND
+ supporting for files</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> DnD
+ picture into VPE</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> ISO
+ Support</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">03/26/2009</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"><FONT
+ color=white
+size=1> </FONT></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
15 years, 10 months
JBoss Tools SVN: r14344 - in trunk/hibernatetools/tests: org.jboss.tools.hibernate.jpt.core.test and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-03-26 11:58:01 -0400 (Thu, 26 Mar 2009)
New Revision: 14344
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.classpath
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.cvsignore
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.project
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/build.properties
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/plugin.properties
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJPACoreTests.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJPTuiTestPlugin.java
Log:
JBIDE-3968
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.classpath
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.classpath (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.classpath 2009-03-26 15:58:01 UTC (rev 14344)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
+ <accessrules>
+ <accessrule kind="accessible" pattern="**/internal/**"/>
+ </accessrules>
+ </classpathentry>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.cvsignore
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.cvsignore (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.cvsignore 2009-03-26 15:58:01 UTC (rev 14344)
@@ -0,0 +1 @@
+bin
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.project
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.project (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/.project 2009-03-26 15:58:01 UTC (rev 14344)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.hibernate.jpt.core.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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF 2009-03-26 15:58:01 UTC (rev 14344)
@@ -0,0 +1,29 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name.0
+Bundle-SymbolicName: org.jboss.tools.hibernate.jpt.core.test
+Bundle-Version: 1.0.0
+Require-Bundle: org.junit;bundle-version="3.8.2",
+ org.eclipse.wst.common.project.facet.ui;bundle-version="1.3.0",
+ org.eclipse.jpt.core;bundle-version="2.0.0",
+ org.eclipse.wst.common.frameworks,
+ org.eclipse.wst.common.modulecore,
+ org.eclipse.wst.common.emfworkbench.integration,
+ org.eclipse.jpt.utility,
+ org.eclipse.jpt.db,
+ org.eclipse.jdt.core,
+ org.hibernate.eclipse.console.test,
+ org.jboss.tools.hibernate.jpt.core
+Bundle-ActivationPolicy: lazy
+Export-Package: org.jboss.tools.hibernate.jpt.core.test
+Bundle-Activator: org.jboss.tools.hibernate.jpt.core.test.HibernateJPTuiTestPlugin
+Bundle-ClassPath: org.jboss.tools.hibernate.jpt.core.test.jar
+Bundle-Vendor: %Bundle-Vendor.0
+Bundle-Localization: plugin
+Import-Package: org.eclipse.core.resources,
+ org.eclipse.emf.common.util,
+ org.eclipse.emf.ecore,
+ org.eclipse.emf.ecore.util,
+ org.eclipse.jem.util,
+ org.eclipse.wst.common.componentcore,
+ org.jboss.tools.hibernate.jpt.core.internal
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/build.properties
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/build.properties (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/build.properties 2009-03-26 15:58:01 UTC (rev 14344)
@@ -0,0 +1,11 @@
+bin.includes = META-INF/,\
+ org.jboss.tools.hibernate.jpt.core.test.jar,\
+ plugin.properties
+jars.compile.order = org.jboss.tools.hibernate.jpt.core.test.jar
+source.org.jboss.tools.hibernate.jpt.core.test.jar = src/
+output.org.jboss.tools.hibernate.jpt.core.test.jar = bin/
+src.includes = src/,\
+ build.properties,\
+ META-INF/,\
+ .project,\
+ .classpath
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/plugin.properties
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/plugin.properties (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/plugin.properties 2009-03-26 15:58:01 UTC (rev 14344)
@@ -0,0 +1,3 @@
+#Properties file for org.jboss.tools.hibernate.jpt.core.test
+Bundle-Vendor.0 = JBoss, a division of Red Hat
+Bundle-Name.0 = Hibernate Tools JPT integration Test Plug-in
\ No newline at end of file
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJPACoreTests.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJPACoreTests.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJPACoreTests.java 2009-03-26 15:58:01 UTC (rev 14344)
@@ -0,0 +1,504 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.hibernate.jpt.core.test;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jpt.core.JpaAnnotationProvider;
+import org.eclipse.jpt.core.JpaFactory;
+import org.eclipse.jpt.core.JpaFile;
+import org.eclipse.jpt.core.JpaPlatform;
+import org.eclipse.jpt.core.JpaProject;
+import org.eclipse.jpt.core.JptCorePlugin;
+import org.eclipse.jpt.core.ResourceModel;
+import org.eclipse.jpt.core.context.persistence.Persistence;
+import org.eclipse.jpt.core.context.persistence.PersistenceUnit;
+import org.eclipse.jpt.core.internal.resource.java.JavaResourcePersistentAttributeImpl;
+import org.eclipse.jpt.core.internal.utility.jdt.JDTFieldAttribute;
+import org.eclipse.jpt.core.resource.java.JavaResourceModel;
+import org.eclipse.jpt.core.resource.java.JavaResourcePersistentAttribute;
+import org.eclipse.jpt.core.resource.java.JavaResourcePersistentType;
+import org.eclipse.jpt.core.resource.java.JpaCompilationUnit;
+import org.eclipse.jpt.core.resource.orm.OrmArtifactEdit;
+import org.eclipse.jpt.core.resource.persistence.PersistenceFactory;
+import org.eclipse.jpt.core.resource.persistence.PersistencePackage;
+import org.eclipse.jpt.core.resource.persistence.XmlJavaClassRef;
+import org.eclipse.jpt.core.resource.persistence.XmlMappingFileRef;
+import org.eclipse.jpt.core.resource.persistence.XmlPersistenceUnit;
+import org.eclipse.jpt.core.resource.persistence.XmlPersistenceUnitTransactionType;
+import org.eclipse.jpt.db.Catalog;
+import org.eclipse.jpt.db.ConnectionProfile;
+import org.eclipse.jpt.db.Schema;
+import org.eclipse.wst.common.componentcore.ModuleCoreNature;
+import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
+import org.eclipse.wst.common.project.facet.core.IFacetedProject;
+import org.eclipse.wst.common.project.facet.core.IProjectFacet;
+import org.eclipse.wst.common.project.facet.core.events.IProjectFacetActionEvent;
+import org.eclipse.wst.common.project.facet.core.events.IFacetedProjectEvent.Type;
+import org.jboss.tools.hibernate.jpt.core.internal.HibernateFactory;
+import org.jboss.tools.hibernate.jpt.core.internal.HibernateJpaAnnotationProvider;
+import org.jboss.tools.hibernate.jpt.core.internal.HibernatePlatform;
+import org.jboss.tools.hibernate.jpt.core.internal.JPAPostInstallFasetListener;
+import org.jboss.tools.hibernate.jpt.core.internal.context.basic.Hibernate;
+import org.jboss.tools.hibernate.jpt.core.internal.context.java.GenericGeneratorAnnotationImpl;
+import org.jmock.Expectations;
+import org.jmock.Mockery;
+import org.jmock.lib.legacy.ClassImposteriser;
+
+import junit.framework.TestCase;
+
+/**
+ * JUnit plugin test class for core Hibernate JPA platform
+ * (org.jboss.tools.hibernate.jpt.core)
+ *
+ * @author Vitali Yemialyanchyk
+ */
+public class HibernateJPACoreTests extends TestCase {
+
+ public static final String className = "TestPTR"; //$NON-NLS-1$
+ public static final String packageName = "org.test"; //$NON-NLS-1$
+ public static final String classFullName = packageName + "." + className; //$NON-NLS-1$
+ public static final String javaFileName = className + ".java"; //$NON-NLS-1$
+
+ public static final String strJava = "package " + packageName + ";\n" + //$NON-NLS-1$ //$NON-NLS-2$
+ "import javax.persistence.*;\n" + //$NON-NLS-1$
+ "import org.hibernate.annotations.GenericGenerator;\n" + //$NON-NLS-1$
+ "@Entity\n" + //$NON-NLS-1$
+ "@NamedQueries( { @NamedQuery(name = \"arName\", query = \"From " + //$NON-NLS-1$
+ className + " \") })\n" + //$NON-NLS-1$
+ "public class " + className + " {\n" + //$NON-NLS-1$ //$NON-NLS-2$
+ "@Id\n" + //$NON-NLS-1$
+ "@GeneratedValue(generator=\"wrongGenerator\")\n" + //$NON-NLS-1$
+ "private Short id_Article;\n" + //$NON-NLS-1$
+ "@GenericGenerator(name=\"rightGenerator\", strategy=\"hilo\")\n" + //$NON-NLS-1$
+ "@GeneratedValue(generator=\"rightGenerator\")\n" + //$NON-NLS-1$
+ "private Short id_Article2;\n" + //$NON-NLS-1$
+ "public Short getId_Article(){return id_Article;}\n" + //$NON-NLS-1$
+ "public Short getId_Article2(){return id_Article2;}\n" + //$NON-NLS-1$
+ "}\n"; //$NON-NLS-1$
+ public static final String strClassPath = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + //$NON-NLS-1$
+ "<classpath>\n" + //$NON-NLS-1$
+ "<classpathentry kind=\"src\" path=\"src\"/>\n" + //$NON-NLS-1$
+ "<classpathentry kind=\"con\" path=\"org.eclipse.jdt.launching.JRE_CONTAINER\"/>\n" + //$NON-NLS-1$
+ "<classpathentry kind=\"con\" path=\"org.eclipse.pde.core.requiredPlugins\"/>\n" + //$NON-NLS-1$
+ "<classpathentry kind=\"output\" path=\"bin\"/>\n" + //$NON-NLS-1$
+ "</classpath>\n"; //$NON-NLS-1$
+
+ public Mockery context = new Mockery() {
+ {
+ setImposteriser(ClassImposteriser.INSTANCE);
+ }
+ };
+
+ public class MockHibernateFactory extends HibernateFactory {
+ public boolean hasRelevantContent(IFile file) {
+ return true;
+ }
+
+ public ResourceModel buildResourceModel(JpaProject jpaProject,
+ IFile file) {
+ return buildResourceModel(jpaProject, file,
+ JavaCore.JAVA_SOURCE_CONTENT_TYPE);
+ }
+ }
+
+ public class MockHibernatePlatform extends HibernatePlatform {
+ protected JpaFactory buildJpaFactory() {
+ JpaFactory jpaFactory = super.buildJpaFactory();
+ assertTrue(jpaFactory instanceof HibernateFactory);
+ return new MockHibernateFactory();
+ }
+ }
+
+ public class MockJavaInputStream extends InputStream {
+
+ protected int pointer = 0;
+
+ @Override
+ public int read() throws IOException {
+ if (pointer < strJava.getBytes().length) {
+ return strJava.getBytes()[pointer++];
+ }
+ return -1;
+ }
+ }
+
+ public class MockClassPathInputStream extends InputStream {
+
+ protected int pointer = 0;
+
+ @Override
+ public int read() throws IOException {
+ if (pointer < strClassPath.getBytes().length) {
+ return strClassPath.getBytes()[pointer++];
+ }
+ return -1;
+ }
+ }
+
+ public void testMockSave() throws CoreException, IOException {
+
+ final JpaPlatform jpaPlatform = new MockHibernatePlatform();
+ final String hibernatePlatformId = jpaPlatform.getId();
+ assertTrue(HibernatePlatform.ID.equals(hibernatePlatformId));
+
+ final JpaProject jpaProject = context.mock(JpaProject.class);
+ final IProject project = context.mock(IProject.class);
+ final IFile file = context.mock(IFile.class);
+ final JavaResourceModel javaResourceModel = context
+ .mock(JavaResourceModel.class);
+ final Schema schema = context.mock(Schema.class);
+ final ConnectionProfile connectionProfile = context
+ .mock(ConnectionProfile.class);
+ final Catalog catalog = context.mock(Catalog.class);
+ final ArtifactEditModel artifactEditModel = context
+ .mock(ArtifactEditModel.class);
+ final ModuleCoreNature moduleCoreNature = context
+ .mock(ModuleCoreNature.class);
+ final Persistence persistence = context.mock(Persistence.class);
+ final XmlPersistenceUnit xmlPersistenceUnit = context
+ .mock(XmlPersistenceUnit.class);
+ final InternalEObject owner = xmlPersistenceUnit;
+ context.checking(new Expectations() {
+ {
+ oneOf(owner).eNotificationRequired();
+ will(returnValue(false));
+
+ oneOf(owner).eInternalResource();
+ will(returnValue(null));
+ }
+ });
+ final String testClassName = classFullName;
+ final EList<XmlJavaClassRef> classes = new EObjectContainmentEList<XmlJavaClassRef>(
+ XmlJavaClassRef.class, owner,
+ PersistencePackage.XML_PERSISTENCE_UNIT__CLASSES);
+ final XmlJavaClassRef xmlJavaClassRef1 = PersistenceFactory.eINSTANCE
+ .createXmlJavaClassRef();
+ xmlJavaClassRef1.setJavaClass(testClassName);
+ classes.add(xmlJavaClassRef1);
+ final EList<XmlMappingFileRef> mappingFiles = new EObjectContainmentEList<XmlMappingFileRef>(
+ XmlMappingFileRef.class, xmlPersistenceUnit,
+ PersistencePackage.XML_PERSISTENCE_UNIT__MAPPING_FILES);
+ final List<String> annotatedClassNamesList = new ArrayList<String>();
+ final Iterator<String> annotatedClassNames = annotatedClassNamesList
+ .iterator();
+
+ final JavaResourcePersistentType javaResourcePersistentType = context
+ .mock(JavaResourcePersistentType.class);
+
+ final List<JavaResourcePersistentAttribute> resourceAttributesList1 = new ArrayList<JavaResourcePersistentAttribute>();
+
+ final List<JavaResourcePersistentAttribute> resourceAttributesList2 = new ArrayList<JavaResourcePersistentAttribute>();
+ final JDTFieldAttribute jdtFieldAttribute = new JDTFieldAttribute(null,
+ "", 1, null, null); //$NON-NLS-1$
+ final JavaResourcePersistentAttribute jrpa1 = new JavaResourcePersistentAttributeImpl(
+ javaResourcePersistentType, jdtFieldAttribute);
+ resourceAttributesList2.add(jrpa1);
+
+ final GenericGeneratorAnnotationImpl genericGeneratorAnnotation = new GenericGeneratorAnnotationImpl(
+ javaResourcePersistentType, null);
+
+ final InputStream classPathIStream = new MockClassPathInputStream();
+ final InputStream javaIStream = new MockJavaInputStream();
+
+ final IPath pathProject = new Path(""); //$NON-NLS-1$
+
+ final IPath pathJavaFile = new Path(javaFileName);
+
+ context.checking(new Expectations() {
+ {
+
+ allowing(jpaProject).getJpaPlatform();
+ will(returnValue(jpaPlatform));
+
+ oneOf(jpaProject)
+ .getModifySharedDocumentCommandExecutorProvider();
+ will(returnValue(null));
+
+ oneOf(file).getProject();
+ will(returnValue(project));
+
+ allowing(project).getType();
+ will(returnValue(IResource.PROJECT));
+
+ oneOf(file).getFullPath();
+ will(returnValue(pathProject));
+
+ allowing(project).hasNature("org.eclipse.jdt.core.javanature"); //$NON-NLS-1$
+ will(returnValue(true));
+
+ oneOf(project).getFile(with(".classpath")); //$NON-NLS-1$
+ will(returnValue(file));
+
+ oneOf(file).exists();
+ will(returnValue(true));
+
+ oneOf(file).getContents(true);
+ will(returnValue(classPathIStream));
+
+ allowing(project).getFullPath();
+ will(returnValue(pathProject));
+
+ allowing(project).getName();
+ will(returnValue("IProj")); //$NON-NLS-1$
+
+ allowing(jpaProject).getProject();
+ will(returnValue(project));
+
+ oneOf(file).getParent();
+ will(returnValue(project));
+
+ oneOf(file).getName();
+ will(returnValue(javaFileName));
+
+ oneOf(project).getWorkingLocation("org.eclipse.jdt.core"); //$NON-NLS-1$
+ will(returnValue(null));
+
+ oneOf(project).getFile(new Path(javaFileName));
+ will(returnValue(file));
+
+ oneOf(file).getCharset();
+ will(returnValue(null));
+
+ oneOf(file).getLocation();
+ will(returnValue(pathJavaFile));
+
+ oneOf(file).getContents(true);
+ will(returnValue(javaIStream));
+
+ oneOf(project).getDefaultCharset();
+ will(returnValue(null));
+ }
+ });
+ JptCorePlugin.setDefaultJpaPlatformId(hibernatePlatformId);
+ JptCorePlugin.setJpaPlatformId(project, hibernatePlatformId);
+
+ final JpaFile jpaFile = jpaPlatform.buildJpaFile(jpaProject, file);
+
+ final JpaCompilationUnit jpaCompilationUnit = context
+ .mock(JpaCompilationUnit.class);
+ final JpaAnnotationProvider jpaAnnotationProvider = new HibernateJpaAnnotationProvider();
+
+ final IProjectFacetActionEvent projectFacetActionEvent = context
+ .mock(IProjectFacetActionEvent.class);
+ final IFacetedProject facetedProject = context
+ .mock(IFacetedProject.class);
+ final IProjectFacet projectFacet = context.mock(IProjectFacet.class);
+
+ context.checking(new Expectations() {
+ {
+ allowing(xmlPersistenceUnit).getName();
+ will(returnValue("xmlPUName")); //$NON-NLS-1$
+
+ oneOf(xmlPersistenceUnit).setName("xmlPUName"); //$NON-NLS-1$
+
+ allowing(xmlPersistenceUnit).getClasses();
+ will(returnValue(classes));
+
+ allowing(persistence).getJpaProject();
+ will(returnValue(jpaProject));
+
+ // Dali 2.0
+ allowing(jpaProject).getJavaPersistentTypeResource(
+ classFullName);
+ will(returnValue(javaResourcePersistentType));
+
+ allowing(jpaProject).getJavaPersistentTypeResource(null);
+ will(returnValue(null));
+
+ // Dali 2.1
+ //allowing(jpaProject).getJavaResourcePersistentType(classFullName); //$NON-NLS-1$
+ // will(returnValue(factory));
+
+ // Dali 2.0
+ allowing(javaResourcePersistentType).getAnnotation(
+ Hibernate.GENERIC_GENERATOR);
+ will(returnValue(genericGeneratorAnnotation));
+ // Dali 2.1
+ // allowing(javaResourcePersistentType).getSupportingAnnotation(
+ // Hibernate.GENERIC_GENERATOR);
+ // will(returnValue(genericGeneratorAnnotation));
+
+ allowing(javaResourcePersistentType)
+ .getSuperClassQualifiedName();
+ will(returnValue(null));
+
+ allowing(persistence).getOrmPersistentType();
+ will(returnValue(null));
+
+ allowing(javaResourcePersistentType).getAccess();
+ will(returnValue(org.eclipse.jpt.core.resource.java.AccessType.PROPERTY));
+
+ allowing(javaResourcePersistentType).getQualifiedName();
+ will(returnValue(classFullName));
+
+ allowing(javaResourcePersistentType).getMappingAnnotation();
+ will(returnValue(null));
+
+ allowing(javaResourcePersistentType).fields();
+ will(returnValue(resourceAttributesList1.iterator()));
+
+ allowing(javaResourcePersistentType).properties();
+ will(returnValue(resourceAttributesList2.iterator()));
+
+ oneOf(javaResourcePersistentType).getJpaCompilationUnit();
+ will(returnValue(jpaCompilationUnit));
+
+ oneOf(jpaCompilationUnit).getAnnotationProvider();
+ will(returnValue(jpaAnnotationProvider));
+
+ allowing(project).isAccessible();
+ will(returnValue(true));
+
+ allowing(xmlPersistenceUnit).getMappingFiles();
+ will(returnValue(mappingFiles));
+
+ allowing(project).getNature(
+ "org.eclipse.wst.common.modulecore.ModuleCoreNature"); //$NON-NLS-1$
+ will(returnValue(moduleCoreNature));
+
+ allowing(project).isNatureEnabled(
+ "org.eclipse.wst.common.project.facet.core.nature"); //$NON-NLS-1$
+ will(returnValue(true));
+
+ oneOf(project)
+ .getFile(
+ with(".settings/org.eclipse.wst.common.project.facet.core.xml")); //$NON-NLS-1$
+ will(returnValue(file));
+
+ allowing(file).getModificationStamp();
+ will(returnValue(-1L));
+
+ allowing(moduleCoreNature).getArtifactEditModelForRead(
+ with(any(URI.class)), with(any(Object.class)),
+ with(any(String.class)), with(any(Map.class)));
+ will(returnValue(artifactEditModel));
+
+ allowing(artifactEditModel).getResource(with(any(URI.class)));
+ will(returnValue(null));
+
+ allowing(artifactEditModel).releaseAccess(
+ with(any(OrmArtifactEdit.class)));
+
+ oneOf(jpaProject).discoversAnnotatedClasses();
+ will(returnValue(true));
+
+ allowing(jpaProject).annotatedClassNames();
+ will(returnValue(annotatedClassNames));
+
+ allowing(xmlPersistenceUnit).getProperties();
+ will(returnValue(null));
+
+ allowing(xmlPersistenceUnit).getTransactionType();
+ will(returnValue(XmlPersistenceUnitTransactionType.JTA));
+
+ allowing(xmlPersistenceUnit).getDescription();
+ will(returnValue("description")); //$NON-NLS-1$
+
+ allowing(xmlPersistenceUnit).getProvider();
+ will(returnValue("provider")); //$NON-NLS-1$
+
+ allowing(xmlPersistenceUnit).getJtaDataSource();
+ will(returnValue("jtaDataSource")); //$NON-NLS-1$
+
+ allowing(xmlPersistenceUnit).getNonJtaDataSource();
+ will(returnValue("nonJtaDataSource")); //$NON-NLS-1$
+
+ allowing(xmlPersistenceUnit).getExcludeUnlistedClasses();
+ will(returnValue(true));
+
+ oneOf(xmlPersistenceUnit).setTransactionType(
+ XmlPersistenceUnitTransactionType.JTA);
+
+ oneOf(xmlPersistenceUnit).setDescription("description"); //$NON-NLS-1$
+
+ oneOf(xmlPersistenceUnit).setProvider("provider"); //$NON-NLS-1$
+
+ oneOf(xmlPersistenceUnit).setJtaDataSource("jtaDataSource"); //$NON-NLS-1$
+
+ oneOf(xmlPersistenceUnit).setNonJtaDataSource(
+ "nonJtaDataSource"); //$NON-NLS-1$
+
+ oneOf(javaResourcePersistentType).getResourceModel();
+ will(returnValue(javaResourceModel));
+
+ oneOf(javaResourceModel).getFile();
+ will(returnValue(null));
+
+ oneOf(jpaProject).getJpaFile(null);
+ will(returnValue(jpaFile));
+
+ oneOf(xmlPersistenceUnit).setExcludeUnlistedClasses(true);
+
+ oneOf(jpaProject).getDefaultSchema();
+ will(returnValue(schema));
+
+ allowing(jpaProject).update();
+
+ oneOf(schema).getName();
+ will(returnValue("schemaName")); //$NON-NLS-1$
+
+ oneOf(jpaProject).getConnectionProfile();
+ will(returnValue(connectionProfile));
+
+ oneOf(connectionProfile).getDefaultCatalog();
+ will(returnValue(catalog));
+
+ oneOf(catalog).getName();
+ will(returnValue("catalogName")); //$NON-NLS-1$
+
+ oneOf(projectFacetActionEvent).getType();
+ will(returnValue(Type.POST_INSTALL));
+
+ oneOf(projectFacetActionEvent).getProject();
+ will(returnValue(facetedProject));
+
+ oneOf(facetedProject).getProject();
+ will(returnValue(project));
+
+ oneOf(projectFacetActionEvent).getProjectFacet();
+ will(returnValue(projectFacet));
+
+ oneOf(projectFacet).getId();
+ will(returnValue(JptCorePlugin.FACET_ID));
+ }
+ });
+
+ PersistenceUnit pu = jpaPlatform.getJpaFactory().buildPersistenceUnit(
+ persistence, xmlPersistenceUnit);
+ int classRefSizeOld = pu.classRefsSize();
+ pu.update(xmlPersistenceUnit);
+ int classRefSizeNew = pu.classRefsSize();
+ assertTrue(classRefSizeOld == classRefSizeNew);
+
+ JPAPostInstallFasetListener jpaPostInstallFasetListener = new JPAPostInstallFasetListener();
+ jpaPostInstallFasetListener.handleEvent(projectFacetActionEvent);
+
+ context.assertIsSatisfied();
+ }
+
+}
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJPTuiTestPlugin.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJPTuiTestPlugin.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJPTuiTestPlugin.java 2009-03-26 15:58:01 UTC (rev 14344)
@@ -0,0 +1,88 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.hibernate.jpt.core.test;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ *
+ * @author Vitali Yemialyanchyk
+ */
+public class HibernateJPTuiTestPlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.hibernate.jpt.core.test"; //$NON-NLS-1$
+
+ // The shared instance
+ private static HibernateJPTuiTestPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public HibernateJPTuiTestPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
+ * )
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
+ * )
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static HibernateJPTuiTestPlugin getDefault() {
+ return plugin;
+ }
+
+ public File getFileInPlugin(IPath path) throws CoreException {
+ try {
+ URL installURL = new URL(getBundle().getEntry("/"), path.toString()); //$NON-NLS-1$
+ URL localURL = FileLocator.toFileURL(installURL);
+ return new File(localURL.getFile());
+ } catch (IOException e) {
+ throw new CoreException(new Status(IStatus.ERROR, getBundle()
+ .getSymbolicName(), IStatus.ERROR, e.getMessage(), e));
+ }
+ }
+
+}
15 years, 10 months
JBoss Tools SVN: r14343 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl: src/org/jboss/tools/jsf/vpe/jstl/template/util and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2009-03-26 11:52:50 -0400 (Thu, 26 Mar 2009)
New Revision: 14343
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForEachTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForTokensTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/util/JstlUtil.java
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/AbstractOutputJstlTemplate.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/templates/vpe-templates-jstl.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3548, Templates for c:forEach and c:forTokes were added.
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/AbstractOutputJstlTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/AbstractOutputJstlTemplate.java 2009-03-26 15:28:03 UTC (rev 14342)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/AbstractOutputJstlTemplate.java 2009-03-26 15:52:50 UTC (rev 14343)
@@ -1,169 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-
-package org.jboss.tools.jsf.vpe.jstl.template;
-
-import org.jboss.tools.jsf.vpe.jsf.template.util.model.VpeElementProxyData;
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.mapping.NodeData;
-import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
-import org.jboss.tools.vpe.editor.mapping.VpeElementData;
-import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
-import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
-import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
-import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.HTML;
-import org.mozilla.interfaces.nsIDOMDocument;
-import org.mozilla.interfaces.nsIDOMElement;
-import org.mozilla.interfaces.nsIDOMNode;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public abstract class AbstractOutputJstlTemplate extends VpeAbstractTemplate {
-
- /**
- *
- * @param element
- * @return
- */
- public Attr getOutputAttributeNode(Element element) {
- if (element.hasAttribute(HTML.ATTR_VALUE)) {
- return element.getAttributeNode(HTML.ATTR_VALUE);
- }
-
- return null;
- }
-
- /**
- *
- * @param pageContext
- * @param visualDocument
- * @param sourceElement
- * @param targetVisualElement
- * @param creationData
- */
- protected void processOutputAttribute(VpePageContext pageContext,
- nsIDOMDocument visualDocument, Element sourceElement,
- nsIDOMElement targetVisualElement, VpeCreationData creationData) {
-
- VpeElementProxyData elementData = new VpeElementProxyData();
-
- Attr outputAttr = getOutputAttributeNode(sourceElement);
-
- if (outputAttr != null) {
-
- // prepare value
- String newValue = prepareAttrValue(pageContext, sourceElement, outputAttr);
- // if escape then contents of value (or other attribute) is only
- // text
-// if (!sourceElement.hasAttribute(JSF.ATTR_ESCAPE)
-// || "true".equalsIgnoreCase(sourceElement //$NON-NLS-1$
-// .getAttribute(JSF.ATTR_ESCAPE))) {
-//
-// String value = outputAttr.getValue();
-//
-// nsIDOMText text;
-// // if bundleValue differ from value then will be represent
-// // bundleValue, but text will be not edit
-// boolean isEditable = value.equals(newValue);
-//
-// text = visualDocument.createTextNode(newValue);
-// // add attribute for ability of editing
-//
-// elementData.addNodeData(new AttributeData(outputAttr, text,
-// isEditable));
-//
-// targetVisualElement.appendChild(text);
-//
-// }
- }
-
- creationData.setElementData(elementData);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see
- * org.jboss.tools.vpe.editor.template.VpeAbstractTemplate#setPseudoContent
- * (org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node,
- * org.mozilla.interfaces.nsIDOMNode, org.mozilla.interfaces.nsIDOMDocument)
- */
- @Override
- public void setPseudoContent(VpePageContext pageContext,
- Node sourceContainer, nsIDOMNode visualContainer,
- nsIDOMDocument visualDocument) {
- // Empty
- }
-
- @Override
- public NodeData getNodeData(nsIDOMNode node, VpeElementData elementData,
- VpeDomMapping domMapping) {
- // TODO Auto-generated method stub
- NodeData nodeData = super.getNodeData(node, elementData, domMapping);
- if (nodeData == null) {
-
- VpeNodeMapping nodeMapping = domMapping.getNodeMapping(node);
-
- if (nodeMapping != null) {
- if (nodeMapping instanceof VpeElementMapping) {
- nodeData = super.getNodeData(node,
- ((VpeElementMapping) nodeMapping).getElementData(),
- domMapping);
- }
-// else if (nodeMapping.getType() == VpeNodeMapping.TEXT_MAPPING) {
-// nodeData = new NodeData(nodeMapping.getSourceNode(), node,
-// true);
-// }
- }
- }
- return nodeData;
- }
-
- @Override
- public nsIDOMNode getVisualNodeByBySourcePosition(
- VpeElementMapping elementMapping, int focusPosition,
- int anchorPosition, VpeDomMapping domMapping) {
- nsIDOMNode node = null;
-
- if ((elementMapping.getElementData() instanceof VpeElementProxyData)
- && (((VpeElementProxyData) elementMapping.getElementData())
- .getNodelist() != null)) {
- VpeElementProxyData elementProxyData = (VpeElementProxyData) elementMapping.getElementData();
-
-// VpeNodeMapping nodeMapping = NodeProxyUtil.findNodeByPosition(
-// domMapping, elementProxyData.getNodelist(), focusPosition,
-// anchorPosition);
-
-// if (nodeMapping != null) {
-//
-// if (nodeMapping instanceof VpeElementMapping) {
-// node = super.getVisualNodeByBySourcePosition(
-// (VpeElementMapping) nodeMapping, focusPosition,
-// anchorPosition, domMapping);
-// } else {
-// node = nodeMapping.getVisualNode();
-// }
-// }
- }
-
- if (node == null) {
- node = super.getVisualNodeByBySourcePosition(elementMapping,
- focusPosition, anchorPosition, domMapping);
- }
- return node;
- }
-
- protected String prepareAttrValue(VpePageContext pageContext, Element parent, Attr attr) {
- return attr.getNodeValue();
- }
-}
\ No newline at end of file
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForEachTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForEachTemplate.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForEachTemplate.java 2009-03-26 15:52:50 UTC (rev 14343)
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.jstl.template;
+
+import java.util.List;
+
+import org.jboss.tools.jsf.vpe.jstl.template.util.JstlUtil;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.VisualDomUtil;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ * Class for c:forEach template
+ *
+ * @author dmaliarevich
+ *
+ */
+public class JstlForEachTemplate extends VpeAbstractTemplate {
+
+ private final int TIMES_TO_ITERATE = 3;
+
+ public JstlForEachTemplate() {
+ super();
+ }
+
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+ Element sourceElement = (Element) sourceNode;
+ nsIDOMElement span = VisualDomUtil.createBorderlessContainer(visualDocument);
+ List<Node> children = JstlUtil.getChildren(sourceElement);
+ VpeCreationData creationData = new VpeCreationData(span);
+
+ VpeChildrenInfo spanInfo = new VpeChildrenInfo(span);
+ creationData.addChildrenInfo(spanInfo);
+ for(int i = 0; i < TIMES_TO_ITERATE; i++) {
+ for (Node child : children) {
+ spanInfo.addSourceChild(child);
+ }
+ }
+ return creationData;
+ }
+
+}
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForEachTemplate.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForTokensTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForTokensTemplate.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForTokensTemplate.java 2009-03-26 15:52:50 UTC (rev 14343)
@@ -0,0 +1,56 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.jstl.template;
+
+import java.util.List;
+
+import org.jboss.tools.jsf.vpe.jstl.template.util.JstlUtil;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.VisualDomUtil;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ * Class for c:forTokens template
+ *
+ * @author dmaliarevich
+ *
+ */
+public class JstlForTokensTemplate extends VpeAbstractTemplate {
+
+ private final int TIMES_TO_ITERATE = 3;
+
+ public JstlForTokensTemplate() {
+ super();
+ }
+
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+ Element sourceElement = (Element) sourceNode;
+ nsIDOMElement span = VisualDomUtil.createBorderlessContainer(visualDocument);
+ List<Node> children = JstlUtil.getChildren(sourceElement);
+ VpeCreationData creationData = new VpeCreationData(span);
+ VpeChildrenInfo spanInfo = new VpeChildrenInfo(span);
+ creationData.addChildrenInfo(spanInfo);
+ for(int i = 0; i < TIMES_TO_ITERATE; i++) {
+ for (Node child : children) {
+ spanInfo.addSourceChild(child);
+ }
+ }
+ return creationData;
+ }
+
+}
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlForTokensTemplate.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/util/JstlUtil.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/util/JstlUtil.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/util/JstlUtil.java 2009-03-26 15:52:50 UTC (rev 14343)
@@ -0,0 +1,36 @@
+package org.jboss.tools.jsf.vpe.jstl.template.util;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * Class encapsulates JSTL utils.
+ *
+ * @author dmaliarevich
+ *
+ */
+public class JstlUtil {
+
+ /**
+ * Gets all children of the source element
+ * including text nodes.
+ *
+ * @param sourceElement
+ * the source element
+ *
+ * @return the children
+ */
+ public static List<Node> getChildren(Element sourceElement) {
+ ArrayList<Node> children = new ArrayList<Node>();
+ NodeList nodeList = sourceElement.getChildNodes();
+ for (int i = 0; i < nodeList.getLength(); i++) {
+ Node child = nodeList.item(i);
+ children.add(child);
+ }
+ return children;
+ }
+}
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/util/JstlUtil.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/templates/vpe-templates-jstl.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/templates/vpe-templates-jstl.xml 2009-03-26 15:28:03 UTC (rev 14342)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/templates/vpe-templates-jstl.xml 2009-03-26 15:52:50 UTC (rev 14343)
@@ -42,14 +42,14 @@
</vpe:tag>
<vpe:tag name="c:forEach" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <div />
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.jstl.template.JstlForEachTemplate">
</vpe:template>
</vpe:tag>
<vpe:tag name="c:forTokens" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <div />
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.jstl.template.JstlForTokensTemplate">
</vpe:template>
</vpe:tag>
15 years, 10 months
JBoss Tools SVN: r14342 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core: src/org/jboss/tools/hibernate/jpt/core/internal and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-03-26 11:28:03 -0400 (Thu, 26 Mar 2009)
New Revision: 14342
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF/MANIFEST.MF
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateFactory.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateJptPlugin.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernatePlatform.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/HibernatePersistenceUnit.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/Messages.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/basic/BasicHibernateProperties.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/basic/Hibernate.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/GenericGeneratorAnnotation.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/JavaGenericGenerator.java
Log:
JBIDE-3968 - code review, add string non extern markers, remove unused packages
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF/MANIFEST.MF 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF/MANIFEST.MF 2009-03-26 15:28:03 UTC (rev 14342)
@@ -20,7 +20,8 @@
Bundle-Vendor: %Bundle-Vendor.0
Export-Package: org.jboss.tools.hibernate.jpt.core.internal,
org.jboss.tools.hibernate.jpt.core.internal.context,
- org.jboss.tools.hibernate.jpt.core.internal.context.basic
+ org.jboss.tools.hibernate.jpt.core.internal.context.basic,
+ org.jboss.tools.hibernate.jpt.core.internal.context.java
Bundle-Localization: plugin
Bundle-Activator: org.jboss.tools.hibernate.jpt.core.internal.HibernateJptPlugin
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateFactory.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateFactory.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -10,23 +10,10 @@
******************************************************************************/
package org.jboss.tools.hibernate.jpt.core.internal;
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.debug.core.DebugPlugin;
-import org.eclipse.debug.core.ILaunchConfigurationType;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.debug.core.ILaunchManager;
-import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
-import org.eclipse.jpt.core.JpaDataSource;
-import org.eclipse.jpt.core.JpaProject;
import org.eclipse.jpt.core.context.persistence.Persistence;
import org.eclipse.jpt.core.context.persistence.PersistenceUnit;
import org.eclipse.jpt.core.internal.platform.GenericJpaFactory;
import org.eclipse.jpt.core.resource.persistence.XmlPersistenceUnit;
-import org.hibernate.console.preferences.ConsoleConfigurationPreferences.ConfigurationMode;
-import org.hibernate.eclipse.launch.ICodeGenerationLaunchConstants;
-import org.hibernate.eclipse.launch.IConsoleConfigurationLaunchConstants;
import org.jboss.tools.hibernate.jpt.core.internal.context.HibernatePersistenceUnit;
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateJptPlugin.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateJptPlugin.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateJptPlugin.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -10,17 +10,9 @@
******************************************************************************/
package org.jboss.tools.hibernate.jpt.core.internal;
-import java.util.ArrayList;
-import java.util.List;
-
import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.core.runtime.Plugin;
import org.eclipse.core.runtime.Status;
-import org.hibernate.eclipse.console.HibernateConsoleMessages;
-import org.hibernate.eclipse.logging.LoggingHelper;
-import org.hibernate.eclipse.logging.xpl.EclipseLogger;
-import org.osgi.framework.BundleContext;
/**
* @author Dmitry Geraskov
@@ -30,11 +22,12 @@
public static final String ID = "org.jboss.tools.hibernate.jpt.core"; //$NON-NLS-1$
- private EclipseLogger logger;
+ private static HibernateJptPlugin inst = null;
- private static HibernateJptPlugin inst;
-
public static HibernateJptPlugin getDefault() {
+ if (inst == null) {
+ inst = new HibernateJptPlugin();
+ }
return inst;
}
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernatePlatform.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernatePlatform.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernatePlatform.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -21,7 +21,7 @@
public class HibernatePlatform extends GenericJpaPlatform {
- public static String ID = "hibernate";
+ public static final String ID = "hibernate"; //$NON-NLS-1$
@Override
public String getId() {
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/HibernatePersistenceUnit.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/HibernatePersistenceUnit.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/HibernatePersistenceUnit.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -11,7 +11,6 @@
package org.jboss.tools.hibernate.jpt.core.internal.context;
import java.io.File;
-import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.HashMap;
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/Messages.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/Messages.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/Messages.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -16,8 +16,8 @@
*/
public interface Messages {
- String NOT_A_FILE = "NOT_A_FILE";
+ String NOT_A_FILE = "NOT_A_FILE"; //$NON-NLS-1$
- String CONFIG_FILE_NOT_FOUND = "CONFIG_FILE_NOT_FOUND";
+ String CONFIG_FILE_NOT_FOUND = "CONFIG_FILE_NOT_FOUND"; //$NON-NLS-1$
}
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/basic/BasicHibernateProperties.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/basic/BasicHibernateProperties.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/basic/BasicHibernateProperties.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -22,65 +22,65 @@
String getDefaultConfigurationFile();
String getConfigurationFile();
void setConfigurationFile(String newConfigFile);
- static final String CONFIG_FILE_PROPERTY = "confFileProperty";
+ static final String CONFIG_FILE_PROPERTY = "confFileProperty"; //$NON-NLS-1$
// Hibernate key string
- static final String HIBERNATE_CONFIG_FILE = "hibernate.ejb.cfgfile";
- static final String DEFAULT_CONFIG_FILE = "";
+ static final String HIBERNATE_CONFIG_FILE = "hibernate.ejb.cfgfile"; //$NON-NLS-1$
+ static final String DEFAULT_CONFIG_FILE = ""; //$NON-NLS-1$
String getDefaultDialect();
String getDialect();
void setDialect(String newDialect);
- static final String DIALECT_PROPERTY = "dialectProperty";
+ static final String DIALECT_PROPERTY = "dialectProperty"; //$NON-NLS-1$
// Hibernate key string
- static final String HIBERNATE_DIALECT = "hibernate.dialect";
- static final String DEFAULT_DIALECT = "";
+ static final String HIBERNATE_DIALECT = "hibernate.dialect"; //$NON-NLS-1$
+ static final String DEFAULT_DIALECT = ""; //$NON-NLS-1$
String getDefaultDriver();
String getDriver();
void setDriver(String newDriver);
- static final String DRIVER_PROPERTY = "driverProperty";
+ static final String DRIVER_PROPERTY = "driverProperty"; //$NON-NLS-1$
// Hibernate key string
- static final String HIBERNATE_DRIVER = "hibernate.connection.driver_class";
- static final String DEFAULT_DRIVER = "";
+ static final String HIBERNATE_DRIVER = "hibernate.connection.driver_class"; //$NON-NLS-1$
+ static final String DEFAULT_DRIVER = ""; //$NON-NLS-1$
String getDefaultUrl();
String getUrl();
void setUrl(String newUrl);
- static final String URL_PROPERTY = "urlProperty";
+ static final String URL_PROPERTY = "urlProperty"; //$NON-NLS-1$
// Hibernate key string
- static final String HIBERNATE_URL = "hibernate.connection.url";
- static final String DEFAULT_URL = "";
+ static final String HIBERNATE_URL = "hibernate.connection.url"; //$NON-NLS-1$
+ static final String DEFAULT_URL = ""; //$NON-NLS-1$
String getDefaultSchemaDefault();
String getSchemaDefault();
void setSchemaDefault(String newSchemaDefault);
- static final String SCHEMA_DEFAULT_PROPERTY = "schemaDefaultProperty";
+ static final String SCHEMA_DEFAULT_PROPERTY = "schemaDefaultProperty"; //$NON-NLS-1$
// Hibernate key string
- static final String HIBERNATE_SCHEMA_DEFAULT = "hibernate.default_schema";
- static final String DEFAULT_SCHEMA_DEFAULT = "";
+ static final String HIBERNATE_SCHEMA_DEFAULT = "hibernate.default_schema"; //$NON-NLS-1$
+ static final String DEFAULT_SCHEMA_DEFAULT = ""; //$NON-NLS-1$
String getDefaultCatalogDefault();
String getCatalogDefault();
void setCatalogDefault(String newCatalogDefault);
- static final String CATALOG_DEFAULT_PROPERTY = "catalogDefaultProperty";
+ static final String CATALOG_DEFAULT_PROPERTY = "catalogDefaultProperty"; //$NON-NLS-1$
// Hibernate key string
- static final String HIBERNATE_CATALOG = "hibernate.default_catalog";
- static final String DEFAULT_CATALOG_DEFAULT = "";
+ static final String HIBERNATE_CATALOG = "hibernate.default_catalog"; //$NON-NLS-1$
+ static final String DEFAULT_CATALOG_DEFAULT = ""; //$NON-NLS-1$
String getDefaultUsername();
String getUsername();
void setUsername(String newUsername);
- static final String USERNAME_PROPERTY = "usernameProperty";
+ static final String USERNAME_PROPERTY = "usernameProperty"; //$NON-NLS-1$
// Hibernate key string
- static final String HIBERNATE_USERNAME = "hibernate.connection.username";
- static final String DEFAULT_USERNAME = "";
+ static final String HIBERNATE_USERNAME = "hibernate.connection.username"; //$NON-NLS-1$
+ static final String DEFAULT_USERNAME = ""; //$NON-NLS-1$
String getDefaultPassword();
String getPassword();
void setPassword(String newPassword);
- static final String PASSWORD_PROPERTY = "passwordProperty";
+ static final String PASSWORD_PROPERTY = "passwordProperty"; //$NON-NLS-1$
// Hibernate key string
- static final String HIBERNATE_PASSWORD = "hibernate.connection.password";
- static final String DEFAULT_PASSWORD = "";
+ static final String HIBERNATE_PASSWORD = "hibernate.connection.password"; //$NON-NLS-1$
+ static final String DEFAULT_PASSWORD = ""; //$NON-NLS-1$
}
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/basic/Hibernate.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/basic/Hibernate.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/basic/Hibernate.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -17,15 +17,15 @@
public interface Hibernate {
// Hibernate package
- String PACKAGE = "org.hibernate.annotations";
- String PACKAGE_ = PACKAGE + ".";
+ String PACKAGE = "org.hibernate.annotations"; //$NON-NLS-1$
+ String PACKAGE_ = PACKAGE + "."; //$NON-NLS-1$
// ********** API **********
// Hibernate annotations
- String GENERIC_GENERATOR = PACKAGE_ + "GenericGenerator";
- String GENERIC_GENERATOR__NAME = "name";
- String GENERIC_GENERATOR__STRATEGY = "strategy";
+ String GENERIC_GENERATOR = PACKAGE_ + "GenericGenerator"; //$NON-NLS-1$
+ String GENERIC_GENERATOR__NAME = "name"; //$NON-NLS-1$
+ String GENERIC_GENERATOR__STRATEGY = "strategy"; //$NON-NLS-1$
}
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/GenericGeneratorAnnotation.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/GenericGeneratorAnnotation.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/GenericGeneratorAnnotation.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -35,7 +35,7 @@
* Set to null to remove the strategy element.
*/
void setStrategy(String strategy);
- String STRATEGY_PROPERTY = "strategyProperty";
+ String STRATEGY_PROPERTY = "strategyProperty"; //$NON-NLS-1$
/**
* Return the {@link TextRange} for the strategy element. If the strategy element
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/JavaGenericGenerator.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/JavaGenericGenerator.java 2009-03-26 13:57:27 UTC (rev 14341)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/JavaGenericGenerator.java 2009-03-26 15:28:03 UTC (rev 14342)
@@ -32,6 +32,6 @@
String getStrategy();
void setSpecifiedStrategy(String value);
- String GENERIC_STRATEGY_PROPERTY = "genericStrategyProperty";
+ String GENERIC_STRATEGY_PROPERTY = "genericStrategyProperty"; //$NON-NLS-1$
}
15 years, 10 months