Re: mergeDir doesn't work

Marc Chételat ML <ml-aZAF/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
Thanks for your response.
I just created one: http://jira.codehaus.org/browse/XDP-204

Regards,
Marc

Konstantin Priblouda wrote:
> PLease file an JIRA issue, soI do not forget to look
> after this on weekend 
>
> regards,
>
> --- Marc Chételat ML <ml-aZAF/[email protected]> wrote:
>
>   
>> Hi all,
>>
>> I m using Xdoclet 2 with the following versions
>> downloaded on 
>> http://dist.codehaus.org
>>
>> 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
>> ...
>>
>> 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 ?
>>
>> Many thanks in advance for your answer!
>>
>> Regards,
>> Marc
>>
>>
>>
>>     
> -------------------------------------------------------------------------
>   
>> Using Tomcat but need to do more? Need to support
>> web services, security?
>> Get stuff done quickly with pre-integrated
>> technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1
>> based on Apache Geronimo
>>
>>     
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>   
>> _______________________________________________
>> xdoclet-plugins-interest mailing list
>> xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>
>>     
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
>   
>
>
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
> check it out: http://xdoclet.codehaus.org
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
>
>
>
>   



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.