JBoss Tools SVN: r12901 - trunk/as/docs/reference/en/images/perspective.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-01-06 13:09:49 -0500 (Tue, 06 Jan 2009)
New Revision: 12901
Added:
trunk/as/docs/reference/en/images/perspective/projectarchives_error.png
Log:
https://jira.jboss.org/jira/browse/JBDS-400
Added: trunk/as/docs/reference/en/images/perspective/projectarchives_error.png
===================================================================
(Binary files differ)
Property changes on: trunk/as/docs/reference/en/images/perspective/projectarchives_error.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 3 months
JBoss Tools SVN: r12900 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-06 12:48:26 -0500 (Tue, 06 Jan 2009)
New Revision: 12900
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors/XMLDocumentRepository.java
Log:
random NPE from old code
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors/XMLDocumentRepository.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors/XMLDocumentRepository.java 2009-01-06 17:28:48 UTC (rev 12899)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors/XMLDocumentRepository.java 2009-01-06 17:48:26 UTC (rev 12900)
@@ -110,7 +110,8 @@
* @return whether the document was re-read
*/
public boolean refresh(String fullPath) {
- if (new File(fullPath).lastModified() != ((Long) pathToTimestamp
+ boolean found = pathToTimestamp.get(fullPath) != null;
+ if (!found || new File(fullPath).lastModified() != ((Long) pathToTimestamp
.get(fullPath)).longValue()) {
pathToDocument.put(fullPath, loadDocument(fullPath));
pathToTimestamp.put(fullPath, new Long(new File(fullPath)
15 years, 3 months
JBoss Tools SVN: r12899 - documentation/trunk/movies/index/en.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-01-06 12:28:48 -0500 (Tue, 06 Jan 2009)
New Revision: 12899
Modified:
documentation/trunk/movies/index/en/master.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-352
database is added to index page
Modified: documentation/trunk/movies/index/en/master.xml
===================================================================
--- documentation/trunk/movies/index/en/master.xml 2009-01-06 16:36:15 UTC (rev 12898)
+++ documentation/trunk/movies/index/en/master.xml 2009-01-06 17:28:48 UTC (rev 12899)
@@ -110,7 +110,14 @@
</para>
<para>In this part of the video cast about Seam it will be shown how to create a web page that displays database entries and adds a new entry to the database reusing generated code. You will practically learn how to use JSF, RichFaces and Facelets.</para>
</listitem>
-
+
+ <listitem>
+ <para>
+ <ulink url="demos/connecting_to_db_and_reverse_engineering_db_table/seamDemo.sql">The database used in these movies</ulink>
+ </para>
+ </listitem>
+
+
</itemizedlist>
</listitem>
15 years, 3 months
JBoss Tools SVN: r12898 - documentation/trunk/movies/seam_demo.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-01-06 11:36:15 -0500 (Tue, 06 Jan 2009)
New Revision: 12898
Added:
documentation/trunk/movies/seam_demo/seamDemo.sql
Log:
https://jira.jboss.org/jira/browse/JBDS-352
database for seam demos is added
Added: documentation/trunk/movies/seam_demo/seamDemo.sql
===================================================================
--- documentation/trunk/movies/seam_demo/seamDemo.sql (rev 0)
+++ documentation/trunk/movies/seam_demo/seamDemo.sql 2009-01-06 16:36:15 UTC (rev 12898)
@@ -0,0 +1,54 @@
+-- MySQL dump 10.11
+--
+-- Host: localhost Database: seamDemo
+-- ------------------------------------------------------
+-- Server version 5.0.51a-3ubuntu5.3
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `phoneBook`
+--
+
+DROP TABLE IF EXISTS `phoneBook`;
+SET @saved_cs_client = @@character_set_client;
+SET character_set_client = utf8;
+CREATE TABLE `phoneBook` (
+ `id` int(11) NOT NULL auto_increment,
+ `Name` varchar(300) character set latin1 NOT NULL,
+ `Surname` varchar(300) character set latin1 NOT NULL,
+ `phone_number` varchar(30) character set latin1 NOT NULL,
+ `address` varchar(300) character set latin1 NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=koi8r;
+SET character_set_client = @saved_cs_client;
+
+--
+-- Dumping data for table `phoneBook`
+--
+
+LOCK TABLES `phoneBook` WRITE;
+/*!40000 ALTER TABLE `phoneBook` DISABLE KEYS */;
+INSERT INTO `phoneBook` VALUES (1,'Joane','Ferris','716-241-123','Garden City, 109 Union St.'),(2,'Bruce','Olsen','356453126459','New York, 123 William St.'),(3,'Mary','White','585-238-8233','Rochester,259 Monroe Ave.'),(4,'Matthew','Tiscione','518-474-8728','Albany, 44 Holland Ave.'),(5,'Michael','Jones','518-474-123','Buffalo, 90 Church St.'),(6,'Daniel','Smith','654-782-98743','Washington, 23 Chestnut st.'),(7,'James','Greenman','9082330895','New Jersey, 477,w Broad st.'),(8,'Andre','White','4043463595','Atlanta, Central ave. 154');
+/*!40000 ALTER TABLE `phoneBook` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2008-12-10 22:07:32
15 years, 3 months
JBoss Tools SVN: r12897 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2009-01-06 11:28:09 -0500 (Tue, 06 Jan 2009)
New Revision: 12897
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
RESOLVED - issue JBIDE-3473: Something wrong with text processing inside table.
https://jira.jboss.org/jira/browse/JBIDE-3473
Now during node update old node is deleting AFTER a new node was added.
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-01-06 16:16:39 UTC (rev 12896)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-01-06 16:28:09 UTC (rev 12897)
@@ -1031,8 +1031,11 @@
nsIDOMNode visualContainer = visualOldNode.getParentNode();
nsIDOMNode visualNextNode = visualOldNode.getNextSibling();
if (visualContainer != null) {
+ addNode(sourceNode, visualNextNode, visualContainer);
+ // If add the new node after deleting the old, in some cases
+ // XULRunner will work in unexpected way (see JBIDE-3473)
+ // so it is necessary to remove the old child AFTER adding the new
visualContainer.removeChild(visualOldNode);
- addNode(sourceNode, visualNextNode, visualContainer);
}
} else {
// Max Areshkau Why we need update parent node when we update text
15 years, 3 months
JBoss Tools SVN: r12896 - trunk/jmx/features/org.jboss.tools.jmx.feature.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-06 11:16:39 -0500 (Tue, 06 Jan 2009)
New Revision: 12896
Modified:
trunk/jmx/features/org.jboss.tools.jmx.feature/feature.properties
trunk/jmx/features/org.jboss.tools.jmx.feature/feature.xml
Log:
JBIDE-3413
Modified: trunk/jmx/features/org.jboss.tools.jmx.feature/feature.properties
===================================================================
--- trunk/jmx/features/org.jboss.tools.jmx.feature/feature.properties 2009-01-06 15:16:32 UTC (rev 12895)
+++ trunk/jmx/features/org.jboss.tools.jmx.feature/feature.properties 2009-01-06 16:16:39 UTC (rev 12896)
@@ -8,10 +8,6 @@
# "description" property - description of the feature
description=eclipse-jmx is a JMX console which is used to manage Java applications through JMX and its RMI Connector. eclipse-jmx can be run from the Eclipse IDE.
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=Copyright (c) 2006 Jeff Mesnil, http://jmesnil.net
- ############### end of copyright property ####################################
-
# "licenseURL" property - URL of the "Feature License"
# do not translate value - just change to point to a locale-specific HTML page
licenseURL=license.html
Modified: trunk/jmx/features/org.jboss.tools.jmx.feature/feature.xml
===================================================================
--- trunk/jmx/features/org.jboss.tools.jmx.feature/feature.xml 2009-01-06 15:16:32 UTC (rev 12895)
+++ trunk/jmx/features/org.jboss.tools.jmx.feature/feature.xml 2009-01-06 16:16:39 UTC (rev 12896)
@@ -11,9 +11,13 @@
</description>
<copyright>
- %copyright
+ JBoss, Home of Professional Open Source
+Copyright 2006, JBoss Inc., and individual contributors as indicated
+by the @authors tag. See the copyright.txt in the distribution
+for a full listing of individual contributors.
</copyright>
+
<license url="%licenseURL">
%license
</license>
15 years, 3 months
JBoss Tools SVN: r12895 - trunk/documentation/guides/GettingStartedGuide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-01-06 10:16:32 -0500 (Tue, 06 Jan 2009)
New Revision: 12895
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/gsg_faq.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-438 - adding the info as the answer on the question in the FAQ section;
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/gsg_faq.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/gsg_faq.xml 2009-01-06 12:49:49 UTC (rev 12894)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/gsg_faq.xml 2009-01-06 15:16:32 UTC (rev 12895)
@@ -19,7 +19,7 @@
<title>What should I do if Visual Page Editor does not start under Linux</title>
<para>Linux users may need to do the following to get the <property>Visual Page
- Editor</property> to work correctly on their machines.</para>
+ Editor</property> to work correctly on their machines.</para>
<orderedlist>
<listitem>
@@ -67,23 +67,25 @@
<para>No. <property>JBoss Developer Studio</property> already comes bundled with JBoss
Server. We bundle it together so that you don't need to download any additional
software and can test your application in a Web browser right away.</para>
- <para>If you want to use a different JBoss server installation, after <property>JBoss Developer Studio</property>
- is installed open Servers View (select <emphasis><property>Window > Show View
- > Others > Server > Servers</property>),</emphasis> then
- right click on this <emphasis>
+ <para>If you want to use a different JBoss server installation, after <property>JBoss
+ Developer Studio</property> is installed open Servers View (select
+ <emphasis><property>Window > Show View > Others > Server
+ > Servers</property>),</emphasis> then right click on this <emphasis>
<property>view > New > Server</property>
- </emphasis> and follow the wizards steps to point to another Jboss Server installation.</para>
- <para><property>JBoss Developer Studio</property> works with any servlet container, not just JBoss. For more
- information on deployment, please see the Deploying Your Application section.</para>
+ </emphasis> and follow the wizards steps to point to another Jboss Server
+ installation.</para>
+ <para><property>JBoss Developer Studio</property> works with any servlet container, not just
+ JBoss. For more information on deployment, please see the Deploying Your Application
+ section.</para>
</section>
-
+
<section id="question_3">
- <title>I have an existing Seam 1.2.1 project. Can I migrate/import the
- project to a JBDS Seam project?</title>
-
- <para>We highly recommend you to create Seam 1.2.1 project using the <property>JBDS</property>. In other case try
- to do manually:</para>
-
+ <title>I have an existing Seam 1.2.1 project. Can I migrate/import the project to a JBDS
+ Seam project?</title>
+
+ <para>We highly recommend you to create Seam 1.2.1 project using the
+ <property>JBDS</property>. In other case try to do manually:</para>
+
<itemizedlist>
<listitem>
<para>Create a Seam Web project to get the JBoss tools structure</para>
@@ -99,45 +101,43 @@
</listitem>
<listitem>
<para>Copy resources individual files to where they are in the seam web project
- etc.</para>
+ etc.</para>
</listitem>
</itemizedlist>
-
+
</section>
<section id="questio_4">
- <title>I have an existing Struts or JSF project. Can I open the project
- in JBDS?</title>
-
+ <title>I have an existing Struts or JSF project. Can I open the project in JBDS?</title>
+
<para>Yes. From main menu select <emphasis>
<property>File > Import > Other > JSF Project (or Struts
Project)</property>
- </emphasis> and follow wizards steps.</para>
-
+ </emphasis> and follow wizards steps.</para>
+
</section>
-
+
<section id="question_5">
<title>Can I import a .war file?</title>
<para>Yes. Select <emphasis><property>File > Import > Web > WAR
- file</property>, </emphasis> then follow importing steps.</para>
+ file</property>, </emphasis> then follow importing steps.</para>
</section>
-
+
<section id="question_6">
- <title>Is it possible to increase the performance of Eclipse after
- installing your product?</title>
-
- <para><property>JBoss Developer Studio</property> preconfigures eclipse via the eclipse.ini file to allocate
- extra memory, but if you for some reason need more memory then by default, you can
- manually make adjustments in this file. For example:</para>
+ <title>Is it possible to increase the performance of Eclipse after installing your
+ product?</title>
+
+ <para><property>JBoss Developer Studio</property> preconfigures eclipse via the eclipse.ini
+ file to allocate extra memory, but if you for some reason need more memory then by
+ default, you can manually make adjustments in this file. For example:</para>
<programlisting role="XML">
<![CDATA[-vmargs -Xms128m -Xmx512m -XX:MaxPermSize=128m
]]></programlisting>
- </section>
+ </section>
- <section id="question_7">
- <title>How can I add my own tag library to the JBoss Tools
- Palette?</title>
-
+ <section id="question_7">
+ <title>How can I add my own tag library to the JBoss Tools Palette?</title>
+
<para>See <ulink url="&jsflink;#AddingCustomJSFTagsToTheRedHatPalette7433">Adding Tag
Libraries</ulink> in Visual Web Tools Guide.</para>
</section>
@@ -189,4 +189,15 @@
<property>Properties > Seam Settings</property>.</emphasis></para>
</section>
+ <section id="question_10">
+ <title>Is a cross-platform project import possible for JBDS?</title>
+
+ <para>Yes. You can easily import created in Linux JSF, Struts or Seam project to Windows and
+ vice versa.</para>
+
+ <para>To do the transferring JSF, Struts or Seam project, go to <emphasis>
+ <property>Menu > Import > General > Existing Projects into Workspace</property>,</emphasis>
+ select the folder where your project stored and press <emphasis>
+ <property>Finish</property>.</emphasis></para>
+ </section>
</chapter>
15 years, 3 months
JBoss Tools SVN: r12894 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2009-01-06 07:49:49 -0500 (Tue, 06 Jan 2009)
New Revision: 12894
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
VpeVisualDomBuilder's methods createNode, addNode and addChildren have been documented.
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-01-06 11:52:52 UTC (rev 12893)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-01-06 12:49:49 UTC (rev 12894)
@@ -254,6 +254,19 @@
// temporary, will be change to prefference's variable
// private boolean borderVisible = true;
+ /**
+ * Adds visual representation of {@code sourceNode} and its descendants
+ * to {@code visualContainer}.
+ *
+ * If {@code visualNextNode} is not {@code null}, then created
+ * representation will be inserted before {@code visualNextNode},
+ * otherwise it will be inserted at the end of {@code visualContainer}
+ *
+ * @param sourceNode source node, cannot be {@code null}
+ * @param visualNextNode next visual node, can be {@code null}
+ * @param visualContainer visual container, cannot be {@code null}
+ * @return {@code true} if and only if the visual representation is created and added successfully
+ */
private boolean addNode(Node sourceNode, nsIDOMNode visualNextNode,
nsIDOMNode visualContainer) {
@@ -395,11 +408,11 @@
}
/**
- * Generates visual node
+ * Creates new visual node representing {@code sourceNode} and its descendants.
*
- * @param sourceNode
- * @param visualOldContainer
- * @return
+ * @param sourceNode source node
+ * @param visualOldContainer visual node, in which the caller plans to insert new visual node
+ * @return new visual node
*/
protected nsIDOMNode createNode(Node sourceNode,
nsIDOMNode visualOldContainer) {
@@ -601,6 +614,14 @@
}
}
+ /**
+ * Adds visual representations of {@code sourceContainer}'s children
+ * and their descendants to {@code visualContainer}.
+ *
+ * @param containerTemplate
+ * @param sourceContainer
+ * @param visualContainer
+ */
protected void addChildren(VpeTemplate containerTemplate,
Node sourceContainer, nsIDOMNode visualContainer) {
@@ -609,7 +630,7 @@
int childrenCount = 0;
for (int i = 0; i < len; i++) {
Node sourceNode = sourceNodes.item(i);
- if ((addNode(sourceNode, null, visualContainer))) {
+ if (addNode(sourceNode, null, visualContainer)) {
if (Node.ELEMENT_NODE == sourceNode.getNodeType()) {
}
childrenCount++;
15 years, 3 months
JBoss Tools SVN: r12893 - trunk/as/docs/reference/en/images/perspective.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-01-06 06:52:52 -0500 (Tue, 06 Jan 2009)
New Revision: 12893
Added:
trunk/as/docs/reference/en/images/perspective/perspective_23a.png
trunk/as/docs/reference/en/images/perspective/perspective_23b.png
trunk/as/docs/reference/en/images/perspective/perspective_23c.png
trunk/as/docs/reference/en/images/perspective/perspective_24a.png
Log:
https://jira.jboss.org/jira/browse/JBDS-439 - adding new screens;
Added: trunk/as/docs/reference/en/images/perspective/perspective_23a.png
===================================================================
(Binary files differ)
Property changes on: trunk/as/docs/reference/en/images/perspective/perspective_23a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/docs/reference/en/images/perspective/perspective_23b.png
===================================================================
(Binary files differ)
Property changes on: trunk/as/docs/reference/en/images/perspective/perspective_23b.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/docs/reference/en/images/perspective/perspective_23c.png
===================================================================
(Binary files differ)
Property changes on: trunk/as/docs/reference/en/images/perspective/perspective_23c.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/docs/reference/en/images/perspective/perspective_24a.png
===================================================================
(Binary files differ)
Property changes on: trunk/as/docs/reference/en/images/perspective/perspective_24a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 3 months
JBoss Tools SVN: r12892 - trunk/as/docs/reference/en/images/perspective.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-01-06 06:50:51 -0500 (Tue, 06 Jan 2009)
New Revision: 12892
Added:
trunk/as/docs/reference/en/images/perspective/perspective_21a.png
Log:
https://jira.jboss.org/jira/browse/JBDS-439 - adding a new screen;
Added: trunk/as/docs/reference/en/images/perspective/perspective_21a.png
===================================================================
(Binary files differ)
Property changes on: trunk/as/docs/reference/en/images/perspective/perspective_21a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 3 months