Re: First time simple use of XDoclet
Konstantin Priblouda <[email protected]> Mon, 12 Mar 2007 09:41:20 -0700 (PDT)
| Newsgroups | gmane.comp.java.xdoclet.user |
|---|---|
| Message-ID | <[email protected]> |
--- Mary OToole <[email protected]> wrote: > I'm just getting started and want to start with > something very simple. > I want to be able to control the value of a string > in my source code via > XDoclet. > This is my existing code: > > private static final String DEFAULT_CONFIG_PROP = > "data/build.properties"; > > > How to I use XDoclet to set DEFAULT_CONFIG_PROP to a > value declared in my > ant build.xml? > > I know this should be easy, but so far I'm seeing > mostly examples for using > XDocet for EJB.s > Thanks in advance for your help! This is best done via value substitution of ant copy task. XDoclet is not necessary to do this. regards, ----[ 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 ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV