- This topic has 2 replies, 3 voices, and was last updated 20 years, 9 months ago by
Greg.
-
AuthorPosts
-
ricmoore0922Member– 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): yOther 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.
October 5, 2004 at 12:08 pm #216910
Riyad KallaMemberI have sent this to our XDoclet guy.
October 12, 2004 at 1:19 am #217428
GregMemberSorry 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.
-
AuthorPosts