JBoss Tools SVN: r5233 - trunk/core/plugins/org.jboss.ide.eclipse.archives.core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-12-10 16:21:28 -0500 (Mon, 10 Dec 2007)
New Revision: 5233
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/plugin.xml
Log:
JBIDE-1041 kinda legacy but committed... for now.
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/plugin.xml
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/plugin.xml 2007-12-10 20:35:22 UTC (rev 5232)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/plugin.xml 2007-12-10 21:21:28 UTC (rev 5233)
@@ -32,5 +32,16 @@
point="org.eclipse.core.runtime.preferences">
<initializer class="org.jboss.ide.eclipse.archives.core.model.other.internal.WorkspacePreferenceManager"/>
</extension>
+
+
+
+ <!-- LEGACY - JBIDE-1041 -->
+ <extension
+ point="org.eclipse.core.runtime.contentTypes">
+ <file-association
+ file-names="packaging-build.xml"
+ content-type="org.eclipse.ant.core.antBuildFile">
+ </file-association>
+ </extension>
</plugin>
18 years
JBoss Tools SVN: r5232 - trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-12-10 15:35:22 -0500 (Mon, 10 Dec 2007)
New Revision: 5232
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views/ProjectArchivesView.java
Log:
JBIDE-479 auto-expand changed archives nodes
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views/ProjectArchivesView.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views/ProjectArchivesView.java 2007-12-10 19:43:09 UTC (rev 5231)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views/ProjectArchivesView.java 2007-12-10 20:35:22 UTC (rev 5232)
@@ -328,6 +328,7 @@
} else {
// just refresh whatever is the top changed element (archive probably)
packageViewer.refresh(topChanges[i]);
+ packageViewer.expandToLevel(topChanges[i], 1);
}
}
}
18 years
JBoss Tools SVN: r5231 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-12-10 14:43:09 -0500 (Mon, 10 Dec 2007)
New Revision: 5231
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/PackageModuleFactory.java
Log:
JBIDE-1427 unique id's need to be more unique. Timestamp chosen.
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/PackageModuleFactory.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/PackageModuleFactory.java 2007-12-10 19:09:37 UTC (rev 5230)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/PackageModuleFactory.java 2007-12-10 19:43:09 UTC (rev 5231)
@@ -24,6 +24,7 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
+import java.util.Date;
import java.util.HashMap;
import org.eclipse.core.resources.IProject;
@@ -59,9 +60,6 @@
*/
public class PackageModuleFactory extends ModuleFactoryDelegate {
- private static int nextArchiveId = -1;
- private static final String NEXT_ARCHIVE_KEY = "org.jboss.ide.eclipse.as.core.PackageModuleFactory.nextId";
-
public static final String FACTORY_TYPE_ID = "org.jboss.ide.eclipse.as.core.PackageModuleFactory";
public static final String MODULE_TYPE = "jboss.package";
public static final String VERSION = "1.0";
@@ -114,21 +112,8 @@
protected static String getID(IArchive pack, boolean create) {
String propVal = pack.getProperty(MODULE_ID_PROPERTY_KEY);
if( propVal == null && create ) {
- if( nextArchiveId == -1 ) {
- nextArchiveId =
- new InstanceScope().getNode(JBossServerCorePlugin.PLUGIN_ID).getInt(NEXT_ARCHIVE_KEY, 0);
- }
- nextArchiveId++;
- IEclipsePreferences prefs = new InstanceScope().getNode(JBossServerCorePlugin.PLUGIN_ID);
- prefs.putInt(NEXT_ARCHIVE_KEY, nextArchiveId);
- try {
- prefs.flush();
- } catch( BackingStoreException bse ) {
- }
- return "" + nextArchiveId;
- } else if( propVal == null ) {
- return null;
- }
+ return "" + new Date().getTime();
+ }
return propVal;
}
18 years
JBoss Tools SVN: r5230 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-12-10 14:09:37 -0500 (Mon, 10 Dec 2007)
New Revision: 5230
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/build.properties
Log:
JBIDE-1447 should be fixed. requires verification
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/build.properties 2007-12-10 15:39:43 UTC (rev 5229)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/build.properties 2007-12-10 19:09:37 UTC (rev 5230)
@@ -2,4 +2,5 @@
output.. = bin/
bin.includes = META-INF/,\
.,\
- plugin.xml
+ plugin.xml,\
+ icons/
18 years
JBoss Tools SVN: r5229 - in trunk/seam/docs: reference/en/images/crud_database_application and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-12-10 10:39:43 -0500 (Mon, 10 Dec 2007)
New Revision: 5229
Added:
trunk/seam/docs/resources/support/lib/avalon-framework-4.2.0.jar
trunk/seam/docs/resources/support/lib/batik-all-1.6.jar
trunk/seam/docs/resources/support/lib/commons-io-1.3.1.jar
trunk/seam/docs/resources/support/lib/commons-logging-1.0.4.jar
trunk/seam/docs/resources/support/lib/fop-hyph.jar
trunk/seam/docs/resources/support/lib/fop-sandbox.jar
trunk/seam/docs/resources/support/lib/fop-transcoder-allinone.jar
trunk/seam/docs/resources/support/lib/fop-transcoder.jar
trunk/seam/docs/resources/support/lib/serializer-2.7.0.jar
trunk/seam/docs/resources/support/lib/servlet-2.2.jar
trunk/seam/docs/resources/support/lib/xalan-2.7.0.jar
trunk/seam/docs/resources/support/lib/xercesImpl-2.7.1.jar
trunk/seam/docs/resources/support/lib/xml-apis-1.3.02.jar
trunk/seam/docs/resources/support/lib/xmlgraphics-commons-1.2.jar
Removed:
trunk/seam/docs/resources/support/lib/avalon-framework-cvs-20020806.jar
trunk/seam/docs/resources/support/lib/batik.jar
Modified:
trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_1.png
trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_2.png
trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_3.png
trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_4.png
trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_5.png
trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_6.png
trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_7.png
trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_8.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_01.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_02.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_03.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_04.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_05.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_06.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_07.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_08.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_09.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_10.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_11.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_12.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_13.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_14.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_15.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_16.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_17.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_18.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_19.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_20.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_21.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_22.png
trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_23.png
trunk/seam/docs/reference/en/modules/crud_application_walkthrough.xml
trunk/seam/docs/reference/en/modules/crud_database_application.xml
trunk/seam/docs/reference/en/modules/generate_entities.xml
trunk/seam/docs/reference/en/modules/seam_editors.xml
trunk/seam/docs/reference/en/modules/seam_wizards.xml
trunk/seam/docs/reference/en/modules/testng.xml
trunk/seam/docs/resources/styles/en/fopdf.xsl
trunk/seam/docs/resources/support.xml
trunk/seam/docs/resources/support/docbook-xsl/html/param.xsl
trunk/seam/docs/resources/support/lib/fop.jar
Log:
http://jira.jboss.com/jira/browse/JBDS-5 fop updated to fop-0.94 version, screenshots for pdf version are fixed.
"scale" attribute added for wide images.
Modified: trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_1.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_2.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_3.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_4.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_5.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_6.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_7.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_application_walkthrough/crud_application_walkthrough_8.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_01.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_02.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_03.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_04.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_05.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_06.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_07.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_08.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_09.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_10.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_11.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_12.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_13.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_14.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_15.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_16.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_17.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_18.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_19.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_20.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_21.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_22.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/crud_database_application/crud_database_application_23.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/modules/crud_application_walkthrough.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/crud_application_walkthrough.xml 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/reference/en/modules/crud_application_walkthrough.xml 2007-12-10 15:39:43 UTC (rev 5229)
@@ -25,7 +25,7 @@
<title>Start the Server</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_1.png"/>
+ <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_1.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -42,7 +42,7 @@
<title>Run Project on Server</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_2.png"/>
+ <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_2.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -63,7 +63,7 @@
<title>Home page</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_4.png"/>
+ <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_4.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -76,7 +76,7 @@
<title>Employees List</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_5.png"/>
+ <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_5.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -88,7 +88,7 @@
<title>Employee details</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_6.png"/>
+ <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_6.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -109,7 +109,7 @@
<title>Edit Employee</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_8.png"/>
+ <imagedata fileref="images/crud_application_walkthrough/crud_application_walkthrough_8.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/seam/docs/reference/en/modules/crud_database_application.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/crud_database_application.xml 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/reference/en/modules/crud_database_application.xml 2007-12-10 15:39:43 UTC (rev 5229)
@@ -119,7 +119,7 @@
<title>Edit Driver Definition</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_09.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_09.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -190,7 +190,7 @@
<title>CRUDAPP Seam Project</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_15.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_15.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -202,7 +202,7 @@
<title>Connecting to the CRUDDB database</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_16.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_16.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -214,7 +214,7 @@
<title>CRUDDB Database</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_17.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_17.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -240,7 +240,7 @@
<title>Entities Web Pages</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_19.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_19.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -252,7 +252,7 @@
<title>Entities Java Classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_20.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_20.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -266,7 +266,7 @@
<title>Hibernate Configurations View</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_21.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_21.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -280,7 +280,7 @@
<title>Mapping Diagram</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_22.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_22.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -294,7 +294,7 @@
<title>Entity class from Mapping Diagram</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/crud_database_application/crud_database_application_23.png"/>
+ <imagedata fileref="images/crud_database_application/crud_database_application_23.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/seam/docs/reference/en/modules/generate_entities.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/generate_entities.xml 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/reference/en/modules/generate_entities.xml 2007-12-10 15:39:43 UTC (rev 5229)
@@ -29,7 +29,7 @@
<para>The <property>Reverse Engineer from database</property> mode can be described in four steps:</para>
<orderedlist>
- <listitem><para>The wizard get in database, extracts the tables and
+ <listitem><para>The wizard gets in database, extracts the tables and
their connections</para></listitem>
<listitem><para>On basis of this metainfomation the Entity classes are generated into
<property>org.domain.project.entity</property> package</para></listitem>
Modified: trunk/seam/docs/reference/en/modules/seam_editors.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/seam_editors.xml 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/reference/en/modules/seam_editors.xml 2007-12-10 15:39:43 UTC (rev 5229)
@@ -29,7 +29,7 @@
<title>Content Assist</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/seam_editors/seam_editors1.png"/>
+ <imagedata fileref="images/seam_editors/seam_editors1.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -64,7 +64,7 @@
<title>Seam Validation</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/seam_editors/seam_editors2_1.png"/>
+ <imagedata fileref="images/seam_editors/seam_editors2_1.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/seam/docs/reference/en/modules/seam_wizards.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/seam_wizards.xml 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/reference/en/modules/seam_wizards.xml 2007-12-10 15:39:43 UTC (rev 5229)
@@ -69,7 +69,7 @@
<title>Action Page in JBoss Tools HTML Editor.</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/seam_wizards/seam_wizards5.png"/>
+ <imagedata fileref="images/seam_wizards/seam_wizards5.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -118,7 +118,7 @@
<title>Form Page in JBoss Tools HTML Editor.</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/seam_wizards/seam_wizards8.png"/>
+ <imagedata fileref="images/seam_wizards/seam_wizards8.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -163,7 +163,7 @@
<title>Conversation Page in JBoss Tools HTML Editor.</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/seam_wizards/seam_wizards11.png"/>
+ <imagedata fileref="images/seam_wizards/seam_wizards11.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -209,7 +209,7 @@
<title>Master Page in JBoss Tools HTML Editor.</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/seam_wizards/seam_wizards14.png"/>
+ <imagedata fileref="images/seam_wizards/seam_wizards14.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -220,7 +220,7 @@
<title>Entity Page in JBoss Tools HTML Editor.</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/seam_wizards/seam_wizards15.png"/>
+ <imagedata fileref="images/seam_wizards/seam_wizards15.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/seam/docs/reference/en/modules/testng.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/testng.xml 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/reference/en/modules/testng.xml 2007-12-10 15:39:43 UTC (rev 5229)
@@ -91,7 +91,7 @@
<title>Created Action</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/testng/testng_8.png"/>
+ <imagedata fileref="images/testng/testng_8.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -116,7 +116,7 @@
<title>Test is Finished</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/testng/testng_10.png"/>
+ <imagedata fileref="images/testng/testng_10.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -133,7 +133,7 @@
<title>Viewing the Test Results</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/testng/testng_11.png"/>
+ <imagedata fileref="images/testng/testng_11.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -145,7 +145,7 @@
<title>Test Results in Browser</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/testng/testng_12.png"/>
+ <imagedata fileref="images/testng/testng_12.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -156,7 +156,7 @@
<title>Test Information</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/testng/testng_13.png"/>
+ <imagedata fileref="images/testng/testng_13.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/seam/docs/resources/styles/en/fopdf.xsl
===================================================================
--- trunk/seam/docs/resources/styles/en/fopdf.xsl 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/resources/styles/en/fopdf.xsl 2007-12-10 15:39:43 UTC (rev 5229)
@@ -112,7 +112,7 @@
<xsl:variable name="Version">
<xsl:choose>
<xsl:when test="//releaseinfo">
- <xsl:text>JBoss </xsl:text>
+ <xsl:text></xsl:text>
<xsl:value-of select="//releaseinfo"/>
</xsl:when>
<xsl:otherwise>
@@ -215,7 +215,7 @@
<xsl:param name="tablecolumns.extension">0</xsl:param>
<!-- FOP provide only PDF Bookmarks at the moment -->
- <xsl:param name="fop.extensions">1</xsl:param>
+ <xsl:param name="fop1.extensions">1</xsl:param>
Modified: trunk/seam/docs/resources/support/docbook-xsl/html/param.xsl
===================================================================
--- trunk/seam/docs/resources/support/docbook-xsl/html/param.xsl 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/resources/support/docbook-xsl/html/param.xsl 2007-12-10 15:39:43 UTC (rev 5229)
@@ -262,7 +262,7 @@
<xsl:param name="index.term.separator"/>
<xsl:param name="index.range.separator"/>
<xsl:param name="index.prefer.titleabbrev" select="0"/>
-<xsl:param name="ignore.image.scaling" select="0"/>
+<xsl:param name="ignore.image.scaling" select="1"/>
<xsl:param name="inherit.keywords" select="1"/>
<xsl:param name="insert.xref.page.number">no</xsl:param>
<xsl:param name="javahelp.encoding">iso-8859-1</xsl:param>
Added: trunk/seam/docs/resources/support/lib/avalon-framework-4.2.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/avalon-framework-4.2.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: trunk/seam/docs/resources/support/lib/avalon-framework-cvs-20020806.jar
===================================================================
(Binary files differ)
Added: trunk/seam/docs/resources/support/lib/batik-all-1.6.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/batik-all-1.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: trunk/seam/docs/resources/support/lib/batik.jar
===================================================================
(Binary files differ)
Added: trunk/seam/docs/resources/support/lib/commons-io-1.3.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/commons-io-1.3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/commons-logging-1.0.4.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/commons-logging-1.0.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/fop-hyph.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/fop-hyph.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/fop-sandbox.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/fop-sandbox.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/fop-transcoder-allinone.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/fop-transcoder-allinone.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/fop-transcoder.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/fop-transcoder.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/seam/docs/resources/support/lib/fop.jar
===================================================================
(Binary files differ)
Added: trunk/seam/docs/resources/support/lib/serializer-2.7.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/serializer-2.7.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/servlet-2.2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/servlet-2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/xalan-2.7.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/xalan-2.7.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/xercesImpl-2.7.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/xercesImpl-2.7.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/xml-apis-1.3.02.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/xml-apis-1.3.02.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/resources/support/lib/xmlgraphics-commons-1.2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/resources/support/lib/xmlgraphics-commons-1.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/seam/docs/resources/support.xml
===================================================================
--- trunk/seam/docs/resources/support.xml 2007-12-10 12:51:31 UTC (rev 5228)
+++ trunk/seam/docs/resources/support.xml 2007-12-10 15:39:43 UTC (rev 5229)
@@ -37,6 +37,15 @@
</fileset>
</path>
+ <property name="fop.home" value="${support.dir}/lib"/>
+
+ <taskdef name="fop"
+ classname="org.apache.fop.tools.anttasks.Fop">
+ <classpath refid="lib.classpath">
+
+ </classpath>
+ </taskdef>
+
<!-- ################################################################## -->
<target name="all.doc" depends="clean">
@@ -141,14 +150,24 @@
</xslt>
-->
<!-- Create a PDF from the XSL/FO. -->
- <java classname="org.apache.fop.apps.Fop"
+
+ <fop format="application/pdf"
+ basedir="${build.dir}/${lang}/pdf"
+ outfile="${build.dir}/${lang}/pdf/${pdf.name}"
+ fofile="${build.dir}/${lang}/pdf/docbook_fop.tmp"
+ messagelevel="debug">
+
+ </fop>
+
+<!-- <java classname="org.apache.fop.cli.Main"
maxmemory="${maxmem}"
fork="true" dir="${basedir}" failonerror="true">
<classpath refid="lib.classpath"/>
+ <sysproperty key="fop.home" path="${support.dir}/lib"/>
<arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
<arg value="${build.dir}/${lang}/pdf/${pdf.name}"/>
</java>
-
+-->
<!-- Delete temporary files. -->
<delete file="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
<delete dir="${build.dir}/${lang}/pdf/images"/>
18 years
JBoss Tools SVN: r5228 - trunk/jbpm/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2007-12-10 07:51:31 -0500 (Mon, 10 Dec 2007)
New Revision: 5228
Modified:
trunk/jbpm/docs/reference/en/modules/Introduction.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-158 - adding section "feature list"
Modified: trunk/jbpm/docs/reference/en/modules/Introduction.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/Introduction.xml 2007-12-07 16:32:53 UTC (rev 5227)
+++ trunk/jbpm/docs/reference/en/modules/Introduction.xml 2007-12-10 12:51:31 UTC (rev 5228)
@@ -25,5 +25,76 @@
<listitem><para>Write an example process test case</para></listitem>
</itemizedlist>
<para>If you have questions, please feel free to contact Koen Aers or Tom Baeyens for more information.</para>
-</section>
+ </section>
+
+ <section id="feature_list">
+
+ <title>Feature list</title>
+
+
+
+ <para> JBoss jBPM is a workflow that enable creating and
+ automatization business processes. Look at the list of features below.
+ </para>
+ <table>
+ <title>Key Functionality for JBoss jBPM</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Feature</entry>
+ <entry>Benefit</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>jBDL support</entry>
+ <entry>Enable managing workflow processes as well as human tasks and interactions between them.
+ jBDL combines the best both Java and declarative process techniques. Look <link linkend="minimal_process_definition">here.</link></entry>
+ </row>
+
+ <row>
+ <entry>Support of Graphical Process Designer (GPD)</entry>
+ <entry>For simplifying declarative process development and visualizations of all actions. Look <link linkend="GuidedTourJBossjBPMGPD">here.</link></entry>
+ </row>
+
+ <row>
+ <entry>Project Creation wizard</entry>
+ <entry>Allows to create a new jBPM template project that already includes all advanced artifacts and core jBPM libraries.
+ Look <link linkend="CreatingjBPMProject">here.</link></entry>
+ </row>
+
+ <row>
+ <entry>Rich palette of pre-build process nodes</entry>
+ <entry>Provides process-building functionality and gives opportunity even non-programmers to develop processes.
+ Look <link linkend="minimal_process_definition">here.</link></entry>
+ </row>
+
+ <row>
+ <entry>Support of XML code view</entry>
+ <entry>Corresponding XML is generated automatically in the Source view of the process definition editor
+ when developing the process. Look <link linkend="the_source_view">here.</link></entry>
+ </row>
+
+ <row>
+ <entry>Properties view</entry>
+ <entry>Facilitates configuring and editing of all nodes properties. Look <link linkend="the_properties_view">here.</link></entry>
+ </row>
+
+ <row>
+ <entry>Interaction with all of the J2EE based integration technologies including Web Services, Java Messaging,
+ J2EE Connectors, JBDC, EJBs.</entry>
+ <entry>Enables implementation, provides better functionality and flexibility</entry>
+ </row>
+
+ <row>
+ <entry>Integration with jBoss Seam</entry>
+ <entry>Allows to write applications with complex workflows and provides easier interactions between them</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+
</chapter>
18 years
JBoss Tools SVN: r5227 - trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2007-12-07 11:32:53 -0500 (Fri, 07 Dec 2007)
New Revision: 5227
Modified:
trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/introduction.xml
Log:
link is fixed
Modified: trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/introduction.xml
===================================================================
--- trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/introduction.xml 2007-12-07 16:00:03 UTC (rev 5226)
+++ trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/introduction.xml 2007-12-07 16:32:53 UTC (rev 5227)
@@ -11,6 +11,6 @@
</chapterinfo>
<title>Introduction</title>
<para>The following chapters describe how to deal with classic/old style of JSF and Struts development. We recommend users to
- use <ulink url="../../../../../../Seam/docs/build/reference/en/html/create_new_seam.html">JBoss Seam</ulink> to simplify development, but until then you can read about classical JSF and Struts usage here.</para>
+ use <ulink url="../../../seam/en/html/create_new_seam.html">JBoss Seam</ulink> to simplify development, but until then you can read about classical JSF and Struts usage here.</para>
</chapter>
18 years
JBoss Tools SVN: r5226 - trunk/seam/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-12-07 11:00:03 -0500 (Fri, 07 Dec 2007)
New Revision: 5226
Modified:
trunk/seam/docs/reference/en/modules/generate_entities.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-342 "Seam Generate Entities" chapter updated according to Denis Golovin explanation
Modified: trunk/seam/docs/reference/en/modules/generate_entities.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/generate_entities.xml 2007-12-07 15:53:20 UTC (rev 5225)
+++ trunk/seam/docs/reference/en/modules/generate_entities.xml 2007-12-07 16:00:03 UTC (rev 5226)
@@ -24,7 +24,26 @@
</mediaobject>
</figure>
+ <para>In the Generate Seam Entities wizard there are two generation modes: Reverse Engineer from database
+ and Use existing entities.</para>
+
+ <para>The <property>Reverse Engineer from database</property> mode can be described in four steps:</para>
+ <orderedlist>
+ <listitem><para>The wizard get in database, extracts the tables and
+ their connections</para></listitem>
+ <listitem><para>On basis of this metainfomation the Entity classes are generated into
+ <property>org.domain.project.entity</property> package</para></listitem>
+ <listitem><para>For the entities from step 2 the classes <property>EntityList</property> and <property>EntityHome</property> are generated
+ into <property>org.domain.project.session</property> package</para></listitem>
+ <listitem><para>The xhtml pages are generated.</para></listitem>
+ </orderedlist>
+ <para>
+ Checking the <property>Use existing entities</property> mode the wizard executes only 3 and 4 steps. It generates missing classes and
+ xhtml pages.
+ </para>
+ <para>Read the <link linkend="crud_database_application">Generate a CRUD Database Application</link> chapter in order to see how the <property>Generate Seam Entities</property> wizard can be used.</para>
+
</chapter>
18 years
JBoss Tools SVN: r5225 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors: popup and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: achabatar
Date: 2007-12-07 10:53:20 -0500 (Fri, 07 Dec 2007)
New Revision: 5225
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/EditorActionContributor.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1415
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/EditorActionContributor.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/EditorActionContributor.java 2007-12-07 15:19:48 UTC (rev 5224)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/EditorActionContributor.java 2007-12-07 15:53:20 UTC (rev 5225)
@@ -11,6 +11,8 @@
package org.jboss.tools.hibernate.ui.veditor.editors;
import org.eclipse.gef.ui.actions.ActionBarContributor;
+import org.eclipse.gef.ui.actions.RedoRetargetAction;
+import org.eclipse.gef.ui.actions.UndoRetargetAction;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
@@ -23,10 +25,14 @@
workbenchAction.setImageDescriptor(ViewPlugin.getImageDescriptor(ViewPlugin.BUNDLE_IMAGE.getString("Explorer.refreshOrmGef"))); //$NON-NLS-1$
workbenchAction.setToolTipText(Messages.EditorActionContributor_Refresh_Visual_Mapping);
addAction(workbenchAction);
+ addRetargetAction(new UndoRetargetAction());
+ addRetargetAction(new RedoRetargetAction());
}
public void contributeToToolBar(IToolBarManager toolBarManager) {
toolBarManager.add(getAction(ActionFactory.REFRESH.getId()));
+ toolBarManager.add(getAction(ActionFactory.UNDO.getId()));
+ toolBarManager.add(getAction(ActionFactory.REDO.getId()));
}
protected void declareGlobalActionKeys() {
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 2007-12-07 15:19:48 UTC (rev 5224)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 2007-12-07 15:53:20 UTC (rev 5225)
@@ -1,24 +1,17 @@
package org.jboss.tools.hibernate.ui.veditor.editors.popup;
-import org.eclipse.draw2d.geometry.Point;
import org.eclipse.gef.ContextMenuProvider;
-import org.eclipse.gef.EditPart;
import org.eclipse.gef.EditPartViewer;
import org.eclipse.gef.ui.actions.ActionRegistry;
import org.eclipse.gef.ui.actions.GEFActionConstants;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
-import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.actions.ActionFactory;
import org.jboss.tools.hibernate.ui.veditor.editors.actions.OpenMappingAction;
import org.jboss.tools.hibernate.ui.veditor.editors.actions.OpenSourceAction;
@@ -32,6 +25,9 @@
}
public void buildContextMenu(IMenuManager menu) {
+ // Add standard action groups to the menu
+ GEFActionConstants.addStandardActionGroups(menu);
+
menu.add(new Separator(GEFActionConstants.MB_ADDITIONS));
IAction action = getActionRegistry().getAction(OpenSourceAction.ACTION_ID);
@@ -41,8 +37,20 @@
action = getActionRegistry().getAction(OpenMappingAction.ACTION_ID);
appendToGroup(GEFActionConstants.MB_ADDITIONS, action);
createMenuItem(getMenu(), action);
+
+ // Add actions to the menu
+ menu.appendToGroup(
+ GEFActionConstants.GROUP_UNDO, // target group id
+ getAction(ActionFactory.UNDO.getId())); // action to add
+ menu.appendToGroup(
+ GEFActionConstants.GROUP_UNDO,
+ getAction(ActionFactory.REDO.getId()));
}
+ private IAction getAction(String actionId) {
+ return actionRegistry.getAction(actionId);
+ }
+
public void createMenuItem(Menu menu, IAction action) {
boolean enabled = action.isEnabled();
boolean hidden = false;
18 years
JBoss Tools SVN: r5224 - in trunk/core/util/packaging-convert: lib and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-12-07 10:19:48 -0500 (Fri, 07 Dec 2007)
New Revision: 5224
Added:
trunk/core/util/packaging-convert/README.TXT
trunk/core/util/packaging-convert/src/META-INF/
trunk/core/util/packaging-convert/src/META-INF/MANIFEST.MF
trunk/core/util/packaging-convert/src/org/jboss/tools/archives/JBossIDEtoTools.java
Removed:
trunk/core/util/packaging-convert/lib/commons-cli-1.0.jar
Modified:
trunk/core/util/packaging-convert/.classpath
trunk/core/util/packaging-convert/build.xml
trunk/core/util/packaging-convert/src/org/jboss/tools/archives/PackagingConverter.groovy
Log:
minor fixes to packaging converter - e.g. not dependent on user having ant setup.
Modified: trunk/core/util/packaging-convert/.classpath
===================================================================
--- trunk/core/util/packaging-convert/.classpath 2007-12-07 14:21:12 UTC (rev 5223)
+++ trunk/core/util/packaging-convert/.classpath 2007-12-07 15:19:48 UTC (rev 5224)
@@ -4,8 +4,8 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<!--classpathentry exported="true" kind="lib" path="bin-groovy"/-->
<classpathentry kind="lib" path="lib/dom4j-1.6.1.jar"/>
- <classpathentry kind="lib" path="lib/jaxen-1.1-beta-6.jar"/>
<classpathentry kind="lib" path="lib/groovy-all-1.0.jar"/>
<classpathentry kind="lib" path="lib/ant-1.6.5.jar"/>
+ <classpathentry kind="lib" path="lib/jaxen-1.1-beta-6.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Added: trunk/core/util/packaging-convert/README.TXT
===================================================================
--- trunk/core/util/packaging-convert/README.TXT (rev 0)
+++ trunk/core/util/packaging-convert/README.TXT 2007-12-07 15:19:48 UTC (rev 5224)
@@ -0,0 +1,8 @@
+To convert JBossIDE 1.x packaging to JBoss Tools 2.x packaging run the following command:
+
+java -jar packaging-converter.jar /path/to/.packaging
+
+on an existing JBossIDE project.
+
+After an successful conversion refresh or restart Eclipse with JBoss Tools in it and you should
+see the changes.
\ No newline at end of file
Modified: trunk/core/util/packaging-convert/build.xml
===================================================================
--- trunk/core/util/packaging-convert/build.xml 2007-12-07 14:21:12 UTC (rev 5223)
+++ trunk/core/util/packaging-convert/build.xml 2007-12-07 15:19:48 UTC (rev 5224)
@@ -1,15 +1,39 @@
-<project default="convert">
-
- <path id="groovy-classpath">
- <fileset dir="lib" includes="**/*.jar"/>
- </path>
-
- <target name="convert">
- <property name="packaging-path" value="/home/marshall/Workspaces/jbosside/pojp/.packaging"/>
-
- <java classpathref="groovy-classpath" classname="groovy.lang.GroovyShell">
- <arg line="src/org/jboss/tools/archives/PackagingConverter.groovy"/>
- <arg line="${packaging-path}"/>
- </java>
- </target>
-</project>
\ No newline at end of file
+<?xml version="1.0"?>
+
+<project default="build" basedir=".">
+
+<target name="compile">
+ <path id="classpath">
+ <fileset dir="lib">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <mkdir dir="build/classes"/>
+
+ <copy todir="build/classes">
+ <fileset dir="src">
+ <include name="**/*.MF" />
+ <include name="**/*.png" />
+ <include name="**/*.groovy" />
+ </fileset>
+ </copy>
+
+ <javac classpathref="classpath" srcdir="src" destdir="build/classes" debug="true"/>
+
+ <zip destfile="packaging-converter.jar" basedir="build/classes"/>
+
+</target>
+
+<target name="build" depends="compile"/>
+
+ <target name="convert" depends="build">
+ <property name="packaging-path" value="/home/marshall/Workspaces/jbosside/pojp/.packaging"/>
+
+ <java jar="packaging-converter.jar" fork="true">
+ <arg line="${packaging-path}"/>
+ </java>
+ </target>
+
+
+</project>
Deleted: trunk/core/util/packaging-convert/lib/commons-cli-1.0.jar
===================================================================
(Binary files differ)
Added: trunk/core/util/packaging-convert/src/META-INF/MANIFEST.MF
===================================================================
--- trunk/core/util/packaging-convert/src/META-INF/MANIFEST.MF (rev 0)
+++ trunk/core/util/packaging-convert/src/META-INF/MANIFEST.MF 2007-12-07 15:19:48 UTC (rev 5224)
@@ -0,0 +1,3 @@
+Main-Class: org.jboss.tools.archives.JBossIDEtoTools
+Class-Path: lib/dom4j-1.6.1.jar lib/jaxen-1.1-beta-6.jar lib/groovy-all-1.0.jar lib/ant-1.6.5.jar lib/jaxen-1.1-beta-6.jar
+
Added: trunk/core/util/packaging-convert/src/org/jboss/tools/archives/JBossIDEtoTools.java
===================================================================
--- trunk/core/util/packaging-convert/src/org/jboss/tools/archives/JBossIDEtoTools.java (rev 0)
+++ trunk/core/util/packaging-convert/src/org/jboss/tools/archives/JBossIDEtoTools.java 2007-12-07 15:19:48 UTC (rev 5224)
@@ -0,0 +1,31 @@
+package org.jboss.tools.archives;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+
+import groovy.lang.GroovyShell;
+
+public class JBossIDEtoTools {
+
+ /**
+ * @param args
+ * @throws IOException
+ */
+ public static void main(String[] args) throws IOException {
+ GroovyShell groovyShell = new GroovyShell();
+
+ JBossIDEtoTools t = new JBossIDEtoTools();
+
+ InputStream openStream = null;
+ try {
+ URL resource = t.getClass().getClassLoader().getResource("org/jboss/tools/archives/PackagingConverter.groovy");
+ openStream = resource.openStream();
+ groovyShell.run(openStream, "PackaginConverter.groovy", args);
+ } finally {
+ if(openStream!=null) openStream.close();
+ }
+
+ }
+
+}
Modified: trunk/core/util/packaging-convert/src/org/jboss/tools/archives/PackagingConverter.groovy
===================================================================
--- trunk/core/util/packaging-convert/src/org/jboss/tools/archives/PackagingConverter.groovy 2007-12-07 14:21:12 UTC (rev 5223)
+++ trunk/core/util/packaging-convert/src/org/jboss/tools/archives/PackagingConverter.groovy 2007-12-07 15:19:48 UTC (rev 5224)
@@ -50,8 +50,9 @@
println "Backing up to .project.bak, and saving to .project in " + projectDir + "..."
saveProject()
- println "Converting JBossIDE 1.x packages to JBossTools/RHDS archives..."
+ println "Converting JBossIDE 1.x packages to JBoss Tools archives..."
convertPackaging()
+ println "Done. Restart Eclipse with JBoss Tools to see changes."
}
def updateBuilder () {
18 years