Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 29945 invoked from network); 27 Jul 2008 15:58:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2008 15:58:04 -0000 Received: (qmail 50854 invoked by uid 500); 27 Jul 2008 15:58:04 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 50839 invoked by uid 500); 27 Jul 2008 15:58:03 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 50828 invoked by uid 99); 27 Jul 2008 15:58:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 08:58:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 15:57:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 61AC6234C17D for ; Sun, 27 Jul 2008 08:57:03 -0700 (PDT) Message-ID: <2009836051.1217174223388.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 08:57:03 -0700 (PDT) From: "Jonas Lim (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-632) hack the XSD generator (patching JAXB's mvn plugin) so that the javadoc is included in the generated XSD as documentation In-Reply-To: <2079584732.1214299740276.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44567#action_44567 ] Jonas Lim commented on CAMEL-632: --------------------------------- I was initially thinking of creating a plugin for this but the schema generator class does not seem to be extensible to be able to create a "plugin" to intercept it before the generated schema is written down to the xsd document. the other option here is to hack the jaxb ri and add this functionality > hack the XSD generator (patching JAXB's mvn plugin) so that the javadoc is included in the generated XSD as documentation > ------------------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-632 > URL: https://issues.apache.org/activemq/browse/CAMEL-632 > Project: Apache Camel > Issue Type: Improvement > Reporter: James Strachan > Assignee: Jonas Lim > Fix For: 1.5.0 > > > In tools like Eclipse/IDEA there is smart completion when editing the XML with the XSD; however there's no documentation for elements/attributes. > We should extract the JavaDoc from the Java code and include it into the generated XSD. There's an existing issue here... > https://jaxb.dev.java.net/issues/show_bug.cgi?id=369 > as part of this we need to improve the javadoc too :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.