Thx Matt, your hint does the trick. I specified a property in the webdoclet tag and it's value in the standard maven project.properties file. While my project is processed with maven the property is substituted appropriately.
Dom On Tue, 2003-08-26 at 01:32, matt wrote: > We've only used this feature with ejbdoclet, but you can reference Ant > properties from the Java source code. I believe this works for any tag. > > For example, in an Entity Bean source file > @jboss.create-table "${jboss.table.create}" > will substitute the value of the Ant property jboss.table.create when > the ejbdoclet task is run. > > As I said, we haven't used this in webdoclet, but it should work just as > well. > > I'm afraid my experience of maven is fairly limited, so you may need to > do something additional to get the properties from project.properties > into the scope of the Ant task. > > > Matt > > Dominik Dahlem wrote: > > >Hi all, > > > >I'm using webdoclet for my web application. I implemented some servlet > >filters which need to be initialized. > >Is there a way to tell XDoclet to look up initialization parameters in a > >properties file (e.g. project.properties in Maven) rather than > >specifying them in source code? > > > >Thx for any help, > >Dominik > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: VM Ware > >With VMware you can run multiple operating systems on a single machine. > >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > >at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > >_______________________________________________ > >xdoclet-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user