You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2007/11/05 16:06:28 UTC
svn commit: r592032 [1/7] - in
/directory/sandbox/felixk/studio-schemaeditor-help: ./ META-INF/ src/
src/main/ src/main/docbook/ src/main/resources/
src/main/resources/about_files/ src/main/resources/html/
src/main/resources/html/css/ src/main/resource...
Author: felixk
Date: Mon Nov 5 07:06:22 2007
New Revision: 592032
URL: http://svn.apache.org/viewvc?rev=592032&view=rev
Log:
Initial studio maven-build
Added:
directory/sandbox/felixk/studio-schemaeditor-help/ (with props)
directory/sandbox/felixk/studio-schemaeditor-help/META-INF/
directory/sandbox/felixk/studio-schemaeditor-help/META-INF/MANIFEST.MF (with props)
directory/sandbox/felixk/studio-schemaeditor-help/plugin.properties (with props)
directory/sandbox/felixk/studio-schemaeditor-help/plugin.xml (with props)
directory/sandbox/felixk/studio-schemaeditor-help/pom.xml (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/docbook/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/docbook/0_index.xml
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/about.html (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/about_files/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/about_files/epl-v10.txt (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/css/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/css/book.css (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/editors_attribute-type-editor-overview.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/editors_attribute-type-editor-source-code.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/editors_attribute-type-editor-used-by.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/editors_object-class-editor-overview.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/editors_object-class-editor-source-code.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/editors_schema-editor-overview.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/editors_schema-editor-source-code.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_attribute-type-new.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_attribute-type-operational.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_attribute-type-user.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_collapse-all.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_error.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_hierarchy-subtype.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_hierarchy-supertype.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_hover-error.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_hover-warning.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_link-with-editor.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_object-class-abstract.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_object-class-auxiliary.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_object-class-new.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_object-class-structural.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_project-export.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_project-import.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_project-new.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_project-offline-closed.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_project-offline.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_run-current-search-again.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_schema-new.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_schemas-export-for-ads.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_schemas-export.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_schemas-import.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_show-search-field.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_show-search-history.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_sorting.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/icons_warning.gif (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/install_1.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/install_2.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/install_3.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/install_4.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/install_5.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/install_6.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/install_7.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/preferences_hierarchy-view.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/preferences_schema-view.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/preferences_search-view.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_export-projects-wizard.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_export-schemas-apacheds-wizard.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_export-schemas-openldap-wizard.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_export_schemas-xml-wizard.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_import-projects-wizard.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_import-schemas-openldap-wizard.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_import-schemas-xml-wizard.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-attribute-type-wizard-content.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-attribute-type-wizard-general.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-attribute-type-wizard-matching-rules.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-object-class-wizard-content.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-object-class-wizard-general.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-object-class-wizard-mandatory-attribute-types.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-object-class-wizard-optional-attribute-types.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-project-wizard-schemas.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-project-wizard_name.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/tasks_new-schema.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/views_hierarchy-view.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/views_problems-view.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/views_projects-view.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/views_schema-view.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/images/views_search-view.png (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/rfcs/
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/rfcs/rfc2252.txt (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/rfcs/rfc4517.txt (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/rfcs/rfc4519.txt (with props)
directory/sandbox/felixk/studio-schemaeditor-help/src/main/resources/html/rfcs/rfc4524.txt (with props)
Propchange: directory/sandbox/felixk/studio-schemaeditor-help/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Nov 5 07:06:22 2007
@@ -0,0 +1,2 @@
+.settings
+target
Added: directory/sandbox/felixk/studio-schemaeditor-help/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-schemaeditor-help/META-INF/MANIFEST.MF?rev=592032&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-schemaeditor-help/META-INF/MANIFEST.MF (added)
+++ directory/sandbox/felixk/studio-schemaeditor-help/META-INF/MANIFEST.MF Mon Nov 5 07:06:22 2007
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Apache Directory Studio Schema Editor Help
+Bundle-SymbolicName: org.apache.directory.studio.schemaeditor.help;singleton:=true
+Bundle-Version: 1.0.1
+Bundle-Localization: plugin
+Eclipse-LazyStart: true
+Bundle-Vendor: Apache Software Foundation
Propchange: directory/sandbox/felixk/studio-schemaeditor-help/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
svn:eol-style = native
Added: directory/sandbox/felixk/studio-schemaeditor-help/plugin.properties
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-schemaeditor-help/plugin.properties?rev=592032&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-schemaeditor-help/plugin.properties (added)
+++ directory/sandbox/felixk/studio-schemaeditor-help/plugin.properties Mon Nov 5 07:06:22 2007
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+project.name=Apache Directory Studio Schema Editor Help
+project.version=1.0.1
+project.id=org.apache.directory.studio.schemaeditor.help
Propchange: directory/sandbox/felixk/studio-schemaeditor-help/plugin.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: directory/sandbox/felixk/studio-schemaeditor-help/plugin.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-schemaeditor-help/plugin.xml?rev=592032&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-schemaeditor-help/plugin.xml (added)
+++ directory/sandbox/felixk/studio-schemaeditor-help/plugin.xml Mon Nov 5 07:06:22 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<plugin>
+ <extension point="org.eclipse.help.toc">
+ <toc file="toc.xml" primary="true" />
+ </extension>
+ <extension point="org.eclipse.help.contexts">
+ <contexts file="contexts.xml" plugin="org.apache.directory.studio.schemaeditor" />
+ </extension>
+</plugin>
Propchange: directory/sandbox/felixk/studio-schemaeditor-help/plugin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: directory/sandbox/felixk/studio-schemaeditor-help/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-schemaeditor-help/pom.xml?rev=592032&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-schemaeditor-help/pom.xml (added)
+++ directory/sandbox/felixk/studio-schemaeditor-help/pom.xml Mon Nov 5 07:06:22 2007
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ @version $Id: pom.xml 353 2007-10-28 14:59:35Z felix $
+-->
+
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.directory.studio</groupId>
+ <artifactId>parent</artifactId>
+ <version>1.0.2-SNAPSHOT</version>
+ </parent>
+ <artifactId>${groupId}.schemaeditor.help</artifactId>
+ <name>Apache Directory Studio Schema Editor Help</name>
+ <packaging>jar</packaging>
+
+ <description></description>
+
+ <!-- Set path for local repository -->
+ <properties>
+ <local-repo>${project.basedir}/../local-repository</local-repo>
+ </properties>
+
+ <profiles>
+ <!-- UserGuides -->
+ <profile>
+ <id>userguides</id>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources/html</directory>
+ <targetPath>../pdf</targetPath>
+ </resource>
+ <resource>
+ <directory>src/main/resources/html</directory>
+ <targetPath>../html</targetPath>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <dependencies>
+ <!--
+ Putting this dependency in the core pom produces following error (?):
+ Embedded error: java.lang.ClassCastException: org.apache.fop.render.pdf.PDFRendererMaker cannot be cast to org.apache.fop.render.AbstractRendererMaker
+ -->
+ <dependency>
+ <groupId>org.apache.xmlgraphics</groupId>
+ <artifactId>xmlgraphics-commons</artifactId>
+ <version>1.1</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>build-pdf-html-help</id>
+ <phase>compile</phase>
+ <configuration>
+ <tasks>
+ <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop">
+ <classpath>
+ <path refid="maven.compile.classpath" />
+ <pathelement location="${project.build.outputDirectory}" />
+ </classpath>
+ </taskdef>
+
+ <!-- Prepare docbook -->
+ <property name="fromregexpxml" value="^(docbook-xml-[^/]+)/(.*)" />
+ <property name="toregexpxml" value="docbook-xml/\2" />
+ <move todir="target/docbook">
+ <fileset dir="target/docbook">
+ <include name="docbook-xml-*/**" />
+ </fileset>
+ <regexpmapper from="${fromregexpxml}" to="${toregexpxml}" handledirsep="true" />
+ </move>
+
+ <property name="fromregexpxsl" value="^(docbook-xsl-[^/]+)/(.*)" />
+ <property name="toregexpxsl" value="docbook-xsl/\2" />
+ <move todir="target/docbook">
+ <fileset dir="target/docbook">
+ <include name="docbook-xsl-*/**" />
+ </fileset>
+ <regexpmapper from="${fromregexpxsl}" to="${toregexpxsl}" handledirsep="true" />
+ </move>
+
+ <!-- Create PDF -->
+ <xslt in="src/main/docbook/0_index.xml" out="target/pdf/${artifactId}.fo" style="target/docbook/docbook-xsl/fo/docbook.xsl">
+ <param name="manifest.in.base.dir" expression="0" />
+ <param name="generate.section.toc.level" expression="5" />
+ <param name="toc.max.depth" expression="3" />
+ <param name="ulink.target" expression="_self" />
+ <param name="suppress.navigation" expression="0" />
+ <param name="use.id.as.filename" expression="1" />
+ <param name="chapter.autolabel" expression="I" />
+ <param name="section.autolabel" expression="1" />
+ <outputproperty name="method" value="xml" />
+ <outputproperty name="standalone" value="yes" />
+ <outputproperty name="encoding" value="iso8859_1" />
+ <outputproperty name="indent" value="es" />
+ </xslt>
+ <fop format="application/pdf" basedir="target/pdf" fofile="target/pdf/${artifactId}.fo" outfile="target/pdf/${name}.pdf" />
+
+ <!-- Create HTML -->
+ <xslt in="src/main/docbook/0_index.xml" out="target/html/index.html" style="target/docbook/docbook-xsl/html/chunk.xsl">
+ <param name="ignore.image.scaling" expression="1" />
+ <param name="manifest.in.base.dir" expression="0" />
+ <!-- <param name="base.dir" expression="html/" /> -->
+ <param name="html.stylesheet" expression="css/book.css" />
+ <param name="table.cell.borders.thickness" expression="1" />
+ <!-- <param name="table.borders.with.css" expression="1" /> -->
+ <param name="generate.section.toc.level" expression="5" />
+ <param name="toc.max.depth" expression="3" />
+ <param name="chunk.first.sections" expression="1" />
+ <param name="chunk.section.depth" expression="5" />
+ <param name="chunk.fast" expression="1" />
+ <param name="chunk.separate.lots" expression="1" />
+ <!--<param name="chunk.tocs.and.lots" expression="1" />-->
+ <param name="ulink.target" expression="_self" />
+ <param name="suppress.navigation" expression="0" />
+ <param name="html.cleanup" expression="1" />
+ <param name="html.cellpadding" expression="3" />
+ <param name="use.id.as.filename" expression="1" />
+ <param name="chapter.autolabel" expression="0" />
+ <param name="section.autolabel" expression="0" />
+ <outputproperty name="method" value="xml" />
+ <outputproperty name="standalone" value="yes" />
+ <outputproperty name="encoding" value="iso8859_1" />
+ <outputproperty name="indent" value="es" />
+ </xslt>
+
+ <!-- Copy PDF/HTML to ../target -->
+ <mkdir dir="../target/userguides" />
+ <copy file="target/pdf/${name}.pdf" tofile="../target/userguides/${name}.pdf" />
+ <mkdir dir="../target/userguides/${name}" />
+ <copy todir="../target/userguides/${name}">
+ <fileset dir="target/html" />
+ </copy>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.properties</include>
+ <include>plugin.xml</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+ <addMavenDescriptor>false</addMavenDescriptor>
+ </archive>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <overWrite>true</overWrite>
+ <artifactItems>
+ <artifactItem>
+ <groupId>docbook</groupId>
+ <artifactId>docbook-xml</artifactId>
+ <type>zip</type>
+ <outputDirectory>target/docbook/docbook-xml</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>docbook</groupId>
+ <artifactId>docbook-xsl</artifactId>
+ <type>zip</type>
+ <outputDirectory>target/docbook</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>build-eclipse-help</id>
+ <phase>process-classes</phase>
+ <configuration>
+ <tasks>
+ <!-- Prepare docbook -->
+ <property name="fromregexpxml" value="^(docbook-xml-[^/]+)/(.*)" />
+ <property name="toregexpxml" value="docbook-xml/\2" />
+ <move todir="target/docbook">
+ <fileset dir="target/docbook">
+ <include name="docbook-xml-*/**" />
+ </fileset>
+ <regexpmapper from="${fromregexpxml}" to="${toregexpxml}" handledirsep="true" />
+ </move>
+
+ <property name="fromregexpxsl" value="^(docbook-xsl-[^/]+)/(.*)" />
+ <property name="toregexpxsl" value="docbook-xsl/\2" />
+ <move todir="target/docbook">
+ <fileset dir="target/docbook">
+ <include name="docbook-xsl-*/**" />
+ </fileset>
+ <regexpmapper from="${fromregexpxsl}" to="${toregexpxsl}" handledirsep="true" />
+ </move>
+
+ <!-- Create HTML -->
+ <xslt basedir="target/docbook/" in="src/main/docbook/0_index.xml" out="target/classes/index.html" style="docbook-xsl/eclipse/eclipse.xsl">
+ <param name="ignore.image.scaling" expression="1" />
+ <param name="manifest.in.base.dir" expression="0" />
+ <param name="base.dir" expression="html/" />
+ <param name="html.stylesheet" expression="css/book.css" />
+ <param name="table.cell.borders.thickness" expression="1" />
+ <!-- <param name="table.borders.with.css" expression="1" /> -->
+ <param name="generate.section.toc.level" expression="5" />
+ <param name="toc.max.depth" expression="1" />
+ <param name="chunk.first.sections" expression="1" />
+ <param name="chunk.section.depth" expression="5" />
+ <param name="chunk.fast" expression="1" />
+ <param name="chunk.separate.lots" expression="1" />
+ <!--<param name="chunk.tocs.and.lots" expression="1" />-->
+ <param name="ulink.target" expression="_self" />
+ <param name="suppress.navigation" expression="1" />
+ <param name="html.cleanup" expression="1" />
+ <param name="html.cellpadding" expression="3" />
+ <param name="use.id.as.filename" expression="1" />
+ <param name="chapter.autolabel" expression="0" />
+ <param name="section.autolabel" expression="0" />
+ <outputproperty name="method" value="xml" />
+ <outputproperty name="standalone" value="yes" />
+ <outputproperty name="encoding" value="iso8859_1" />
+ <outputproperty name="indent" value="es" />
+ </xslt>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Propchange: directory/sandbox/felixk/studio-schemaeditor-help/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native