Seam SVN: r7620 - trunk/src/pdf/org/jboss/seam/pdf/ui.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-03-18 18:12:25 -0400 (Tue, 18 Mar 2008)
New Revision: 7620
Modified:
trunk/src/pdf/org/jboss/seam/pdf/ui/UIStroke.java
Log:
JBSEAM-2593
Modified: trunk/src/pdf/org/jboss/seam/pdf/ui/UIStroke.java
===================================================================
--- trunk/src/pdf/org/jboss/seam/pdf/ui/UIStroke.java 2008-03-18 20:49:24 UTC (rev 7619)
+++ trunk/src/pdf/org/jboss/seam/pdf/ui/UIStroke.java 2008-03-18 22:12:25 UTC (rev 7620)
@@ -78,14 +78,14 @@
}
public int joinValue(String join) {
- if (cap == null || cap.equalsIgnoreCase("miter")) {
+ if (join == null || join.equalsIgnoreCase("miter")) {
return BasicStroke.JOIN_MITER;
- } else if (cap.equalsIgnoreCase("round")) {
+ } else if (join.equalsIgnoreCase("round")) {
return BasicStroke.JOIN_ROUND;
- } else if (cap.equalsIgnoreCase("bevel")) {
+ } else if (join.equalsIgnoreCase("bevel")) {
return BasicStroke.JOIN_BEVEL;
}
- throw new RuntimeException("invalid join value: " + cap);
+ throw new RuntimeException("invalid join value: " + join);
}
18 years, 1 month
Seam SVN: r7619 - in trunk/src/main/org/jboss/seam: web and 1 other directory.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-03-18 16:49:24 -0400 (Tue, 18 Mar 2008)
New Revision: 7619
Modified:
trunk/src/main/org/jboss/seam/navigation/Page.java
trunk/src/main/org/jboss/seam/web/RewriteFilter.java
Log:
seconds, not ms
Modified: trunk/src/main/org/jboss/seam/navigation/Page.java
===================================================================
--- trunk/src/main/org/jboss/seam/navigation/Page.java 2008-03-18 20:02:05 UTC (rev 7618)
+++ trunk/src/main/org/jboss/seam/navigation/Page.java 2008-03-18 20:49:24 UTC (rev 7619)
@@ -309,7 +309,7 @@
if (expires != null) {
Header.sendHeader(response,
"Expires",
- rfc1123Date(new Date(System.currentTimeMillis()+expires)));
+ rfc1123Date(new Date(System.currentTimeMillis()+expires*1000)));
}
}
Modified: trunk/src/main/org/jboss/seam/web/RewriteFilter.java
===================================================================
--- trunk/src/main/org/jboss/seam/web/RewriteFilter.java 2008-03-18 20:02:05 UTC (rev 7618)
+++ trunk/src/main/org/jboss/seam/web/RewriteFilter.java 2008-03-18 20:49:24 UTC (rev 7619)
@@ -1,7 +1,6 @@
package org.jboss.seam.web;
import static org.jboss.seam.ScopeType.APPLICATION;
-import static org.jboss.seam.annotations.Install.BUILT_IN;
import java.io.IOException;
import java.util.ArrayList;
@@ -29,7 +28,7 @@
@Scope(APPLICATION)
@Name("org.jboss.seam.web.rewriteFilter")
-@Install(false)
+(a)Install(precedence=Install.BUILT_IN,value=false)
@BypassInterceptors
@Filter(within="org.jboss.seam.debug.hotDeployFilter")
public class RewriteFilter
18 years, 1 month
Seam SVN: r7618 - in maven-plugins/trunk/seam-jdocbook-style: src and 3 other directories.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-03-18 16:02:05 -0400 (Tue, 18 Mar 2008)
New Revision: 7618
Added:
maven-plugins/trunk/seam-jdocbook-style/pom.xml
maven-plugins/trunk/seam-jdocbook-style/src/
maven-plugins/trunk/seam-jdocbook-style/src/main/
maven-plugins/trunk/seam-jdocbook-style/src/main/css/
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/
maven-plugins/trunk/seam-jdocbook-style/src/main/images/
maven-plugins/trunk/seam-jdocbook-style/src/main/images/images/
Log:
Initial import of seam-jdocbook-style
Added: maven-plugins/trunk/seam-jdocbook-style/pom.xml
===================================================================
--- maven-plugins/trunk/seam-jdocbook-style/pom.xml (rev 0)
+++ maven-plugins/trunk/seam-jdocbook-style/pom.xml 2008-03-18 20:02:05 UTC (rev 7618)
@@ -0,0 +1,59 @@
+<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.seam</groupId>
+ <artifactId>seam-jdocbook-style</artifactId>
+ <packaging>jdocbook-style</packaging>
+ <version>1.1.0-SNAPSHOT</version>
+
+ <name>SeamFramework.org Documentation Styles</name>
+ <description>The JDocBook styles for the SeamFramework.org Documentation.</description>
+ <url>http://www.seamframework.org</url>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-style-plugin</artifactId>
+ <version>1.0.0</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ <version>1.0-beta-2</version>
+ </extension>
+ </extensions>
+ </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>
+
+
+
+</project>
Property changes on: maven-plugins/trunk/seam-jdocbook-style/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
18 years, 1 month
Seam SVN: r7617 - maven-plugins/trunk.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-03-18 16:01:31 -0400 (Tue, 18 Mar 2008)
New Revision: 7617
Added:
maven-plugins/trunk/seam-jdocbook-style/
Log:
Initial import of seam-jdocbook-style
18 years, 1 month
Seam SVN: r7616 - in trunk/src/main/org/jboss/seam: navigation and 1 other directory.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-03-18 15:10:20 -0400 (Tue, 18 Mar 2008)
New Revision: 7616
Modified:
trunk/src/main/org/jboss/seam/navigation/Header.java
trunk/src/main/org/jboss/seam/navigation/Page.java
trunk/src/main/org/jboss/seam/navigation/Pages.java
trunk/src/main/org/jboss/seam/pages-2.1.xsd
Log:
JBSEAM-273
Modified: trunk/src/main/org/jboss/seam/navigation/Header.java
===================================================================
--- trunk/src/main/org/jboss/seam/navigation/Header.java 2008-03-18 18:46:20 UTC (rev 7615)
+++ trunk/src/main/org/jboss/seam/navigation/Header.java 2008-03-18 19:10:20 UTC (rev 7616)
@@ -22,7 +22,7 @@
}
public void sendHeader(HttpServletResponse response) {
- response.addHeader(name, evaluateValue());
+ sendHeader(response, name, evaluateValue());
}
private String evaluateValue() {
@@ -38,4 +38,14 @@
return result;
}
+
+
+ public static void sendHeader(HttpServletResponse response,
+ String name,
+ String value)
+ {
+ if (response !=null && name !=null && value != null) {
+ response.addHeader(name, value);
+ }
+ }
}
Modified: trunk/src/main/org/jboss/seam/navigation/Page.java
===================================================================
--- trunk/src/main/org/jboss/seam/navigation/Page.java 2008-03-18 18:46:20 UTC (rev 7615)
+++ trunk/src/main/org/jboss/seam/navigation/Page.java 2008-03-18 19:10:20 UTC (rev 7616)
@@ -1,6 +1,8 @@
package org.jboss.seam.navigation;
+import java.text.SimpleDateFormat;
import java.util.ArrayList;
+import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -21,6 +23,8 @@
*/
public final class Page
{
+ public static final String RFC_1123_DATE = "EEE, dd MMM yyyy HH:mm:ss zzz";
+
private final String viewId;
private String description;
private Integer timeout;
@@ -42,6 +46,8 @@
private List<Pattern> rewritePatterns = new ArrayList<Pattern>();
private List<Header> httpHeaders = new ArrayList<Header>();
+ private Integer expires;
+
/**
* The scheme (http/https) required by this page.
*/
@@ -299,8 +305,20 @@
for (Header header: httpHeaders) {
header.sendHeader(response);
}
+
+ if (expires != null) {
+ Header.sendHeader(response,
+ "Expires",
+ rfc1123Date(new Date(System.currentTimeMillis()+expires)));
+ }
}
+ private String rfc1123Date(Date when) {
+ SimpleDateFormat format = new SimpleDateFormat(RFC_1123_DATE);
+
+ return format.format(when);
+ }
+
public List<Input> getInputs()
{
return inputs;
@@ -399,4 +417,8 @@
return httpHeaders;
}
+ public void setExpires(Integer expires) {
+ this.expires = expires;
+ }
+
}
Modified: trunk/src/main/org/jboss/seam/navigation/Pages.java
===================================================================
--- trunk/src/main/org/jboss/seam/navigation/Pages.java 2008-03-18 18:46:20 UTC (rev 7615)
+++ trunk/src/main/org/jboss/seam/navigation/Pages.java 2008-03-18 19:10:20 UTC (rev 7616)
@@ -1053,11 +1053,16 @@
page.setTimeout(Integer.parseInt(timeoutString));
}
- page.setNoConversationViewId( element.attributeValue("no-conversation-view-id") );
- page.setConversationRequired( "true".equals( element.attributeValue("conversation-required") ) );
- page.setLoginRequired( "true".equals( element.attributeValue("login-required") ) );
- page.setScheme( element.attributeValue("scheme") );
+ page.setNoConversationViewId(element.attributeValue("no-conversation-view-id"));
+ page.setConversationRequired("true".equals(element.attributeValue("conversation-required")));
+ page.setLoginRequired("true".equals(element.attributeValue("login-required")));
+ page.setScheme(element.attributeValue("scheme"));
+ String expiresValue = element.attributeValue("expires");
+ if (expiresValue != null) {
+ page.setExpires(Integer.parseInt(expiresValue));
+ }
+
ConversationIdParameter param = conversations.get( element.attributeValue("conversation") );
if (param != null) page.setConversationIdParameter(param);
Modified: trunk/src/main/org/jboss/seam/pages-2.1.xsd
===================================================================
--- trunk/src/main/org/jboss/seam/pages-2.1.xsd 2008-03-18 18:46:20 UTC (rev 7615)
+++ trunk/src/main/org/jboss/seam/pages-2.1.xsd 2008-03-18 19:10:20 UTC (rev 7616)
@@ -100,6 +100,7 @@
<xs:attribute name="timeout"/>
<xs:attribute name="bundle"/>
<xs:attribute name="conversation"/>
+ <xs:attribute name="expires" />
</xs:attributeGroup>
<xs:element name="param">
<xs:complexType>
18 years, 1 month
Seam SVN: r7615 - maven-plugins/trunk/seam-docbook-xslt.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-03-18 14:46:20 -0400 (Tue, 18 Mar 2008)
New Revision: 7615
Modified:
maven-plugins/trunk/seam-docbook-xslt/pom.xml
Log:
enable snapshot repo
Modified: maven-plugins/trunk/seam-docbook-xslt/pom.xml
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-03-18 18:46:10 UTC (rev 7614)
+++ maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-03-18 18:46:20 UTC (rev 7615)
@@ -7,7 +7,7 @@
<groupId>org.jboss.seam</groupId>
<artifactId>seam-docbook-xslt</artifactId>
<packaging>jar</packaging>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.1.0-SNAPSHOT</version>
<name>SeamFramework.org DocBook XSLT</name>
<description>
@@ -18,58 +18,18 @@
<dependencies>
<dependency>
- <groupId>net.sf.docbook</groupId>
- <artifactId>docbook</artifactId>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
</dependency>
- <dependency>
- <groupId>com.uwyn</groupId>
- <artifactId>jhighlight</artifactId>
- </dependency>
- <dependency>
- <groupId>de.java2html</groupId>
- <artifactId>java2html</artifactId>
- </dependency>
- <dependency>
- <groupId>org.richfaces.docs</groupId>
- <artifactId>highlight</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.docs</groupId>
- <artifactId>highlight</artifactId>
- </dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>net.sf.docbook</groupId>
- <artifactId>docbook</artifactId>
- <version>1.72.0</version>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>net.sf.docbook</groupId>
- <artifactId>docbook</artifactId>
- </dependency>
- <dependency>
- <groupId>com.uwyn</groupId>
- <artifactId>jhighlight</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>de.java2html</groupId>
- <artifactId>java2html</artifactId>
- <version>5.0</version>
- </dependency>
- <dependency>
- <groupId>org.richfaces.docs</groupId>
- <artifactId>highlight</artifactId>
- <version>3.1.4.GA</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.docs</groupId>
- <artifactId>highlight</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
</dependencies>
</dependencyManagement>
@@ -91,11 +51,11 @@
<id>repository.jboss.org</id>
<url>file://${maven.repository.root}</url>
</repository>
- <!--<snapshotRepository>
+ <snapshotRepository>
<id>snapshots.jboss.org</id>
<name>JBoss Snapshot Repository</name>
<url>dav:https://snapshots.jboss.org/maven2</url>
- </snapshotRepository>-->
+ </snapshotRepository>
</distributionManagement>
</project>
18 years, 1 month
Seam SVN: r7614 - maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-03-18 14:46:10 -0400 (Tue, 18 Mar 2008)
New Revision: 7614
Added:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl
Removed:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-html.xsl
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-pdf.xsl
Log:
Rename xslt files
Copied: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl (from rev 7610, maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-html.xsl)
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl (rev 0)
+++ maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl 2008-03-18 18:46:10 UTC (rev 7614)
@@ -0,0 +1,35 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2007 Red Hat, Inc.
+ License: GPL
+ Author: Pete Muir
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'
+ xmlns="http://www.w3.org/TR/xhtml1/transitional"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ exclude-result-prefixes="#default">
+
+ <xsl:import href="classpath:/xslt/org/jboss/main-html.xsl"/>
+
+ <!-- Placement of titles -->
+ <xsl:param name="formal.title.placement">
+ figure after
+ example before
+ equation before
+ table before
+ procedure before
+ </xsl:param>
+ <xsl:param name="use.extensions">1</xsl:param>
+ <!-- Callouts -->
+
+ <xsl:param name="callout.extensions">1</xsl:param>
+ <!-- Don't use graphics, use a simple number style -->
+ <xsl:param name="callout.graphics">0</xsl:param>
+
+ <!-- Place callout marks at this column in annotated areas -->
+
+
+</xsl:stylesheet>
Property changes on: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl (from rev 7610, maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-pdf.xsl)
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl (rev 0)
+++ maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl 2008-03-18 18:46:10 UTC (rev 7614)
@@ -0,0 +1,99 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2007 Red Hat, Inc.
+ License: GPL
+ Author: Pete Muir
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'
+ xmlns="http://www.w3.org/TR/xhtml1/transitional"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ exclude-result-prefixes="#default">
+
+ <xsl:import href="classpath:/xslt/org/jboss/main-pdf.xsl"/>
+
+ <xsl:param name="use.extensions">1</xsl:param>
+
+ <!-- Place callout marks at this column in annotated areas -->
+
+ <!--###################################################
+ Callouts
+ ################################################### -->
+
+ <!-- We want to use callouts... -->
+ <xsl:param name="callout.extensions">1</xsl:param>
+
+ <!-- Place callout bullets at this column in programmlisting.-->
+ <xsl:param name="callout.defaultcolumn">80</xsl:param>
+
+ <!--
+ No, don't use crappy graphics for the callout bullets. This setting
+ enables some weird Unicode rendering for some fancy bullet points
+ in callouts. By default, this can only count to 10 and produces
+ strange results if you ever have more than 10 callouts for one
+ programlisting. We will fix that next.
+ -->
+ <xsl:param name="callout.graphics">0</xsl:param>
+
+ <!--
+ Again, fun with DocBook XSL: The callout bullets are rendered in
+ two places: In the programlisting itself and in the list below
+ the listing, with the actual callout text. The rendering in the
+ programlisting is some XSL transformer extension (e.g. a Saxon
+ extension), so we can't change that without messing with the
+ extensions. We only can turn it off by setting this limit to
+ zero, then, a simple bracket style like "(3)" and "(4)" will
+ be used in the programlisting.
+ -->
+ <xsl:param name="callout.unicode.number.limit" select="'0'"></xsl:param>
+
+ <!--
+ The callout bullets in the actual callout list will be rendered
+ with an XSL FO template. The default template is broken: limited to 10
+ nice looking Unicode bullet points and then it doesn't print anything,
+ the fallback doesn't work. We implement our own template, which is not
+ as complicated, more ugly, but works. As always, function is more
+ important than form.
+ -->
+ <xsl:template name="callout-bug" >
+ <xsl:param name="conum" select='1'/>
+ <fo:inline
+ color="black"
+ padding-top="0.1em"
+ padding-bottom="0.1em"
+ padding-start="0.2em"
+ padding-end="0.2em"
+ baseline-shift="0.1em"
+ font-family="{$monospace.font.family}"
+ font-weight="bold"
+ font-size="75%">
+ <xsl:text>(</xsl:text>
+ <xsl:value-of select="$conum"/>
+ <xsl:text>)</xsl:text>
+ </fo:inline>
+
+ </xsl:template>
+
+ <!-- Correct placement of titles for figures and examples. -->
+ <xsl:param name="formal.title.placement">
+ figure after
+ example before
+ equation before
+ table before
+ procedure before
+ </xsl:param>
+
+ <!-- Prevent blank pages in output -->
+ <xsl:template name="book.titlepage.before.verso">
+ </xsl:template>
+ <xsl:template name="book.titlepage.verso">
+ </xsl:template>
+ <xsl:template name="book.titlepage.separator">
+ </xsl:template>
+
+
+
+
+</xsl:stylesheet>
Property changes on: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-html.xsl
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-html.xsl 2008-03-18 18:35:47 UTC (rev 7613)
+++ maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-html.xsl 2008-03-18 18:46:10 UTC (rev 7614)
@@ -1,35 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2007 Red Hat, Inc.
- License: GPL
- Author: Pete Muir
--->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'
- xmlns="http://www.w3.org/TR/xhtml1/transitional"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- exclude-result-prefixes="#default">
-
- <xsl:import href="main-html.xsl"/>
-
- <!-- Placement of titles -->
- <xsl:param name="formal.title.placement">
- figure after
- example before
- equation before
- table before
- procedure before
- </xsl:param>
- <xsl:param name="use.extensions">1</xsl:param>
- <!-- Callouts -->
-
- <xsl:param name="callout.extensions">1</xsl:param>
- <!-- Don't use graphics, use a simple number style -->
- <xsl:param name="callout.graphics">0</xsl:param>
-
- <!-- Place callout marks at this column in annotated areas -->
-
-
-</xsl:stylesheet>
Deleted: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-pdf.xsl
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-pdf.xsl 2008-03-18 18:35:47 UTC (rev 7613)
+++ maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/seam-pdf.xsl 2008-03-18 18:46:10 UTC (rev 7614)
@@ -1,99 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2007 Red Hat, Inc.
- License: GPL
- Author: Pete Muir
--->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'
- xmlns="http://www.w3.org/TR/xhtml1/transitional"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- exclude-result-prefixes="#default">
-
- <xsl:import href="classpath:/xslt/org/jboss/main-pdf.xsl"/>
-
- <xsl:param name="use.extensions">1</xsl:param>
-
- <!-- Place callout marks at this column in annotated areas -->
-
- <!--###################################################
- Callouts
- ################################################### -->
-
- <!-- We want to use callouts... -->
- <xsl:param name="callout.extensions">1</xsl:param>
-
- <!-- Place callout bullets at this column in programmlisting.-->
- <xsl:param name="callout.defaultcolumn">80</xsl:param>
-
- <!--
- No, don't use crappy graphics for the callout bullets. This setting
- enables some weird Unicode rendering for some fancy bullet points
- in callouts. By default, this can only count to 10 and produces
- strange results if you ever have more than 10 callouts for one
- programlisting. We will fix that next.
- -->
- <xsl:param name="callout.graphics">0</xsl:param>
-
- <!--
- Again, fun with DocBook XSL: The callout bullets are rendered in
- two places: In the programlisting itself and in the list below
- the listing, with the actual callout text. The rendering in the
- programlisting is some XSL transformer extension (e.g. a Saxon
- extension), so we can't change that without messing with the
- extensions. We only can turn it off by setting this limit to
- zero, then, a simple bracket style like "(3)" and "(4)" will
- be used in the programlisting.
- -->
- <xsl:param name="callout.unicode.number.limit" select="'0'"></xsl:param>
-
- <!--
- The callout bullets in the actual callout list will be rendered
- with an XSL FO template. The default template is broken: limited to 10
- nice looking Unicode bullet points and then it doesn't print anything,
- the fallback doesn't work. We implement our own template, which is not
- as complicated, more ugly, but works. As always, function is more
- important than form.
- -->
- <xsl:template name="callout-bug" >
- <xsl:param name="conum" select='1'/>
- <fo:inline
- color="black"
- padding-top="0.1em"
- padding-bottom="0.1em"
- padding-start="0.2em"
- padding-end="0.2em"
- baseline-shift="0.1em"
- font-family="{$monospace.font.family}"
- font-weight="bold"
- font-size="75%">
- <xsl:text>(</xsl:text>
- <xsl:value-of select="$conum"/>
- <xsl:text>)</xsl:text>
- </fo:inline>
-
- </xsl:template>
-
- <!-- Correct placement of titles for figures and examples. -->
- <xsl:param name="formal.title.placement">
- figure after
- example before
- equation before
- table before
- procedure before
- </xsl:param>
-
- <!-- Prevent blank pages in output -->
- <xsl:template name="book.titlepage.before.verso">
- </xsl:template>
- <xsl:template name="book.titlepage.verso">
- </xsl:template>
- <xsl:template name="book.titlepage.separator">
- </xsl:template>
-
-
-
-
-</xsl:stylesheet>
18 years, 1 month
Seam SVN: r7613 - maven-plugins/trunk/seam-docbook-xslt.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-03-18 14:35:47 -0400 (Tue, 18 Mar 2008)
New Revision: 7613
Modified:
maven-plugins/trunk/seam-docbook-xslt/pom.xml
Log:
oops
Modified: maven-plugins/trunk/seam-docbook-xslt/pom.xml
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-03-18 18:35:00 UTC (rev 7612)
+++ maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-03-18 18:35:47 UTC (rev 7613)
@@ -68,7 +68,8 @@
<dependency>
<groupId>org.jboss.docs</groupId>
<artifactId>highlight</artifactId>
- <version>1.0-
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
</dependencyManagement>
18 years, 1 month
Seam SVN: r7612 - maven-plugins/trunk/seam-docbook-xslt.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-03-18 14:35:00 -0400 (Tue, 18 Mar 2008)
New Revision: 7612
Modified:
maven-plugins/trunk/seam-docbook-xslt/pom.xml
Log:
Use dependecyManagement consistently
Modified: maven-plugins/trunk/seam-docbook-xslt/pom.xml
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-03-18 18:34:03 UTC (rev 7611)
+++ maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-03-18 18:35:00 UTC (rev 7612)
@@ -1,55 +1,77 @@
-<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">
+<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>
+ <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.seam</groupId>
- <artifactId>seam-docbook-xslt</artifactId>
- <packaging>jar</packaging>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>seam-docbook-xslt</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0.0-SNAPSHOT</version>
- <name>SeamFramework.org DocBook XSLT</name>
- <description>The main project to transform DocBook XML into XHTML and other formats for SeamFramework.org Documentation.</description>
- <url>http://www.seamframework.org</url>
+ <name>SeamFramework.org DocBook XSLT</name>
+ <description>
+ The main project to transform DocBook XML into XHTML and other formats for
+ SeamFramework.org Documentation.
+ </description>
+ <url>http://www.seamframework.org</url>
- <dependencies>
- <dependency>
+ <dependencies>
+ <dependency>
+ <groupId>net.sf.docbook</groupId>
+ <artifactId>docbook</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.uwyn</groupId>
+ <artifactId>jhighlight</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>de.java2html</groupId>
+ <artifactId>java2html</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>highlight</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.docs</groupId>
+ <artifactId>highlight</artifactId>
+ </dependency>
+ </dependencies>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook</artifactId>
- </dependency>
- <dependency>
- <groupId>com.uwyn</groupId>
- <artifactId>jhighlight</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>de.java2html</groupId>
- <artifactId>java2html</artifactId>
- <version>5.0</version>
- </dependency>
- <dependency>
- <groupId>org.richfaces.docs</groupId>
- <artifactId>highlight</artifactId>
- <version>3.1.4.GA</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.docs</groupId>
- <artifactId>highlight</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
+ <version>1.72.0</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.docbook</groupId>
+ <artifactId>docbook</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.uwyn</groupId>
+ <artifactId>jhighlight</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>de.java2html</groupId>
+ <artifactId>java2html</artifactId>
+ <version>5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>highlight</artifactId>
+ <version>3.1.4.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.docs</groupId>
+ <artifactId>highlight</artifactId>
+ <version>1.0-
+ </dependencies>
+ </dependencyManagement>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>net.sf.docbook</groupId>
- <artifactId>docbook</artifactId>
- <version>1.72.0</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<build>
<extensions>
<extension>
@@ -60,19 +82,19 @@
</extensions>
</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>
+ <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>
</project>
18 years, 1 month
Seam SVN: r7611 - maven-plugins/trunk/seam-docbook-xslt.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-03-18 14:34:03 -0400 (Tue, 18 Mar 2008)
New Revision: 7611
Modified:
maven-plugins/trunk/seam-docbook-xslt/pom.xml
Log:
ws
Modified: maven-plugins/trunk/seam-docbook-xslt/pom.xml
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-03-18 18:32:26 UTC (rev 7610)
+++ maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-03-18 18:34:03 UTC (rev 7611)
@@ -7,37 +7,37 @@
<groupId>org.jboss.seam</groupId>
<artifactId>seam-docbook-xslt</artifactId>
<packaging>jar</packaging>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
<name>SeamFramework.org DocBook XSLT</name>
<description>The main project to transform DocBook XML into XHTML and other formats for SeamFramework.org Documentation.</description>
- <url>http://jboss.org</url>
+ <url>http://www.seamframework.org</url>
<dependencies>
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook</artifactId>
</dependency>
- <dependency>
- <groupId>com.uwyn</groupId>
- <artifactId>jhighlight</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>de.java2html</groupId>
- <artifactId>java2html</artifactId>
- <version>5.0</version>
- </dependency>
- <dependency>
- <groupId>org.richfaces.docs</groupId>
- <artifactId>highlight</artifactId>
- <version>3.1.4.GA</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.docs</groupId>
- <artifactId>highlight</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
+ <dependency>
+ <groupId>com.uwyn</groupId>
+ <artifactId>jhighlight</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>de.java2html</groupId>
+ <artifactId>java2html</artifactId>
+ <version>5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>highlight</artifactId>
+ <version>3.1.4.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.docs</groupId>
+ <artifactId>highlight</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
<dependencyManagement>
18 years, 1 month