JBoss Tools SVN: r21513 - in trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui: resources and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-04-15 20:37:54 -0400 (Thu, 15 Apr 2010)
New Revision: 21513
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/resources/ResourceLayoutManager.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-1636 Code Review
fix errors in continuous build. org.jboss.tools.common.xml.SafeDocumentBuilderFactory was removed because it is not required
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java 2010-04-16 00:06:02 UTC (rev 21512)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java 2010-04-16 00:37:54 UTC (rev 21513)
@@ -30,7 +30,10 @@
super.describe(contents, description);
contents.reset();
String text = FileUtil.readStream(contents);
- return describe(text, description);
+ if(!"".equals(text.trim())) {
+ return describe(text, description);
+ }
+ return INDETERMINATE;
}
public int describe(Reader contents, IContentDescription description) throws IOException {
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/resources/ResourceLayoutManager.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/resources/ResourceLayoutManager.java 2010-04-16 00:06:02 UTC (rev 21512)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/resources/ResourceLayoutManager.java 2010-04-16 00:37:54 UTC (rev 21513)
@@ -32,7 +32,7 @@
import org.eclipse.osgi.util.NLS;
import org.jboss.tools.common.model.ui.ModelUIMessages;
import org.jboss.tools.common.model.ui.ModelUIPlugin;
-import org.jboss.tools.common.xml.SafeDocumentBuilderFactory;
+import org.jboss.tools.common.xml.XMLUtilities;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
@@ -275,7 +275,7 @@
}
static class DocumentBuilderHolder {
- static private DocumentBuilder INSTANCE = SafeDocumentBuilderFactory.createDocumentBuilder(false);
+ static private DocumentBuilder INSTANCE = XMLUtilities.createDocumentBuilder();
public static DocumentBuilder getInstance() {
return INSTANCE;
14 years, 9 months
JBoss Tools SVN: r21512 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: META-INF and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-04-15 20:06:02 -0400 (Thu, 15 Apr 2010)
New Revision: 21512
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/lib/
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/.classpath
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/build.properties
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInsertTemplate.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-1636 Code Review
Redundant jars removed from richfaces vpe templates
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/.classpath
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/.classpath 2010-04-15 23:52:06 UTC (rev 21511)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/.classpath 2010-04-16 00:06:02 UTC (rev 21512)
@@ -1,8 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry exported="true" kind="lib" path="lib/jhighlight-1.0.jar"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF 2010-04-15 23:52:06 UTC (rev 21511)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF 2010-04-16 00:06:02 UTC (rev 21512)
@@ -18,8 +18,7 @@
org.jboss.tools.vpe.xulrunner
Bundle-ActivationPolicy: lazy
Bundle-Vendor: %Bundle-Vendor.0
-Bundle-ClassPath: lib/jhighlight-1.0.jar,
- .
+Bundle-ClassPath: .
Export-Package: org.jboss.tools.jsf.vpe.richfaces,
org.jboss.tools.jsf.vpe.richfaces.template.util
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/build.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/build.properties 2010-04-15 23:52:06 UTC (rev 21511)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/build.properties 2010-04-16 00:06:02 UTC (rev 21512)
@@ -5,7 +5,6 @@
resources/,\
templates/,\
plugin.xml,\
- lib/jhighlight-1.0.jar,\
plugin.properties,\
about.html
src.includes = src/,\
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInsertTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInsertTemplate.java 2010-04-15 23:52:06 UTC (rev 21511)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInsertTemplate.java 2010-04-16 00:06:02 UTC (rev 21512)
@@ -40,9 +40,6 @@
import org.w3c.dom.Text;
import org.xml.sax.SAXException;
-import com.uwyn.jhighlight.renderer.Renderer;
-import com.uwyn.jhighlight.renderer.XhtmlRendererFactory;
-
/**
*
* @author ezheleznyakov(a)exadel.com
@@ -141,26 +138,16 @@
}
}
- if ((highlightValue == null) || (!searchInSupportedTypes(highlightValue))){
+ if (highlightValue == null) {
// finalStr = finalStr.replace('\n', ' ');
nsIDOMText text = visualDocument.createTextNode(finalStr);
div.appendChild(text);
return vpeCreationData;
}
- Renderer renderer = XhtmlRendererFactory.getRenderer(highlightValue);
- String transformStr = null;
- try {
- transformStr = renderer.highlight("", finalStr, UTF8, false); //$NON-NLS-1$
- transformStr = convertString(transformStr, highlightValue);
- Node node = parseTransformString(transformStr);
- buildVisualNode(node, div);
- } catch (IOException e1) {
- div.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, ERROR_MESSAGE_STYLE);
- nsIDOMText text = visualDocument.createTextNode(HIGHLIGHT_ERROR_MESSAGE);
- div.appendChild(text);
- return vpeCreationData;
- }
+ div.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, ERROR_MESSAGE_STYLE);
+ nsIDOMText text = visualDocument.createTextNode(HIGHLIGHT_ERROR_MESSAGE);
+ div.appendChild(text);
return vpeCreationData;
}
@@ -241,30 +228,6 @@
/**
*
- * @param highlightValue
- * value of highlight attribute
- * @return true of highlight value correct
- */
-
- private boolean searchInSupportedTypes(String highlightValue) {
-
- if (highlightValue == null)
- return true;
-
- if (highlightValue.trim().equals(EMPTY_STRING))
- return false;
-
- Set<?> set = XhtmlRendererFactory.getSupportedTypes();
-
- for (Object object : set)
- if (highlightValue.equalsIgnoreCase((String) object))
- return true;
-
- return false;
- }
-
- /**
- *
* @param node
* @param el
* @return
14 years, 9 months
JBoss Tools SVN: r21510 - in trunk: common/plugins/org.jboss.tools.common/META-INF and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-04-15 19:51:36 -0400 (Thu, 15 Apr 2010)
New Revision: 21510
Removed:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SafeDocumentBuilderFactory.java
Modified:
trunk/common/plugins/org.jboss.tools.common/
trunk/common/plugins/org.jboss.tools.common/.classpath
trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SAXValidator.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLUtilities.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF
trunk/struts/plugins/org.jboss.tools.struts/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-1636 Code Review
Removed redundant jars and replaced them to bundles that comes from eclipse and wtp
Property changes on: trunk/common/plugins/org.jboss.tools.common
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Modified: trunk/common/plugins/org.jboss.tools.common/.classpath
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/.classpath 2010-04-15 21:49:25 UTC (rev 21509)
+++ trunk/common/plugins/org.jboss.tools.common/.classpath 2010-04-15 23:51:36 UTC (rev 21510)
@@ -1,15 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-logging.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/velocity-1.3.1.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/velocity-dep-1.3.1.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/xercesImpl.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/resolver.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-lang-2.0.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-httpclient-3.0.jar" sourcepath="G:/Java/ApacheCommons/commons-httpclient-3.0-src.zip"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-codec-1.3.jar"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Modified: trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF 2010-04-15 21:49:25 UTC (rev 21509)
+++ trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF 2010-04-15 23:51:36 UTC (rev 21510)
@@ -1,126 +1,11 @@
Manifest-Version: 1.0
Bundle-Name: %Bundle-Name.0
-Bundle-ClassPath: lib/commons-logging.jar,
- lib/velocity-1.3.1.jar,
- lib/velocity-dep-1.3.1.jar,
- lib/xercesImpl.jar,
- lib/resolver.jar,
- lib/commons-lang-2.0.jar,
- lib/commons-httpclient-3.0.jar,
- lib/commons-codec-1.3.jar,
- .
+Bundle-ClassPath: .
Bundle-Activator: org.jboss.tools.common.CommonPlugin
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.jboss.tools.common;singleton:=true
Bundle-Localization: plugin
-Export-Package: org.apache.commons.codec,
- org.apache.commons.codec.binary,
- org.apache.commons.codec.digest,
- org.apache.commons.codec.language,
- org.apache.commons.codec.net,
- org.apache.commons.collections,
- org.apache.commons.httpclient,
- org.apache.commons.httpclient.auth,
- org.apache.commons.httpclient.cookie,
- org.apache.commons.httpclient.methods,
- org.apache.commons.httpclient.methods.multipart,
- org.apache.commons.httpclient.params,
- org.apache.commons.httpclient.protocol,
- org.apache.commons.httpclient.util,
- org.apache.commons.lang,
- org.apache.commons.lang.builder,
- org.apache.commons.lang.exception,
- org.apache.commons.lang.math,
- org.apache.commons.lang.time,
- org.apache.commons.logging,
- org.apache.commons.logging.impl,
- org.apache.html.dom,
- org.apache.log,
- org.apache.log.filter,
- org.apache.log.format,
- org.apache.log.output,
- org.apache.log.output.db,
- org.apache.log.output.io,
- org.apache.log.output.io.rotate,
- org.apache.log.output.jms,
- org.apache.log.output.net,
- org.apache.log.util,
- org.apache.oro.io,
- org.apache.oro.text,
- org.apache.oro.text.awk,
- org.apache.oro.text.perl,
- org.apache.oro.text.regex,
- org.apache.oro.util,
- org.apache.velocity,
- org.apache.velocity.anakia,
- org.apache.velocity.app,
- org.apache.velocity.app.event,
- org.apache.velocity.app.tools,
- org.apache.velocity.context,
- org.apache.velocity.convert,
- org.apache.velocity.exception,
- org.apache.velocity.io,
- org.apache.velocity.runtime,
- org.apache.velocity.runtime.compiler,
- org.apache.velocity.runtime.configuration,
- org.apache.velocity.runtime.directive,
- org.apache.velocity.runtime.exception,
- org.apache.velocity.runtime.log,
- org.apache.velocity.runtime.parser,
- org.apache.velocity.runtime.parser.node,
- org.apache.velocity.runtime.resource,
- org.apache.velocity.runtime.resource.loader,
- org.apache.velocity.runtime.visitor,
- org.apache.velocity.servlet,
- org.apache.velocity.test,
- org.apache.velocity.test.misc,
- org.apache.velocity.test.provider,
- org.apache.velocity.test.view,
- org.apache.velocity.texen,
- org.apache.velocity.texen.ant,
- org.apache.velocity.texen.util,
- org.apache.velocity.util,
- org.apache.velocity.util.introspection,
- org.apache.wml,
- org.apache.wml.dom,
- org.apache.xerces.dom,
- org.apache.xerces.dom.events,
- org.apache.xerces.dom3,
- org.apache.xerces.dom3.as,
- org.apache.xerces.dom3.bootstrap,
- org.apache.xerces.impl,
- org.apache.xerces.impl.dtd,
- org.apache.xerces.impl.dtd.models,
- org.apache.xerces.impl.dv,
- org.apache.xerces.impl.dv.dtd,
- org.apache.xerces.impl.dv.util,
- org.apache.xerces.impl.dv.xs,
- org.apache.xerces.impl.io,
- org.apache.xerces.impl.msg,
- org.apache.xerces.impl.validation,
- org.apache.xerces.impl.xpath,
- org.apache.xerces.impl.xpath.regex,
- org.apache.xerces.impl.xs,
- org.apache.xerces.impl.xs.identity,
- org.apache.xerces.impl.xs.models,
- org.apache.xerces.impl.xs.opti,
- org.apache.xerces.impl.xs.traversers,
- org.apache.xerces.impl.xs.util,
- org.apache.xerces.jaxp,
- org.apache.xerces.parsers,
- org.apache.xerces.util,
- org.apache.xerces.xinclude,
- org.apache.xerces.xni,
- org.apache.xerces.xni.grammars,
- org.apache.xerces.xni.parser,
- org.apache.xerces.xs,
- org.apache.xml.resolver,
- org.apache.xml.resolver.apps,
- org.apache.xml.resolver.helpers,
- org.apache.xml.resolver.readers,
- org.apache.xml.resolver.tools,
- org.apache.xml.serialize,
- org.jboss.tools.common,
+Export-Package: org.jboss.tools.common,
org.jboss.tools.common.java,
org.jboss.tools.common.log,
org.jboss.tools.common.preferences,
@@ -128,9 +13,7 @@
org.jboss.tools.common.text,
org.jboss.tools.common.util,
org.jboss.tools.common.xml,
- org.jboss.tools.common.zip,
- org.w3c.dom.html,
- org.w3c.dom.ls
+ org.jboss.tools.common.zip
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.wst.xml.core;visibility:=reexport,
org.eclipse.jface,
@@ -142,7 +25,8 @@
org.eclipse.jdt.core,
org.eclipse.jdt.ui,
org.eclipse.ui.workbench.texteditor,
- org.eclipse.jface.text
+ org.eclipse.jface.text,
+ org.apache.commons.httpclient;bundle-version="3.1.0"
Bundle-Version: 2.0.0.qualifier
Bundle-ActivationPolicy: lazy
Bundle-ManifestVersion: 2
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SAXValidator.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SAXValidator.java 2010-04-15 21:49:25 UTC (rev 21509)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SAXValidator.java 2010-04-15 23:51:36 UTC (rev 21510)
@@ -34,8 +34,9 @@
/**
* @author eskimo(dgolovin(a)exadel.com)
- * @version $Revision:$
+ * @version $Revision:$
*/
+
public class SAXValidator {
protected static final String FATAL_ERROR_PROCESSING_FEATURE_ID = "http://apache.org/xml/features/continue-after-fatal-error"; //$NON-NLS-1$
Deleted: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SafeDocumentBuilderFactory.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SafeDocumentBuilderFactory.java 2010-04-15 21:49:25 UTC (rev 21509)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SafeDocumentBuilderFactory.java 2010-04-15 23:51:36 UTC (rev 21510)
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.common.xml;
-
-import java.io.ByteArrayInputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.jboss.tools.common.CommonPlugin;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-public class SafeDocumentBuilderFactory extends Thread {
- public static final EntityResolver EMPTY_RESOLVER = new EntityResolver() {
- public InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws SAXException, java.io.IOException {
- if((systemId != null) && systemId.toLowerCase().endsWith(".dtd")) { // this deactivates DTD //$NON-NLS-1$
- return new InputSource(new ByteArrayInputStream("<?xml version='1.0' encoding='UTF-8'?>".getBytes())); //$NON-NLS-1$
- } else {
- return null;
- }
- }
- };
- DocumentBuilder d = null;
- boolean validate = false;
-
- private SafeDocumentBuilderFactory(boolean validate) {
- this.validate = validate;
- }
-
- @Override
- public void run () {
- ClassLoader loader = Thread.currentThread().getContextClassLoader();
- Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
- try {
- DocumentBuilderFactory f = DocumentBuilderFactory.newInstance();
- if(validate) {
- f.setValidating(validate);
- }
-/// f.setExpandEntityReferences(false);
- d = f.newDocumentBuilder();
- if(!validate) {
- d.setEntityResolver(EMPTY_RESOLVER);
- }
- d.setErrorHandler(new ErrorHandlerImpl());
- } catch (ParserConfigurationException e) {
- CommonPlugin.getPluginLog().logError(e);
- } finally {
- Thread.currentThread().setContextClassLoader(loader);
- }
- }
-
- public static DocumentBuilder createDocumentBuilder(boolean validating) {
-/*
- * This Thread call is workaround that except empty thread Context ClassLoader
- */
- SafeDocumentBuilderFactory t = new SafeDocumentBuilderFactory(validating);
- try {
- t.start();
- t.join();
- } catch (InterruptedException e) {
- t.run();
- }
- return t.d;
- }
-
-}
\ No newline at end of file
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLUtilities.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLUtilities.java 2010-04-15 21:49:25 UTC (rev 21509)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLUtilities.java 2010-04-15 23:51:36 UTC (rev 21510)
@@ -65,8 +65,7 @@
}
public static Element getUniqueChild(Element parent, String name){
- Element[] e = getChildren(parent, name);
- return (e.length == 0) ? null : e[0];
+ return getFirstChild(parent, name);
}
public static Element getFirstChild(Element parent, String name) {
@@ -105,18 +104,20 @@
public static Element createElement(Element parent, String path) {
int i = path.indexOf('.');
+ Element element = null;
if(i < 0) {
- Element element = parent.getOwnerDocument().createElement(path);
+ element = parent.getOwnerDocument().createElement(path);
parent.appendChild(element);
- return element;
+ } else {
+ String p = path.substring(0, i), c = path.substring(i + 1);
+ Element pe = getUniqueChild(parent, p);
+ if(pe == null) {
+ pe = parent.getOwnerDocument().createElement(p);
+ parent.appendChild(pe);
+ }
+ element = createElement(pe, c);
}
- String p = path.substring(0, i), c = path.substring(i + 1);
- Element pe = getUniqueChild(parent, p);
- if(pe == null) {
- pe = parent.getOwnerDocument().createElement(p);
- parent.appendChild(pe);
- }
- return createElement(pe, c);
+ return element;
}
public static DocumentBuilder createDocumentBuilder() {
@@ -126,9 +127,7 @@
public static DocumentBuilder createDocumentBuilder(boolean validate) {
try {
DocumentBuilderFactory f = DocumentBuilderFactory.newInstance();
- if (validate) {
- f.setValidating(validate);
- }
+ f.setValidating(validate);
// / f.setExpandEntityReferences(false);
DocumentBuilder d = f.newDocumentBuilder();
if (!validate) {
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF 2010-04-15 21:49:25 UTC (rev 21509)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF 2010-04-15 23:51:36 UTC (rev 21510)
@@ -39,6 +39,8 @@
org.eclipse.debug.ui,
org.jboss.tools.jst.jsp;bundle-version="2.0.0",
org.eclipse.jface.text;bundle-version="3.5.0",
- org.eclipse.wst.common.emfworkbench.integration;bundle-version="1.1.300"
+ org.eclipse.wst.common.emfworkbench.integration;bundle-version="1.1.300",
+ org.apache.velocity;bundle-version="1.5.0"
Bundle-Version: 2.0.0
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ClassPath: .
Modified: trunk/struts/plugins/org.jboss.tools.struts/META-INF/MANIFEST.MF
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/META-INF/MANIFEST.MF 2010-04-15 21:49:25 UTC (rev 21509)
+++ trunk/struts/plugins/org.jboss.tools.struts/META-INF/MANIFEST.MF 2010-04-15 23:51:36 UTC (rev 21510)
@@ -52,7 +52,8 @@
org.eclipse.ltk.core.refactoring,
org.eclipse.ltk.ui.refactoring,
org.eclipse.core.resources,
- org.eclipse.core.runtime
+ org.eclipse.core.runtime,
+ org.apache.velocity;bundle-version="1.5.0"
Bundle-Version: 2.0.0
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ManifestVersion: 2
14 years, 9 months
JBoss Tools SVN: r21509 - branches/modular_build/xulrunner/plugins.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-15 17:49:25 -0400 (Thu, 15 Apr 2010)
New Revision: 21509
Added:
branches/modular_build/xulrunner/plugins/pom.xml
Log:
add plugins aggregator pom
Added: branches/modular_build/xulrunner/plugins/pom.xml
===================================================================
--- branches/modular_build/xulrunner/plugins/pom.xml (rev 0)
+++ branches/modular_build/xulrunner/plugins/pom.xml 2010-04-15 21:49:25 UTC (rev 21509)
@@ -0,0 +1,23 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>../../parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>plugins.all</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <modules>
+ <module>org.mozilla.xpcom</module>
+ <module>org.mozilla.xulrunner.cocoa.macosx</module>
+ <module>org.mozilla.xulrunner.gtk.linux.x86_64</module>
+ <module>org.mozilla.xulrunner.carbon.macosx</module>
+ <module>org.mozilla.xulrunner.gtk.linux.x86</module>
+ <module>org.mozilla.xulrunner.win32.win32.x86</module>
+ </modules>
+</project>
+
14 years, 9 months
JBoss Tools SVN: r21508 - branches/modular_build.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-04-15 17:24:04 -0400 (Thu, 15 Apr 2010)
New Revision: 21508
Modified:
branches/modular_build/parent-pom.xml
Log:
reference to public xulrunner update site is not needed anymore.
Modified: branches/modular_build/parent-pom.xml
===================================================================
--- branches/modular_build/parent-pom.xml 2010-04-15 20:02:26 UTC (rev 21507)
+++ branches/modular_build/parent-pom.xml 2010-04-15 21:24:04 UTC (rev 21508)
@@ -274,18 +274,6 @@
<enabled>true</enabled>
</releases>
</repository>
-
- <repository>
- <id>xulrunner</id>
- <url>http://download.jboss.org/jbosstools/updates/xulrunner/</url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
</repositories>
<pluginRepositories>
14 years, 9 months
JBoss Tools SVN: r21507 - in trunk/birt/docs: en-US and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2010-04-15 16:02:26 -0400 (Thu, 15 Apr 2010)
New Revision: 21507
Added:
trunk/birt/docs/en-US/
trunk/birt/docs/en-US/files/
trunk/birt/docs/en-US/files/helloBirt.rptdesign
trunk/birt/docs/en-US/images/
trunk/birt/docs/en-US/images/birt_integration_with_seam/
trunk/birt/docs/en-US/images/birt_integration_with_seam/addingBirtFacet.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/birtDeploymentSettings.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/birttestsPage.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/embeddedReportInSeamPage.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/helloBirtproject.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/projectBirtConfiguration.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/seamFacet.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/testBirtProject.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirt1Page1.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirt1Page2.png
trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirtPage.png
trunk/birt/docs/en-US/images/birt_reports_deployment/
trunk/birt/docs/en-US/images/birt_reports_deployment/BirtPDFReport.png
trunk/birt/docs/en-US/images/birt_reports_deployment/addingActionButton.png
trunk/birt/docs/en-US/images/birt_reports_deployment/openingArticlesPage.png
trunk/birt/docs/en-US/images/birt_reports_deployment/productReport.png
trunk/birt/docs/en-US/images/favicon.ico
trunk/birt/docs/en-US/images/hibernate_datasource/
trunk/birt/docs/en-US/images/hibernate_datasource/BIRTReportPreviewTab.png
trunk/birt/docs/en-US/images/hibernate_datasource/BIRTReportUsingDataSourceAndSet.png
trunk/birt/docs/en-US/images/hibernate_datasource/BirtPDFReport.png
trunk/birt/docs/en-US/images/hibernate_datasource/addingHibernateODADataset.png
trunk/birt/docs/en-US/images/hibernate_datasource/addingNewParameter.png
trunk/birt/docs/en-US/images/hibernate_datasource/connectionSuccessful.png
trunk/birt/docs/en-US/images/hibernate_datasource/creatingDataSet.png
trunk/birt/docs/en-US/images/hibernate_datasource/creatingDataSource.png
trunk/birt/docs/en-US/images/hibernate_datasource/creatingNewBirtReport.png
trunk/birt/docs/en-US/images/hibernate_datasource/finalReport.png
trunk/birt/docs/en-US/images/hibernate_datasource/hibernateDataSource.png
trunk/birt/docs/en-US/images/hibernate_datasource/hqlFeaturesOutputColumns.png
trunk/birt/docs/en-US/images/hibernate_datasource/hqlFeaturesPreviewResults.png
trunk/birt/docs/en-US/images/hibernate_datasource/parametersWithinHibernateODADriver.png
trunk/birt/docs/en-US/images/hibernate_datasource/previewingResults.png
trunk/birt/docs/en-US/images/hibernate_datasource/testingQuery.png
trunk/birt/docs/en-US/images/jbosstools_logo.png
trunk/birt/docs/en-US/master.xml
trunk/birt/docs/en-US/master_output.xml
trunk/birt/docs/en-US/modules/
trunk/birt/docs/en-US/modules/birt_integration_with_seam.xml
trunk/birt/docs/en-US/modules/birt_reports_deployment.xml
trunk/birt/docs/en-US/modules/framework.xml
trunk/birt/docs/en-US/modules/hibernate_datasource.xml
trunk/birt/docs/en-US/modules/introduction.xml
trunk/birt/docs/en-US/modules/links.xml
trunk/birt/docs/en-US/modules/tasks.xml
Log:
TOOLSDOC-50 - Building docs with maven 3.0 - commiting a new folder en-US
Added: trunk/birt/docs/en-US/files/helloBirt.rptdesign
===================================================================
--- trunk/birt/docs/en-US/files/helloBirt.rptdesign (rev 0)
+++ trunk/birt/docs/en-US/files/helloBirt.rptdesign 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,554 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.20" id="1">
+ <property name="createdBy">Eclipse BIRT Designer Version 2.5.1.v20090903 Build <2.5.1.v20090922-0630></property>
+ <property name="units">in</property>
+ <property name="iconFile">/templates/first_report.gif</property>
+ <property name="cheatSheet">org.eclipse.birt.report.designer.ui.cheatsheet.firstreport</property>
+ <property name="bidiLayoutOrientation">ltr</property>
+ <template-parameter-definitions>
+ <template-parameter-definition name="NewTemplateParameterDefinition" id="28">
+ <property name="allowedType">Table</property>
+ <text-property name="description">Customer Listing</text-property>
+ <default>
+ <table id="29">
+ <property name="width">100%</property>
+ <property name="pageBreakInterval">50</property>
+ <column id="49"/>
+ <column id="50"/>
+ <column id="51"/>
+ <column id="52"/>
+ <header>
+ <row id="30">
+ <cell id="31">
+ <label id="32">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Contact</text-property>
+ </label>
+ </cell>
+ <cell id="33">
+ <label id="34">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">First</text-property>
+ </label>
+ </cell>
+ <cell id="35">
+ <label id="36">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Last</text-property>
+ </label>
+ </cell>
+ <cell id="37">
+ <label id="38">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Phone</text-property>
+ </label>
+ </cell>
+ </row>
+ </header>
+ <detail>
+ <row id="39">
+ <cell id="40"/>
+ <cell id="41"/>
+ <cell id="42"/>
+ <cell id="43"/>
+ </row>
+ </detail>
+ <footer>
+ <row id="44">
+ <cell id="45"/>
+ <cell id="46"/>
+ <cell id="47"/>
+ <cell id="48"/>
+ </row>
+ </footer>
+ </table>
+ </default>
+ </template-parameter-definition>
+ <template-parameter-definition name="NewTemplateParameterDefinition1" id="78">
+ <property name="allowedType">Table</property>
+ <text-property name="description">Customer Listing Table</text-property>
+ <default>
+ <table id="79">
+ <property name="width">100%</property>
+ <property name="refTemplateParameter">NewTemplateParameterDefinition</property>
+ <property name="pageBreakInterval">50</property>
+ <column id="99"/>
+ <column id="100"/>
+ <column id="101"/>
+ <column id="102"/>
+ <header>
+ <row id="80">
+ <cell id="81">
+ <label id="82">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Contact</text-property>
+ </label>
+ </cell>
+ <cell id="83">
+ <label id="84">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">First</text-property>
+ </label>
+ </cell>
+ <cell id="85">
+ <label id="86">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Last</text-property>
+ </label>
+ </cell>
+ <cell id="87">
+ <label id="88">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Phone</text-property>
+ </label>
+ </cell>
+ </row>
+ </header>
+ <detail>
+ <row id="89">
+ <cell id="90"/>
+ <cell id="91"/>
+ <cell id="92"/>
+ <cell id="93"/>
+ </row>
+ </detail>
+ <footer>
+ <row id="94">
+ <cell id="95"/>
+ <cell id="96"/>
+ <cell id="97"/>
+ <cell id="98"/>
+ </row>
+ </footer>
+ </table>
+ </default>
+ </template-parameter-definition>
+ <template-parameter-definition name="NewTemplateParameterDefinition2" id="132">
+ <property name="allowedType">Table</property>
+ <text-property name="description">Customer Listing Table</text-property>
+ <default>
+ <table id="133">
+ <property name="width">100%</property>
+ <property name="refTemplateParameter">NewTemplateParameterDefinition1</property>
+ <property name="pageBreakInterval">50</property>
+ <column id="157"/>
+ <column id="158"/>
+ <column id="159"/>
+ <column id="160"/>
+ <header>
+ <row id="134">
+ <cell id="135">
+ <label id="136">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Contact</text-property>
+ </label>
+ </cell>
+ <cell id="137">
+ <label id="138">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">First</text-property>
+ </label>
+ </cell>
+ <cell id="139">
+ <label id="140">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Last</text-property>
+ </label>
+ </cell>
+ <cell id="141">
+ <label id="142">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Phone</text-property>
+ </label>
+ </cell>
+ </row>
+ </header>
+ <detail>
+ <row id="143">
+ <cell id="144">
+ <data id="145"/>
+ </cell>
+ <cell id="146">
+ <data id="147"/>
+ </cell>
+ <cell id="148">
+ <data id="149"/>
+ </cell>
+ <cell id="150">
+ <data id="151"/>
+ </cell>
+ </row>
+ </detail>
+ <footer>
+ <row id="152">
+ <cell id="153"/>
+ <cell id="154"/>
+ <cell id="155"/>
+ <cell id="156"/>
+ </row>
+ </footer>
+ </table>
+ </default>
+ </template-parameter-definition>
+ </template-parameter-definitions>
+ <parameters>
+ <scalar-parameter name="reportTitle" id="254">
+ <property name="valueType">static</property>
+ <property name="dataType">string</property>
+ <property name="distinct">true</property>
+ <simple-property-list name="defaultValue">
+ <value type="constant">No Title</value>
+ </simple-property-list>
+ <property name="paramType">simple</property>
+ <property name="controlType">text-box</property>
+ <structure name="format">
+ <property name="category">Unformatted</property>
+ </structure>
+ </scalar-parameter>
+ </parameters>
+ <data-sources>
+ <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="Data Source" id="248">
+ <text-property name="displayName"></text-property>
+ <property name="odaDriverClass">org.eclipse.birt.report.data.oda.sampledb.Driver</property>
+ <property name="odaURL">jdbc:classicmodels:sampledb</property>
+ <property name="odaUser">ClassicModels</property>
+ </oda-data-source>
+ </data-sources>
+ <data-sets>
+ <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="Data Set" id="249">
+ <list-property name="columnHints">
+ <structure>
+ <property name="columnName">CUSTOMERNAME</property>
+ <text-property name="displayName">CUSTOMERNAME</text-property>
+ </structure>
+ <structure>
+ <property name="columnName">CONTACTLASTNAME</property>
+ <text-property name="displayName">CONTACTLASTNAME</text-property>
+ </structure>
+ <structure>
+ <property name="columnName">CONTACTFIRSTNAME</property>
+ <text-property name="displayName">CONTACTFIRSTNAME</text-property>
+ </structure>
+ <structure>
+ <property name="columnName">PHONE</property>
+ <text-property name="displayName">PHONE</text-property>
+ </structure>
+ </list-property>
+ <structure name="cachedMetaData">
+ <list-property name="resultSet">
+ <structure>
+ <property name="position">1</property>
+ <property name="name">CUSTOMERNAME</property>
+ <property name="dataType">string</property>
+ </structure>
+ <structure>
+ <property name="position">2</property>
+ <property name="name">CONTACTLASTNAME</property>
+ <property name="dataType">string</property>
+ </structure>
+ <structure>
+ <property name="position">3</property>
+ <property name="name">CONTACTFIRSTNAME</property>
+ <property name="dataType">string</property>
+ </structure>
+ <structure>
+ <property name="position">4</property>
+ <property name="name">PHONE</property>
+ <property name="dataType">string</property>
+ </structure>
+ </list-property>
+ </structure>
+ <property name="dataSource">Data Source</property>
+ <list-property name="resultSet">
+ <structure>
+ <property name="position">1</property>
+ <property name="name">CUSTOMERNAME</property>
+ <property name="nativeName">CUSTOMERNAME</property>
+ <property name="dataType">string</property>
+ <property name="nativeDataType">12</property>
+ </structure>
+ <structure>
+ <property name="position">2</property>
+ <property name="name">CONTACTLASTNAME</property>
+ <property name="nativeName">CONTACTLASTNAME</property>
+ <property name="dataType">string</property>
+ <property name="nativeDataType">12</property>
+ </structure>
+ <structure>
+ <property name="position">3</property>
+ <property name="name">CONTACTFIRSTNAME</property>
+ <property name="nativeName">CONTACTFIRSTNAME</property>
+ <property name="dataType">string</property>
+ <property name="nativeDataType">12</property>
+ </structure>
+ <structure>
+ <property name="position">4</property>
+ <property name="name">PHONE</property>
+ <property name="nativeName">PHONE</property>
+ <property name="dataType">string</property>
+ <property name="nativeDataType">12</property>
+ </structure>
+ </list-property>
+ <xml-property name="queryText"><![CDATA[select CLASSICMODELS.CUSTOMERS.CUSTOMERNAME,
+CLASSICMODELS.CUSTOMERS.CONTACTLASTNAME,
+CLASSICMODELS.CUSTOMERS.CONTACTFIRSTNAME,
+CLASSICMODELS.CUSTOMERS.PHONE
+from CLASSICMODELS.CUSTOMERS]]></xml-property>
+ <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
+ <Version>1.0</Version>
+ <design:ResultSets derivedMetaData="true">
+ <design:resultSetDefinitions>
+ <design:resultSetColumns>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:name>CUSTOMERNAME</design:name>
+ <design:position>1</design:position>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>50</design:precision>
+ <design:scale>0</design:scale>
+ <design:nullability>Nullable</design:nullability>
+ <design:uiHints>
+ <design:displayName>CUSTOMERNAME</design:displayName>
+ </design:uiHints>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>CUSTOMERNAME</design:label>
+ <design:formattingHints>
+ <design:displaySize>50</design:displaySize>
+ </design:formattingHints>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:name>CONTACTLASTNAME</design:name>
+ <design:position>2</design:position>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>50</design:precision>
+ <design:scale>0</design:scale>
+ <design:nullability>Nullable</design:nullability>
+ <design:uiHints>
+ <design:displayName>CONTACTLASTNAME</design:displayName>
+ </design:uiHints>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>CONTACTLASTNAME</design:label>
+ <design:formattingHints>
+ <design:displaySize>50</design:displaySize>
+ </design:formattingHints>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:name>CONTACTFIRSTNAME</design:name>
+ <design:position>3</design:position>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>50</design:precision>
+ <design:scale>0</design:scale>
+ <design:nullability>Nullable</design:nullability>
+ <design:uiHints>
+ <design:displayName>CONTACTFIRSTNAME</design:displayName>
+ </design:uiHints>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>CONTACTFIRSTNAME</design:label>
+ <design:formattingHints>
+ <design:displaySize>50</design:displaySize>
+ </design:formattingHints>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:name>PHONE</design:name>
+ <design:position>4</design:position>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>50</design:precision>
+ <design:scale>0</design:scale>
+ <design:nullability>Nullable</design:nullability>
+ <design:uiHints>
+ <design:displayName>PHONE</design:displayName>
+ </design:uiHints>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>PHONE</design:label>
+ <design:formattingHints>
+ <design:displaySize>50</design:displaySize>
+ </design:formattingHints>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ </design:resultSetColumns>
+ </design:resultSetDefinitions>
+ </design:ResultSets>
+</model:DesignValues>
+]]></xml-property>
+ </oda-data-set>
+ </data-sets>
+ <styles>
+ <style name="report" id="110">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontSize">10pt</property>
+ </style>
+ <style name="crosstab-cell" id="246">
+ <property name="borderBottomColor">#CCCCCC</property>
+ <property name="borderBottomStyle">solid</property>
+ <property name="borderBottomWidth">1pt</property>
+ <property name="borderLeftColor">#CCCCCC</property>
+ <property name="borderLeftStyle">solid</property>
+ <property name="borderLeftWidth">1pt</property>
+ <property name="borderRightColor">#CCCCCC</property>
+ <property name="borderRightStyle">solid</property>
+ <property name="borderRightWidth">1pt</property>
+ <property name="borderTopColor">#CCCCCC</property>
+ <property name="borderTopStyle">solid</property>
+ <property name="borderTopWidth">1pt</property>
+ </style>
+ <style name="crosstab" id="247">
+ <property name="borderBottomColor">#CCCCCC</property>
+ <property name="borderBottomStyle">solid</property>
+ <property name="borderBottomWidth">1pt</property>
+ <property name="borderLeftColor">#CCCCCC</property>
+ <property name="borderLeftStyle">solid</property>
+ <property name="borderLeftWidth">1pt</property>
+ <property name="borderRightColor">#CCCCCC</property>
+ <property name="borderRightStyle">solid</property>
+ <property name="borderRightWidth">1pt</property>
+ <property name="borderTopColor">#CCCCCC</property>
+ <property name="borderTopStyle">solid</property>
+ <property name="borderTopWidth">1pt</property>
+ </style>
+ </styles>
+ <page-setup>
+ <simple-master-page name="Simple MasterPage" id="2">
+ <page-footer>
+ <text id="3">
+ <property name="contentType">html</property>
+ <text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
+ </text>
+ </page-footer>
+ </simple-master-page>
+ </page-setup>
+ <body>
+ <data id="255">
+ <list-property name="boundDataColumns">
+ <structure>
+ <property name="name">reportTitle</property>
+ <expression name="expression">params["reportTitle"].value</expression>
+ <property name="dataType">string</property>
+ </structure>
+ </list-property>
+ <property name="resultSetColumn">reportTitle</property>
+ </data>
+ <table id="163">
+ <property name="width">100%</property>
+ <property name="dataSet">Data Set</property>
+ <property name="refTemplateParameter">NewTemplateParameterDefinition2</property>
+ <list-property name="boundDataColumns">
+ <structure>
+ <property name="name">CUSTOMERNAME</property>
+ <text-property name="displayName">CUSTOMERNAME</text-property>
+ <expression name="expression">dataSetRow["CUSTOMERNAME"]</expression>
+ <property name="dataType">string</property>
+ </structure>
+ <structure>
+ <property name="name">CONTACTLASTNAME</property>
+ <text-property name="displayName">CONTACTLASTNAME</text-property>
+ <expression name="expression">dataSetRow["CONTACTLASTNAME"]</expression>
+ <property name="dataType">string</property>
+ </structure>
+ <structure>
+ <property name="name">CONTACTFIRSTNAME</property>
+ <text-property name="displayName">CONTACTFIRSTNAME</text-property>
+ <expression name="expression">dataSetRow["CONTACTFIRSTNAME"]</expression>
+ <property name="dataType">string</property>
+ </structure>
+ <structure>
+ <property name="name">PHONE</property>
+ <text-property name="displayName">PHONE</text-property>
+ <expression name="expression">dataSetRow["PHONE"]</expression>
+ <property name="dataType">string</property>
+ </structure>
+ </list-property>
+ <property name="pageBreakInterval">50</property>
+ <column id="187"/>
+ <column id="188"/>
+ <column id="189"/>
+ <column id="190"/>
+ <header>
+ <row id="164">
+ <cell id="165">
+ <label id="166">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Customer</text-property>
+ </label>
+ </cell>
+ <cell id="167">
+ <label id="168">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">First</text-property>
+ </label>
+ </cell>
+ <cell id="169">
+ <label id="170">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Last</text-property>
+ </label>
+ </cell>
+ <cell id="171">
+ <label id="172">
+ <property name="fontFamily">sans-serif</property>
+ <property name="fontWeight">bold</property>
+ <text-property name="text">Phone</text-property>
+ </label>
+ </cell>
+ </row>
+ </header>
+ <detail>
+ <row id="173">
+ <cell id="174">
+ <data id="250">
+ <property name="resultSetColumn">CUSTOMERNAME</property>
+ </data>
+ </cell>
+ <cell id="176">
+ <data id="251">
+ <property name="resultSetColumn">CONTACTLASTNAME</property>
+ </data>
+ </cell>
+ <cell id="178">
+ <data id="252">
+ <property name="resultSetColumn">CONTACTFIRSTNAME</property>
+ </data>
+ </cell>
+ <cell id="180">
+ <data id="253">
+ <property name="resultSetColumn">PHONE</property>
+ </data>
+ </cell>
+ </row>
+ </detail>
+ <footer>
+ <row id="182">
+ <cell id="183"/>
+ <cell id="184"/>
+ <cell id="185"/>
+ <cell id="186"/>
+ </row>
+ </footer>
+ </table>
+ </body>
+</report>
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/addingBirtFacet.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/addingBirtFacet.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/birtDeploymentSettings.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/birtDeploymentSettings.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/birttestsPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/birttestsPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/embeddedReportInSeamPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/embeddedReportInSeamPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/helloBirtproject.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/helloBirtproject.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/projectBirtConfiguration.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/projectBirtConfiguration.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/seamFacet.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/seamFacet.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/testBirtProject.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/testBirtProject.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirt1Page1.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirt1Page1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirt1Page2.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirt1Page2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirtPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_integration_with_seam/testbirtPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_reports_deployment/BirtPDFReport.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_reports_deployment/BirtPDFReport.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_reports_deployment/addingActionButton.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_reports_deployment/addingActionButton.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_reports_deployment/openingArticlesPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_reports_deployment/openingArticlesPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/birt_reports_deployment/productReport.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/birt_reports_deployment/productReport.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/favicon.ico
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/BIRTReportPreviewTab.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/BIRTReportPreviewTab.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/BIRTReportUsingDataSourceAndSet.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/BIRTReportUsingDataSourceAndSet.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/BirtPDFReport.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/BirtPDFReport.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/addingHibernateODADataset.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/addingHibernateODADataset.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/addingNewParameter.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/addingNewParameter.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/connectionSuccessful.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/connectionSuccessful.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/creatingDataSet.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/creatingDataSet.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/creatingDataSource.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/creatingDataSource.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/creatingNewBirtReport.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/creatingNewBirtReport.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/finalReport.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/finalReport.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/hibernateDataSource.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/hibernateDataSource.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/hqlFeaturesOutputColumns.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/hqlFeaturesOutputColumns.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/hqlFeaturesPreviewResults.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/hqlFeaturesPreviewResults.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/parametersWithinHibernateODADriver.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/parametersWithinHibernateODADriver.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/previewingResults.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/previewingResults.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/hibernate_datasource/testingQuery.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/hibernate_datasource/testingQuery.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/images/jbosstools_logo.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en-US/images/jbosstools_logo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en-US/master.xml
===================================================================
--- trunk/birt/docs/en-US/master.xml (rev 0)
+++ trunk/birt/docs/en-US/master.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
+"http://www.docbook.org/xml/5.0/dtd/docbook.dtd"
+
+[
+<!ENTITY introduction SYSTEM "modules/introduction.xml">
+<!ENTITY birt_integration_with_seam SYSTEM "modules/birt_integration_with_seam.xml">
+<!ENTITY hibernate_datasource SYSTEM "modules/hibernate_datasource.xml">
+<!ENTITY birt_reports_deployment SYSTEM "modules/birt_reports_deployment.xml">
+<!ENTITY framework SYSTEM "modules/framework.xml">
+<!ENTITY tasks SYSTEM "modules/tasks.xml">
+<!ENTITY links SYSTEM "modules/links.xml">
+]>
+
+<book>
+ <bookinfo>
+ <title>JBoss BIRT Integration User Guide</title>
+
+ <corpauthor>
+ <inlinemediaobject>
+ <imageobject role="fo">
+ <imagedata format="PNG" fileref="images/jbosstools_logo.png" />
+ </imageobject>
+ <imageobject role="html">
+ <imagedata/>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
+
+ <author><firstname>Michael</firstname><surname>Sorokin</surname><email>msorokin(a)exadel.com</email></author>
+ <author><firstname>Anastasiya</firstname><surname>Bogachuk</surname><email>abogachuk(a)exadel.com</email></author>
+ <author><firstname>Olga</firstname><surname>Chikvina</surname></author>
+
+ <othercredit>
+
+ <contrib>
+ Special thanks to Snjezana Peco
+ </contrib>
+
+
+
+
+ </othercredit>
+
+
+
+
+
+
+
+
+
+
+ <copyright>
+ <year>2008</year>
+ <year>2009</year>
+ <year>2010</year>
+ <holder>JBoss by Red Hat</holder>
+ </copyright>
+
+
+ <releaseinfo>
+ Version: 1.1.0.GA
+ </releaseinfo>
+
+
+<abstract>
+ <title/>
+ <para>
+ <ulink url="http://download.jboss.org/jbosstools/nightly-docs/en/jboss_birt_plugin_re...">PDF version</ulink>
+ </para>
+</abstract>
+
+
+ </bookinfo>
+ <toc/>
+
+ &introduction;
+ &tasks;
+ &framework;
+ &links;
+
+
+</book>
Added: trunk/birt/docs/en-US/master_output.xml
===================================================================
--- trunk/birt/docs/en-US/master_output.xml (rev 0)
+++ trunk/birt/docs/en-US/master_output.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,1179 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
+"http://www.docbook.org/xml/5.0/dtd/docbook.dtd"
+
+[
+<!ENTITY introduction SYSTEM "modules/introduction.xml">
+<!ENTITY birt_integration_with_seam SYSTEM "modules/birt_integration_with_seam.xml">
+<!ENTITY hibernate_datasource SYSTEM "modules/hibernate_datasource.xml">
+<!ENTITY birt_reports_deployment SYSTEM "modules/birt_reports_deployment.xml">
+<!ENTITY framework SYSTEM "modules/framework.xml">
+<!ENTITY tasks SYSTEM "modules/tasks.xml">
+<!ENTITY links SYSTEM "modules/links.xml">
+]><book xmlns="http://docbook.org/ns/docbook" xmlns:diffmk="http://diffmk.sf.net/ns/diff" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <bookinfo>
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss BIRT Integration User Guide</title>
+
+ <corpauthor>
+ <inlinemediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject role="fo" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/jbosstools_logo.png" format="PNG" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ <imageobject role="html" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
+
+ <author xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><firstname xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Michael</firstname><surname xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Sorokin</surname><email xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">msorokin(a)exadel.com</email></author>
+ <author xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><firstname xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Anastasiya</firstname><surname xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Bogachuk</surname><email xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">abogachuk(a)exadel.com</email></author>
+ <author xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><firstname xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Olga</firstname><surname xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Chikvina</surname></author>
+
+ <othercredit xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <contrib xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Special thanks to Snjezana Peco
+ </contrib>
+
+
+
+
+ </othercredit>
+
+
+
+
+
+
+
+
+
+
+ <copyright xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <year xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">2008</year>
+ <year xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">2009</year>
+ <year xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">2010</year>
+ <holder xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss by Red Hat</holder>
+ </copyright>
+
+
+ <releaseinfo xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><diffmk:wrapper diffmk:change="changed">
+ Version: 1.1.0.GA
+ </diffmk:wrapper></releaseinfo>
+
+
+<abstract xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"></title>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <ulink url="http://download.jboss.org/jbosstools/nightly-docs/en/jboss_birt_plugin_re...">PDF version</ulink>
+ </para>
+</abstract>
+
+
+ </bookinfo>
+ <toc xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"></toc>
+
+
+<chapter id="introduction" xml:base="file:///home/vchukhutsina/repos/ochik_jboss/birt/docs/en/modules/introduction.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <?dbhtml filename="introduction.html"?>
+
+ <chapterinfo>
+ <keywordset xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Developer Studio</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Eclipse</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBDS</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Plugin</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Introduction</title>
+
+
+
+
+ <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">What is BIRT?</title>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT plugin 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 xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">With the help of BIRT you can generate a great number of reports to be used in your
+ application:</para>
+
+ <itemizedlist xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Lists</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Charts</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Crosstabs, or cross-tabulation, or matrix</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Letters and Documents</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Compound Reports</para>
+ </listitem>
+ </itemizedlist>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">You can find more detailed information on the BIRT plugin, its report types and
+ anatomy on the <ulink url="http://www.eclipse.org/birt/phoenix/intro/">BIRT Homepage</ulink>.</para>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">To understand the basic BIRT concepts and to know how to create a basic BIRT report,
+ refer to the <ulink url="http://www.eclipse.org/birt/phoenix/tutorial/">Eclipse BIRT
+ Tutorials</ulink>. What extensions <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</property> provides for
+ Eclipse BIRT you'll find out in the next sections.</para>
+ </section>
+
+
+
+ <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss BIRT Integration Functionality Overview</title>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ The key feature of JBoss BIRT Integration is the JBoss BIRT Integration Framework, which allows to integrate a BIRT report into Seam/JSF container.
+ The framework API reference is in the
+ <link linkend="framework" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss BIRT Integraion Framework API Reference</link> chapter of the guide.
+ </para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ This guide also covers functionality of <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</property> module which assists in
+ integration with BIRT.
+ The integration plug-in allows you to visually configure <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Hibernate Data Source</property> (specify a Hibernate configuration or JNDI URL),
+ compose HQL queries with syntax-highlighting, content-assist, formatting as well as other functionalities available in the HQL editor.
+
+
+ </para>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ To enable <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</property> integration with BIRT you are intended to
+ have the next:
+ </para>
+ <itemizedlist xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Eclipse with <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</property>
+ installed (how to install <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</property> on Eclipse, what
+ dependences and versions requirements are needed reed in the <ulink url="#JBossToolsInstall">JBoss Tools Installation</ulink> section)</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Report Designer (BIRT Report Designer 2.3.2
+ you can download from <ulink url="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/...">Eclipse downloads site</ulink>)</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Web Tools Integration ( BIRT WTP Integration 2.3.2 you can download from
+ <ulink url="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/...">Eclipse downloads site</ulink>)</para>
+ </listitem>
+ </itemizedlist>
+
+ <note xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Note:</title>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Versions of BIRT framework and BIRT WTP integration should be no less than RC4 in
+ order to the BIRT facet works correctly.</para>
+ </note>
+ </section>
+
+
+
+</chapter>
+
+
+
+<chapter id="tasks" xml:base="file:///home/vchukhutsina/repos/ochik_jboss/birt/docs/en/modules/tasks.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xreflabel="tasks">
+ <?dbhtml filename="tasks.html"?>
+ <chapterinfo>
+ <keywordset xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Eclipse</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Integration</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Tasks</title>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> In this chapter of the guide you will find information on the tasks that you can perform integrating BIRT. The required version of BIRT is 2.3.2 or greater.</para>
+
+
+
+
+
+<section id="birt_integration_with_seam" xml:base="file:///home/vchukhutsina/repos/ochik_jboss/birt/docs/en/modules/birt_integration_with_seam.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Adding BIRT Functionality to Standard Seam Web Project</title>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">In this section you'll know how to integrate BIRT into a Seam web project. </para>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">You are supposed to have Seam runtime and JBoss Application Server downloaded and
+ extracted on your hard drive.
+ You can download Seam from the
+ <ulink url="http://seamframework.org/Download">Seam Framework</ulink> web page and
+ JBoss Application Server from <ulink url="http://jboss.org/jbossas/downloads/">JBoss Application Server</ulink> official site.
+
+ </para>
+
+ <tip>
+ <title>Tip:</title>
+ <para>We used <ulink
+ url="http://sourceforge.net/project/showfiles.php?group_id=22866&package_i..."
+ >JBoss Seam 2.0.1 GA</ulink> and <ulink
+ url="http://sourceforge.net/project/showfiles.php?group_id=22866&package_i..."
+ >JBoss Application Server 4.2.2 GA</ulink> in examples of this guide.</para>
+ </tip>
+
+ <section id="creatin_project_with_birt" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Creating Seam Web Project with Birt Facet</title>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">We recommend to open <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Seam perspective</property> by going to <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Window > Open Perspective > Other > Seam</property></emphasis> , this way you will have all the tools to work with Seam at hand.
+ To create a new Seam Web project navigate to <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">File > New > Seam Web Project</property>
+ </emphasis>. Otherwise you should go to <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">File > New > Other > Seam > Seam Web
+ Project</property>
+ </emphasis> if <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Seam</property> perspective is not active.</para>
+
+ <orderedlist xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">On the first wizard page enter the project name, then specify the target runtime and
+ target server. We recommend to use JBoss AS server and runtime environment to ensure best performance.
+ </para>
+
+
+ <figure id="CreatingSeamWebProject" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Creating Seam Web Project</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/birt_integration_with_seam/testBirtProject.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">In the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Configuration</property></emphasis> group choose the version of <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Seam</property>
+ </emphasis> framework you are planning to use in your application. In this guide we used Seam 2.2. </para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Click the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Modify</property></emphasis> button
+ and enable the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Birt Reporting Runtime Component</property>
+ </emphasis> facet by checking the appropriate option.</para>
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Adding the Birt Reporting Runtime Component Facet </title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/birt_integration_with_seam/addingBirtFacet.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Alternatively you can just choose the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss BIRT Integration Web Project</property>
+ </emphasis> configuration from the drop-down list in the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Configuration</property></emphasis> group </para>
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Choosing the JBoss BIRT Integration Web Project Configuration</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/birt_integration_with_seam/projectBirtConfiguration.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ </listitem>
+
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">You may leave the next two pages with default values, just press <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Next</property></emphasis> to proceed.
+ </para>
+ </listitem>
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">On the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Birt Configuration</property></emphasis> page you can modify the BIRT deployment settings, which you can edit afterwards in the web.xml of the generated project. Let's keep the default values for now.
+ </para>
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Configuring BIRT Deployment Settings</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/birt_integration_with_seam/birtDeploymentSettings.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+
+
+ </listitem>
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">You can also leave the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JSF Capabilities</property></emphasis> page with default values. </para>
+ </listitem>
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">On the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Seam Facet</property>
+ </emphasis> page you should specify the Seam runtime and Connection profile. Please note, that the Seam runtime must be of the version you initially specified in the project settings (See the <link linkend="CreatingSeamWebProject" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Creating Seam Web Project</link> figure). </para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> When creating a Seam project with BIRT capabilities you can use the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Classic Models Sample Database</property> connection profile to work with the BIRT sample database.</para>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">For more details on how to configure database connection for a Seam project please read the
+ <ulink url="http://docs.jboss.org/tools/3.0.0.GA/en/seam/html_single/index.html#seamF...">Configure Seam Facet Settings</ulink> chapter of Seam Dev Tools Reference Guide.</para>
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Configuring the Seam Facet settings</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/birt_integration_with_seam/seamFacet.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ </listitem>
+
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Hit <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Finish</property>
+ </emphasis> to create the project with BIRT functionality enabled.</para>
+ </listitem>
+ </orderedlist>
+ </section>
+
+ <section id="integration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Integration with Seam</title>
+<para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ In the previous section you have created a Seam project with BIRT capabilities.
+ Now you can create a simple kick start project to see that everything is configured correctly.
+</para>
+
+
+ <orderedlist xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Now create a BIRT report file and insert test data into the file.
+ Name the report file <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">helloBirt.rptdesign</property>, the report should print the data from the <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">CLASSICMODELS.CUSTOMERS</code> table of the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Classic Models Sample Database</property>, namely: customer number (<code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">CLASSICMODELS.CUSTOMERS.CUSTOMERNAME</code>),
+ contact person first name ( <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">CLASSICMODELS.CUSTOMERS.CONTACTFIRSTNAME</code>) ,
+ contact person last name (<code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">CLASSICMODELS.CUSTOMERS.CONTACTLASTNAME</code>) and
+ contact person phone number(<code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">CLASSICMODELS.CUSTOMERS.PHONE</code>).
+ </para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The title of the report should be set via <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">reportTitle</code> parameter</para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ As this guide is primarily focused on the BIRT integration and not the BIRT technology itself we will not show the steps required to make the report. If you do not feel strong about creating a BIRT report file please read <ulink url="http://eclipse.org/birt/phoenix/tutorial/">BIRT documentation</ulink>.
+ </para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">You can download the file <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">helloBirt.rptdesign</property> <ulink url="files/helloBirt.rptdesign">here</ulink> and copy it to the WebContent folder of your Seam project.</para>
+
+ </listitem>
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ When you are done with the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">helloBirt.rptdesign</property> file, you should create a <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">.xhtml</property> file that will contain the BIRT report you have just created.
+ </para>
+
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ The JBoss BIRT Integration framework provides 2 components represented as <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:birt></property></emphasis> and <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:param></property></emphasis> tags. The jboss-seam-birt.jar library implements the functionality of the components. To find more information about the framework pleas read the <link linkend="framework" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss BIRT Integraion Framework API Reference</link> chapter.
+ To use that tags on the page you need to declare the tag library and define the name space like this:
+ </para>
+
+
+ <programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[
+ xmlns:b="http://jboss.com/products/seam/birt"
+ ]]></programlisting>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ The <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:birt></property></emphasis> is a container for a BIRT report, that helps you integrate the report into Seam environment.
+ You can manage the properties of the report using the attributes of the <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:birt></property></emphasis> tag.
+ </para>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ The <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:param></property></emphasis> tag describes report parameters. To set a parameter you need to specify it's name the value you want to pass.
+ You can use EL expressions to bind the representation layer with back-end logic.
+ </para>
+
+ </listitem>
+
+
+
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Create the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">helloBirt.xhtml</property> file in the WebContent with the following content: </para>
+
+ <programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[...
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:b="http://jboss.com/products/seam/birt"
+ template="layout/template.xhtml">
+ <ui:define name="body">
+ <rich:panel>
+ <b:birt designType="embed" designName="helloBirt.rptdesign"
+ embeddable="true">
+ <b:param name="reportTitle" value="Customers Contacts" />
+ </b:birt>
+ </rich:panel>
+ </ui:define>
+</ui:composition>
+...]]></programlisting>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">From this listing above you see that the title of the report is set via <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:param></property></emphasis> by setting the parameter name and defining the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">"value"</property></emphasis> attribute with the "Customers Contacts" value.</para>
+
+ </listitem>
+
+
+
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">We have created a Seam project and inserted the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">helloBirt</property> report into the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">helloBirt.xhtml</property> view file.</para>
+
+
+<para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">To see that the application works correctly and as you expect, you need to launch it on the server.</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">In the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Servers</property> view (If it is not open navigate to <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Windows > Show View > Other > Server > Servers</property>), select the server the application is deployed to and hit the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Start</property> button. </para></listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">When the server is started, open your favourite browser and point it to <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">http://localhost:8080/HelloBirt/helloBirt.seam</code> .</para>
+
+
+<figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Integrating BIRT into Seam Project</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/birt_integration_with_seam/helloBirtproject.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+</figure>
+ </listitem>
+ </orderedlist>
+
+ </section>
+</section>
+
+<section id="hibernate_datasource" xml:base="file:///home/vchukhutsina/repos/ochik_jboss/birt/docs/en/modules/hibernate_datasource.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Using Hibernate ODA Data Source</title>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The JBoss BIRT Integration feature includes the Hibernate ODA Data Source which is completely
+ integrated with Hibernate Tools. You can use it the way as you would use any of BIRT ODA drivers.
+
+ </para>
+
+<orderedlist xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">First, you need to reverse engineer from the database to generate Seam entities. You can perform this operation going to <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">File > New > Seam Generate Entities</property>
+ </emphasis> in the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Seam perspective</property>. More details on the Seam Generate
+ Entities please read <ulink url="http://download.jboss.org/jbosstools/nightly-docs/en/seam/html_single/ind...">Seam Dev Tools Reference guide</ulink>).
+ In this guide we will use the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Employees</property> table of the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">DATAMODELS</property> database.
+</para>
+
+ <tip xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Tip:</title>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Before performing Seam Generate Entities, you should have a connection profile
+ adjusted and connected to a database. How to do this see in the <ulink url="http://download.jboss.org/jbosstools/nightly-docs/en/seam/html_single/ind...">CRUD Database Application</ulink> chapter of the Seam Dev Tools Reference
+ guide.</para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ If you followed the steps described in the
+ <link linkend="birt_integration_with_seam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Adding BIRT Functionality to Standard Seam Web Project</link> chapter,
+ you would have a connection profile already configured.
+ </para>
+ </tip>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Next you should create a new BIRT report file ( <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">File > New > Other > Business Intelligence and Reporting
+ Tools > Report</property></emphasis>) to represent the data from the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Employees</property> table. Call the file <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">employees.rptdesign</property>.
+</para>
+ </listitem>
+
+<listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Now switch to the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Report Design</property> perspective.</para>
+</listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">In the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Data Explorer</property> view right-click the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Data Source</property>
+ </emphasis> node and choose <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">New Data Source</property>.</emphasis></para>
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Creating a New Data Source</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/hibernate_datasource/creatingDataSource.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+</listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The wizard will prompt you to select data source type. Choose <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Hibernate Data Source</property>
+ </emphasis> and give it a meaningful name, for instance <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">HibernateDataSource</property>
+ </emphasis>. Hit <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Next</property> to proceed.</emphasis></para>
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Creating Hibernate Data Source</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/hibernate_datasource/hibernateDataSource.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">On the next wizard's dialog you can leave the everything with default values, press the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Test Connection</property>
+ </emphasis> button to verify that the connection is established successfully.</para>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ The <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Hibernate Data Source</property> enables you to specify a Hibernate Configuration or JNDI URL.
+
+ </para>
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Hibernate Data Source Profile</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/hibernate_datasource/connectionSuccessful.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Press <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Finish</property>
+ </emphasis> to complete <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">New Data Source</property> wizard.</para>
+ </listitem>
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Now you need to configure a new Hibernate ODA data set. Launch the
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">New Data Set</property> wizard. In the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Data Explorer View</property>
+ right-click the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Data Set</property>
+ </emphasis> node and select <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">New Data Set</property>.</emphasis></para>
+
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Select <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">HibernateDataSource</property> as target data source and type in the new data set name.
+ Call it <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">HibernateDataSet</property>.</para>
+
+
+
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Creating a Hibernate ODA Data Set</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/hibernate_datasource/addingHibernateODADataset.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The next dialog of the wizard will help you compose a query for the new data set.</para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">We will make a report that will print all employees in the database who has Sales Rep job title.</para>
+
+ <programlisting role="SQL" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[...
+select jobtitle, firstname, lastname, email
+from Employees as employees where employees.jobtitle = 'Sales Rep'
+...]]></programlisting>
+
+
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ To validate the
+ entered query you can press the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Test query</property>
+ </emphasis> button. All the HQL features like syntax highlighting, content assist,
+ formatting, drag-and-drop, etc., are available to facilitate query composing.</para>
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Composing query for Data Set</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/hibernate_datasource/testingQuery.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Pressing <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Finish</property> will call the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Edit Data Set</property> dialog where you can adjust the parameters of the data set and preview the resulted set.
+ If everything looks good, hit <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Ok</property> to generate a new data set.
+ </para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Now you can insert the data set items of <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">HibernateDataSet</property> into the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">employees.rptdesign</property>.</para>
+
+
+ <tip xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Tip:</title>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">If you don't know how to do this we suggest that you refer to the <ulink url="http://www.eclipse.org/birt/phoenix/tutorial/">Eclipse BIRT Tutorial</ulink>.</para>
+ </tip>
+
+
+<para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">You can also use parameters in the query to add dynamics to your report. In the previous example we hardcoded the selection criterion in the <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">where</code> clause. </para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">To specify the job title on-the-fly your query should look like this:</para>
+ <programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[
+select jobtitle,firstname, lastname,email
+from Employees as employees where employees.jobtitle = ?
+]]></programlisting>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The question mark represents a data set input parameter, which is not the same as a report parameter.
+ Now you need to define an new report parameter to pass the data to the report, call it <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JobTitle</code>.
+
+
+
+ The dataset parameter can be linked to a report parameter.
+ In the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Data Explorer</property> view click the Data Set node to open it and right-click
+ on the data set you created previously( in our case it is <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">HibernateDataSet</property>),
+ choose <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Edit</property> and navigate to the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Parameters</property> section.
+ Declare a new data set parameter, name it <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">jobtitle</code> and map it to the already existing <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JobTitle</code> report parameter.
+ </para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">You report is ready, you can view it by clicking on the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Preview</property> tab of the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Report Designer</property> editor. </para>
+
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">You will be prompted to assign a value to the report parameter. For instance you can enter "Sales Rep". </para>
+
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Resulted Dynamic Report</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/hibernate_datasource/finalReport.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+</orderedlist>
+</section>
+
+
+<section id="birt_reports_deployment" xml:base="file:///home/vchukhutsina/repos/ochik_jboss/birt/docs/en/modules/birt_reports_deployment.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Creating a Dynamic BIRT Report</title>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The <link linkend="birt_integration_with_seam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Adding BIRT Functionality to Standard Seam Web Project</link>
+ and <link linkend="hibernate_datasource" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Using Hibernate ODA Data Sourc</link> sections tell how to integrate a BIRT report into
+ a Seam web project and how to use Hibernate data source to generate a dynamic report.
+ In this section we will create a Seam web project that can make a dynamic report using the parameters that are defined on a web page.</para>
+
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">We will use the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">PRODUCTS</property> table of <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">DATAMODELS</property> database for the purpose of this demo project.
+ In the first place, you need to generate Seam entities like we did in the previous chapter (<link linkend="hibernate_datasource" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Hibernate ODA Data Source</link> ). The demo application will generate a report about the company's products, whereas it will allow to specify a product line. </para>
+
+<orderedlist xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The next step is to create a Java class that will store the <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">sortOrder</code> variable and its assessors, register the class in faces.config.xml.
+ The variable will be needed to pass dynamic data to the report via report parameters, therefore it has to be of session scope.</para>
+ </listitem>
+
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+
+ The report will print the data from the <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Products</code> table, hence you need to create a report file first.
+ You can use either the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT JDBC Data Source</property> or <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Hibernate Data Source</property> data source to create the data set for this project. If you want to use the latter please read the previous chapter <link linkend="hibernate_datasource" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Hibernate ODA Data Source</link>.
+</para>
+
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ The data set should have at least the following data set items: product vendor, product name, quantity in stock and buy price. The data is retrieved from the database with this query :
+ </para>
+
+
+ <programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[
+SELECT productvedor,
+productname,
+quantityinstock,
+buyprice
+FROM Products as products
+
+]]></programlisting>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Make a table in the report and put each data set item into a column.</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">As it was stated in the beginning of the chapter the report will be dynamic, therefore you need to declare a report parameter first, let it be <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">sortOrder</code> and to add the parameter to the query. BIRT offers rich JavaScript API, so you can modify the query programmatically like this:</para>
+<programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+<xml-property name="queryText"><![CDATA[
+SELECT productvedor,
+productname,
+quantityinstock,
+buyprice
+FROM Products as products
+]]></xml-property>
+ <method name="beforeOpen"><![CDATA[
+queryString = " ORDER BY products."+reportContext.getParameterValue("sortOrder")+" "+"DESC";
+this.queryText = this.queryText+queryString;
+]]></method>
+
+</programlisting>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The report is ready. You can preview it to make sure it works properly. </para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">To set the report parameter you should create an <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">.xhtml</property> view page, call it <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Products.xhtml</property>. On the page you can set the value of the <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">sortOrder</code> Java bean variable and press the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Generate Report</property> button to open another view page that will display the resulted report.
+ </para>
+
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The source code of the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Products.xhtml</property> should be the following:</para>
+
+ <programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j" template="layout/template.xhtml">
+ <ui:define name="body">
+ <rich:panel>
+ <f:facet name="header">BIRT Report Generator</f:facet>
+ <a4j:form ajaxSubmit="true" reRender="criterion">
+ <table>
+ <tr>
+ <td>Select sort order criterion:</td>
+ <td><h:selectOneMenu onchange="submit()"
+ value="#{yourJavaBean.sortOrder}"> <!-- Bind to your Java Bean -->
+ <f:selectItem itemValue="buyprice" itemLabel="buy price" />
+ <f:selectItem itemValue="quantityinstock" itemLabel="quantity in stock" />
+ </h:selectOneMenu>
+ </td>
+ </tr>
+ </table>
+ </a4j:form>
+ <s:button
+ view="/#{!empty reportParameters.order ? 'Products' : 'ProductsReport'}.xhtml" id="generate" value="Generate Report" /> <!-- If the sertOrder variable is not set the button won't work -->
+ </rich:panel>
+ </ui:define>
+</ui:composition>
+]]></programlisting>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The logic of the file is quite simple, when the sort order criterion is select the value of <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">yourJavaBean.sortOrder</code>
+ is set automatically via Ajax and the report is ready to be generated.</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Now you need to create the web page that will print the report, name the file <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">ProductsReport.xhtml</property>.
+ The file to output the report should have the following content:</para>
+
+<programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:b="http://jboss.com/products/seam/birt"
+ xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml">
+ <ui:define name="body">
+ <rich:panel>
+ <f:facet name="header">Products Report</f:facet>
+ <b:birt designType="embed" designName="products.rptdesign"
+ embeddable="true" masterpage="true">
+ <b:param name="sortOrder" value="#{yourJavaBean.sortOrder}" />
+ </b:birt>
+ </rich:panel>
+</ui:define>
+</ui:composition>
+]]></programlisting>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ As you know from the <link linkend="birt_integration_with_seam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Adding BIRT Functionality to Standard Seam Web Project</link> chapter, before using the BIRT Integration framework tags on the page you need to declare the tag library and specify the name space with this line:
+ </para>
+
+ <programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[
+ xmlns:b="http://jboss.com/products/seam/birt"
+]]></programlisting>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ The dynamics to the report adds this line:
+ </para>
+ <programlisting role="XML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[
+<b:param name="sortOrder" value="#{yourJavaBean.sortOrder}" />
+]]></programlisting>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">We bound the <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">sortOrder</code> report parameter to Java Bean variable <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">value="#{yourJavaBean.sortOrder}"</code> using EL expression, and the value to the variable is assigned in the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Products.xhtml</property> file. </para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">By default if you embed a report into HTML page the HTML-format report contains the <html>,
+ <head>, <body> etc., tags. However if your HTML page already has those tags, you can rid of them using the <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">embeddable="true"</code> attribute of
+
+ the <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:birt></property></emphasis> component.</para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Deploy the project onto the server and open your browser to see the report is successfully generated. You should navigate to
+
+ <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">http://localhost:8080/yourProjectName/Products.seam</code> to select the criterion and press the <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Generate Report</property> button. You will be redirected to the <code xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">http://localhost:8080/HelloBirt/ProductsReport.seam</code>
+
+ </para>
+ <figure xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Dynamic Report</title>
+ <mediaobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imageobject xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <imagedata fileref="images/birt_reports_deployment/productReport.png" xmlns="http://docbook.org/ns/docbook"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+</orderedlist>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Thus, a Seam project that includes the BIRT facet can be deployed as any project. If you
+ define the Hibernate ODA driver, the JBoss BIRT engine will use JNDI URL that has to be bound
+ to either Hibernate Session Factory or Hibernate Entity Manager Factory. If you
+ don't specify the JNDI URL property, our engine will try the following JNDI
+ URLs:</para>
+ <itemizedlist xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">java:/<project_name></emphasis>
+ </para>
+ </listitem>
+ <listitem xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">java:/<project_name>EntityManagerFactory</emphasis>
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">When creating a Seam EAR project, Hibernate Entity Manager Factory is bound to
+ <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">java:/{projectName}EntityManagerFactory</emphasis>. All you need to do is
+ to use the Hibernate Configuration created automatically. You can use default values for the
+ Hibernate Configuration and JNDI URL within the BIRT Hibernate Data Source.</para>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">When using a Seam WAR project, neither HSF nor HEMF aren't bound to JNDI by
+ default. You have to do this manually. For instance, HSF can be bound to JNDI by adding the
+ following property to the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">persistence.xml</property></emphasis> file:</para>
+
+ <programlisting role="XHTML" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><![CDATA[<property name="hibernate.session_factory_name" value="java:/projectname"/>
+ ]]></programlisting>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">And you can use <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">java:/projectname</emphasis> as the JNDI URL property when creating a BIRT
+ Hibernate Data Source.</para>
+
+ <note xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Note:</title>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">If you want to test this feature using PDE Runtime, you need to add <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">osgi.dev=bin</property>
+ </emphasis> to the <emphasis xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">WebContent/WEB-INF/platform/configuration/config.ini</property>
+ </emphasis> file.</para>
+ </note>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">In conclusion, the main goal of this document is to get you to know with a full feature set
+ that <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss BIRT Tools</property> provide. Thus if you have some questions,
+ comments or suggestions on the topic, please feel free to ask in the
+ <ulink url="http://www.jboss.org/index.html?module=bb&op=viewforum&f=201">JBoss
+ Tools Forum</ulink>. You can also influence on how you want to see JBoss Tools docs in
+ future leaving your vote on the article <ulink
+ url="http://www.jboss.org/community/docs/DOC-10795">Overview of the improvements required by JBossTools/JBDS Docs users</ulink>.</para>
+
+</section>
+
+
+
+</chapter>
+
+
+<chapter id="framework" xml:base="file:///home/vchukhutsina/repos/ochik_jboss/birt/docs/en/modules/framework.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <?dbhtml filename="framework.html"?>
+
+ <chapterinfo>
+ <keywordset xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Eclipse</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Integration</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss BIRT Integraion Framework API Reference</title>
+
+
+<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:birt></property></emphasis> Component
+ </title>
+
+
+
+<para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ The <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:birt></property></emphasis> component servers to integrate a BIRT report into Seam/JSF container.
+ The <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:birt></property></emphasis> tag recognizes most of the parameters described on the BIRT
+ <ulink url="http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.php#parameters">Report Viewer Parameters</ulink> page, though it has attributes of its own.
+
+</para>
+
+
+ <table xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:birt></property></emphasis> Component Reference</title>
+ <tgroup cols="3" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <thead xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Attribute</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Correspondance to BIRT Report Viewer parameters</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Description/</entry>
+
+ </row>
+ </thead>
+ <tbody xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">designType</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - </entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Corresponds to the BIRT servlet mappings. Possible values are run, frameset, preview and embed.
+ If the attribute is set to embed the component is used for
+ embeddable html. This type ignores all the attributes except designName
+ and masterpage.
+ </entry>
+ </row>
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">embeddable</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - </entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">A BIRT report occupies the whole page by default. It contains the <html>,
+ <head>, <body> etc., tags. Embedded report can be a part of another page.
+ It doesn't contain the above mentioned tags. Only HTML report can be embedded.</entry>
+ </row>
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">designName</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__report</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Sets the name of the report design to process. This can be an absolute path or relative to the working folder. Valid values are run, frameset and preview</entry>
+ </row>
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">format</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__format</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Specifies the desired output format, such as pdf, html, doc, ppt, or xls.</entry>
+ </row>
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">title</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__title</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Sets the report title.</entry>
+ </row>
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">showtitle</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__showtitle</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Determines if the report title is shown in the frameset viewer. Defaults to true.</entry>
+ </row>
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">toolbar</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__toolbar</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ Determines if the report toolbar is shown in the frameset viewer.Defaults to true. Valid values are true and false.</entry>
+ </row>
+
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">navigationbar</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__navigationbar</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ Determines if the navigation bar is shown in the frameset viewer. Defaults to true. Valid values are true and false.</entry>
+ </row>
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">document</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__document</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Sets the name for the rptdocument. The document is created when the report engine separates run and render tasks, and
+ is used to support features like table of contents and pagination.
+ This setting can be an absolute path or relative to the working folder. If no document parameter is used, a unique document is created in the document folder.
+ </entry>
+ </row>
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">locale</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__locale</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Specifies the locale for the specific operation. Note that this will override the default locale.
+ </entry>
+ </row>
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">svg</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__svg</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Specifies whether SVG is supported.
+ </entry>
+ </row>
+
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">page</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__page</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Specifies specific page to render.
+ </entry>
+ </row>
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">pagerange</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__pagerange</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Specifies page range to render. Eg 1-4,7.
+ </entry>
+ </row>
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">masterpage</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__masterpage</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ Indicates that the report master page should be used or not. Validvalues are true and false.
+ </entry>
+ </row>
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">overwrite</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__overwrite</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ This setting if set to true will force an overwrite of the existing report document.
+ </entry>
+ </row>
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">bookmark</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__bookmark</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ Specifies a specific bookmark within the report to load. The viewer will automatically load the appropriate page.
+ </entry>
+ </row>
+
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">rtl</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__rtl</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Specifies whether to display the report in right to left format. This setting defaults to false.
+ </entry>
+ </row>
+
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">fittopage</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__fittopage</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Specifies whether PDF generation should fit content to a page. Valid values are true and false.
+ </entry>
+ </row>
+
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">resourceFolder</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">__resourceFolder</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ Specifies the resource folder to use. This setting will override the default setting in the web.xml. The resource folder is used to locate libraries, images, and resource files.
+ </entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+</section>
+
+ <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:param></property></emphasis> Component</title>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ The <emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:param></property></emphasis> tag describes report parameter.
+ </para>
+
+ <table xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><emphasis role="bold" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <property xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"><b:param></property></emphasis> Component</title>
+ <tgroup cols="2" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <thead xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Attribute</entry>
+
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Description</entry>
+ </row>
+ </thead>
+ <tbody xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">name</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The parameter name. Required.</entry>
+ </row>
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">value</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The parameter value. Required.</entry>
+ </row>
+
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">isnull</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Specifies that a report parameter has a null value</entry>
+ </row>
+ <row xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">islocale</entry>
+ <entry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Specifies whether the parameter is localized</entry>
+ </row>
+
+ </tbody>
+
+ </tgroup>
+ </table>
+ </section>
+
+
+
+
+
+
+
+</chapter>
+
+
+
+<chapter id="birt_plugin_rel_resources" xml:base="file:///home/vchukhutsina/repos/ochik_jboss/birt/docs/en/modules/links.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xreflabel="birt_plugin_rel_resources">
+ <?dbhtml filename="links.html"?>
+ <chapterinfo>
+ <keywordset xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Eclipse</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">JBoss Tools</keyword>
+ <keyword xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">BIRT Integration</keyword>
+ </keywordset>
+ </chapterinfo>
+
+
+ <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Other Relevant Resources on the Topic</title>
+
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">All JBoss Developer Studio/JBoss Tools release documentation you can find at <ulink url="http://docs.jboss.org/tools/">http://docs.jboss.org/tools</ulink> in the corresponding release directory.</para>
+ <para xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">The latest documentation builds are available at <ulink url="http://download.jboss.org/jbosstools/nightly-docs/">http://download.jboss.org/jbosstools/nightly-docs</ulink>.
+
+</para>
+
+</chapter>
+
+
+
+</book>
Added: trunk/birt/docs/en-US/modules/birt_integration_with_seam.xml
===================================================================
--- trunk/birt/docs/en-US/modules/birt_integration_with_seam.xml (rev 0)
+++ trunk/birt/docs/en-US/modules/birt_integration_with_seam.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,255 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section id="birt_integration_with_seam">
+ <title>Adding BIRT Functionality to Standard Seam Web Project</title>
+
+ <para>In this section you'll know how to integrate BIRT into a Seam web project. </para>
+
+ <para>You are supposed to have Seam runtime and JBoss Application Server downloaded and
+ extracted on your hard drive.
+ You can download Seam from the
+ <ulink url="http://seamframework.org/Download">Seam Framework</ulink> web page and
+ JBoss Application Server from <ulink url="http://jboss.org/jbossas/downloads/">JBoss Application Server</ulink> official site.
+
+ </para>
+
+ <tip>
+ <title>Tip:</title>
+ <para>We used <ulink
+ url="http://sourceforge.net/project/showfiles.php?group_id=22866&package_i..."
+ >JBoss Seam 2.0.1 GA</ulink> and <ulink
+ url="http://sourceforge.net/project/showfiles.php?group_id=22866&package_i..."
+ >JBoss Application Server 4.2.2 GA</ulink> in examples of this guide.</para>
+ </tip>
+
+ <section id="creatin_project_with_birt">
+ <title>Creating Seam Web Project with Birt Facet</title>
+
+ <para>We recommend to open <property>Seam perspective</property> by going to <emphasis>
+ <property>Window > Open Perspective > Other > Seam</property></emphasis> , this way you will have all the tools to work with Seam at hand.
+ To create a new Seam Web project navigate to <emphasis>
+ <property>File > New > Seam Web Project</property>
+ </emphasis>. Otherwise you should go to <emphasis>
+
+ <property>File > New > Other > Seam > Seam Web
+ Project</property>
+ </emphasis> if <property>Seam</property> perspective is not active.</para>
+
+ <orderedlist>
+
+ <listitem>
+ <para>On the first wizard page enter the project name, then specify the target runtime and
+ target server. We recommend to use JBoss AS server and runtime environment to ensure best performance.
+ </para>
+
+
+ <figure id="CreatingSeamWebProject">
+ <title>Creating Seam Web Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/birt_integration_with_seam/testBirtProject.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>In the <emphasis><property>Configuration</property></emphasis> group choose the version of <emphasis>
+ <property>Seam</property>
+ </emphasis> framework you are planning to use in your application. In this guide we used Seam 2.2. </para>
+ </listitem>
+ <listitem>
+ <para>Click the <emphasis><property>Modify</property></emphasis> button
+ and enable the <emphasis>
+ <property>Birt Reporting Runtime Component</property>
+ </emphasis> facet by checking the appropriate option.</para>
+
+ <figure>
+ <title>Adding the Birt Reporting Runtime Component Facet </title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/birt_integration_with_seam/addingBirtFacet.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Alternatively you can just choose the <emphasis>
+ <property>JBoss BIRT Integration Web Project</property>
+ </emphasis> configuration from the drop-down list in the <emphasis><property>Configuration</property></emphasis> group </para>
+
+ <figure>
+ <title>Choosing the JBoss BIRT Integration Web Project Configuration</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ fileref="images/birt_integration_with_seam/projectBirtConfiguration.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ </listitem>
+
+
+ <listitem>
+ <para>You may leave the next two pages with default values, just press <emphasis><property>Next</property></emphasis> to proceed.
+ </para>
+ </listitem>
+
+ <listitem>
+
+ <para>On the <emphasis><property>Birt Configuration</property></emphasis> page you can modify the BIRT deployment settings, which you can edit afterwards in the web.xml of the generated project. Let's keep the default values for now.
+ </para>
+
+ <figure>
+ <title>Configuring BIRT Deployment Settings</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/birt_integration_with_seam/birtDeploymentSettings.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+
+
+ </listitem>
+
+ <listitem>
+ <para>You can also leave the <emphasis><property>JSF Capabilities</property></emphasis> page with default values. </para>
+ </listitem>
+
+ <listitem>
+ <para>On the <emphasis>
+ <property>Seam Facet</property>
+ </emphasis> page you should specify the Seam runtime and Connection profile. Please note, that the Seam runtime must be of the version you initially specified in the project settings (See the <link linkend="CreatingSeamWebProject">Creating Seam Web Project</link> figure). </para>
+ <para> When creating a Seam project with BIRT capabilities you can use the <property>BIRT Classic Models Sample Database</property> connection profile to work with the BIRT sample database.</para>
+
+ <para>For more details on how to configure database connection for a Seam project please read the
+ <ulink url="http://docs.jboss.org/tools/3.0.0.GA/en/seam/html_single/index.html#seamF...">Configure Seam Facet Settings</ulink> chapter of Seam Dev Tools Reference Guide.</para>
+ <figure>
+ <title>Configuring the Seam Facet settings</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/birt_integration_with_seam/seamFacet.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ </listitem>
+
+
+ <listitem>
+ <para>Hit <emphasis>
+ <property>Finish</property>
+ </emphasis> to create the project with BIRT functionality enabled.</para>
+ </listitem>
+ </orderedlist>
+ </section>
+
+ <section id="integration">
+ <title>Integration with Seam</title>
+<para>
+ In the previous section you have created a Seam project with BIRT capabilities.
+ Now you can create a simple kick start project to see that everything is configured correctly.
+</para>
+
+
+ <orderedlist>
+ <listitem><para>Now create a BIRT report file and insert test data into the file.
+ Name the report file <property>helloBirt.rptdesign</property>, the report should print the data from the <code>CLASSICMODELS.CUSTOMERS</code> table of the <property>BIRT Classic Models Sample Database</property>, namely: customer number (<code>CLASSICMODELS.CUSTOMERS.CUSTOMERNAME</code>),
+ contact person first name ( <code>CLASSICMODELS.CUSTOMERS.CONTACTFIRSTNAME</code>) ,
+ contact person last name (<code>CLASSICMODELS.CUSTOMERS.CONTACTLASTNAME</code>) and
+ contact person phone number(<code>CLASSICMODELS.CUSTOMERS.PHONE</code>).
+ </para>
+ <para>The title of the report should be set via <code>reportTitle</code> parameter</para>
+ <para>
+ As this guide is primarily focused on the BIRT integration and not the BIRT technology itself we will not show the steps required to make the report. If you do not feel strong about creating a BIRT report file please read <ulink url="http://eclipse.org/birt/phoenix/tutorial/">BIRT documentation</ulink>.
+ </para>
+ <para>You can download the file <property>helloBirt.rptdesign</property> <ulink url="files/helloBirt.rptdesign">here</ulink> and copy it to the WebContent folder of your Seam project.</para>
+
+ </listitem>
+
+ <listitem>
+ <para>
+ When you are done with the <property>helloBirt.rptdesign</property> file, you should create a <property>.xhtml</property> file that will contain the BIRT report you have just created.
+ </para>
+
+
+ <para>
+ The JBoss BIRT Integration framework provides 2 components represented as <emphasis role="bold"> <property><b:birt></property></emphasis> and <emphasis role="bold"> <property><b:param></property></emphasis> tags. The jboss-seam-birt.jar library implements the functionality of the components. To find more information about the framework pleas read the <link linkend="framework">JBoss BIRT Integraion Framework API Reference</link> chapter.
+ To use that tags on the page you need to declare the tag library and define the name space like this:
+ </para>
+
+
+ <programlisting role="XML"><![CDATA[
+ xmlns:b="http://jboss.com/products/seam/birt"
+ ]]></programlisting>
+
+ <para>
+ The <emphasis role="bold"> <property><b:birt></property></emphasis> is a container for a BIRT report, that helps you integrate the report into Seam environment.
+ You can manage the properties of the report using the attributes of the <emphasis role="bold"> <property><b:birt></property></emphasis> tag.
+ </para>
+
+ <para>
+
+ The <emphasis role="bold"> <property><b:param></property></emphasis> tag describes report parameters. To set a parameter you need to specify it's name the value you want to pass.
+ You can use EL expressions to bind the representation layer with back-end logic.
+ </para>
+
+ </listitem>
+
+
+
+
+ <listitem>
+
+
+ <para>Create the <property>helloBirt.xhtml</property> file in the WebContent with the following content: </para>
+
+ <programlisting role="XML"><![CDATA[...
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:b="http://jboss.com/products/seam/birt"
+ template="layout/template.xhtml">
+ <ui:define name="body">
+ <rich:panel>
+ <b:birt designType="embed" designName="helloBirt.rptdesign"
+ embeddable="true">
+ <b:param name="reportTitle" value="Customers Contacts" />
+ </b:birt>
+ </rich:panel>
+ </ui:define>
+</ui:composition>
+...]]></programlisting>
+
+ <para>From this listing above you see that the title of the report is set via <emphasis role="bold"> <property><b:param></property></emphasis> by setting the parameter name and defining the <emphasis><property>"value"</property></emphasis> attribute with the "Customers Contacts" value.</para>
+
+ </listitem>
+
+
+
+
+ <listitem>
+ <para>We have created a Seam project and inserted the <property>helloBirt</property> report into the <property>helloBirt.xhtml</property> view file.</para>
+
+
+<para>To see that the application works correctly and as you expect, you need to launch it on the server.</para>
+ </listitem>
+ <listitem><para>In the <property>Servers</property> view (If it is not open navigate to <property>Windows > Show View > Other > Server > Servers</property>), select the server the application is deployed to and hit the <property>Start</property> button. </para></listitem>
+ <listitem>
+ <para>When the server is started, open your favourite browser and point it to <code>http://localhost:8080/HelloBirt/helloBirt.seam</code> .</para>
+
+
+<figure>
+ <title>Integrating BIRT into Seam Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/birt_integration_with_seam/helloBirtproject.png"/>
+ </imageobject>
+ </mediaobject>
+</figure>
+ </listitem>
+ </orderedlist>
+
+ </section>
+</section>
\ No newline at end of file
Added: trunk/birt/docs/en-US/modules/birt_reports_deployment.xml
===================================================================
--- trunk/birt/docs/en-US/modules/birt_reports_deployment.xml (rev 0)
+++ trunk/birt/docs/en-US/modules/birt_reports_deployment.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,220 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section id="birt_reports_deployment">
+ <title>Creating a Dynamic BIRT Report</title>
+
+ <para>The <link linkend="birt_integration_with_seam">Adding BIRT Functionality to Standard Seam Web Project</link>
+ and <link linkend="hibernate_datasource">Using Hibernate ODA Data Sourc</link> sections tell how to integrate a BIRT report into
+ a Seam web project and how to use Hibernate data source to generate a dynamic report.
+ In this section we will create a Seam web project that can make a dynamic report using the parameters that are defined on a web page.</para>
+
+
+ <para>We will use the <property>PRODUCTS</property> table of <property>DATAMODELS</property> database for the purpose of this demo project.
+ In the first place, you need to generate Seam entities like we did in the previous chapter (<link linkend="hibernate_datasource">Hibernate ODA Data Source</link> ). The demo application will generate a report about the company's products, whereas it will allow to specify a product line. </para>
+
+<orderedlist>
+ <listitem>
+ <para>The next step is to create a Java class that will store the <code>sortOrder</code> variable and its assessors, register the class in faces.config.xml.
+ The variable will be needed to pass dynamic data to the report via report parameters, therefore it has to be of session scope.</para>
+ </listitem>
+
+ <listitem>
+ <para>
+
+
+ The report will print the data from the <code>Products</code> table, hence you need to create a report file first.
+ You can use either the <property>BIRT JDBC Data Source</property> or <property>Hibernate Data Source</property> data source to create the data set for this project. If you want to use the latter please read the previous chapter <link linkend="hibernate_datasource">Hibernate ODA Data Source</link>.
+</para>
+
+
+ <para>
+ The data set should have at least the following data set items: product vendor, product name, quantity in stock and buy price. The data is retrieved from the database with this query :
+ </para>
+
+
+ <programlisting role="XML"><![CDATA[
+SELECT productvedor,
+productname,
+quantityinstock,
+buyprice
+FROM Products as products
+
+]]></programlisting>
+ </listitem>
+ <listitem>
+ <para>Make a table in the report and put each data set item into a column.</para>
+ </listitem>
+ <listitem>
+ <para>As it was stated in the beginning of the chapter the report will be dynamic, therefore you need to declare a report parameter first, let it be <code>sortOrder</code> and to add the parameter to the query. BIRT offers rich JavaScript API, so you can modify the query programmatically like this:</para>
+<programlisting role="XML">
+
+<xml-property name="queryText"><![CDATA[
+SELECT productvedor,
+productname,
+quantityinstock,
+buyprice
+FROM Products as products
+]]></xml-property>
+ <method name="beforeOpen"><![CDATA[
+queryString = " ORDER BY products."+reportContext.getParameterValue("sortOrder")+" "+"DESC";
+this.queryText = this.queryText+queryString;
+]]></method>
+
+</programlisting>
+ </listitem>
+ <listitem>
+<para>The report is ready. You can preview it to make sure it works properly. </para>
+ </listitem>
+ <listitem> <para>To set the report parameter you should create an <property>.xhtml</property> view page, call it <property>Products.xhtml</property>. On the page you can set the value of the <code>sortOrder</code> Java bean variable and press the <property>Generate Report</property> button to open another view page that will display the resulted report.
+ </para>
+
+
+ <para>The source code of the <property>Products.xhtml</property> should be the following:</para>
+
+ <programlisting role="XML"><![CDATA[
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j" template="layout/template.xhtml">
+ <ui:define name="body">
+ <rich:panel>
+ <f:facet name="header">BIRT Report Generator</f:facet>
+ <a4j:form ajaxSubmit="true" reRender="criterion">
+ <table>
+ <tr>
+ <td>Select sort order criterion:</td>
+ <td><h:selectOneMenu onchange="submit()"
+ value="#{yourJavaBean.sortOrder}"> <!-- Bind to your Java Bean -->
+ <f:selectItem itemValue="buyprice" itemLabel="buy price" />
+ <f:selectItem itemValue="quantityinstock" itemLabel="quantity in stock" />
+ </h:selectOneMenu>
+ </td>
+ </tr>
+ </table>
+ </a4j:form>
+ <s:button
+ view="/#{!empty reportParameters.order ? 'Products' : 'ProductsReport'}.xhtml" id="generate" value="Generate Report" /> <!-- If the sertOrder variable is not set the button won't work -->
+ </rich:panel>
+ </ui:define>
+</ui:composition>
+]]></programlisting>
+ <para>The logic of the file is quite simple, when the sort order criterion is select the value of <code>yourJavaBean.sortOrder</code>
+ is set automatically via Ajax and the report is ready to be generated.</para>
+ </listitem>
+ <listitem>
+ <para>Now you need to create the web page that will print the report, name the file <property>ProductsReport.xhtml</property>.
+ The file to output the report should have the following content:</para>
+
+<programlisting role="XML"><![CDATA[
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:b="http://jboss.com/products/seam/birt"
+ xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml">
+ <ui:define name="body">
+ <rich:panel>
+ <f:facet name="header">Products Report</f:facet>
+ <b:birt designType="embed" designName="products.rptdesign"
+ embeddable="true" masterpage="true">
+ <b:param name="sortOrder" value="#{yourJavaBean.sortOrder}" />
+ </b:birt>
+ </rich:panel>
+</ui:define>
+</ui:composition>
+]]></programlisting>
+ <para>
+ As you know from the <link linkend="birt_integration_with_seam">Adding BIRT Functionality to Standard Seam Web Project</link> chapter, before using the BIRT Integration framework tags on the page you need to declare the tag library and specify the name space with this line:
+ </para>
+
+ <programlisting role="XML"><![CDATA[
+ xmlns:b="http://jboss.com/products/seam/birt"
+]]></programlisting>
+ <para>
+ The dynamics to the report adds this line:
+ </para>
+ <programlisting role="XML"><![CDATA[
+<b:param name="sortOrder" value="#{yourJavaBean.sortOrder}" />
+]]></programlisting>
+
+ <para>We bound the <code>sortOrder</code> report parameter to Java Bean variable <code>value="#{yourJavaBean.sortOrder}"</code> using EL expression, and the value to the variable is assigned in the <property>Products.xhtml</property> file. </para>
+ <para>By default if you embed a report into HTML page the HTML-format report contains the <html>,
+ <head>, <body> etc., tags. However if your HTML page already has those tags, you can rid of them using the <code>embeddable="true"</code> attribute of
+
+ the <emphasis role="bold"><property><b:birt></property></emphasis> component.</para>
+ </listitem>
+ <listitem>
+ <para>Deploy the project onto the server and open your browser to see the report is successfully generated. You should navigate to
+
+ <code>http://localhost:8080/yourProjectName/Products.seam</code> to select the criterion and press the <property>Generate Report</property> button. You will be redirected to the <code>http://localhost:8080/HelloBirt/ProductsReport.seam</code>
+
+ </para>
+ <figure>
+ <title>Dynamic Report</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/birt_reports_deployment/productReport.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+</orderedlist>
+ <para>Thus, a Seam project that includes the BIRT facet can be deployed as any project. If you
+ define the Hibernate ODA driver, the JBoss BIRT engine will use JNDI URL that has to be bound
+ to either Hibernate Session Factory or Hibernate Entity Manager Factory. If you
+ don't specify the JNDI URL property, our engine will try the following JNDI
+ URLs:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>java:/<project_name></emphasis>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>java:/<project_name>EntityManagerFactory</emphasis>
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>When creating a Seam EAR project, Hibernate Entity Manager Factory is bound to
+ <emphasis>java:/{projectName}EntityManagerFactory</emphasis>. All you need to do is
+ to use the Hibernate Configuration created automatically. You can use default values for the
+ Hibernate Configuration and JNDI URL within the BIRT Hibernate Data Source.</para>
+
+ <para>When using a Seam WAR project, neither HSF nor HEMF aren't bound to JNDI by
+ default. You have to do this manually. For instance, HSF can be bound to JNDI by adding the
+ following property to the <emphasis>
+ <property>persistence.xml</property></emphasis> file:</para>
+
+ <programlisting role="XHTML"><![CDATA[<property name="hibernate.session_factory_name" value="java:/projectname"/>
+ ]]></programlisting>
+
+ <para>And you can use <emphasis>java:/projectname</emphasis> as the JNDI URL property when creating a BIRT
+ Hibernate Data Source.</para>
+
+ <note>
+ <title>Note:</title>
+ <para>If you want to test this feature using PDE Runtime, you need to add <emphasis>
+ <property>osgi.dev=bin</property>
+ </emphasis> to the <emphasis>
+ <property>WebContent/WEB-INF/platform/configuration/config.ini</property>
+ </emphasis> file.</para>
+ </note>
+
+ <para>In conclusion, the main goal of this document is to get you to know with a full feature set
+ that <property>JBoss BIRT Tools</property> provide. Thus if you have some questions,
+ comments or suggestions on the topic, please feel free to ask in the <ulink
+ url="http://www.jboss.org/index.html?module=bb&op=viewforum&f=201">JBoss
+ Tools Forum</ulink>. You can also influence on how you want to see JBoss Tools docs in
+ future leaving your vote on the article <ulink
+ url="http://www.jboss.org/community/docs/DOC-10795">Overview of the improvements required by JBossTools/JBDS Docs users</ulink>.</para>
+
+</section>
Added: trunk/birt/docs/en-US/modules/framework.xml
===================================================================
--- trunk/birt/docs/en-US/modules/framework.xml (rev 0)
+++ trunk/birt/docs/en-US/modules/framework.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,260 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="framework">
+ <?dbhtml filename="framework.html"?>
+
+ <chapterinfo>
+ <keywordset>
+
+ <keyword>Eclipse</keyword>
+ <keyword>JBoss</keyword>
+ <keyword>JBoss Tools</keyword>
+ <keyword>BIRT Integration</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>JBoss BIRT Integraion Framework API Reference</title>
+
+
+<section>
+
+ <title>
+ <emphasis role="bold"> <property><b:birt></property></emphasis> Component
+ </title>
+
+
+
+<para>
+ The <emphasis role="bold"> <property><b:birt></property></emphasis> component servers to integrate a BIRT report into Seam/JSF container.
+ The <emphasis role="bold"> <property><b:birt></property></emphasis> tag recognizes most of the parameters described on the BIRT
+ <ulink url="http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.php#parameters">Report Viewer Parameters</ulink> page, though it has attributes of its own.
+
+</para>
+
+
+ <table>
+ <title><emphasis role="bold"> <property><b:birt></property></emphasis> Component Reference</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute</entry>
+ <entry>Correspondance to BIRT Report Viewer parameters</entry>
+ <entry>Description/</entry>
+
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>designType</entry>
+ <entry> - </entry>
+ <entry>Corresponds to the BIRT servlet mappings. Possible values are run, frameset, preview and embed.
+ If the attribute is set to embed the component is used for
+ embeddable html. This type ignores all the attributes except designName
+ and masterpage.
+ </entry>
+ </row>
+ <row>
+ <entry>embeddable</entry>
+ <entry> - </entry>
+ <entry>A BIRT report occupies the whole page by default. It contains the <html>,
+ <head>, <body> etc., tags. Embedded report can be a part of another page.
+ It doesn't contain the above mentioned tags. Only HTML report can be embedded.</entry>
+ </row>
+ <row>
+ <entry>designName</entry>
+ <entry>__report</entry>
+ <entry>Sets the name of the report design to process. This can be an absolute path or relative to the working folder. Valid values are run, frameset and preview</entry>
+ </row>
+
+ <row>
+ <entry>format</entry>
+ <entry>__format</entry>
+ <entry>Specifies the desired output format, such as pdf, html, doc, ppt, or xls.</entry>
+ </row>
+
+ <row>
+ <entry>title</entry>
+ <entry>__title</entry>
+ <entry>Sets the report title.</entry>
+ </row>
+
+ <row>
+ <entry>showtitle</entry>
+ <entry>__showtitle</entry>
+ <entry>Determines if the report title is shown in the frameset viewer. Defaults to true.</entry>
+ </row>
+
+ <row>
+ <entry>toolbar</entry>
+ <entry>__toolbar</entry>
+ <entry>
+
+ Determines if the report toolbar is shown in the frameset viewer.Defaults to true. Valid values are true and false.</entry>
+ </row>
+
+
+
+ <row>
+ <entry>navigationbar</entry>
+ <entry>__navigationbar</entry>
+ <entry>
+
+ Determines if the navigation bar is shown in the frameset viewer. Defaults to true. Valid values are true and false.</entry>
+ </row>
+
+
+ <row>
+ <entry>document</entry>
+ <entry>__document</entry>
+ <entry>
+ Sets the name for the rptdocument. The document is created when the report engine separates run and render tasks, and
+ is used to support features like table of contents and pagination.
+ This setting can be an absolute path or relative to the working folder. If no document parameter is used, a unique document is created in the document folder.
+ </entry>
+ </row>
+
+ <row>
+ <entry>locale</entry>
+ <entry>__locale</entry>
+ <entry>
+ Specifies the locale for the specific operation. Note that this will override the default locale.
+ </entry>
+ </row>
+ <row>
+ <entry>svg</entry>
+ <entry>__svg</entry>
+ <entry>
+ Specifies whether SVG is supported.
+ </entry>
+ </row>
+
+
+
+ <row>
+ <entry>page</entry>
+ <entry>__page</entry>
+ <entry>
+ Specifies specific page to render.
+ </entry>
+ </row>
+
+
+ <row>
+ <entry>pagerange</entry>
+ <entry>__pagerange</entry>
+ <entry>
+ Specifies page range to render. Eg 1-4,7.
+ </entry>
+ </row>
+
+
+ <row>
+ <entry>masterpage</entry>
+ <entry>__masterpage</entry>
+ <entry>
+
+ Indicates that the report master page should be used or not. Validvalues are true and false.
+ </entry>
+ </row>
+
+
+ <row>
+ <entry>overwrite</entry>
+ <entry>__overwrite</entry>
+ <entry>
+
+ This setting if set to true will force an overwrite of the existing report document.
+ </entry>
+ </row>
+
+ <row>
+ <entry>bookmark</entry>
+ <entry>__bookmark</entry>
+ <entry>
+
+ Specifies a specific bookmark within the report to load. The viewer will automatically load the appropriate page.
+ </entry>
+ </row>
+
+
+
+ <row>
+ <entry>rtl</entry>
+ <entry>__rtl</entry>
+ <entry>
+ Specifies whether to display the report in right to left format. This setting defaults to false.
+ </entry>
+ </row>
+
+
+
+ <row>
+ <entry>fittopage</entry>
+ <entry>__fittopage</entry>
+ <entry>
+ Specifies whether PDF generation should fit content to a page. Valid values are true and false.
+ </entry>
+ </row>
+
+
+ <row>
+ <entry>resourceFolder</entry>
+ <entry>__resourceFolder</entry>
+ <entry>
+ Specifies the resource folder to use. This setting will override the default setting in the web.xml. The resource folder is used to locate libraries, images, and resource files.
+ </entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+</section>
+
+ <section>
+ <title><emphasis role="bold"> <property><b:param></property></emphasis> Component</title>
+ <para>
+ The <emphasis role="bold"> <property><b:param></property></emphasis> tag describes report parameter.
+ </para>
+
+ <table>
+ <title><emphasis role="bold"> <property><b:param></property></emphasis> Component</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Attribute</entry>
+
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>name</entry>
+ <entry>The parameter name. Required.</entry>
+ </row>
+ <row>
+ <entry>value</entry>
+ <entry>The parameter value. Required.</entry>
+ </row>
+
+ <row>
+ <entry>isnull</entry>
+ <entry>Specifies that a report parameter has a null value</entry>
+ </row>
+ <row>
+ <entry>islocale</entry>
+ <entry>Specifies whether the parameter is localized</entry>
+ </row>
+
+ </tbody>
+
+ </tgroup>
+ </table>
+ </section>
+
+
+
+
+
+
+
+</chapter>
Added: trunk/birt/docs/en-US/modules/hibernate_datasource.xml
===================================================================
--- trunk/birt/docs/en-US/modules/hibernate_datasource.xml (rev 0)
+++ trunk/birt/docs/en-US/modules/hibernate_datasource.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,213 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section id="hibernate_datasource">
+
+
+ <title>Using Hibernate ODA Data Source</title>
+
+ <para>The JBoss BIRT Integration feature includes the Hibernate ODA Data Source which is completely
+ integrated with Hibernate Tools. You can use it the way as you would use any of BIRT ODA drivers.
+
+ </para>
+
+<orderedlist>
+ <listitem>
+ <para>First, you need to reverse engineer from the database to generate Seam entities. You can perform this operation going to <emphasis>
+ <property>File > New > Seam Generate Entities</property>
+ </emphasis> in the <property>Seam perspective</property>. More details on the Seam Generate
+ Entities please read <ulink
+ url="http://download.jboss.org/jbosstools/nightly-docs/en/seam/html_single/ind..."
+ >Seam Dev Tools Reference guide</ulink>).
+ In this guide we will use the <property>Employees</property> table of the <property>DATAMODELS</property> database.
+</para>
+
+ <tip>
+ <title>Tip:</title>
+ <para>Before performing Seam Generate Entities, you should have a connection profile
+ adjusted and connected to a database. How to do this see in the <ulink
+ url="http://download.jboss.org/jbosstools/nightly-docs/en/seam/html_single/ind..."
+ >CRUD Database Application</ulink> chapter of the Seam Dev Tools Reference
+ guide.</para>
+ <para>
+ If you followed the steps described in the
+ <link linkend="birt_integration_with_seam">Adding BIRT Functionality to Standard Seam Web Project</link> chapter,
+ you would have a connection profile already configured.
+ </para>
+ </tip>
+ </listitem>
+ <listitem>
+<para>
+ Next you should create a new BIRT report file ( <emphasis>><property>File > New > Other > Business Intelligence and Reporting
+ Tools > Report</property></emphasis>) to represent the data from the <property>Employees</property> table. Call the file <property>employees.rptdesign</property>.
+</para>
+ </listitem>
+
+<listitem>
+
+
+ <para>Now switch to the <property>BIRT Report Design</property> perspective.</para>
+</listitem>
+ <listitem>
+ <para>In the <property>Data Explorer</property> view right-click the <emphasis>
+ <property>Data Source</property>
+ </emphasis> node and choose <emphasis>
+ <property>New Data Source</property>.</emphasis></para>
+
+ <figure>
+ <title>Creating a New Data Source</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/hibernate_datasource/creatingDataSource.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+</listitem>
+ <listitem>
+ <para>The wizard will prompt you to select data source type. Choose <emphasis>
+ <property>Hibernate Data Source</property>
+ </emphasis> and give it a meaningful name, for instance <emphasis>
+ <property>HibernateDataSource</property>
+ </emphasis>. Hit <emphasis>
+ <property>Next</property> to proceed.</emphasis></para>
+
+ <figure>
+ <title>Creating Hibernate Data Source</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/hibernate_datasource/hibernateDataSource.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>On the next wizard's dialog you can leave the everything with default values, press the <emphasis>
+ <property>Test Connection</property>
+ </emphasis> button to verify that the connection is established successfully.</para>
+
+ <para>
+ The <property>Hibernate Data Source</property> enables you to specify a Hibernate Configuration or JNDI URL.
+
+ </para>
+
+ <figure>
+ <title>Hibernate Data Source Profile</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/hibernate_datasource/connectionSuccessful.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>Press <emphasis>
+ <property>Finish</property>
+ </emphasis> to complete <property>New Data Source</property> wizard.</para>
+ </listitem>
+
+ <listitem>
+ <para>Now you need to configure a new Hibernate ODA data set. Launch the
+ <property>New Data Set</property> wizard. In the <property>Data Explorer View</property>
+ right-click the <emphasis>
+ <property>Data Set</property>
+ </emphasis> node and select <emphasis>
+ <property>New Data Set</property>.</emphasis></para>
+
+ </listitem>
+ <listitem>
+ <para>Select <property>HibernateDataSource</property> as target data source and type in the new data set name.
+ Call it <property>HibernateDataSet</property>.</para>
+
+
+
+
+ <figure>
+ <title>Creating a Hibernate ODA Data Set</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/hibernate_datasource/addingHibernateODADataset.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+
+ <para>The next dialog of the wizard will help you compose a query for the new data set.</para>
+ <para>We will make a report that will print all employees in the database who has Sales Rep job title.</para>
+
+ <programlisting role="SQL"><![CDATA[...
+select jobtitle, firstname, lastname, email
+from Employees as employees where employees.jobtitle = 'Sales Rep'
+...]]></programlisting>
+
+
+
+ <para>
+
+ To validate the
+ entered query you can press the <emphasis>
+ <property>Test query</property>
+ </emphasis> button. All the HQL features like syntax highlighting, content assist,
+ formatting, drag-and-drop, etc., are available to facilitate query composing.</para>
+
+ <figure>
+ <title>Composing query for Data Set</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/hibernate_datasource/testingQuery.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+
+ <para>Pressing <property>Finish</property> will call the <property>Edit Data Set</property> dialog where you can adjust the parameters of the data set and preview the resulted set.
+ If everything looks good, hit <property>Ok</property> to generate a new data set.
+ </para>
+ </listitem>
+ <listitem>
+
+ <para>Now you can insert the data set items of <property>HibernateDataSet</property> into the <property>employees.rptdesign</property>.</para>
+
+
+ <tip>
+ <title>Tip:</title>
+ <para>If you don't know how to do this we suggest that you refer to the <ulink
+ url="http://www.eclipse.org/birt/phoenix/tutorial/">Eclipse BIRT Tutorial</ulink>.</para>
+ </tip>
+
+
+<para>You can also use parameters in the query to add dynamics to your report. In the previous example we hardcoded the selection criterion in the <code>where</code> clause. </para>
+ <para>To specify the job title on-the-fly your query should look like this:</para>
+ <programlisting role="XML"><![CDATA[
+select jobtitle,firstname, lastname,email
+from Employees as employees where employees.jobtitle = ?
+]]></programlisting>
+
+ <para>The question mark represents a data set input parameter, which is not the same as a report parameter.
+ Now you need to define an new report parameter to pass the data to the report, call it <code>JobTitle</code>.
+
+
+
+ The dataset parameter can be linked to a report parameter.
+ In the <property>Data Explorer</property> view click the Data Set node to open it and right-click
+ on the data set you created previously( in our case it is <property>HibernateDataSet</property>),
+ choose <property>Edit</property> and navigate to the <property>Parameters</property> section.
+ Declare a new data set parameter, name it <code>jobtitle</code> and map it to the already existing <code>JobTitle</code> report parameter.
+ </para>
+ </listitem>
+ <listitem>
+ <para>You report is ready, you can view it by clicking on the <property>Preview</property> tab of the <property>BIRT Report Designer</property> editor. </para>
+
+
+ <para>You will be prompted to assign a value to the report parameter. For instance you can enter "Sales Rep". </para>
+
+ <figure>
+ <title>Resulted Dynamic Report</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/hibernate_datasource/finalReport.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+</orderedlist>
+</section>
Added: trunk/birt/docs/en-US/modules/introduction.xml
===================================================================
--- trunk/birt/docs/en-US/modules/introduction.xml (rev 0)
+++ trunk/birt/docs/en-US/modules/introduction.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,113 @@
+<?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>JBoss</keyword>
+ <keyword>JBoss Tools</keyword>
+ <keyword>JBDS</keyword>
+ <keyword>BIRT Plugin</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>Introduction</title>
+
+
+
+
+ <section>
+
+ <title>What is BIRT?</title>
+ <para>BIRT plugin 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>You can find more detailed information on the BIRT plugin, its report types and
+ anatomy on the <ulink url="http://www.eclipse.org/birt/phoenix/intro/">BIRT Homepage</ulink>.</para>
+
+ <para>To understand the basic BIRT concepts and to know how to create a basic BIRT report,
+ refer to the <ulink url="http://www.eclipse.org/birt/phoenix/tutorial/">Eclipse BIRT
+ Tutorials</ulink>. What extensions <property>JBoss Tools</property> provides for
+ Eclipse BIRT you'll find out in the next sections.</para>
+ </section>
+
+
+
+ <section>
+ <title>JBoss BIRT Integration Functionality Overview</title>
+
+ <para>
+ The key feature of JBoss BIRT Integration is the JBoss BIRT Integration Framework, which allows to integrate a BIRT report into Seam/JSF container.
+ The framework API reference is in the
+ <link linkend="framework">JBoss BIRT Integraion Framework API Reference</link> chapter of the guide.
+ </para>
+ <para>
+
+ This guide also covers functionality of <property>JBoss Tools</property> module which assists in
+ integration with BIRT.
+ The integration plug-in allows you to visually configure <property>Hibernate Data Source</property> (specify a Hibernate configuration or JNDI URL),
+ compose HQL queries with syntax-highlighting, content-assist, formatting as well as other functionalities available in the HQL editor.
+
+
+ </para>
+
+ <para>
+ To enable <property>JBoss Tools</property> integration with BIRT you are intended to
+ have the next:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>Eclipse with <property>JBoss Tools</property>
+ installed (how to install <property>JBoss Tools</property> on Eclipse, what
+ dependences and versions requirements are needed reed in the <ulink
+ url="&gsglink;#JBossToolsInstall"
+ >JBoss Tools Installation</ulink> section)</para>
+ </listitem>
+ <listitem>
+ <para>BIRT Report Designer (BIRT Report Designer 2.3.2
+ you can download from <ulink
+ url="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/..."
+ >Eclipse downloads site</ulink>)</para>
+ </listitem>
+ <listitem>
+ <para>BIRT Web Tools Integration ( BIRT WTP Integration 2.3.2 you can download from
+ <ulink
+ url="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/..."
+ >Eclipse downloads site</ulink>)</para>
+ </listitem>
+ </itemizedlist>
+
+ <note>
+ <title>Note:</title>
+ <para>Versions of BIRT framework and BIRT WTP integration should be no less than RC4 in
+ order to the BIRT facet works correctly.</para>
+ </note>
+ </section>
+
+
+
+</chapter>
Added: trunk/birt/docs/en-US/modules/links.xml
===================================================================
--- trunk/birt/docs/en-US/modules/links.xml (rev 0)
+++ trunk/birt/docs/en-US/modules/links.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,23 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<chapter id="birt_plugin_rel_resources" xreflabel="birt_plugin_rel_resources">
+ <?dbhtml filename="links.html"?>
+ <chapterinfo>
+ <keywordset>
+
+ <keyword>Eclipse</keyword>
+ <keyword>JBoss</keyword>
+ <keyword>JBoss Tools</keyword>
+ <keyword>BIRT Integration</keyword>
+ </keywordset>
+ </chapterinfo>
+
+
+ <title>Other Relevant Resources on the Topic</title>
+
+ <para>All JBoss Developer Studio/JBoss Tools release documentation you can find at <ulink url="http://docs.jboss.org/tools/">http://docs.jboss.org/tools</ulink> in the corresponding release directory.</para>
+ <para>The latest documentation builds are available at <ulink url="http://download.jboss.org/jbosstools/nightly-docs/">http://download.jboss.org/jbosstools/nightly-docs</ulink>.
+
+</para>
+
+</chapter>
Added: trunk/birt/docs/en-US/modules/tasks.xml
===================================================================
--- trunk/birt/docs/en-US/modules/tasks.xml (rev 0)
+++ trunk/birt/docs/en-US/modules/tasks.xml 2010-04-15 20:02:26 UTC (rev 21507)
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<chapter id="tasks" xreflabel="tasks">
+ <?dbhtml filename="tasks.html"?>
+ <chapterinfo>
+ <keywordset>
+
+ <keyword>Eclipse</keyword>
+ <keyword>JBoss</keyword>
+ <keyword>JBoss Tools</keyword>
+ <keyword>BIRT Integration</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>Tasks</title>
+ <para> In this chapter of the guide you will find information on the tasks that you can perform integrating BIRT. The required version of BIRT is 2.3.2 or greater.</para>
+
+
+
+
+ &birt_integration_with_seam;
+ &hibernate_datasource;
+ &birt_reports_deployment;
+
+
+</chapter>
14 years, 9 months
JBoss Tools SVN: r21506 - trunk/birt/docs.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2010-04-15 15:56:24 -0400 (Thu, 15 Apr 2010)
New Revision: 21506
Removed:
trunk/birt/docs/en/
Log:
TOOLSDOC-50 - Building docs with maven 3.0 - need to change the folder name to en-US as in other guides
14 years, 9 months
JBoss Tools SVN: r21505 - in trunk: birt/docs and 24 other directories.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2010-04-15 15:45:43 -0400 (Thu, 15 Apr 2010)
New Revision: 21505
Modified:
trunk/as/docs/reference/pom.xml
trunk/birt/docs/pom.xml
trunk/bpel/docs/reference/pom.xml
trunk/documentation/guides/Beginners_Guide/pom.xml
trunk/documentation/guides/Exadel-migration/pom.xml
trunk/documentation/guides/GettingStartedGuide/pom.xml
trunk/documentation/jboss-tools-docs/all-guides.xml
trunk/documentation/jboss-tools-docs/index/pom.xml
trunk/documentation/jboss-tools-docs/pom.xml
trunk/documentation/jbosstools-docbook-xslt/pom.xml
trunk/documentation/jbosstools-jdocbook-style/pom.xml
trunk/drools/docs/guvnor_ref/pom.xml
trunk/drools/docs/reference/pom.xml
trunk/esb/docs/esb_ref_guide/pom.xml
trunk/hibernatetools/docs/reference/pom.xml
trunk/jbpm/docs/converter_ref/pom.xml
trunk/jbpm/docs/reference/pom.xml
trunk/jmx/docs/reference/pom.xml
trunk/jsf/docs/jsf_tools_ref_guide/pom.xml
trunk/jsf/docs/jsf_tools_tutorial/pom.xml
trunk/jsf/docs/userguide/pom.xml
trunk/portlet/docs/reference/pom.xml
trunk/seam/docs/reference/pom.xml
trunk/smooks/docs/reference/pom.xml
trunk/struts/docs/struts_tools_ref_guide/pom.xml
trunk/struts/docs/struts_tools_tutorial/pom.xml
trunk/ws/docs/reference/pom.xml
Log:
TOOLSDOC-50 - Building docs with maven 3.0 - initial version of docs built with both mavens and nightly docs profile is provided
Modified: trunk/as/docs/reference/pom.xml
===================================================================
--- trunk/as/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/as/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,100 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>as-ref-guide-${translation}</artifactId>
+ <artifactId>as-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>AS_Reference_Guide</name>
-
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -106,14 +84,13 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
-
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -127,7 +104,7 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -142,7 +119,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -160,14 +166,12 @@
<url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
<properties>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/birt/docs/pom.xml
===================================================================
--- trunk/birt/docs/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/birt/docs/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,117 +5,95 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>birt-reference-guide-${translation}</artifactId>
+ <artifactId>birt-reference-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Birt_Reference_Guide</name>
-
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
-
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
-
-
-
- <configuration>
+ <configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
- <imageResource>
- <directory>${pom.basedir}/en</directory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
+ <imageResource>
+ <directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
<include>files/*</include>
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
-
- <formats>
- <format>
- <formatName>pdf</formatName>
+
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -129,10 +107,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -140,8 +119,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -161,13 +171,11 @@
</distributionManagement>
<properties>
- <stylesdir>../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/bpel/docs/reference/pom.xml
===================================================================
--- trunk/bpel/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/bpel/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -4,103 +4,95 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>BPEL_Guide</artifactId>
- <version>1</version>
+ <artifactId>BPEL_Guide-en-US</artifactId>
+ <version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JBoss BPEL User Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
+
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
- <directory>${pom.basedir}/en</directory>
+ <directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
+ <include>files/*</include>
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -114,11 +106,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -126,8 +118,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -147,12 +170,12 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/documentation/guides/Beginners_Guide/pom.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/guides/Beginners_Guide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,85 +5,73 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>beginers-guide${translation}</artifactId>
+ <artifactId>beginers-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Beginners_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+ <dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
-
+ </dependencies>
<configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -91,14 +79,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -112,7 +100,7 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -126,9 +114,38 @@
</options>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
-
<distributionManagement>
<repository>
<!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
@@ -143,15 +160,12 @@
<url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <translation>en-US</translation>
- </properties>
-
-
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/documentation/guides/Exadel-migration/pom.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/guides/Exadel-migration/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -1,162 +1,170 @@
<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">
+ 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>
+ <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.tools</groupId>
- <artifactId>exadel-studio-migration-guide${translation}</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jdocbook</packaging>
- <name>Exadel_Studio_Migration_Guide</name>
-
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
-
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
- <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>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
- <imageResource>
- <directory>${pom.basedir}/en-US</directory>
- <includes>
- <include>images/**/*</include>
- </includes>
- </imageResource>
- <cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>exadel-studio-migration-guide-en-US</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>Exadel_Studio_Migration_Guide</name>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/com/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>
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
- <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>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.1</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
+ <imageResource>
+ <directory>${pom.basedir}/en-US</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <cssResource>
+ <directory>${cssdir}</directory>
+ </cssResource>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <docbookVersion>1.72.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
- <properties>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <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>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/documentation/guides/GettingStartedGuide/pom.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/guides/GettingStartedGuide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,83 +5,76 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>getting-started-guide-${translation}</artifactId>
+ <artifactId>getting-started-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Getting_Started_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
-
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
</dependencies>
- <configuration>
+ <configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -90,32 +83,30 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
-
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
-
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
<options>
<useRelativeImageUris>
true
@@ -128,19 +119,60 @@
</options>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </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>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/documentation/jboss-tools-docs/all-guides.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/all-guides.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/jboss-tools-docs/all-guides.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -1,374 +1,349 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<assembly>
- <id>all-guides</id>
-
- <formats>
- <format>dir</format>
- </formats>
- <includeBaseDirectory>false</includeBaseDirectory>
-<!--
- <moduleSets>
- <moduleSet>
- <includes>
- <include>org.jboss.tools:exadel-migration-${translation}</include>
- </includes>
- <binaries>
- <outputDirectory></outputDirectory>
- <unpack>true</unpack>
- </binaries>
- </moduleSet>
- </moduleSets>
- -->
- <fileSets>
- <fileSet>
- <directory>index/target/docbook/publish/en-US/html_single/</directory>
- <outputDirectory>../</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>index.html</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>index/target/docbook/publish/en-US/html_single/</directory>
- <outputDirectory>../</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <excludes>
- <exclude>index.html</exclude>
- </excludes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../guides/Exadel-migration/target/docbook/publish/en-US</directory>
- <outputDirectory>/Exadel-migration</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../guides/GettingStartedGuide/target/docbook/publish/en-US</directory>
- <outputDirectory>/GettingStartedGuide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>all-guides</id>
+
+ <formats>
+ <format>dir</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>../guides/Exadel-migration/target/docbook/publish/en-US</directory>
+ <outputDirectory>/Exadel-migration</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</fileSet>
- <fileSet>
- <directory>../guides/Beginners_Guide/target/docbook/publish/en-US</directory>
- <outputDirectory>/beginners_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <!--fileSet>
- <directory>../guides/GettingStartedGuide/en</directory>
- <outputDirectory>/GettingStartedGuide</outputDirectory>
- <filtered>false</filtered>
- <includes>
- <include>database.zip</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet-->
- <fileSet>
- <directory>../guides/Legacy-jsf-struts/target/docbook/publish/en-US</directory>
- <outputDirectory>/Legacy-jsf-struts</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../as/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/as</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../hibernatetools/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/hibernatetools</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../jbpm/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_jbpm_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../jbpm/docs/converter_ref/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_bpmn_convert_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../jsf/docs/userguide/target/docbook/publish/en-US</directory>
- <outputDirectory>/jsf</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../seam/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/seam</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../jsf/docs/jsf_tools_ref_guide/target/docbook/publish/en-US</directory>
- <outputDirectory>/jsf_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../jsf/docs/jsf_tools_tutorial/target/docbook/publish/en-US</directory>
- <outputDirectory>/jsf_tools_tutorial</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../struts/docs/struts_tools_tutorial/target/docbook/publish/en-US</directory>
- <outputDirectory>/struts_tools_tutorial</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../struts/docs/struts_tools_ref_guide/target/docbook/publish/en-US</directory>
- <outputDirectory>/struts_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../esb/docs/esb_ref_guide/target/docbook/publish/en-US</directory>
- <outputDirectory>/esb_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../ws/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/ws_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../portlet/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_portal_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../birt/docs/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_birt_plugin_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../drools/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/drools_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../drools/docs/guvnor_ref/target/docbook/publish/en-US</directory>
- <outputDirectory>/guvnor_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../smooks/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_smooks_plugin_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../jmx/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jmx_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
-
- <fileSet>
- <directory>../../bpel/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/bpel_user_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- </fileSets>
-
-</assembly>
+ <fileSet>
+ <directory>index/target/docbook/publish/en-US/html_single/</directory>
+ <outputDirectory>../</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <!-- Maybe it is unnecessary fileSet and it could be removed at all? -->
+ <!--fileSet>
+ <directory>../guides/GettingStartedGuide/en</directory>
+ <outputDirectory>/GettingStartedGuide</outputDirectory>
+ <filtered>false</filtered>
+ <includes>
+ <include>database.zip</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet-->
+
+ <fileSet>
+ <directory>../guides/GettingStartedGuide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/GettingStartedGuide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../guides/Beginners_Guide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/beginners_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../guides/Legacy-jsf-struts/target/docbook/publish/en-US</directory>
+ <outputDirectory>/Legacy-jsf-struts</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../as/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/as</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../hibernatetools/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/hibernatetools</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jbpm/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_jbpm_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jbpm/docs/converter_ref/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_bpmn_convert_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jsf/docs/userguide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jsf</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../seam/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/seam</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jsf/docs/jsf_tools_ref_guide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jsf_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../jsf/docs/jsf_tools_tutorial/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jsf_tools_tutorial</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../struts/docs/struts_tools_tutorial/target/docbook/publish/en-US</directory>
+ <outputDirectory>/struts_tools_tutorial</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../struts/docs/struts_tools_ref_guide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/struts_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../esb/docs/esb_ref_guide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/esb_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../ws/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/ws_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../portlet/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_portal_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../birt/docs/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_birt_plugin_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../drools/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/drools_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../drools/docs/guvnor_ref/target/docbook/publish/en-US</directory>
+ <outputDirectory>/guvnor_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../smooks/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_smooks_plugin_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../jmx/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jmx_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+
+ <fileSet>
+ <directory>../../bpel/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/bpel_user_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ </fileSets>
+
+</assembly>
\ No newline at end of file
Modified: trunk/documentation/jboss-tools-docs/index/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/jboss-tools-docs/index/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -3,69 +3,92 @@
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>all-guides-index</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>All_Userguides_index</name>
-
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</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>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
-
<configuration>
<sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
- <directory>${pom.basedir}/en</directory>
+ <directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
-
<formats>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml-single.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/com/jboss/tools/xhtml-single.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>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
-
+
<distributionManagement>
<repository>
<!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
@@ -80,11 +103,10 @@
<url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
+
<properties>
- <stylesdir>../../jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <cssdir>../../jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<translation>en-US</translation>
- </properties>
+ </properties>
-</project>
+</project>
\ No newline at end of file
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -11,9 +11,7 @@
<name>All_Userguides</name>
<modules>
- <!--<module>../jbosstools-docbook-xslt</module>
- <module>../jbosstools-jdocbook-style</module>-->
- <module>../guides/Exadel-migration</module>
+ <module>../guides/Exadel-migration</module>
<module>../guides/GettingStartedGuide</module>
<module>../guides/Beginners_Guide</module>
<module>../../as/docs/reference</module>
@@ -35,14 +33,11 @@
<module>../../jbpm/docs/converter_ref</module>
<module>../../jmx/docs/reference</module>
<module>../../bpel/docs/reference</module>
-
-
<module>index</module>
</modules>
<build>
<plugins>
-
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-2</version>
@@ -56,7 +51,36 @@
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -64,4 +88,4 @@
<translation>en-US</translation>
</properties>
-</project>
+</project>
\ No newline at end of file
Modified: trunk/documentation/jbosstools-docbook-xslt/pom.xml
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/jbosstools-docbook-xslt/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -1,4 +1,4 @@
-<project xmlns="http://maven.apache.org/POM/4.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">
@@ -10,62 +10,53 @@
<version>1.0.0-SNAPSHOT</version>
<name>JBoss Tools DocBook XSLT</name>
- <description>The main project to transform DocBook XML into XHTML and other formats for JBoss Tools Documentation.</description>
+ <description>The main project to transform DocBook XML into XHTML and other formats for JBoss Tools Documentation.
+ </description>
<url>http://www.jboss.org/tools/</url>
<contributors>
- <contributor>
- <name>Mark Newton</name>
- <email>mark.newton(a)jboss.org</email>
- <organization>Red Hat</organization>
- <roles>
- <role>Content Lead</role>
- </roles>
- <timezone>+1</timezone>
- </contributor>
+ <contributor>
+ <name>Mark Newton</name>
+ <email>mark.newton(a)jboss.org</email>
+ <organization>Red Hat</organization>
+ <roles>
+ <role>Content Lead</role>
+ </roles>
+ <timezone>+1</timezone>
+ </contributor>
</contributors>
- <scm>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbosstools/trunk/documentation/jbosst...</developerConnection>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbosstools/trunk/documentation/jbo...</connection>
- </scm>
-
+ <scm>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbosstools/trunk/documentation/jbosst...
+ </developerConnection>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbosstools/trunk/documentation/jbo...
+ </connection>
+ </scm>
<dependencies>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0.Beta1</version>
+ <scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>com.jboss</groupId>
+ <artifactId>jbossent-docbook-xslt</artifactId>
+ <version>1.0.0.Beta1</version>
+ <scope>compile</scope>
+ </dependency>
</dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0.Beta1</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ <version>1.0-beta-2</version>
+ </extension>
+ </extensions>
+ </build>
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav</artifactId>
- <version>1.0-beta-2</version>
- </extension>
- </extensions>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
<distributionManagement>
<repository>
<!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
@@ -80,5 +71,10 @@
<url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
-</project>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>repository.sonatype.org</id>
+ <url>http://repository.sonatype.org/content/groups/public</url>
+ </pluginRepository>
+ </pluginRepositories>
+</project>
\ No newline at end of file
Modified: trunk/documentation/jbosstools-jdocbook-style/pom.xml
===================================================================
--- trunk/documentation/jbosstools-jdocbook-style/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/jbosstools-jdocbook-style/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -19,29 +19,54 @@
</organization>
<contributors>
- <contributor>
- <name>Mark Newton</name>
- <email>mark.newton(a)jboss.org</email>
- <organization>Red Hat</organization>
- <roles>
- <role>Content Lead</role>
- </roles>
- <timezone>+1</timezone>
- </contributor>
+ <contributor>
+ <name>Mark Newton</name>
+ <email>mark.newton(a)jboss.org</email>
+ <organization>Red Hat</organization>
+ <roles>
+ <role>Content Lead</role>
+ </roles>
+ <timezone>+1</timezone>
+ </contributor>
</contributors>
- <scm>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbosstools/trunk/documentation/jbosst...</developerConnection>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbosstools/trunk/documentation/jbo...</connection>
- </scm>
-
+ <scm>
+ <developerConnection>
+ scm:svn:https://svn.jboss.org/repos/jbosstools/trunk/documentation/jbosst...
+ </developerConnection>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbosstools/trunk/documentation/jbo...
+ </connection>
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.jboss</groupId>
+ <artifactId>jbossent-jdocbook-style</artifactId>
+ <version>1.0.0.Beta1</version>
+ <type>jdocbook-style</type>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.0.Beta1</version>
+ <type>jdocbook-style</type>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-style-plugin</artifactId>
- <version>1.0.0</version>
+ <version>2.0.0</version>
<extensions>true</extensions>
+ <configuration>
+ <cssSourceDirectory>
+ ${pom.basedir}/src/main
+ </cssSourceDirectory>
+ </configuration>
</plugin>
</plugins>
</build>
@@ -61,4 +86,4 @@
</snapshotRepository>
</distributionManagement>
-</project>
+</project>
\ No newline at end of file
Modified: trunk/drools/docs/guvnor_ref/pom.xml
===================================================================
--- trunk/drools/docs/guvnor_ref/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/drools/docs/guvnor_ref/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>guvnor-tools-ref-guide-${translation}</artifactId>
+ <artifactId>guvnor-tools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Guvnor_Tools_Reference_Guide</name>
@@ -35,7 +35,7 @@
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
<profile>
@@ -48,18 +48,24 @@
</properties>
</profile>
</profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+ <dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
<artifactId>jbosstools-docbook-xslt</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
@@ -68,33 +74,13 @@
<artifactId>jbossent-docbook-xslt</artifactId>
<version>1.0.0</version>
</dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -102,14 +88,13 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
-
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -123,7 +108,7 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -138,7 +123,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -156,13 +170,12 @@
<url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
- <properties>
+ <properties>
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ </properties>
</project>
Modified: trunk/drools/docs/reference/pom.xml
===================================================================
--- trunk/drools/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/drools/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>drools-tools-ref-guide-${translation}</artifactId>
+ <artifactId>drools-tools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Drools_Tools_Reference_Guide</name>
@@ -36,7 +36,7 @@
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
<profile>
@@ -55,47 +55,28 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
+
</dependencies>
<configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -103,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -124,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -139,7 +120,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -158,13 +168,12 @@
</snapshotRepository>
</distributionManagement>
- <properties>
+ <properties>
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ </properties>
</project>
Modified: trunk/esb/docs/esb_ref_guide/pom.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/esb/docs/esb_ref_guide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>esb-reference-guide-${translation}</artifactId>
+ <artifactId>esb-reference-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>ESB_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
-
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
- <formats>
+ <formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,10 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -126,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -147,13 +169,12 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/hibernatetools/docs/reference/pom.xml
===================================================================
--- trunk/hibernatetools/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/hibernatetools/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,87 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>hibernatetools-ref-guide-${translation}</artifactId>
+ <artifactId>hibernatetools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernatetools_Reference_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
+<profiles>
<profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
+
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -93,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -114,12 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -127,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -148,13 +169,11 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jbpm/docs/converter_ref/pom.xml
===================================================================
--- trunk/jbpm/docs/converter_ref/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jbpm/docs/converter_ref/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,85 +5,77 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>converter-ref-guide${translation}</artifactId>
+ <artifactId>converter-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Converter_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
+
+
+ </dependencies>
<configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -91,14 +83,13 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
-
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -112,11 +103,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -124,8 +115,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -143,15 +165,12 @@
<url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <translation>en-US</translation>
- </properties>
-
-
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jbpm/docs/reference/pom.xml
===================================================================
--- trunk/jbpm/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jbpm/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,87 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>jbpm-ref-guide${translation}</artifactId>
+ <artifactId>jbpm-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JBPM_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
-
- </dependency>
+
+
</dependencies>
+
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -93,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -114,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -126,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -147,13 +169,12 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jmx/docs/reference/pom.xml
===================================================================
--- trunk/jmx/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jmx/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,99 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>jmx-tools-ref-guide-${translation}</artifactId>
+ <artifactId>jmx-tools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JMX_Tools_Reference_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -105,30 +84,30 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
</formats>
<options>
@@ -141,7 +120,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -163,10 +171,9 @@
<properties>
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jsf/docs/jsf_tools_ref_guide/pom.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jsf/docs/jsf_tools_ref_guide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>jsf-tools-reference-guide-${translation}</artifactId>
+ <artifactId>jsf-tools-reference-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JSF_Tools_Reference_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -127,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -148,13 +169,11 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jsf/docs/jsf_tools_tutorial/pom.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jsf/docs/jsf_tools_tutorial/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>jsf-tools-tutorial-${translation}</artifactId>
+ <artifactId>jsf-tools-tutorial-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JSF_Tools_Tutorial</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
- <sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
- <format>
- <formatName>pdf</formatName>
+ <format>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -127,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -148,13 +169,11 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jsf/docs/userguide/pom.xml
===================================================================
--- trunk/jsf/docs/userguide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jsf/docs/userguide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,77 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>visua-web-tools-guide-${translation}</artifactId>
+ <artifactId>visua-web-tools-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Visual_Web_Tools_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +83,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
- <format>
- <formatName>pdf</formatName>
+ <format>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,7 +104,7 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -129,16 +118,60 @@
</options>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </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>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/portlet/docs/reference/pom.xml
===================================================================
--- trunk/portlet/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/portlet/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>portal-tools-ref-guide-${translation}</artifactId>
+ <artifactId>portal-tools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JBoss_Portal_Tools_Reference_Guide</name>
@@ -36,7 +36,7 @@
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
<profile>
@@ -49,57 +49,35 @@
</properties>
</profile>
</profiles>
-
-
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
-
<dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -107,30 +85,30 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
</formats>
<options>
@@ -143,7 +121,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -167,10 +174,8 @@
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
-
+ </properties>
</project>
Modified: trunk/seam/docs/reference/pom.xml
===================================================================
--- trunk/seam/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/seam/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>seam-ref-guide-${translation}</artifactId>
+ <artifactId>seam-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Seam_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -127,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -148,12 +169,12 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/smooks/docs/reference/pom.xml
===================================================================
--- trunk/smooks/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/smooks/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,112 +5,95 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>smooks-ref-guide-${translation}</artifactId>
+ <artifactId>smooks-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Smooks_Reference_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
+
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
+ <include>files/*</include>
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
- <formats>
+ <formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -124,11 +107,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -136,8 +119,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -158,10 +172,10 @@
<properties>
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/struts/docs/struts_tools_ref_guide/pom.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/struts/docs/struts_tools_ref_guide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,87 +5,77 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>struts-tools-reference-guide-${translation}</artifactId>
+ <artifactId>struts-tools-reference-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Struts_Tools_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency> </dependencies>
+
+
+ </dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -93,14 +83,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
- <format>
- <formatName>pdf</formatName>
+ <format>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -114,11 +104,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -126,8 +116,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -147,12 +168,11 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/struts/docs/struts_tools_tutorial/pom.xml
===================================================================
--- trunk/struts/docs/struts_tools_tutorial/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/struts/docs/struts_tools_tutorial/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>struts-tools-tutorial-${translation}</artifactId>
+ <artifactId>struts-tools-tutorial-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Struts_Tools_Tutorial</name>
@@ -36,7 +36,7 @@
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
<profile>
@@ -49,54 +49,33 @@
</properties>
</profile>
</profiles>
-
-
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -104,14 +83,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -125,11 +104,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -137,8 +116,39 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -158,12 +168,12 @@
</distributionManagement>
<properties>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/ws/docs/reference/pom.xml
===================================================================
--- trunk/ws/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/ws/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -1,101 +1,82 @@
-<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>ws-ref-guide-${translation}</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jdocbook</packaging>
- <name>WS_Reference_Guide</name>
-
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <!-- <master>master_output.xml</master> -->
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <!-- <master>master_output.xml</master> -->
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <!-- <master>master_output.xml</master> -->
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <!-- <master>master_output.xml</master> -->
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
- <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.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
-
- <configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+<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>ws-ref-guide-en-US</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>WS_Reference_Guide</name>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.1</version>
+ <extensions>true</extensions>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+
+
+ </dependencies>
+
+ <configuration>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -103,68 +84,96 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
-
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/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>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>JBoss_Web_Services_User_Guide</master>
- <translation>en-US</translation>
- </properties>
-
-</project>
+ <directory>${cssdir}</directory>
+ </cssResource>
+
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/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>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </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>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
+</project>
14 years, 9 months
JBoss Tools SVN: r21504 - branches/modular_build.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-15 14:58:36 -0400 (Thu, 15 Apr 2010)
New Revision: 21504
Modified:
branches/modular_build/build.xml
Log:
fix delimiter
Modified: branches/modular_build/build.xml
===================================================================
--- branches/modular_build/build.xml 2010-04-15 18:57:08 UTC (rev 21503)
+++ branches/modular_build/build.xml 2010-04-15 18:58:36 UTC (rev 21504)
@@ -79,7 +79,8 @@
</target>
<target name="genpoms">
- <for param="COMPONENT" list="${COMPONENTS}" delimiter=",">
+ <for param="COMPONENT" list="${COMPONENTS}" delimiter=",
+ ">
<sequential>
<ant antfile="genpom.xml" target="run">
<property name="WORKINGDIR" value="${WORKINGDIR}/@{COMPONENT}" />
@@ -92,7 +93,8 @@
<target name="install">
<!-- could set -Dmaven.test.skip to skip tests, etc. -->
<property name="MAVEN_FLAGS" value="" />
- <for param="COMPONENT" list="${COMPONENTS}" delimiter=",">
+ <for param="COMPONENT" list="${COMPONENTS}" delimiter=",
+ ">
<sequential>
<echo level="verbose">Exe: ${COMMON_TOOLS}/apache-maven-${maven.version}/bin/mvn</echo>
<echo level="verbose">Pom: ${WORKINGDIR}/(a){COMPONENT}/pom.xml</echo>
14 years, 9 months