Hi,

I have a project with mostly handwritten package.jdo files. All newer
files now use XDoclet via the jdodoclet ant task.

how do I merge the old handwritten package.jdo file into the newly
generated using ant?

Details:
I'm using ANT extensions to generate a "package.jdo" for every package,
so the example will only show a one package example. 

The folder "./old/src/com/test/package/" contains a "by hand" managed
package.jdo file containing the XML for all files that are missing
XDoclet. That information PLUS the XDoclet generated should be merged
into the output "./new/src/com/test/package/package.jdo".

Is this possible and if yes, what am I doing wrong?




        <target name="xdoclet.jdo.test">
            <jdodoclet destdir="./new/src/com/test/package/"
mergedir="./old/src/com/test/package/">
                <fileset dir="./new/src/">
                    <include name="com/test/package/*.java"/>
                </fileset>
                <jdometadata project="package" generation="project"/>
            </jdodoclet>
        </target>


Maybe I did get it wrong!? Counld you the please explain to me what the
merge attribute is used for?


Thanks in advance!

Dennis

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to