Hi,
I am trying to run JBossESB server from the Eclipse IDE. I got it to build
without errors however:
1) When I run the "ant dist" task within product directory I get an error while
generating admin guide (at the end of this email).
2) I cannot run the esb server from Eclipse, which Main class should I run to be
able to swiftly change code/test run it?
I know that those are pretty newb questions it would help me a lot though.
The Ant output:
[java] install.docs:
[java] [echo] Building docs
[java]
[java] check-maven-install:
[java]
[java] build-docs:
[java] [java] [INFO] Scanning for projects...
[java] [java] Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/css/core/maven-metadata...
[java] [java] [WARNING] Could not transfer metadata
org.eclipse.wst.css:core/maven-metadata.xml from maven-repository.dev.java.net
(http://download.java.net/maven/1): No connector available to access repository
maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory
[java] [java] Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[java] [java] [WARNING] Could not transfer metadata
org.eclipse.wst.sse:core/maven-metadata.xml from maven-repository.dev.java.net
(http://download.java.net/maven/1): No connector available to access repository
maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory
[java] [java] Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/common/uriresolver/mave...
[java] [java] [WARNING] Could not transfer metadata
org.eclipse.wst.common:uriresolver/maven-metadata.xml from
maven-repository.dev.java.net (http://download.java.net/maven/1): No connector
available to access repository maven-repository.dev.java.net
(http://download.java.net/maven/1) of type legacy using the available factories
WagonRepositoryConnectorFactory
[java] [java] Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[java] [java] [WARNING] Could not transfer metadata
org.eclipse.wst.sse:core/maven-metadata.xml from maven-repository.dev.java.net
(http://download.java.net/maven/1): No connector available to access repository
maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory
[java] [java] [WARNING]
[java] [java] [WARNING] Some problems were encountered while building
the effective model for org.jboss.esb:Administration_Guide-en-US:jdocbook:1.0
[java] [java] [WARNING] 'artifactId' contains an expression but
should be a constant. @ org.jboss.esb:${docname}-${translation}:1.0,
C:\data\school\dp\src\jbossesb\product\docs\Administration_Guide\pom.xml, line
7, column 14
[java] [java] [WARNING]
[java] [java] [WARNING] It is highly recommended to fix these
problems because they threaten the stability of your build.
[java] [java] [WARNING]
[java] [java] [WARNING] For this reason, future Maven versions might
no longer support building such malformed projects.
[java] [java] [WARNING]
[java] [java] [INFO]
[java] [java] [INFO]
------------------------------------------------------------------------
[java] [java] [INFO] Building Administration Guide-(en-US) 1.0
[java] [java] [INFO]
------------------------------------------------------------------------
[java] [java] [INFO]
[java] [java] [INFO] --- maven-jdocbook-plugin:2.2.0:resources
(default-resources) @ Administration_Guide-en-US ---
[java] [java] Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/css/core/maven-metadata...
[java] [java] [WARNING] Could not transfer metadata
org.eclipse.wst.css:core/maven-metadata.xml from maven-repository.dev.java.net
(http://download.java.net/maven/1): No connector available to access repository
maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory
[java] [java] Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[java] [java] [WARNING] Could not transfer metadata
org.eclipse.wst.sse:core/maven-metadata.xml from maven-repository.dev.java.net
(http://download.java.net/maven/1): No connector available to access repository
maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory
[java] [java] Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/common/uriresolver/mave...
[java] [java] [WARNING] Could not transfer metadata
org.eclipse.wst.common:uriresolver/maven-metadata.xml from
maven-repository.dev.java.net (http://download.java.net/maven/1): No connector
available to access repository maven-repository.dev.java.net
(http://download.java.net/maven/1) of type legacy using the available factories
WagonRepositoryConnectorFactory
[java] [java] Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[java] [java] [WARNING] Could not transfer metadata
org.eclipse.wst.sse:core/maven-metadata.xml from maven-repository.dev.java.net
(http://download.java.net/maven/1): No connector available to access repository
maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory
[java] [java] [INFO] Expanding:
C:\Users\kalaz\.m2\repository\org\jboss\jbossorg-jdocbook-style\1.1.0\jbossorg-jdocbook-style-1.1.0.jdocbook-style
into
C:\data\school\dp\src\jbossesb\product\docs\Administration_Guide\target\docbook\staging
[java] [java] [INFO]
[java] [java] [INFO] --- maven-jdocbook-plugin:2.2.0:generate
(default-generate) @ Administration_Guide-en-US ---
[java] [java] [INFO] Processing en-US -> pdf
[java] [java] redirecting output to file
[C:\data\school\dp\src\jbossesb\product\docs\Administration_Guide\target\docbook\work\log\console-en-US-pdf.log]
[java] [java] [INFO] creating FOP user-config DOM
[java] [java] Error on line 4 column 17 of
file:/C:/data/school/dp/src/jbossesb/product/docs/Administration_Guide/en-US/Administration_Guide.xml:
[java] [java] Error reported by XML parser: Invalid byte 2 of
3-byte UTF-8 sequence.
[java] [java] [INFO]
------------------------------------------------------------------------
[java] [java] [INFO] BUILD FAILURE
[java] [java] [INFO]
------------------------------------------------------------------------
[java] [java] [INFO] Total time: 15.928s
[java] [java] [INFO] Finished at: Sun Oct 31 12:45:15 CET 2010
[java] [java] [INFO] Final Memory: 14M/35M
[java] [java] [INFO]
------------------------------------------------------------------------
[java] [java] [ERROR] Failed to execute goal
org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.0:generate (default-generate)
on project Administration_Guide-en-US: XSLT problem: error rendering
[org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.] on
Administration_Guide.xml -> [Help 1]
[java] [java] [ERROR]
[java] [java] [ERROR] To see the full stack trace of the errors,
re-run Maven with the -e switch.
[java] [java] [ERROR] Re-run Maven using the -X switch to enable full
debug logging.
[java] [java] [ERROR]
[java] [java] [ERROR] For more information about the errors and
possible solutions, please read the following articles:
[java] [java] [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[java] [java] Java Result: 1
[java]
[java] BUILD FAILED
[java] C:\data\school\dp\src\jbossesb\product\build.xml:450: The following
error occurred while executing this line:
[java] C:\data\school\dp\src\jbossesb\product\build.xml:356: The following
error occurred while executing this line:
[java] C:\data\school\dp\src\jbossesb\product\docs\build.xml:80:
Administration Guide failed to build.
[java]
[java] Total time: 2 minutes 56 seconds