facebook

Xdoclet 1.2.3 / ${TODAY} not initialised

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #268736 Reply

    miller786
    Member

    I have created a j2ee project with myeclipse 5.1. When I generate files with xdoclet I see ${TODAY} entries in the source code. How do I set up this property for eclipse/xdoclet so that it’s available for all future code generations?
    Cheers,
    KM

    #268813 Reply

    Riyad Kalla
    Member

    KM,
    Can you give me an example of the code you are generating? Also I don’t quite understand the part “it’s available for all future code generations”… can you clarify what you want?

    #269080 Reply

    miller786
    Member

    The code generated contains the following entries:

    /**
    * Home interface for Test.
    * @xdoclet-generated at ${TODAY}
    * @copyright The XDoclet Team
    * @author XDoclet
    * @version ${version}
    */

    I am wondering where I can configure the missing properties. Is there any option in the GUI that allows me to configure this? With future code gen. I mean that whenever I run XDoclet those props get picked up.

    Cheers,
    KM

    #269136 Reply

    Loyal Water
    Member

    Hi miller786,
    You can go through this tutorial. It will give you an idea about how the properties are set. http://www.myeclipseide.com/Articles/XDocletWebTutorial.html

    Let me know if this was helpful.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Xdoclet 1.2.3 / ${TODAY} not initialised

You must be logged in to post in the forum log in