JBoss Tools SVN: r8350 - trunk/esb/docs/esb_ref_guide.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-05-27 06:42:18 -0400 (Tue, 27 May 2008)
New Revision: 8350
Modified:
trunk/esb/docs/esb_ref_guide/pom.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - paths correction
Modified: trunk/esb/docs/esb_ref_guide/pom.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/pom.xml 2008-05-27 10:40:19 UTC (rev 8349)
+++ trunk/esb/docs/esb_ref_guide/pom.xml 2008-05-27 10:42:18 UTC (rev 8350)
@@ -10,21 +10,14 @@
<packaging>jdocbook</packaging>
<name>ESB_Reference_Guide</name>
-<!--dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
-</dependencies-->
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0</version>
+ <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
<extensions>true</extensions>
+
<dependencies>
<dependency>
<groupId>org.jboss</groupId>
@@ -38,6 +31,7 @@
<type>jdocbook-style</type>
</dependency>
</dependencies>
+
<configuration>
<sourceDocumentName>master.xml</sourceDocumentName>
<sourceDirectory>${pom.basedir}/en</sourceDirectory>
@@ -47,28 +41,29 @@
<include>images/**/*</include>
</includes>
</imageResource>
- <!--<cssResource>
- <directory>src/main/css</directory>
- </cssResource>-->
+ <cssResource>
+ <directory>${pom.basedir}/${cssdir}</directory>
+ </cssResource>
+
<formats>
<format>
<formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/pdf.xsl</stylesheetResource>
<finalName>${pom.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml-single.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -100,8 +95,9 @@
</distributionManagement>
<properties>
+ <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
+ <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css</cssdir>
<translation>en-US</translation>
</properties>
-
</project>
17 years, 7 months
JBoss Tools SVN: r8349 - trunk/documentation/guides/GettingStartedGuide.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-05-27 06:40:19 -0400 (Tue, 27 May 2008)
New Revision: 8349
Modified:
trunk/documentation/guides/GettingStartedGuide/pom.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - paths correction
Modified: trunk/documentation/guides/GettingStartedGuide/pom.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/pom.xml 2008-05-27 10:39:50 UTC (rev 8348)
+++ trunk/documentation/guides/GettingStartedGuide/pom.xml 2008-05-27 10:40:19 UTC (rev 8349)
@@ -11,12 +11,14 @@
<name>Getting_Started_Guide</name>
<build>
+
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
<extensions>true</extensions>
+
<dependencies>
<dependency>
<groupId>com.jboss</groupId>
@@ -35,7 +37,9 @@
<version>1.1.0</version>
<type>jdocbook-style</type>
</dependency>
+
</dependencies>
+
<configuration>
<sourceDocumentName>master.xml</sourceDocumentName>
<sourceDirectory>${pom.basedir}/en</sourceDirectory>
@@ -46,32 +50,37 @@
<include>database.zip</include>
</includes>
</imageResource>
- <!--<cssResource>
- <directory>src/main/css</directory>
- </cssResource>-->
+ <cssResource>
+ <directory>${pom.basedir}/${cssdir}</directory>
+ </cssResource>
+
<formats>
<format>
<formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/com/jboss/pdf.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/pdf.xsl</stylesheetResource>
<finalName>${pom.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/com/jboss/xhtml.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/xhtml.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/com/jboss/xhtml-single.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/xhtml-single.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/com/jboss/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
+
<options>
+ <useRelativeImageUris>
+ true
+ </useRelativeImageUris>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
<!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
@@ -81,9 +90,13 @@
</configuration>
</plugin>
</plugins>
+
</build>
<properties>
+ <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+ <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
<translation>en-US</translation>
- </properties>
+ </properties>
+
</project>
17 years, 7 months
JBoss Tools SVN: r8348 - trunk/documentation/guides/Exadel-migration.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-05-27 06:39:50 -0400 (Tue, 27 May 2008)
New Revision: 8348
Modified:
trunk/documentation/guides/Exadel-migration/pom.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - paths correction
Modified: trunk/documentation/guides/Exadel-migration/pom.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/pom.xml 2008-05-27 10:39:17 UTC (rev 8347)
+++ trunk/documentation/guides/Exadel-migration/pom.xml 2008-05-27 10:39:50 UTC (rev 8348)
@@ -29,12 +29,12 @@
<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</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.0</version>
+ <type>jdocbook-style</type>
+ </dependency>
</dependencies>
<configuration>
<sourceDocumentName>master.xml</sourceDocumentName>
@@ -45,36 +45,29 @@
<include>images/**/*</include>
</includes>
</imageResource>
- <!--<cssResource>
- <directory>src/main/css</directory>
- </cssResource>-->
+ <cssResource>
+ <directory>${pom.basedir}/${cssdir}</directory>
+ </cssResource>
+
<formats>
<format>
<formatName>pdf</formatName>
- <stylesheetResource>
- classpath:/xslt/com/jboss/pdf.xsl
- </stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/pdf.xsl</stylesheetResource>
<finalName>${pom.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
- <stylesheetResource>
- classpath:/xslt/com/jboss/xhtml.xsl
- </stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/xhtml.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>
- classpath:/xslt/com/jboss/xhtml-single.xsl
- </stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/xhtml-single.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>
- classpath:/xslt/com/jboss/eclipse.xsl
- </stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -106,7 +99,9 @@
</distributionManagement>
<properties>
+ <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+ <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
<translation>en-US</translation>
- </properties>
+ </properties>
</project>
17 years, 7 months
JBoss Tools SVN: r8347 - trunk/as/docs/reference.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-05-27 06:39:17 -0400 (Tue, 27 May 2008)
New Revision: 8347
Modified:
trunk/as/docs/reference/pom.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - paths correction
Modified: trunk/as/docs/reference/pom.xml
===================================================================
--- trunk/as/docs/reference/pom.xml 2008-05-27 10:37:52 UTC (rev 8346)
+++ trunk/as/docs/reference/pom.xml 2008-05-27 10:39:17 UTC (rev 8347)
@@ -15,8 +15,10 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0</version>
+ <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+
<extensions>true</extensions>
+
<dependencies>
<dependency>
<groupId>org.jboss</groupId>
@@ -29,7 +31,8 @@
<version>1.1.0</version>
<type>jdocbook-style</type>
</dependency>
- </dependencies>
+ </dependencies>
+
<configuration>
<sourceDocumentName>master.xml</sourceDocumentName>
<sourceDirectory>${pom.basedir}/en</sourceDirectory>
@@ -39,31 +42,33 @@
<include>images/**/*</include>
</includes>
</imageResource>
- <!--<cssResource>
- <directory>src/main/css</directory>
- </cssResource>-->
+ <cssResource>
+ <directory>${pom.basedir}/${cssdir}</directory>
+ </cssResource>
+
<formats>
<format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <formatName>pdf</formatName>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/pdf.xsl</stylesheetResource>
<finalName>${pom.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml-single.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -71,8 +76,10 @@
<!-- could also locate the docbook dependency and inspect its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+
</plugins>
</build>
@@ -92,8 +99,9 @@
</distributionManagement>
<properties>
+ <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+ <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
<translation>en-US</translation>
</properties>
-
</project>
17 years, 7 months
JBoss Tools SVN: r8346 - trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-05-27 06:37:52 -0400 (Tue, 27 May 2008)
New Revision: 8346
Modified:
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/xhtml.xsl
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - paths correction
Modified: trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl 2008-05-27 10:35:34 UTC (rev 8345)
+++ trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl 2008-05-27 10:37:52 UTC (rev 8346)
@@ -11,4 +11,7 @@
<xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
<xsl:import href="common.xsl"/>
+ <!-- Ignore image scaling in html version -->
+ <xsl:param name="ignore.image.scaling" select="1"/>
+
</xsl:stylesheet>
Modified: trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/xhtml.xsl
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/xhtml.xsl 2008-05-27 10:35:34 UTC (rev 8345)
+++ trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/xhtml.xsl 2008-05-27 10:37:52 UTC (rev 8346)
@@ -10,5 +10,5 @@
<xsl:import href="classpath:/xslt/org/jboss/xhtml.xsl"/>
<xsl:import href="common.xsl"/>
-
+
</xsl:stylesheet>
17 years, 7 months
JBoss Tools SVN: r8345 - in trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt: com and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-05-27 06:35:34 -0400 (Tue, 27 May 2008)
New Revision: 8345
Added:
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/fo-images-scaling.xsl
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/common.xsl
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/eclipse.xsl
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/pdf.xsl
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/xhtml-single.xsl
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/xhtml.xsl
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - adding 'com' folder to point to Community stylesheets
Added: trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/fo-images-scaling.xsl
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/fo-images-scaling.xsl (rev 0)
+++ trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/fo-images-scaling.xsl 2008-05-27 10:35:34 UTC (rev 8345)
@@ -0,0 +1,213 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY lowercase "'abcdefghijklmnopqrstuvwxyz'">
+<!ENTITY uppercase "'ABCDEFGHIJKLMNOPQRSTUVWXYZ'">
+ ]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory"
+ xmlns:xtext="com.nwalsh.xalan.Text"
+ xmlns:lxslt="http://xml.apache.org/xslt"
+ exclude-result-prefixes="xlink stext xtext lxslt"
+ extension-element-prefixes="stext xtext"
+ version='1.0'>
+
+
+<!-- ==================================================================== -->
+<!-- Override these templates for FO -->
+<!-- ==================================================================== -->
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/lib/lib.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/graphics.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/pi.xsl"/>
+
+<xsl:template name="process.image">
+ <!-- When this template is called, the current node should be -->
+ <!-- a graphic, inlinegraphic, imagedata, or videodata. All -->
+ <!-- those elements have the same set of attributes, so we can -->
+ <!-- handle them all in one place. -->
+
+ <xsl:variable name="scalefit">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+ <xsl:when test="@contentwidth">0</xsl:when>
+ <xsl:when test="@contentdepth and
+ @contentdepth != '100%'">0</xsl:when>
+ <xsl:when test="@scale">0</xsl:when>
+ <xsl:when test="@scalefit"><xsl:value-of select="@scalefit"/></xsl:when>
+ <xsl:when test="@width or @depth">1</xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="scale">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+ <xsl:when test="@contentwidth or @contentdepth">1.0</xsl:when>
+ <xsl:when test="@scale">
+ <xsl:value-of select="@scale div 100.0"/>
+ </xsl:when>
+ <xsl:otherwise>1.0</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="filename">
+ <xsl:choose>
+ <xsl:when test="local-name(.) = 'graphic'
+ or local-name(.) = 'inlinegraphic'">
+ <!-- handle legacy graphic and inlinegraphic by new template -->
+ <xsl:call-template name="mediaobject.filename">
+ <xsl:with-param name="object" select="."/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- imagedata, videodata, audiodata -->
+ <xsl:call-template name="mediaobject.filename">
+ <xsl:with-param name="object" select=".."/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="content-type">
+ <xsl:if test="@format">
+ <xsl:call-template name="graphic.format.content-type">
+ <xsl:with-param name="format" select="@format"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:variable>
+
+ <xsl:variable name="bgcolor">
+
+ <xsl:call-template name="pi.dbfo_background-color">
+ <xsl:with-param name="node" select=".."/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <fo:external-graphic>
+ <xsl:attribute name="src">
+ <xsl:call-template name="fo-external-image">
+ <xsl:with-param name="filename">
+ <xsl:if test="$img.src.path != '' and
+ not(starts-with($filename, '/')) and
+ not(contains($filename, '://'))">
+ <xsl:value-of select="$img.src.path"/>
+ </xsl:if>
+ <xsl:value-of select="$filename"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:attribute>
+
+ <xsl:attribute name="width">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+ <xsl:when test="contains(@width,'%')">
+ <xsl:value-of select="@width"/>
+ </xsl:when>
+ <xsl:when test="@width and not(@width = '')">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="@width"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="not(@depth) and $default.image.width != ''">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="$default.image.width"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <xsl:attribute name="height">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+ <xsl:when test="contains(@depth,'%')">
+ <xsl:value-of select="@depth"/>
+ </xsl:when>
+ <xsl:when test="@depth">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="@depth"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <xsl:attribute name="content-width">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+ <xsl:when test="contains(@contentwidth,'%')">
+ <xsl:value-of select="@contentwidth"/>
+ </xsl:when>
+ <xsl:when test="@contentwidth">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="@contentwidth"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="number($scale) != 1.0">
+ <xsl:value-of select="$scale * 100"/>
+ <xsl:text>%</xsl:text>
+ </xsl:when>
+ <xsl:when test="$scalefit = 1">scale-to-fit</xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <xsl:attribute name="content-height">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+ <xsl:when test="contains(@contentdepth,'%')">
+ <xsl:value-of select="@contentdepth"/>
+ </xsl:when>
+ <xsl:when test="@contentdepth">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="@contentdepth"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="number($scale) != 1.0">
+ <xsl:value-of select="$scale * 100"/>
+ <xsl:text>%</xsl:text>
+ </xsl:when>
+ <xsl:when test="$scalefit = 1">scale-to-fit</xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <xsl:if test="$content-type != ''">
+ <xsl:attribute name="content-type">
+ <xsl:value-of select="concat('content-type:',$content-type)"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:if test="$bgcolor != ''">
+ <xsl:attribute name="background-color">
+ <xsl:value-of select="$bgcolor"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:if test="@align">
+ <xsl:attribute name="text-align">
+ <xsl:value-of select="@align"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:if test="@valign">
+ <xsl:attribute name="display-align">
+ <xsl:choose>
+ <xsl:when test="@valign = 'top'">before</xsl:when>
+ <xsl:when test="@valign = 'middle'">center</xsl:when>
+ <xsl:when test="@valign = 'bottom'">after</xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </xsl:if>
+ </fo:external-graphic>
+</xsl:template>
+
+</xsl:stylesheet>
Added: trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/common.xsl
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/common.xsl (rev 0)
+++ trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/common.xsl 2008-05-27 10:35:34 UTC (rev 8345)
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <!-- XHTML settings -->
+
+ <xsl:param name="html.stylesheet" select="'css/tools.css'"/>
+
+ <!-- XHTML and PDF -->
+</xsl:stylesheet>
Added: trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/eclipse.xsl
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/eclipse.xsl (rev 0)
+++ trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/eclipse.xsl 2008-05-27 10:35:34 UTC (rev 8345)
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:import href="classpath:/xslt/com/jboss/eclipse.xsl"/>
+ <xsl:import href="common.xsl"/>
+
+ <xsl:param name="eclipse.plugin.name">JBoss Tools Help</xsl:param>
+ <xsl:param name="eclipse.plugin.id">org.jboss.tools.help</xsl:param>
+
+</xsl:stylesheet>
Added: trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/pdf.xsl
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/pdf.xsl (rev 0)
+++ trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/pdf.xsl 2008-05-27 10:35:34 UTC (rev 8345)
@@ -0,0 +1,14 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:import href="classpath:/xslt/com/jboss/pdf.xsl"/>
+ <xsl:import href="common.xsl"/>
+
+</xsl:stylesheet>
Added: trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/xhtml-single.xsl
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/xhtml-single.xsl (rev 0)
+++ trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/xhtml-single.xsl 2008-05-27 10:35:34 UTC (rev 8345)
@@ -0,0 +1,15 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:import href="classpath:/xslt/com/jboss/xhtml-single.xsl"/>
+ <xsl:import href="common.xsl"/>
+
+
+</xsl:stylesheet>
Added: trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/xhtml.xsl
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/xhtml.xsl (rev 0)
+++ trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/xhtml.xsl 2008-05-27 10:35:34 UTC (rev 8345)
@@ -0,0 +1,14 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:import href="classpath:/xslt/com/jboss/xhtml.xsl"/>
+ <xsl:import href="common.xsl"/>
+
+</xsl:stylesheet>
17 years, 7 months
JBoss Tools SVN: r8344 - in trunk/documentation/jbosstools-jdocbook-style/src/main: com and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-05-27 06:34:28 -0400 (Tue, 27 May 2008)
New Revision: 8344
Added:
trunk/documentation/jbosstools-jdocbook-style/src/main/com/
trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/
trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/
trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/tools.css
trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/images/
trunk/documentation/jbosstools-jdocbook-style/src/main/org/
trunk/documentation/jbosstools-jdocbook-style/src/main/org/css/
trunk/documentation/jbosstools-jdocbook-style/src/main/org/css/css/
trunk/documentation/jbosstools-jdocbook-style/src/main/org/css/css/tools.css
trunk/documentation/jbosstools-jdocbook-style/src/main/org/css/images/
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - adding two folders to point to Community and org styles
Added: trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/tools.css
===================================================================
--- trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/tools.css (rev 0)
+++ trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/tools.css 2008-05-27 10:34:28 UTC (rev 8344)
@@ -0,0 +1,17 @@
+@import url("jbossenterprise.css");
+
+/* -----Override jbossenterprise-single.css----- */
+
+/* Body */
+body {
+ background-image:none;
+ background-color:white;
+ margin:0 auto;
+ font-family:"Lucida Grande", verdana, "Luxi Sans","Trebuchet MS", helvetica,verdana,arial,sans-serif;
+ font-size:12px;
+ max-width:55em;
+ padding:0em 2em;
+ color:#333;
+ line-height:150%;
+ text-align:justify;
+}
Added: trunk/documentation/jbosstools-jdocbook-style/src/main/org/css/css/tools.css
===================================================================
--- trunk/documentation/jbosstools-jdocbook-style/src/main/org/css/css/tools.css (rev 0)
+++ trunk/documentation/jbosstools-jdocbook-style/src/main/org/css/css/tools.css 2008-05-27 10:34:28 UTC (rev 8344)
@@ -0,0 +1,4 @@
+@import url("jbossorg.css");
+
+/* -----Override jbossorg.css----- */
+
17 years, 7 months
JBoss Tools SVN: r8343 - trunk/documentation/guides/Exadel-migration/en/modules.
by jbosstools-commits@lists.jboss.org
Author: tromanovich
Date: 2008-05-27 06:23:46 -0400 (Tue, 27 May 2008)
New Revision: 8343
Modified:
trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-235 - Guide review
Review Exadel Studion Migration Guide:
remove '*' character from field name ("web.xml Location* field")
Modified: trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts.xml 2008-05-27 10:09:53 UTC (rev 8342)
+++ trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts.xml 2008-05-27 10:23:46 UTC (rev 8343)
@@ -39,7 +39,7 @@
</figure>
<itemizedlist continuation="continues">
- <listitem><para>In the first screen of the wizard, select the <emphasis><property>Change...</property></emphasis> button next to the <emphasis><property>web.xml Location*</property></emphasis> field. Browse to the location of the web.xml file for the application you
+ <listitem><para>In the first screen of the wizard, select the <emphasis><property>Change...</property></emphasis> button next to the <emphasis><property>web.xml Location</property></emphasis> field. Browse to the location of the web.xml file for the application you
want to import as a <property>JSF project</property>. Once you select it, you'll be returned to the dialog box to see a project name derived from the web.xml file you selected.
You can edit this project name, if you wish.</para></listitem>
</itemizedlist>
@@ -115,7 +115,7 @@
</figure>
<itemizedlist continuation="continues">
- <listitem><para>In the Project Location screen of the wizard, select the <emphasis><property>Change... </property></emphasis>button next to the <emphasis><property>web.xml Location*</property></emphasis> field. Browse the location of the web.xml file for the application you
+ <listitem><para>In the Project Location screen of the wizard, select the <emphasis><property>Change... </property></emphasis>button next to the <emphasis><property>web.xml Location</property></emphasis> field. Browse the location of the web.xml file for the application you
want to import as a <property>Struts project</property>. Once you select it, you'll be returned to the dialog box to see a project name derived from the web.xml file you selected.
You can edit this project name, if you wish.</para></listitem>
</itemizedlist>
17 years, 7 months
JBoss Tools SVN: r8342 - trunk/documentation/guides/Exadel-migration/en/modules.
by jbosstools-commits@lists.jboss.org
Author: tromanovich
Date: 2008-05-27 06:09:53 -0400 (Tue, 27 May 2008)
New Revision: 8342
Modified:
trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts.xml
trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts_war.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-235 - Guide review - Exadel Studion Migration Guide review, replace orderlist on itemizedlist tags
Modified: trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts.xml 2008-05-27 10:04:19 UTC (rev 8341)
+++ trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts.xml 2008-05-27 10:09:53 UTC (rev 8342)
@@ -16,9 +16,9 @@
<title>JSF</title>
<para>JBoss Developer Studio includes an Import <property>JSF Project</property> Wizard that radically simplifies the process of bringing your existing JSF applications
into your JBoss Developer Studio workspace as JSF projects. You just need to follow these four steps:</para>
- <orderedlist>
+ <itemizedlist>
<listitem><para><emphasis><property>Select File > Import...</property></emphasis> from the menu bar, and then select <emphasis><property>Other > JSF Project </property></emphasis>from the Import dialog box that appears.</para></listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>Selecting the Import Menu Item</title>
@@ -38,11 +38,11 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem><para>In the first screen of the wizard, select the <emphasis><property>Change...</property></emphasis> button next to the <emphasis><property>web.xml Location*</property></emphasis> field. Browse to the location of the web.xml file for the application you
want to import as a <property>JSF project</property>. Once you select it, you'll be returned to the dialog box to see a project name derived from the web.xml file you selected.
You can edit this project name, if you wish.</para></listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>Selecting the Web.xml File in the Project Location Screen</title>
@@ -53,9 +53,9 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem><para>In the <emphasis><property>Project Folders</property></emphasis> screen, you can configure the rest of your project. Afterwards click on the <emphasis><property>Finish</property></emphasis> button.</para></listitem>
- </orderedlist>
+ </itemizedlist>
<para>On this step JBoss Developer Studio will try to determine your project
structure and set the values for: <emphasis><property>Web Root</property></emphasis>, <emphasis><property>Source Folder</property></emphasis>, <emphasis><property>Classes Folder</property></emphasis>, <emphasis><property>Lib Folder</property></emphasis>. If your project has a custom structure, some values might not be
set. If this is the case, you can manually set those values by clicking the <emphasis><property>Change...</property></emphasis> button.</para>
@@ -76,9 +76,9 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem><para>Once the project is imported, it will appear in the Package Explorer view.</para></listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>Imported Project in the Package Explorer View</title>
@@ -92,9 +92,9 @@
</section>
<section>
<title>Struts</title>
- <orderedlist>
+ <itemizedlist>
<listitem><para><emphasis><property>Select File > Import...</property></emphasis> from the menu bar, and then select <emphasis><property>Other > Struts Project</property></emphasis> from the Import dialog box that appears.</para></listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>Selecting the Import Menu Item</title>
@@ -114,11 +114,11 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem><para>In the Project Location screen of the wizard, select the <emphasis><property>Change... </property></emphasis>button next to the <emphasis><property>web.xml Location*</property></emphasis> field. Browse the location of the web.xml file for the application you
want to import as a <property>Struts project</property>. Once you select it, you'll be returned to the dialog box to see a project name derived from the web.xml file you selected.
You can edit this project name, if you wish.</para></listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>The Project Location Screen</title>
@@ -129,11 +129,11 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem><para>In the next screen, JBoss Developer Studio will try to determine your project structure. The upper pane shows the modules in this project.
The lower pane allows you to edit the details of the select module. If the project structure is non-standard, some values might be left blank.
You can edit any values by hand or by using the <emphasis><property>Change...</property></emphasis> button.</para></listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>The Project Modules Screen</title>
@@ -144,10 +144,10 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem><para>In the <emphasis><property>Project Folders</property></emphasis> screen, you can configure the rest of your project. Afterwards click on the <emphasis><property>Finish</property></emphasis> button.</para>
</listitem>
- </orderedlist>
+ </itemizedlist>
<para>On this step JBoss Developer Studio will try to determine your project structure and set the values for: <emphasis><property>Classes Folder</property></emphasis>, <emphasis><property>Lib Folder</property></emphasis>, and <emphasis><property>Ant Build File</property></emphasis>. If your project has a custom structure, some values might not be set. If this is the case, you can manually set those values by clicking <emphasis><property>Change</property></emphasis>.</para>
<para>After dealing with these settings, you have to work through a few more configuration settings. These settings deal primarily with how the project will be deployed within JBoss Developer Studio.</para>
<para>First, if the project you are importing is not already a Struts project, select the <emphasis><property>Add Libraries</property></emphasis> check box to add all the Struts-related libraries to your project. </para>
@@ -166,9 +166,9 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem><para>Once the project is imported, it will appear in the Package Explorer view.</para></listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>Imported Project in the Package Explorer View</title>
Modified: trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts_war.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts_war.xml 2008-05-27 10:04:19 UTC (rev 8341)
+++ trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts_war.xml 2008-05-27 10:09:53 UTC (rev 8342)
@@ -17,13 +17,13 @@
<section>
<title>JSF</title>
- <orderedlist>
+ <itemizedlist>
<listitem>
<para>Select <emphasis><property>File > Import...</property></emphasis> from the menu bar, and then select
<emphasis><property>Other > JSF Project From *.war</property></emphasis> from the Import dialog box that
appears.</para>
</listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>Selecting the Import Menu Item</title>
@@ -45,7 +45,7 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem>
<para>In the wizard screen, select the <emphasis><property>Change...</property></emphasis> button next to
the <emphasis><property>*.war Location</property></emphasis> field. Browse to the location of the *.war file for
@@ -72,7 +72,7 @@
above. If you don't want to deploy the application, uncheck this
value.</para>
</listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>The JSF Project From *.war Import Wizard</title>
@@ -84,23 +84,23 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem>
<para>Click on the <emphasis><property>Finish</property></emphasis> button.</para>
</listitem>
- </orderedlist>
+ </itemizedlist>
</section>
<section>
<title>Struts</title>
- <orderedlist>
+ <itemizedlist>
<listitem>
<para>Select <emphasis><property>File > Import...</property></emphasis> from the menu bar, and then select
<emphasis><property>Other > Struts Project From *.war</property></emphasis> from the Import dialog box that
appears.</para>
</listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>Selecting the Import Menu Item</title>
@@ -121,12 +121,12 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem>
<para>Follow the same steps as with the JSF Project From <property>*.war</property> import
wizard.</para>
</listitem>
- </orderedlist>
+ </itemizedlist>
<figure>
<title>The Struts Project From *.war Import Wizard</title>
@@ -138,11 +138,11 @@
</mediaobject>
</figure>
- <orderedlist continuation="continues">
+ <itemizedlist continuation="continues">
<listitem>
<para>Click on the <emphasis><property>Finish</property></emphasis> button.</para>
</listitem>
- </orderedlist>
+ </itemizedlist>
<para>The migration process is completed</para>
</section>
</chapter>
\ No newline at end of file
17 years, 7 months