JBoss Tools SVN: r10509 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-09-26 09:39:36 -0400 (Fri, 26 Sep 2008)
New Revision: 10509
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/CommonJBIDE2010Test.java
Log:
=junit test adjusted
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/CommonJBIDE2010Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/CommonJBIDE2010Test.java 2008-09-26 13:21:23 UTC (rev 10508)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/CommonJBIDE2010Test.java 2008-09-26 13:39:36 UTC (rev 10509)
@@ -37,22 +37,22 @@
protected static final String VALUE_5 = "world"; //$NON-NLS-1$
/** The Constant KEY_5. */
- protected static final String KEY_5 = "#{bean1.property3}"; //$NON-NLS-1$
+ protected static final String KEY_5 = "bean1.property3"; //$NON-NLS-1$
/** The Constant VALUE_4. */
protected static final String VALUE_4 = "background: red"; //$NON-NLS-1$
/** The Constant KEY_4. */
- protected static final String KEY_4 = "#{bean1.property2}"; //$NON-NLS-1$
+ protected static final String KEY_4 = "bean1.property2"; //$NON-NLS-1$
/** The Constant IMPORT_PROJECT_NAME. */
public static final String IMPORT_PROJECT_NAME = "jsfTest"; //$NON-NLS-1$
/** The Constant KEY_3. */
- protected static final String KEY_3 = "#{facesContext.requestPath}"; //$NON-NLS-1$
+ protected static final String KEY_3 = "facesContext.requestPath"; //$NON-NLS-1$
/** The Constant KEY_2. */
- protected static final String KEY_2 = "#{beanA.property2}"; //$NON-NLS-1$
+ protected static final String KEY_2 = "beanA.property2"; //$NON-NLS-1$
/** The Constant DIR_TEST_PAGE_NAME. */
protected static final String DIR_TEST_PAGE_NAME_2 = "JBIDE/2010/page2.jsp"; //$NON-NLS-1$
@@ -61,7 +61,7 @@
protected static final String DIR_TEST_PAGE_NAME = "JBIDE/2010/page.jsp"; //$NON-NLS-1$
/** The Constant KEY_1. */
- protected static final String KEY_1 = "#{beanA.property1}"; //$NON-NLS-1$
+ protected static final String KEY_1 = "beanA.property1"; //$NON-NLS-1$
/** The Constant elValuesMap. */
protected static final Map<String, String> elValuesMap = new HashMap<String, String>();
16 years, 3 months
JBoss Tools SVN: r10508 - in trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el: internal/core/model and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-09-26 09:21:23 -0400 (Fri, 26 Sep 2008)
New Revision: 10508
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/model/ELInvocationExpression.java
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/model/ELArgumentExpressionImpl.java
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/model/ELPropertyInvocationImpl.java
Log:
JBIDE-1497.
Minor improvements
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/model/ELInvocationExpression.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/model/ELInvocationExpression.java 2008-09-26 13:19:13 UTC (rev 10507)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/model/ELInvocationExpression.java 2008-09-26 13:21:23 UTC (rev 10508)
@@ -34,4 +34,8 @@
*/
public ELInvocationExpression getLeft();
+ public int getInvocationStartPosition();
+
+ public String getMemberName();
+
}
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/model/ELArgumentExpressionImpl.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/model/ELArgumentExpressionImpl.java 2008-09-26 13:19:13 UTC (rev 10507)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/model/ELArgumentExpressionImpl.java 2008-09-26 13:21:23 UTC (rev 10508)
@@ -45,4 +45,13 @@
return ELObjectType.EL_ARGUMENT_INVOCATION;
}
+ public int getInvocationStartPosition() {
+ return argument == null ? -1 : argument.getStartPosition();
+ }
+
+ public String getMemberName() {
+ if(argument == null) return null;
+ return argument.getArgument().getText();
+ }
+
}
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/model/ELPropertyInvocationImpl.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/model/ELPropertyInvocationImpl.java 2008-09-26 13:19:13 UTC (rev 10507)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/model/ELPropertyInvocationImpl.java 2008-09-26 13:21:23 UTC (rev 10508)
@@ -68,4 +68,18 @@
return ELObjectType.EL_PROPERTY_INVOCATION;
}
+ public int getInvocationStartPosition() {
+ if(name != null) {
+ return name.getStart();
+ }
+ if(dot != null) {
+ return dot.getStart(); // ?
+ }
+ return -1;
+ }
+
+ public String getMemberName() {
+ return name == null ? null : name.getText();
+ }
+
}
16 years, 3 months
JBoss Tools SVN: r10506 - trunk/birt/docs.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2008-09-26 09:12:42 -0400 (Fri, 26 Sep 2008)
New Revision: 10506
Modified:
trunk/birt/docs/pom.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-388 - path updated
Modified: trunk/birt/docs/pom.xml
===================================================================
--- trunk/birt/docs/pom.xml 2008-09-26 13:04:32 UTC (rev 10505)
+++ trunk/birt/docs/pom.xml 2008-09-26 13:12:42 UTC (rev 10506)
@@ -95,8 +95,8 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css</cssdir>
+ <stylesdir>../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
+ <cssdir>../../documentation/jbosstools-jdocbook-style/src/main/org/css</cssdir>
<translation>en-US</translation>
</properties>
16 years, 3 months
JBoss Tools SVN: r10505 - documentation/trunk/movies/common_resources/Callouts.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-09-26 09:04:32 -0400 (Fri, 26 Sep 2008)
New Revision: 10505
Modified:
documentation/trunk/movies/common_resources/Callouts/custom_box.svg
documentation/trunk/movies/common_resources/Callouts/custom_left_bottom.svg
documentation/trunk/movies/common_resources/Callouts/custom_left_top.svg
documentation/trunk/movies/common_resources/Callouts/custom_right.svg
documentation/trunk/movies/common_resources/Callouts/custom_right_top.svg
documentation/trunk/movies/common_resources/Callouts/custom_top_right.svg
Log:
https://jira.jboss.org/jira/browse/JBDS-426
hints are framed
Modified: documentation/trunk/movies/common_resources/Callouts/custom_box.svg
===================================================================
--- documentation/trunk/movies/common_resources/Callouts/custom_box.svg 2008-09-26 12:50:49 UTC (rev 10504)
+++ documentation/trunk/movies/common_resources/Callouts/custom_box.svg 2008-09-26 13:04:32 UTC (rev 10505)
@@ -3,7 +3,7 @@
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="117px" height="75px">
<polygon points="10 10, 10 64, 106 64, 106 10"
- style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.949;" />
+ style="stroke:rgb(82,82,82);fill:rgb(215,229,244);fill-opacity:0.949;" />
<polyline points="18 18, 98 18, 98 55, 18 55, 18 18"
style="stroke:rgb(0,0,0);fill:none;" />
<g id="appdata_0_255_255_255_1" />
Modified: documentation/trunk/movies/common_resources/Callouts/custom_left_bottom.svg
===================================================================
--- documentation/trunk/movies/common_resources/Callouts/custom_left_bottom.svg 2008-09-26 12:50:49 UTC (rev 10504)
+++ documentation/trunk/movies/common_resources/Callouts/custom_left_bottom.svg 2008-09-26 13:04:32 UTC (rev 10505)
@@ -2,8 +2,8 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="170px" height="124px">
-<path d="M48.75 111.466 C41.233,111.466 36.983,104.007 36.983,97.663 C36.983,91.697 37.312,86.841 36.983,84.232 C33.703,81.990 17.703,70.416 13.466,67.804 C20.625,67.804 33.069,67.804 36.983,67.804 C36.983,62.574 36.983,34.163 36.983,28.568 C36.983,22.966 42.859,14.163 48.75,14.532 C57.9,14.532 137.3,14.532 148.082,14.532 C156.257,14.532 159.533,20.107 159.533,27.949 C159.533,35.031 159.533,92.066 159.533,98.037 C158.283,105.466 154.283,109.708 147.433,111.466 C142.202,111.466 55.288,111.466 48.75,111.466 Z"
- style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.6;" />
+<path d="M48.75 111.466 C41.233,111.466 36.983,104.007 36.983,97.663 C36.983,91.697 37.312,86.841 36.983,84.232 C33.703,81.990 17.703,70.416 13.466,67.804 C20.625,67.804 33.069,67.804 36.983,67.804 C36.983,62.574 36.983,34.163 36.983,28.568 C36.983,22.966 42.858,14.163 48.75,14.532 C57.9,14.532 137.3,14.532 148.082,14.532 C156.257,14.532 159.533,20.107 159.533,27.949 C159.533,35.031 159.533,92.066 159.533,98.037 C158.283,105.466 154.283,109.708 147.433,111.466 C142.202,111.466 55.288,111.466 48.75,111.466 Z"
+ style="stroke-width:2;stroke:rgb(82,82,82);fill:rgb(215,229,244);fill-opacity:0.6;" />
<path d="M46 113.666 C38.331,113.666 34,105.692 34,98.9 C34,92.516 34.331,87.324 34,84.531 C30.663,82.137 14.330,69.766 10,66.966 C17.329,66.966 30,66.966 34,66.966 C34,61.382 34,30.983 34,25 C34,19.014 40,9.591 46,10 C55.331,10 136.332,10 147.332,10 C155.666,10 159,15.955 159,24.334 C159,31.913 159,92.916 159,99.308 C159.332,106.882 153.332,113.666 146.666,113.666 C141.332,113.666 52.666,113.666 46,113.666 Z"
style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.85;" />
<polyline points="46.331 21.163, 147.332 21.163, 147.332 100.166, 46.331 100.166, 46.331 21.163"
Modified: documentation/trunk/movies/common_resources/Callouts/custom_left_top.svg
===================================================================
--- documentation/trunk/movies/common_resources/Callouts/custom_left_top.svg 2008-09-26 12:50:49 UTC (rev 10504)
+++ documentation/trunk/movies/common_resources/Callouts/custom_left_top.svg 2008-09-26 13:04:32 UTC (rev 10505)
@@ -2,8 +2,8 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="170px" height="124px">
-<path d="M47.733 11.531 C40.218,11.531 35.966,19.362 35.966,26.037 C35.966,32.316 36.291,37.420 35.966,40.172 C32.687,42.529 16.675,54.692 12.437,57.441 C19.597,57.441 32.045,57.441 35.966,57.441 C35.966,62.937 35.966,92.824 35.966,98.708 C35.966,104.594 41.848,113.850 47.733,113.469 C56.889,113.469 136.327,113.469 147.115,113.469 C155.288,113.469 158.562,107.608 158.562,99.358 C158.562,91.908 158.562,31.929 158.562,25.644 C158.875,18.197 153,11.531 146.461,11.531 C141.225,11.531 54.276,11.531 47.733,11.531 Z"
- style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.6;" />
+<path d="M47.733 11.531 C40.218,11.531 35.966,19.358 35.966,26.037 C35.966,32.316 36.288,37.420 35.966,40.172 C32.687,42.529 16.675,54.692 12.437,57.441 C19.591,57.441 32.045,57.441 35.966,57.441 C35.966,62.937 35.966,92.824 35.966,98.708 C35.966,104.591 41.848,113.85 47.733,113.469 C56.889,113.469 136.327,113.469 147.115,113.469 C155.288,113.469 158.562,107.608 158.562,99.358 C158.562,91.908 158.562,31.929 158.562,25.644 C158.875,18.197 153,11.531 146.461,11.531 C141.225,11.531 54.276,11.531 47.733,11.531 Z"
+ style="stroke-width:2;stroke:rgb(82,82,82);fill:rgb(215,229,244);fill-opacity:0.6;" />
<path d="M46 10 C38.331,10 34,17.973 34,24.764 C34,31.149 34.331,36.341 34,39.134 C30.663,41.529 14.330,53.899 10,56.697 C17.329,56.697 30,56.697 34,56.697 C34,62.283 34,92.678 34,98.666 C34,104.649 40,114.062 46,113.666 C55.331,113.666 136.332,113.666 147.332,113.666 C155.666,113.666 159,107.702 159,99.332 C159,91.749 159,30.75 159,24.358 C159.332,16.783 153.332,10 146.666,10 C141.332,10 52.666,10 46,10 Z"
style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.85;" />
<polyline points="46.331 24.5, 147.332 24.5, 147.332 103.5, 46.331 103.5, 46.331 24.5"
Modified: documentation/trunk/movies/common_resources/Callouts/custom_right.svg
===================================================================
--- documentation/trunk/movies/common_resources/Callouts/custom_right.svg 2008-09-26 12:50:49 UTC (rev 10504)
+++ documentation/trunk/movies/common_resources/Callouts/custom_right.svg 2008-09-26 13:04:32 UTC (rev 10505)
@@ -3,8 +3,8 @@
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="125px" height="124px">
<path d="M114.408 68.348 C112.5,75.898 106.3,79.362 99.3,80.362 C93.021,80.362 87.045,79.975 84.3,80.3 C81.949,83.576 84,83 108,109 C81,80 68.3,83.891 68.3,79.966 C62.804,79.966 33.179,80.362 27.3,80.362 C21.407,80.362 12.086,74.233 12.466,68.348 C12.466,59.19 11.764,37.15 11.764,26.358 C11.764,18.187 15.519,12.026 23.764,12.026 C31.216,12.026 95.149,12.026 101.433,12.026 C109.098,12.358 114.433,18.158 114.433,24.699 C114.433,29.931 114.408,61.810 114.408,68.348 Z"
- style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.6;" />
-<path d="M113.668 66.675 C113.668,74.416 105.695,78.788 98.904,78.788 C92.519,78.788 87.324,78.452 84.537,78.788 C82.139,82.15 81,78 109,113 C78,81 66.966,82.824 66.966,78.788 C61.383,78.788 30.983,78.788 25,78.788 C19.014,78.788 9.591,72.725 10,66.675 C10,57.264 11.668,33.545 11.668,22.441 C11.668,14.037 17.625,10.336 26,10.336 C33.574,10.336 95.274,10 101.668,10 C109.239,9.663 113.332,16.722 113.332,23.454 C113.332,28.833 113.668,59.949 113.668,66.675 Z"
+ style="stroke:rgb(82,82,82);fill:rgb(215,229,244);fill-opacity:0.6;" />
+<path d="M113.668 66.675 C113.668,74.416 105.695,78.788 98.904,78.788 C92.519,78.788 87.324,78.452 84.537,78.788 C82.139,82.15 81,78 109,113 C78,81 66.966,82.824 66.966,78.788 C61.383,78.788 30.983,78.788 25,78.788 C19.014,78.788 9.591,72.725 10,66.675 C10,57.264 11.668,33.545 11.668,22.441 C11.668,14.037 17.625,10.336 26,10.336 C33.574,10.336 95.274,10 101.668,10 C109.239,9.663 113.332,16.720 113.332,23.454 C113.332,28.833 113.668,59.949 113.668,66.675 Z"
style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.85;" />
<polyline points="20.262 66.334, 20.262 21.169, 101.262 21.169, 101.262 66.334, 20.262 66.334"
style="stroke:rgb(0,0,0);fill:none;" />
Modified: documentation/trunk/movies/common_resources/Callouts/custom_right_top.svg
===================================================================
--- documentation/trunk/movies/common_resources/Callouts/custom_right_top.svg 2008-09-26 12:50:49 UTC (rev 10504)
+++ documentation/trunk/movies/common_resources/Callouts/custom_right_top.svg 2008-09-26 13:04:32 UTC (rev 10505)
@@ -2,8 +2,8 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="170px" height="125px">
-<path d="M124.202 12.062 C131.716,12.062 135.966,19.896 135.966,26.568 C135.966,32.848 135.640,37.953 135.966,40.703 C139.25,43.06 155.258,55.222 159.5,57.967 C152.332,57.967 139.890,57.967 135.966,57.967 C135.966,63.470 135.966,93.351 135.966,99.239 C135.966,105.130 130.081,114.382 124.202,114 C115.045,114 35.608,114 24.816,114 C16.645,114 13.375,108.139 13.375,99.891 C13.375,92.441 13.375,32.460 13.375,26.175 C13.056,18.724 18.936,12.062 25.473,12.062 C30.708,12.062 117.661,12.062 124.202,12.062 Z"
- style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.6;" />
+<path d="M124.202 12.062 C131.716,12.062 135.966,19.896 135.966,26.568 C135.966,32.848 135.640,37.953 135.966,40.703 C139.25,43.06 155.258,55.222 159.5,57.966 C152.332,57.966 139.890,57.966 135.966,57.966 C135.966,63.470 135.966,93.351 135.966,99.239 C135.966,105.130 130.081,114.382 124.202,114 C115.045,114 35.608,114 24.816,114 C16.645,114 13.375,108.139 13.375,99.891 C13.375,92.441 13.375,32.460 13.375,26.175 C13.056,18.722 18.936,12.062 25.473,12.062 C30.708,12.062 117.661,12.062 124.202,12.062 Z"
+ style="stroke:rgb(82,82,82);fill:rgb(215,229,244);fill-opacity:0.6;" />
<path d="M123 10 C130.666,10 135,17.973 135,24.764 C135,31.145 134.666,36.341 135,39.134 C138.332,41.529 154.666,53.896 159,56.698 C151.671,56.698 139,56.698 135,56.698 C135,62.283 135,92.675 135,98.666 C135,104.65 129,114.062 123,113.666 C113.666,113.666 32.663,113.666 21.663,113.666 C13.330,113.666 10,107.702 10,99.332 C10,91.745 10,30.75 10,24.358 C9.663,16.783 15.663,10 22.333,10 C27.663,10 116.332,10 123,10 Z"
style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.85;" />
<polyline points="122.666 24.495, 21.663 24.495, 21.663 103.5, 122.666 103.5, 122.666 24.495"
Modified: documentation/trunk/movies/common_resources/Callouts/custom_top_right.svg
===================================================================
--- documentation/trunk/movies/common_resources/Callouts/custom_top_right.svg 2008-09-26 12:50:49 UTC (rev 10504)
+++ documentation/trunk/movies/common_resources/Callouts/custom_top_right.svg 2008-09-26 13:04:32 UTC (rev 10505)
@@ -3,8 +3,8 @@
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="125px" height="121px">
<path d="M114.733 53.807 C114.733,46.288 106.904,42.041 100.228,42.041 C93.949,42.041 90.177,42.781 87.428,42.456 C85.077,39.175 97.875,25.75 102.875,12.25 C94.074,19.25 76.8,31.525 68.828,42.041 C63.333,42.041 33.444,42.041 27.562,42.041 C21.670,42.041 12.413,47.923 12.8,53.807 C12.8,62.964 12.09,85.005 12.09,95.791 C12.09,103.965 15.848,110.125 24.095,110.125 C31.548,110.125 95.478,110.125 101.762,110.125 C109.428,109.791 114.762,103.999 114.762,97.457 C114.762,92.220 114.733,60.345 114.733,53.807 Z"
- style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.6;" />
-<path d="M113.668 51.444 C113.668,43.708 105.695,39.335 98.904,39.335 C92.519,39.335 91.661,39.086 88.875,38.75 C85.101,36.574 106.173,14.358 103.375,10 C98.875,16.25 72.125,34.711 72.125,38.75 C66.541,38.75 30.983,39.335 25,39.335 C19.014,39.335 9.593,45.393 10,51.444 C10,60.858 11.669,84.576 11.669,95.678 C11.669,104.082 17.625,107.786 26,107.786 C33.583,107.786 95.274,108.125 101.668,108.125 C109.239,108.458 113.332,101.394 113.332,94.668 C113.332,89.288 113.668,58.175 113.668,51.444 Z"
+ style="stroke:rgb(82,82,82);fill:rgb(215,229,244);fill-opacity:0.6;" />
+<path d="M113.668 51.444 C113.668,43.708 105.695,39.335 98.904,39.335 C92.519,39.335 91.661,39.086 88.875,38.75 C85.101,36.574 106.173,14.358 103.375,10 C98.875,16.25 72.125,34.710 72.125,38.75 C66.541,38.75 30.983,39.335 25,39.335 C19.014,39.335 9.591,45.393 10,51.444 C10,60.858 11.669,84.576 11.669,95.678 C11.669,104.082 17.625,107.786 26,107.786 C33.583,107.786 95.274,108.125 101.668,108.125 C109.239,108.458 113.332,101.394 113.332,94.668 C113.332,89.288 113.668,58.175 113.668,51.444 Z"
style="stroke-width:0;fill:rgb(215,229,244);fill-opacity:0.85;" />
<polyline points="20.262 51.791, 20.262 96.957, 101.262 96.957, 101.262 51.791, 20.262 51.791"
style="stroke:rgb(0,0,0);fill:none;" />
16 years, 3 months
JBoss Tools SVN: r10504 - in trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor: figures and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-09-26 08:50:49 -0400 (Fri, 26 Sep 2008)
New Revision: 10504
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ParamListEditPart.java
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamFigure.java
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamListFigure.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2254
fine tuning
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ParamListEditPart.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ParamListEditPart.java 2008-09-26 12:47:06 UTC (rev 10503)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ParamListEditPart.java 2008-09-26 12:50:49 UTC (rev 10504)
@@ -14,6 +14,7 @@
import java.util.List;
import org.eclipse.draw2d.ConnectionAnchor;
+import org.eclipse.draw2d.FigureUtilities;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Point;
@@ -29,7 +30,9 @@
import org.eclipse.gef.requests.DropRequest;
import org.eclipse.swt.accessibility.AccessibleControlEvent;
import org.eclipse.swt.accessibility.AccessibleEvent;
+import org.jboss.tools.seam.ui.pages.editor.ecore.pages.Param;
import org.jboss.tools.seam.ui.pages.editor.figures.NodeFigure;
+import org.jboss.tools.seam.ui.pages.editor.figures.ParamFigure;
import org.jboss.tools.seam.ui.pages.editor.figures.ParamListFigure;
public class ParamListEditPart extends PagesEditPart implements PropertyChangeListener, Adapter {
@@ -83,7 +86,41 @@
Dimension size;
-
+ private int calculateListWidth(){
+ int width = 0;
+ int nameWidth = 0;
+
+ for(int i = 0; i < getPageWrapperModel().getPage().getChildren().size(); i++){
+ Param param = (Param)getPageWrapperModel().getPage().getChildren().get(i);
+ String name;
+ if(param.getName() != null){
+ name = param.getName();
+ name += ":";
+ }else
+ name = "Param:";
+
+ String value;
+ if(param.getValue() != null){
+ value = param.getValue();
+ }else
+ value = "value";
+
+ int curName = FigureUtilities.getTextExtents(name, ParamFigure.nameParamFont).width;
+
+ if(curName > nameWidth)
+ nameWidth = curName;
+
+ int current = FigureUtilities.getTextExtents(name, ParamFigure.nameParamFont).width+
+ FigureUtilities.getTextExtents(value, ParamFigure.valueParamFont).width + 20;
+
+ if(current > width)
+ width = current;
+ }
+
+ ((ParamListFigure)getFigure()).setNameWidth(nameWidth);
+
+ return width;
+ }
protected void refreshVisuals() {
Point loc = getPageWrapperModel().getPage().getLocation().getCopy();
@@ -91,7 +128,7 @@
if(links == 0)
links = 1;
loc.y += 25+links*NodeFigure.LINK_HEIGHT;
- size = new Dimension(200, getPageWrapperModel().getPage().getChildren().size()*19+2);
+ size = new Dimension(calculateListWidth(), getPageWrapperModel().getPage().getChildren().size()*19+2);
adjustForGrid(loc);
Rectangle r = new Rectangle(loc, size);
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamFigure.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamFigure.java 2008-09-26 12:47:06 UTC (rev 10503)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamFigure.java 2008-09-26 12:50:49 UTC (rev 10504)
@@ -26,9 +26,9 @@
public class ParamFigure extends NodeFigure implements HandleBounds {
private static final Dimension SIZE = new Dimension(56, 100);
- private static final Font nameParamFont = new Font(null, "default", 8, SWT.BOLD); // TODO: use preference font mechanism for this
+ public static final Font nameParamFont = new Font(null, "default", 8, SWT.BOLD); // TODO: use preference font mechanism for this
- private static final Font valueParamFont = new Font(null, "default", 8, SWT.NORMAL); // TODO: use preference font mechanism for this
+ public static final Font valueParamFont = new Font(null, "default", 8, SWT.NORMAL); // TODO: use preference font mechanism for this
private static final Color selectionColor = new Color(null, 0x41, 0x77, 0xa0);
@@ -88,14 +88,14 @@
}
String name;
if(param.getName() != null){
- name = dottedString(param.getName(), getTextWidth()-getTextInset(), nameParamFont);
+ name = param.getName();
name += ":";
}else
name = "Param:";
String value;
if(param.getValue() != null){
- value = dottedString(param.getValue(), getTextWidth()-getTextInset(), valueParamFont);
+ value = param.getValue();
}else
value = "value";
@@ -104,7 +104,7 @@
g.drawString(name, getTextInset(), 2);
g.setFont(valueParamFont);
- g.drawString(value, getTextWidth()+3*getTextInset(), 2);
+ g.drawString(value, ((ParamListFigure)getParent()).getNameWidth()+3*getTextInset(), 2);
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamListFigure.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamListFigure.java 2008-09-26 12:47:06 UTC (rev 10503)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamListFigure.java 2008-09-26 12:50:49 UTC (rev 10504)
@@ -97,4 +97,14 @@
}
}
+
+ private int nameWidth = 0;
+
+ public void setNameWidth(int nameWidth){
+ this.nameWidth = nameWidth;
+ }
+
+ public int getNameWidth(){
+ return nameWidth;
+ }
}
\ No newline at end of file
16 years, 3 months
JBoss Tools SVN: r10503 - in trunk/birt/docs: en and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2008-09-26 08:47:06 -0400 (Fri, 26 Sep 2008)
New Revision: 10503
Added:
trunk/birt/docs/en/
trunk/birt/docs/en/images/
trunk/birt/docs/en/images/esb_editor/
trunk/birt/docs/en/images/esb_editor/01_esb_tree_view.png
trunk/birt/docs/en/images/esb_editor/02_esb_source_view.png
trunk/birt/docs/en/images/esb_editor/03_esb_outline_view.png
trunk/birt/docs/en/images/esb_editor/04_esb_add_provider.png
trunk/birt/docs/en/images/esb_editor/05_esb_add_service.png
trunk/birt/docs/en/images/esb_editor/06_esb_add_listener.png
trunk/birt/docs/en/images/esb_editor/08_esb_features.png
trunk/birt/docs/en/images/esb_editor/09_esb_features.png
trunk/birt/docs/en/images/esb_editor/10_esb_features.png
trunk/birt/docs/en/images/esb_support/
trunk/birt/docs/en/images/esb_support/01_create_esb.png
trunk/birt/docs/en/images/esb_support/02_create_esb.png
trunk/birt/docs/en/images/favicon.ico
trunk/birt/docs/en/images/new.png
trunk/birt/docs/en/images/updated.png
trunk/birt/docs/en/master.xml
trunk/birt/docs/en/modules/
trunk/birt/docs/en/modules/birt_designer.xml
trunk/birt/docs/en/modules/birt_support.xml
trunk/birt/docs/en/modules/introduction.xml
trunk/birt/docs/pom.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-388 - structure updated
Added: trunk/birt/docs/en/images/esb_editor/01_esb_tree_view.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/01_esb_tree_view.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_editor/02_esb_source_view.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/02_esb_source_view.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_editor/03_esb_outline_view.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/03_esb_outline_view.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_editor/04_esb_add_provider.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/04_esb_add_provider.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_editor/05_esb_add_service.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/05_esb_add_service.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_editor/06_esb_add_listener.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/06_esb_add_listener.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_editor/08_esb_features.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/08_esb_features.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_editor/09_esb_features.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/09_esb_features.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_editor/10_esb_features.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_editor/10_esb_features.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_support/01_create_esb.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_support/01_create_esb.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/esb_support/02_create_esb.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/esb_support/02_create_esb.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/favicon.ico
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/new.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/new.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/updated.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/updated.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/master.xml
===================================================================
--- trunk/birt/docs/en/master.xml (rev 0)
+++ trunk/birt/docs/en/master.xml 2008-09-26 12:47:06 UTC (rev 10503)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+"?http://www.docbook.org/xsd/4.3/docbook.xsd"
+
+[
+<!ENTITY introduction SYSTEM "modules/introduction.xml">
+<!ENTITY birt_support SYSTEM "modules/birt_support.xml">
+<!ENTITY birt_designer SYSTEM "modules/birt_designer.xml">
+
+
+
+]>
+<book>
+ <bookinfo>
+ <title>Birt Plugin Reference Guide</title>
+
+ <author><firstname>Anastasiya</firstname><surname>Bogachuk</surname><email>abogachuk(a)exadel.com</email></author>
+
+
+ <pubdate>August 2008</pubdate>
+ <copyright>
+ <year>2008</year>
+ <holder>JBoss, a division of Red Hat Inc.</holder>
+ </copyright>
+ <releaseinfo>
+ Version: 1.0.0.alpha
+ </releaseinfo>
+ </bookinfo>
+
+ <toc/>
+
+ &introduction;
+ &birt_support;
+ &birt_designer;
+
+
+</book>
\ No newline at end of file
Added: trunk/birt/docs/en/modules/birt_designer.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_designer.xml (rev 0)
+++ trunk/birt/docs/en/modules/birt_designer.xml 2008-09-26 12:47:06 UTC (rev 10503)
@@ -0,0 +1,213 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<chapter id="birt_designer" xreflabel="birt_designer">
+ <?dbhtml filename="birtDesigner.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss BIRT</keyword>
+ <keyword>BIRT</keyword>
+ <keyword>BIRT Designer</keyword>
+
+ </keywordset>
+ </chapterinfo>
+
+ <title>BIRT Designer</title>
+
+ <para>text here</para>
+
+ <section id="esb_file">
+
+ <title>ESB File Editor</title>
+ <para><property>ESB File Editor</property> is a powerful and customizable tool. ESB File Editor allows developing an
+ application using ESB technology.</para>
+
+ <para>ESB file editor has two tabs: Tree and Source.</para>
+
+ <para>You can switch to Tree. The Tree view for the editor displays all ESB artifacts in a tree format.
+ By selecting any node you can see and edit its properties which will appear in the right-hand area. For example, a Provider:</para>
+ <figure>
+ <title>Tree View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_editor/01_esb_tree_view.png" scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>You can easily switch from Tree to Source by selecting the Source tab at the bottom of the editor and work in <link linkend="sourceView">Source view</link>.</para>
+
+ <figure id="sourceView">
+ <title>Source View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_editor/02_esb_source_view.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>The Source view for the editor displays a text content of the ESB file. It is always synchronized with tree view,
+ so any changes made in one of the views will immediately appear in the other.</para>
+ <para>No matter what view you select, you get full integration with <!--Properties and -->Outline view<!-- views -->.
+ For example, you can work in the Source view with the help of the Outline view. The Outline view shows a tree structure of the ESB file.
+ Simply select any element in the Outline view and it will jump to the same place in the Source editor,
+ so you can navigate through the source code with Outline view.</para>
+ <figure>
+ <title>Outline View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_editor/03_esb_outline_view.png" scale="70"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Adding, editing or deleting of some artifacts operations are available right in the <property>Tree</property> view. Right-click any node and select one of the available actions in the context menu.
+ For example, you can easily add a new provider:</para>
+ <para></para>
+ <figure>
+ <title>Adding new provider</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_editor/04_esb_add_provider.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>You can easily add a new service too:</para>
+ <figure>
+ <title>Adding new service</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_editor/05_esb_add_service.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The same way you can create a listener for service and other elements of ESB:</para>
+ <figure>
+ <title>Adding new listener for service</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_editor/06_esb_add_listener.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>The same actions can be done in the right part of <property>Tree</property> view tab
+ using <property>Add</property>, <property>Edit</property> and <property>Remove</property> buttons.</para>
+ </section>
+
+
+
+ <section id="esb_editors_features">
+
+ <title>ESB Editors Features</title>
+ <para>JBoss ESB tooling has powerful editor features that help you easily make use of content and code assist.</para>
+
+ <section id="ESBsyntaxvalidation84">
+
+ <title>ESB syntax validation</title>
+ <para>When working in JBoss ESB editor you are constantly provided with feedback
+ and contextual error checking as you type. In the Source viewer, if at any point a tag is incorrect or incomplete, an error will be indicated next to the line and also in the Problems view below.</para>
+ </section>
+
+ <section id="ESBSupportXMLSchema">
+ <title>Support for XML Schema</title>
+
+ <para>JBoss ESB Framework fully
+ <link linkend="sourceView">supports XML files based on schemas as well as DTDs</link>.</para>
+ </section>
+
+ <!--<section id="OpenOnSelection">
+
+ <title>OpenOn</title>
+
+ <para><property>OpenOn</property> let's you easily navigate through your
+ project without using the Package Explorer view (project tree). With OpenOn, you can
+ simply click on a reference to another file and that file will be opened.</para>
+
+ <para>OpenOn is available for the XML files </para>
+
+ <para>Press and hold down the Ctrl key. As you move the mouse cursor over different
+ file references in the file, they display an underline. When you have the mouse
+ cursor over the name of the file you want to open, click and the file will open
+ in its own editor. In this example the managed bean NameBean will open.</para>
+
+ </section>
+ -->
+
+ <section id="ESBContentAssist">
+
+ <title>Content Assist for ESB XML file</title>
+
+ <para>When you work with any ESB XML file <property>Content Assist</property> is available to help you.
+ It provides pop-up tip to help you complete your code statements.
+ It allows you to write your code faster and with more accuracy.
+ Content assist is always available in the Source mode. Simply type <emphasis>
+ <property>Ctrl-Space</property></emphasis> to see what is available.</para>
+
+ <para>Content Assist for ESB XML file:</para>
+ <figure>
+ <title>Content Assist for ESB XML file</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ fileref="images/esb_editor/08_esb_features.png" scale="80"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Content Assist for attributes:</para>
+ <figure>
+ <title>Content Assist for attributes:</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ fileref="images/esb_editor/09_esb_features.png" scale="80"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <!-- </section>
+
+ <section id="ContentAssistWithinTreeEditor">
+
+ <title>Content Assist within Tree ESB Editor</title>
+
+ <para>JBoss Developer Studio also provides Content Assist when working within the Tree ESB editor.
+ Just click <emphasis><property>Ctrl-Space</property>.</emphasis></para>
+ <figure>
+ <title>Content Assist in Tree ESB Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ fileref="images/esb_file/09_editors_features.png" scale="85"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section> -->
+ </section>
+
+ <section id="FullControlOverSourceFiles-SynchronizedSourcAndVisualEditing">
+
+ <title>Synchronized Source and Visual Editing</title>
+
+ <para>ESB file can be edited in either source
+ or extra visual modes at the same time.</para>
+
+ <para>JBoss Tools provide you two different editors to speed your development: a graphical view (<property>Tree</property>) and source
+ (<property>Source</property>). At the same time, you always have full control over esb source file. Any changes you
+ make in the source view will immediately appear in the tree view. Both views are synchronized, you can edit the file in any view.</para>
+
+ <figure>
+ <title>Two Views are Synchronized</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_editor/10_esb_features.png" scale="70"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ </section>
+
+ <para>The last chapter covers capabilities on how you can use ESB editor.</para>
+
+ <para>In summary, this reference supplies you with all necessary information on the functionality
+ that JBoss ESB Editor provides for work with JBoss ESB.</para>
+ </section>
+</chapter>
Added: trunk/birt/docs/en/modules/birt_support.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_support.xml (rev 0)
+++ trunk/birt/docs/en/modules/birt_support.xml 2008-09-26 12:47:06 UTC (rev 10503)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="esb_support">
+ <?dbhtml filename="esb_support.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Developer Studio</keyword>
+ <keyword>Eclipse</keyword>
+ <keyword>BIRT</keyword>
+ <keyword>Java</keyword>
+ <keyword>JBoss</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>BIRT Support</title>
+
+ <para>In this section we will focus more on all concepts that JBoss Tools integrates for
+ working with BIRT.</para>
+
+ <section>
+ <title>BIRT Plugin Installation</title>
+
+ <para>This chapter will provide you with detailed information on how to install BIRT plugin into JBoss Developer Studio.</para>
+
+ <para>Since BIRT plugin is one of the modules of JBoss Tools project it has a dependence on other modules and will require their pre-installation. </para>
+
+ <para>These are the prerequisites to create a web project including Seam and BIRT capabilities:</para>
+ <itemizedlist>
+ <listitem><para>Eclipse Version 3.4 SDK</para></listitem>
+ <listitem><para>DTP Version 1.6 Release</para></listitem>
+ <listitem><para>EMF Version 2.4 Release EMF+XSD</para></listitem>
+ <listitem><para>GEF Version 3.4 Release runtime</para></listitem>
+ <listitem><para>WTP Version 3.0 Release</para></listitem>
+ <listitem><para>BIRT Report Designer SDK 2.3.0 Release or BIRT Report Designer 2.3.0 Release <ulink url="http://repository.jboss.org/eclipse/birt/2.3.0/birt-report-framework-2_3_...">download here</ulink></para></listitem>
+ <listitem><para>JBoss Application Server 4.2.2 GA</para></listitem>
+ <listitem><para>JBoss Seam 2.0.1 GA</para></listitem>
+ <listitem><para>BIRT Web Tools Integration <ulink url="http://repository.jboss.org/eclipse/birt/2.3.0/birt-wtp-integration-sdk-2...">download here</ulink></para></listitem>
+ <listitem><para>JBoss Tools nightly build</para></listitem>
+
+ </itemizedlist>
+
+
+
+ </section>
+
+<section>
+
+ <title>JBoss BIRT Integration</title>
+ <para>To understand Hibernate configuration, integration with Seam, and deployment see <ulink url="http://docs.jboss.org/tools/whatsnew/birt/birt-news-1.0.0.Alpha1.html">JBoss BIRT Integration 1.0.0.alpha1 - New and Noteworthy</ulink>.</para>
+
+</section>
+
+ <section>
+ <title>Creating a BIRT Report</title>
+ <para>In this chapter we suggest a step-by-step walk-through of creating your own BIRT report.</para>
+
+ <para>We will show you how to use the Creation wizard for creating a new BIRT report.</para>
+
+ <para>Select <emphasis><property>File >New > Other...</property>
+ </emphasis> in the main menu bar or context menu for selected project and then <emphasis><property>ESB > ESB File</property></emphasis> in the New dialog:</para>
+
+ <figure>
+ <title>New Dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_support/01_create_esb.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para> Clicking <emphasis><property>Next</property></emphasis> brings us to the wizard page where it's necessary to specify the
+ folder, name and version for the file. We choose, for example, <emphasis><property>jboss-esb.xml</property>
+ </emphasis> as the name and accept the selected projects folder and default version.</para>
+ <figure>
+ <title>Folder, Name and Version</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/esb_support/02_create_esb.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Thus, our file will be created in the selected projects folder by default. If you want to change the folder
+ for your future file click <emphasis><property>Browse...</property></emphasis> button to set needed folder or simply type it.</para>
+
+ <para>Clicking on <emphasis><property>Finish</property>
+ </emphasis> results in the file being generated. The wizard creates one xml file.</para>
+
+ </section>
+
+</chapter>
Added: trunk/birt/docs/en/modules/introduction.xml
===================================================================
--- trunk/birt/docs/en/modules/introduction.xml (rev 0)
+++ trunk/birt/docs/en/modules/introduction.xml 2008-09-26 12:47:06 UTC (rev 10503)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="introduction">
+ <?dbhtml filename="introduction.html"?>
+
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Developer Studio</keyword>
+ <keyword>Eclipse</keyword>
+ <keyword>Java</keyword>
+ <keyword>JBoss</keyword>
+ <keyword>JBoss Tools</keyword>
+ <keyword>JBDS</keyword>
+ <keyword>BIRT</keyword>
+ <keyword>BIRT Plugin</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>Introduction</title>
+
+ <section>
+
+ <title>What is BIRT?</title>
+ <para>BIRT plugin for JBoss Developer Studio is an Eclipse-based open source reporting system for web applications based on Java and J2EE. BIRT consists of two main components: a report designer based on Eclipse, and a runtime component that can be added to your app server. BIRT also offers a charting engine that lets you add charts to your own Web application.</para>
+ <para>With the help of BIRT you can generate a great number of reports to be used in your application:</para>
+
+ <itemizedlist>
+ <listitem><para>Lists</para></listitem>
+ <listitem><para>Charts</para></listitem>
+ <listitem><para>Crosstabs, or cross-tabulation, or matrix</para></listitem>
+ <listitem><para>Letters and Documents</para></listitem>
+ <listitem><para>Compound Reports</para></listitem>
+ </itemizedlist>
+
+ <para>In this guide we provide you with the information on BIRT Designer which allows you to create a report much faster and with far fewer errors so sparing your time.</para>
+
+ <literallayout> </literallayout>
+ <para>You can find detailed information on the BIRT report types and anatomy here:</para>
+ <ulink url="http://www.eclipse.org/birt/phoenix/intro/">JBoss ESB</ulink>
+
+ <para>All JBoss Developer Studio/JBoss Tools documentation you can find <ulink url="http://www.jboss.com/products/devstudio/docs">here</ulink>.</para>
+ <para>The latest documentation builds are available <ulink url="http://download.jboss.org/jbosstools/nightly-docs/">here</ulink>.</para>
+
+ </section>
+
+
+
+</chapter>
Added: trunk/birt/docs/pom.xml
===================================================================
--- trunk/birt/docs/pom.xml (rev 0)
+++ trunk/birt/docs/pom.xml 2008-09-26 12:47:06 UTC (rev 10503)
@@ -0,0 +1,103 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>birt-reference-guide-${translation}</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>Birt_Reference_Guide</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <extensions>true</extensions>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.0</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+
+ <configuration>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <imageResource>
+ <directory>${pom.basedir}/en</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <cssResource>
+ <directory>${pom.basedir}/${cssdir}</directory>
+ </cssResource>
+
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/pdf.xsl</stylesheetResource>
+ <finalName>${pom.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
+ <!-- could also locate the docbook dependency and inspect its version... -->
+ <docbookVersion>1.72.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
+
+ <properties>
+ <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
+ <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css</cssdir>
+ <translation>en-US</translation>
+ </properties>
+
+</project>
16 years, 3 months
JBoss Tools SVN: r10502 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse: launch and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-09-26 08:44:00 -0400 (Fri, 26 Sep 2008)
New Revision: 10502
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/AddPropertyDialog.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-1913
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java 2008-09-26 12:22:09 UTC (rev 10501)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java 2008-09-26 12:44:00 UTC (rev 10502)
@@ -7,6 +7,7 @@
import java.util.Map;
import java.util.Properties;
import java.util.Set;
+import java.util.StringTokenizer;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.variables.IStringVariableManager;
@@ -204,24 +205,38 @@
List templatePathList = new ArrayList();
if(props.containsKey("template_path")) { //$NON-NLS-1$
String resolveTemplatePath = resolve(props.getProperty("template_path")); //$NON-NLS-1$
- String locationAsStringPath = PathHelper.getLocationAsStringPath(resolveTemplatePath);
- if(locationAsStringPath==null) {
- String out = NLS.bind(HibernateConsoleMessages.ExporterFactory_output_dir_in_does_not_exist,
- resolvedOutputDir, getExporterDefinition().getDescription());
+ StringTokenizer st = new StringTokenizer(resolveTemplatePath, File.pathSeparator);
+ String out = new String();
+ while (st.hasMoreTokens()) {
+ String locationAsStringPath = PathHelper.getLocationAsStringPath(st.nextToken());
+ if(locationAsStringPath==null) {
+ out += NLS.bind(HibernateConsoleMessages.ExporterFactory_template_dir_in_does_not_exist,
+ resolveTemplatePath, getExporterDefinition().getDescription()) + '\n';
+ } else {
+ templatePathList.add(locationAsStringPath);
+ }
+ }
+ if (out.length() > 0 ){//$NON-NLS-1$
+ out = out.substring(0, out.length() - 1);
throw new HibernateConsoleRuntimeException(out);
- } else {
- templatePathList.add(locationAsStringPath);
}
props.remove("template_path"); // done to avoid validation check in hibernate tools templates //$NON-NLS-1$
}
if (StringHelper.isNotEmpty(customTemplatePath)){
String resolvedCustomTemplatePath = resolve(customTemplatePath);
- String locationAsStringPath = PathHelper.getLocationAsStringPath(resolvedCustomTemplatePath);
- if(locationAsStringPath != null) {
- templatePathList.add(locationAsStringPath);
- } else {
- String out = NLS.bind(HibernateConsoleMessages.ExporterFactory_template_dir_in_does_not_exist,
- resolvedCustomTemplatePath, getExporterDefinition().getDescription());
+ StringTokenizer st = new StringTokenizer(resolvedCustomTemplatePath, File.pathSeparator);
+ String out = "";
+ while (st.hasMoreTokens()) {
+ String locationAsStringPath = PathHelper.getLocationAsStringPath(st.nextToken());
+ if(locationAsStringPath != null) {
+ templatePathList.add(locationAsStringPath);
+ } else {
+ out = NLS.bind(HibernateConsoleMessages.ExporterFactory_template_dir_in_does_not_exist,
+ resolvedCustomTemplatePath, getExporterDefinition().getDescription());
+ }
+ }
+ if (out != ""){
+ out = out.substring(0, out.length() - 1);
throw new HibernateConsoleRuntimeException(out);
}
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/AddPropertyDialog.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/AddPropertyDialog.java 2008-09-26 12:22:09 UTC (rev 10501)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/AddPropertyDialog.java 2008-09-26 12:44:00 UTC (rev 10502)
@@ -10,6 +10,7 @@
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.IMessageProvider;
+import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.TitleAreaDialog;
import org.eclipse.jface.viewers.ComboViewer;
import org.eclipse.jface.viewers.ILabelProvider;
@@ -35,6 +36,7 @@
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.DirectoryDialog;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
@@ -49,7 +51,7 @@
private final ExporterFactory ef;
private ComboViewer propertyCombo;
private Control value;
- private Button browseButton;
+ private Button addPathButton;
private String propertyName;
private String propertyValue;
private ModifyListener modifyListener = new ModifyListener() {
@@ -81,7 +83,7 @@
Label label = new Label(composite, SWT.NONE);
label.setText( HibernateConsoleMessages.AddPropertyDialog_name );
- Combo combo = new Combo(composite, SWT.BORDER | SWT.LEAD | SWT.DROP_DOWN);
+ final Combo combo = new Combo(composite, SWT.BORDER | SWT.LEAD | SWT.DROP_DOWN);
GridData pgd = new GridData(GridData.GRAB_HORIZONTAL | GridData.FILL_HORIZONTAL);
pgd.horizontalSpan = 2;
combo.setLayoutData(pgd);
@@ -91,12 +93,21 @@
combo.addKeyListener(new KeyListener(){
- public void keyPressed(KeyEvent e) {
+ public void keyPressed(KeyEvent e) {}
+
+ public void keyReleased(KeyEvent e) {
+ if (e.keyCode == SWT.ARROW_UP || e.keyCode == SWT.ARROW_DOWN) return;
+
+ for (int i = 0; i < combo.getItemCount(); i++) {
+ if (combo.getText().equals(combo.getItem(i))){
+ combo.select(i);
+ propertyCombo.setSelection(propertyCombo.getSelection(), false);
+ return;
+ }
+ }
disposeBrowseButton();
createTextValueComposite(2);
}
-
- public void keyReleased(KeyEvent e) {}
});
@@ -174,48 +185,55 @@
viewer.addSelectionChangedListener( new ISelectionChangedListener() {
private SelectionListener getSelectionListener(ExporterProperty prop){
- if ("directory".equals(prop.getType())){ //$NON-NLS-1$
- return new SelectionListener(){
- public void widgetDefaultSelected(SelectionEvent e) {
- widgetSelected(e);
- }
-
- public void widgetSelected(SelectionEvent e) {
- IPath[] paths = DialogSelectionHelper.chooseFileEntries(getShell(), PathHelper.pathOrNull(((Text)value).getText()), new Path[0],
- HibernateConsoleMessages.ExporterSettingsTab_select_dir, HibernateConsoleMessages.ExporterSettingsTab_select_dir,
- new String[0], true, true, false);//$NON-NLS-1$
- if(paths!=null && paths.length==1) {
- ((Text)value).setText( ( (paths[0]).toOSString() ) );
- }
- }
- };
- } else if ("path".equals(prop.getType())){ //$NON-NLS-1$
- return new SelectionListener(){
-
- public void widgetDefaultSelected(SelectionEvent e) {
- widgetSelected(e);
+ if (!("path".equals(prop.getType()) || "directory".equals(prop.getType()))) return null; //$NON-NLS-1$//$NON-NLS-2$
+ final boolean isPath = "path".equals(prop.getType()); //$NON-NLS-1$
+ return new SelectionListener(){
+ public void widgetDefaultSelected(SelectionEvent e) {
+ widgetSelected(e);
+ }
+
+ public void widgetSelected(SelectionEvent e) {
+ String title = isPath ? HibernateConsoleMessages.ExporterSettingsTab_select_path: HibernateConsoleMessages.ExporterSettingsTab_select_dir;
+ String description = title;
+
+ MessageDialog dialog = new MessageDialog(getShell(),
+ title,
+ null,
+ description,
+ MessageDialog.QUESTION,
+ new String[] { HibernateConsoleMessages.CodeGenerationSettingsTab_filesystem, HibernateConsoleMessages.CodeGenerationSettingsTab_workspace, IDialogConstants.CANCEL_LABEL},
+ 1);
+ int answer = dialog.open();
+ String strPath = null;
+ if (answer == 0) { // filesystem
+ DirectoryDialog dialog2 = new DirectoryDialog(getShell());
+ dialog2.setText(title);
+ dialog2.setMessage(description);
+
+ String dir = dialog2.open();
+ if (dir != null)
+ {
+ strPath = dir;
}
-
- public void widgetSelected(SelectionEvent e) {
- IPath[] paths = DialogSelectionHelper.chooseFileEntries(getShell(), PathHelper.pathOrNull(((Text)value).getText()), new Path[0],
- HibernateConsoleMessages.ExporterSettingsTab_select_path, HibernateConsoleMessages.ExporterSettingsTab_select_path,
- new String[]{new String()}/*allow all files*/, true, true, true);//$NON-NLS-1$
- //IPath[] paths = DialogSelectionHelper.chooseFolderEntries(getShell(), PathHelper.pathOrNull(((Text)value).getText()), "Select directories", //$NON-NLS-1$
- // "Choose directories", true);//$NON-NLS-1$
- if(paths!=null && paths.length > 0) {
- String strPath = paths[0].toOSString();
- for (int i = 1; i < paths.length; i++) {
- strPath += File.pathSeparator + paths[i].toOSString();
- }
- ((Text)value).setText( strPath );
- }
- }
- };
+ } else if (answer == 1){ // workspace
+ IPath[] paths = DialogSelectionHelper.chooseFileEntries(getShell(), (IPath)null, new Path[0],
+ title, description,
+ new String[0], isPath, true, false);//$NON-NLS-1$
+ strPath = paths[0].toOSString();
+ if (isPath){
+ for (int i = 1; i < paths.length; i++) {
+ strPath += File.pathSeparator + paths[i].toOSString();
+ }
+ }
+ } else return;
+ String oldPath = ((Text)value).getText();
+ if (isPath && oldPath.trim().length() > 0 && strPath != null)
+ ((Text)value).setText( oldPath + File.pathSeparator + strPath );
+ else ((Text)value).setText( strPath );
}
- return null;
- }
-
-
+ };
+ }
+
public void selectionChanged(SelectionChangedEvent event) {
if(value==null) return;
IStructuredSelection iss = (IStructuredSelection) event.getSelection();
@@ -224,17 +242,17 @@
if ("boolean".equalsIgnoreCase(prop.getType())) { //$NON-NLS-1$
disposeBrowseButton();
createComboValueComposite(new String[]{String.valueOf(true), String.valueOf(false)});
- ((Combo)value).select(Boolean.valueOf(prop.getDefaultValue()).booleanValue() ? 0 : 1);
+ ((Combo)value).select(Boolean.valueOf(ef.getPropertyValue(prop.getName())).booleanValue() ? 0 : 1);
} else if ("directory".equalsIgnoreCase(prop.getType())//$NON-NLS-1$
|| "path".equalsIgnoreCase(prop.getType())) { //$NON-NLS-1$
disposeBrowseButton();
createTextValueComposite(1);
- ((Text) value).setText(prop.getDefaultValue());
- createBrowseButton(getSelectionListener(prop));
+ ((Text) value).setText(ef.getPropertyValue(prop.getName()));
+ createBrowseButton(getSelectionListener(prop), prop);
} else {
disposeBrowseButton();
createTextValueComposite(2);
- ((Text) value).setText(prop.getDefaultValue());
+ ((Text) value).setText(ef.getPropertyValue(prop.getName()));
}
} else {
createTextValueComposite(2);
@@ -248,20 +266,24 @@
}
private void disposeBrowseButton(){
- if (browseButton != null){
- Composite parent = browseButton.getParent();
- browseButton.dispose();
- browseButton = null;
+ if (addPathButton != null){
+ Composite parent = addPathButton.getParent();
+ addPathButton.dispose();
+ addPathButton = null;
parent.layout();
}
}
- private void createBrowseButton(SelectionListener listener){
+ private void createBrowseButton(SelectionListener listener, ExporterProperty prop){
disposeBrowseButton();
- browseButton = new Button(value.getParent(), SWT.PUSH);
- browseButton.setText(HibernateConsoleMessages.ConsoleConfigurationTab_browse);
- browseButton.setLayoutData(new GridData(GridData.END));
- browseButton.addSelectionListener(listener);
+ addPathButton = new Button(value.getParent(), SWT.PUSH);
+ if ("path".equals(prop.getType())){
+ addPathButton.setText("Add path...");
+ } else {
+ addPathButton.setText("Browse");
+ }
+ addPathButton.setLayoutData(new GridData(GridData.END));
+ addPathButton.addSelectionListener(listener);
value.getParent().layout();
}
@@ -291,7 +313,7 @@
}
value = new Combo(parent, SWT.BORDER | SWT.LEAD | SWT.DROP_DOWN | SWT.READ_ONLY);
GridData bgd = new GridData(GridData.GRAB_HORIZONTAL | GridData.FILL_HORIZONTAL);
- bgd.horizontalSpan = 2;
+ bgd.horizontalSpan = 3;
value.setLayoutData(bgd);
((Combo)value).setItems(items);
((Combo)value).addModifyListener( modifyListener );
16 years, 3 months
JBoss Tools SVN: r10501 - trunk/birt/docs.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2008-09-26 08:22:09 -0400 (Fri, 26 Sep 2008)
New Revision: 10501
Removed:
trunk/birt/docs/reference/
Log:
structure changed
16 years, 3 months
JBoss Tools SVN: r10500 - trunk/birt/docs/reference.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2008-09-26 08:20:56 -0400 (Fri, 26 Sep 2008)
New Revision: 10500
Removed:
trunk/birt/docs/reference/pom.xml
Log:
Deleted: trunk/birt/docs/reference/pom.xml
===================================================================
--- trunk/birt/docs/reference/pom.xml 2008-09-26 12:08:30 UTC (rev 10499)
+++ trunk/birt/docs/reference/pom.xml 2008-09-26 12:20:56 UTC (rev 10500)
@@ -1,103 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.jboss.tools</groupId>
- <artifactId>birt-reference-guide-${translation}</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jdocbook</packaging>
- <name>Birt_Reference_Guide</name>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
- <extensions>true</extensions>
-
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
-
- <configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
- <imageResource>
- <directory>${pom.basedir}/en</directory>
- <includes>
- <include>images/**/*</include>
- </includes>
- </imageResource>
- <cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
-
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/pdf.xsl</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
- <!-- could also locate the docbook dependency and inspect its version... -->
- <docbookVersion>1.72.0</docbookVersion>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <distributionManagement>
- <repository>
- <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
- <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
- <!-- todo : replace this with direct svn access once the svnkit providers are available -->
- <id>repository.jboss.org</id>
- <url>file://${maven.repository.root}</url>
- </repository>
- <snapshotRepository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>dav:https://snapshots.jboss.org/maven2</url>
- </snapshotRepository>
- </distributionManagement>
-
- <properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css</cssdir>
- <translation>en-US</translation>
- </properties>
-
-</project>
16 years, 3 months