[ http://jira.codehaus.org/browse/XDP-204?page=all ]

Konstantin Pribluda closed XDP-204.
-----------------------------------

    Assignee: Konstantin Pribluda

> mergeDir property exist but doesn't work
> ----------------------------------------
>
>                 Key: XDP-204
>                 URL: http://jira.codehaus.org/browse/XDP-204
>             Project: XDoclet 2 Plugins
>          Issue Type: Bug
>    Affects Versions: 1.0.4
>         Environment: xdoclet-plugin-web-1.0.4-SNAPSHOT.jar
> xdoclet-2.0.6-SNAPSHOT.jar
> generama-1.2.3-SNAPSHOT.jar
> commons-jelly-tags-xml-20050823.222913.jar
>            Reporter: Marc Chételat
>         Assigned To: Konstantin Pribluda
>            Priority: Critical
>             Fix For: 1.0.4
>
>
> When I compile with Ant, my merge files are never integrated in my generated 
> file web.xml
> For example, my servlets.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <j:jelly  xmlns:j="jelly:core"> 
>    <servlet>
>        <servlet-name>action</servlet-name>
>        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>  
>     
>        <init-param>
>            <param-name>validate</param-name>
>            <param-value>true</param-value>
>        </init-param>
>        <load-on-startup>2</load-on-startup>
>    </servlet>  
>     <servlet>
>    ...
>    </servlet> 
>   </j:jelly>
> My ant task :
> <xdoclet>   
>         <!-- defines the file handled by xdoclet2 -->
>         <fileset dir="${basedir}/src/webapp">
>           <include name="**/*Servlet.java" />
>           <include name="**/*Filter.java" />
>           <include name="**/*Listener.java" />
>         </fileset>
>            <component
>             classname="org.xdoclet.plugin.web.WebPlugin"                     
>          mergedir="${basedir}\templateconfig\webapp\"
>             destdir="${basedir}\config\webapp\"
>             servletversion="2.4"                         
>        validate="true" />
>       </xdoclet>
> If I enable the debug mode with ANT, I see something strange:
> Couldn't load Resource D:\projects\dev\web\templateconfig\webapp\servlets.xml
> But this file exists !!!
> I tried all this week with other versions of jar (from xdoclet plugins 1.0.3 
> ... until this last state of snapshots...)
> Can somebody say me if it exists a current version of Xdoclet2 with plugins 
> that can generate config files with integrating my template file ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to