Michael,
I took a quick look at the java and as far as the getters for WOLIPS
Context the following are available:
public String getPackageName()
public boolean getCreatePackageDeclaration()
public String getComponentName()
public boolean getCreateBodyTag()
public String getAdaptorName()
public String getProjectName()
public String getAntFolderName()
These are for the most part set from or by the New Component wizard
and made available to the template engine through WOLipsContext.java.
Except for getAntFolderName which is buried somewhere in the project
wizards.
I see references to also looking in
System.use.home/Library/WOLips/Templates for custom templates but I am
not sure if how/if it actually looks there.
I had once thought about trying to extend the templates functionality
for WOLips this at least gives me a chance to look at it again . Note
look at again probably means within the next few weeks :- ( .
~jake
On 2/14/07, Michael Hast <mhas..esertsky.com> wrote:
> autolearn=unavailable version=3.1.3
> X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.desertsky.com
>
> In the wocomponent.java.vm template I see ${Date}. Where can I find docs
> that explain what ${...} variables are available for customization. I
> also see WOLipsContext.get... methods. Where can I find API docs on
> WOLipsContext. I looked at
> http://objectstyle.org/woproject-old/api/index.html, but there is no
> WOLipsContext.
>
> Michael.
>
> Michael Hast wrote:
> > Hi all:
> >
> > Did anyone find out how to customize the .wo template? Do I have to
> > jank out the jar file, make my changes and put the jar file back into
> > the eclipse application directory? Or is it possible to place the
> > custom templates in like ~/Library?
> >
> > Michael.
> >
> --
> Tel: (520) 572-9410
> Desert Sky Software: www.desertsky.com
> Specializing in the Development and Hosting of
> e-Business Applications.
>
>
This archive was generated by hypermail 2.0.0 : Wed Feb 14 2007 - 16:23:04 EST