facebook

XDoclet/ejbdoclet & "addedTags" values

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #216904 Reply

    ricmoore0922
    Member

    – System Setup ——————————-
    Operating System and version: Windows 200 Pro w/ SP 4
    Eclipse version: 3.0.1
    Eclipse build id: 200409161125
    Fresh Eclipse install (y/n): y

    Other installed external plugins: MyEclipse, JBOSS IDE, Lomboz, SVN
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.8.2 Build id: 200409171200-3.8.2
    Eclipse JDK version: 1.4.2_04
    Application Server JDK version: 1.4.2_04
    Are there any exceptions in the Eclipse log file? No

    – Message Body ——————————-
    Greetings,

    I have a project that uses J2EE EJBs & a Servlet to produce a JAR and WAR file, packaged into an EAR file, which I then deploy onto a JBOSS 4.0RC1 application server. My question is: how can I get the addedTags attribute of the ejbdoclet task (which says, in part: “@xdoclet-generated at ${TODAY}”) to replace ${TODAY} with the date when the files are generated. I have found that by including the <tstamp/> ant task in the project’s xdoclet-build.xml file, I can get the generation date into the generated files. But as soon as I make further changes to the xdoclet build configuration the xdcolet-build.xml file is overwritten. Is there some way to accomplish this goal using an xdoclet-build.properties file? Or, perhaps, a way to include something in the project’s .xdoclet file that would result in the desired outcome? I have experimented enough to find out that modifications to the .xdoclet file are reflected in the xdoclet-build.xml file.

    #216910

    Riyad Kalla
    Member

    I have sent this to our XDoclet guy.

    #217428

    Greg
    Member

    Sorry for the delay in response.

    My suggestion would be to run the xdoclet-build.xml as an external tool so you can specifiy additional properties file.

    Right-click on the xdoclet-build.xml file and go to Run->External Tools…. From there you can click on the properties tab and add additional properties files to your xdoclet build.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: XDoclet/ejbdoclet & "addedTags" values

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