Hello all,
We are using springdoclet in our maven project to generate our spring and
hibernate configuration files.
Lately, we are expeirencing a unique problem.
The application context file that springdoclet generates has the following
root element.

<!DOCTYPE beans PUBLIC
    "-//SPRING//DTD BEAN//EN"
    "http://www.springframework.org/dtd/spring-beans.dtd";>

<beans
  default-autowire="no"
  default-lazy-init="false"
  default-dependency-check="none"
>

But we want the springdoclet to generate the following root element.

<beans 

    xmlns="http://www.springframework.org/schema/beans";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xmlns:aop="http://www.springframework.org/schema/aop";
    xmlns:tx="http://www.springframework.org/schema/tx";
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
    http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
    http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd";>

Spring doclet defiition in our pom.xml:
<springdoclet mergeDir="${basedir}/src/main/webapp/WEB-INF/merge"
destdir="target/abc-resources"
excludedtags="@version,@author,@todo,@see,@desc" verbose="true" force="true"
addedTags="">
                       <fileset dir="${project.build.sourceDirectory}">
                           <include name="**/*.java" />
                     </fileset>
                     <springxml destinationfile="abc-servlet.xml" />
                </springdoclet>
The question is how we force springdoclet to generate the header given
above? is there any settings that is possible to set? 
Can anyone please please help me here.
Thanks,
Subu
-- 
View this message in context: 
http://www.nabble.com/springdoclet-issue%21-tf4597610.html#a13126543
Sent from the xdoclet-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to