Hi List,
I want to generate multiple files from one fileset.
in my ant-task i include my files like this:
<fileset dir="${global.base.dir}/dev/src/foobar">
<include name="**/*foobar.java" />
</fileset>
So i get an iteration of all java classen ending with foobar.java
I want to create a seperate file for each of the java-files in my fileset,
so i used this:
<template
templateFile="${template.base.dir}/foobar-Generator.xdt"
destinationfile="{0}_generated.java"
/>
Now i get a *foobar_generated.java file for each file in my fileset.
Is it possible to get better control over the filenames of the created
files? I want to eliminate the "foobar" section of the filenames in my
generated files, so I want to get *_generated.java instead of
*foobar_generated.java.
Does anyone have an idea how to manage this?
Maybe I can do this with patching XDoclet? But I don't know where. I writed
my own TagsHandler , so i am a little familar with the internals of XDoclet.
Any Suggestions?
Regards, Thomas
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user