Fixed. The DOCTYPE path for the dtd was wrong. I needed to adapt this because docbook is unzipped into the target
directory and not into the root directory as it's done in ant/ivy.
HTH
Felix
Pierre-Arnaud Marcelot schrieb:
Looks like I need your help Felix...
I have a build error when I'm trying to build everything.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Directory Studio Schema Editor Help
[INFO] task-segment: [clean, install]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target
[INFO] Deleting directory
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target/classes
[INFO] Deleting directory
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target/test-classes
[INFO] Deleting directory
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target/site
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [dependency:unpack {execution: unpack-schemaeditor-help}]
[INFO] Configured Artifact: docbook:docbook-xml:?:zip
[INFO] Configured Artifact: docbook:docbook-xsl:?:zip
[INFO] Expanding:
/Users/pajbam/.m2/repository/docbook/docbook-xml/4.5/docbook-xml-4.5.zip
into
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target/docbook/docbook-xml
[INFO] Expanding:
/Users/pajbam/.m2/repository/docbook/docbook-xsl/1.71.1/docbook-xsl-1.71.1.zip
into
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target/docbook
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [antrun:run {execution: build-eclipse-help-schemaeditor-help}]
[INFO] Executing tasks
[move] Moving 1057 files to
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target/docbook
[xslt] Processing
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/src/main/docbook/0_index.xml
to
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target/classes/index.html
[xslt] Loading stylesheet
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/target/docbook/docbook-xsl/eclipse/eclipse.xsl
[xslt] : Fatal Error! java.io.FileNotFoundException:
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/docbook-xml/docbookx.dtd
(No such file or directory) Cause: java.io.FileNotFoundException:
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/docbook-xml/docbookx.dtd
(No such file or directory)
[xslt] Failed to process
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/src/main/docbook/0_index.xml
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: Fatal error during transformation
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/docbook-xml/docbookx.dtd
(No such file or directory)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 42 seconds
[INFO] Finished at: Wed Jan 30 17:00:50 CET 2008
[INFO] Final Memory: 38M/63M
[INFO]
------------------------------------------------------------------------
I don't know why it is looking for the DTD here:
/Users/pajbam/Development/Apache/studio-maven/schemaeditor-help/docbook-xml/docbookx.dtd,
and not in the target folder...
Maybe you have an idea ?
Thanks,
Pierre-Arnaud