-
1. Re: Template Basics
lorensrosen Jan 16, 2003 1:15 PM (in response to zaaba)Hmm, taking a look I see the Getting Started doc isn't explicit about this. Here's what to do:
go to where you got the document (http://www.jboss.org/docs/#free-30x)
right below the link to download the document is a link to "Download Template and Examples".
(The link is to
http://prdownloads.sourceforge.net/jboss/JBoss.3.0TemplateAndExamples.zip
)
Download this and unzip it. You should get a directory structure like this
JBoss.3.0TemplateAndExamples
cmp2
template
transaction
The template referred to in the docs is (obviously) the template directory here. Copy this somewhere and modify it.
Hope this helps -- Loren -
2. Re: Template Basics
zaaba Jan 17, 2003 11:12 AM (in response to zaaba)OK I now have those directories, and have copied the templates directory somewhere else. I have edited .ant.properties.example with JBOSS_HOME and XCDOCLET_HOME. I have tried to rename this file to .ant.properties but Explorer won't allow it. The closest I can get is .ant.properties.txt by opening in Notepad and Saving As. (I am presuming you have to rename the file because it says so, and the build.xml refers to it)
-
3. Re: Template Basics
lorensrosen Jan 17, 2003 11:53 AM (in response to zaaba)There was a thread about this over in the forum on the Getting Started doc
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ you can rename the file to .ant.properties using the command prompt, even if some other programs won't let you.
Failing that, I suppose you could modify build.xml to refer to the file by whatever name you fancy.