Hello,

I have a Java class Clazz1 which is a subclass of Clazz2 (public Clazz1 extends 
Clazz2) but Clazz2 is in a jar file (myjarfile-1.0.jar).
In Clazz2, there are some tags like in Clazz1 which must provide a final file. 
But the tags in Clazz2 are refused to consider.

I have read some documents which recommend to unpack the java sources but it 
doesn't work :

  <!-- *******************************************************************  --> 
  <!-- target to unpack the java sources  --> 
  <!-- *******************************************************************  --> 
  <target name="prepare-xdoclet"> 
        <unjar dest="${src.xdoclet}" overwrite="false"> 
                <fileset dir="${maven.repo.local}/cwsoft/jars/"> 
                        <include name="myjarfile-1.0.jar"/> 
                </fileset> 
                <patternset> 
                        <include name="**/*.java"/> 
                </patternset> 
        </unjar> 
  </target> 

<target name="mapping" depends="prepare-xdoclet">
          <taskdef name="mappingdoclet" 
classname="com.cwsoft.xdoclet.dao.DaoDocletTask">
                    <classpath>
                        <fileset dir="${maven.repo.local}/xdoclet/jars/">
                            <include name="*.jar" />
                        </fileset>
                           <fileset 
dir="${maven.repo.local}/commons-collections/jars/">
                        <include name="commons-collections-3.1.jar" />
                      </fileset>
                      <fileset dir="${maven.repo.local}/commons-logging/jars/">
                        <include name="commons-logging-1.0.4.jar" />
                      </fileset>
                      <fileset dir="${maven.repo.local}/log4j/jars/">
                        <include name="log4j-1.2.8.jar" />
                      </fileset>
                   </classpath>
            </taskdef>
                
           <mappingdoclet destDir="${src.java-generated.dir}">
                  <fileset dir="${src.xdoclet}">
                            <include name="**/businessobject/*.java" />
                 </fileset>
                <fileset dir="${src.dir}">
                        <include name="**/businessobject/*.java" />
                </fileset>
                        
                <mapping/>
                                              
        </mappingdoclet>
 </target>

Thanks in advance.


[EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to