Re: New >WO Component == empty wo component RESOLVED

From: gbrown (gbrow..57.nuc.ann-arbor.med.va.gov)
Date: Wed Oct 12 2005 - 08:58:31 EDT

  • Next message: Mike Schrag: "Re: Problem with the nightly builds"

    Yes,
    The templates exists in org.objectstyle.wolips.templateengine_2.0.0.65
    and in the more recent org.objectstyle.wolips.templateengine_2.0.0.71.

    One fact is this was an older eclipse/wolips 3.01/wolips 1.1.0.102?, so
    I thought maybe a new project would work, and I created a new project
    and the MacX console spat out errors:

    ===== Wednesday, October 12, 2005 8:37:13 AM America/Detroit =====
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Main.html.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Main.wod.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Main.woo.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Application.java.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/DirectAction.java.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Main.java.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Session.java.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/.classpath.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/.project.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/ant.classpaths.user.home.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/ant.classpaths.wo.wolocalroot.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/ant.classpaths.wo.wosystemroot.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/ant.frameworks.user.home.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/ant.frameworks.wo.wolocalroot.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/ant.frameworks.wo.wosystemroot.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/build.xml.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/build.properties.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/CustomInfo.plist.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Main.api.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Makefile.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Makefile.postamble.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Makefile.preamble.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/PB.project.vm'
    Exception : org.apache.velocity.exception.ResourceNotFoundException:
    Unable to find resource 'woapplication/Properties.vm'
    ===== Wednesday, October 12, 2005 8:37:57 AM America/Detroit =====

    Hmmm, the templates are there, but wolips did not want to use them! I
    noticed that the eclipse folder was called eclipse3,1.1 and I wondered
    about that comma/typo in the folder name, so I changed the folder name
    to eclipse3-1-1 and lo and behold: IT WORKS ! IT WORKS!

    And also with older projects as well, I can add WOComponents and the
    templates work. So,

    DON'T HAVE COMMAS IN YOUR DIRECTORY PATH NAMES! Watch those clumsy fingers.

    Thanks for your help! Now I can proceede.

    Mike Schrag wrote:

    > In your eclipse/plugins/
    > org.objectstyle.wolips.templateengine_2.0.0.70/templates/wocomponent
    > folder, do those files exist? (replace 2.0.0.70 for whatever version
    > number is highest in your plugins folder -- what # is that, by the way?)
    >
    > ms
    >
    > On Oct 11, 2005, at 4:34 PM, gbrown wrote:
    >
    >> Thanks Mike,
    >> (You seem to know your way around eclipse, you've done this before?)
    >>
    >> From View=>Other=>PDE Runtime =>Error Log:
    >>
    >> OK 4 4 2005-10-11 10:10:49.158 PDE User please copy woproperties.xml
    >> from the woproject/projects/buildscripts to the wolips variables
    >> plugin. [Ljava.lang.StackTraceElement..25617 (An exception stack
    >> trace is not available.)
    >>
    >> And now that I look, the MacX console says:
    >>
    >> Exception : org.apache.velocity.exception.ResourceNotFoundException:
    >> Unable to find resource 'wocomponent/wocomponent.html.vm'
    >> Exception : org.apache.velocity.exception.ResourceNotFoundException:
    >> Unable to find resource 'wocomponent/wocomponent.wod.vm'
    >> Exception : org.apache.velocity.exception.ResourceNotFoundException:
    >> Unable to find resource 'wocomponent/wocomponent.woo.vm'
    >> Exception : org.apache.velocity.exception.ResourceNotFoundException:
    >> Unable to find resource 'wocomponent/wocomponent.java.vm'
    >> Exception : org.apache.velocity.exception.ResourceNotFoundException:
    >> Unable to find resource 'wocomponent/wocomponent.api.vm'
    >>
    >> everytime I try to create a WO component. Which brings up the
    >> question: Where did I get this software?
    >>
    >> I got it from:
    >>
    >>
    >>> http://www.mdimension.com/~wolips/wolips-all-latest.tar.gz
    >>> This is a single tar.gz with all of the dependencies uncompressed
    >>> and the latest wolips that you can unzip over top of your eclipse
    >>> folder … so if you want to do an initial install, just grab this.
    >>> Same laziness on version # in filename – it's rebuilt along w/ the
    >>> nightly build.
    >>>
    >>
    >> And it seems to have emf, gef, jem, wtp, jMechanic, etc. What could
    >> I be missing? or maybe plugins aren't all registered?
    >>
    >> Thanks for the help.
    >> Greg
    >>
    >>
    >> Mike Schrag wrote:
    >>
    >>
    >>> That sounds like there was an exception thrown during the wizard
    >>> process ... Can you turn on your Error Log view (Window=>Show
    >>> View=>Other=>PDE Runtime (I think)=>Error Log) then do it again and
    >>> send the stack trace of the exception in there?
    >>>
    >>> On Oct 11, 2005, at 11:16 AM, gbrown wrote:
    >>>
    >>>
    >>>> If I use the latest WOlips, eclipse 3.1.1 (9/25/05) and all, and
    >>>> then create a new WO component, MyComponent.wo is totally empty,
    >>>> i.e, no .html, no .wod, no .woo! (Boo who) and no MyComponent.java
    >>>> either!
    >>>>
    >>>> It doesn't matter if I check some or all of the checkboxes in the
    >>>> create new WO dialog form, still nothing.
    >>>>
    >>>> What am I missing? some checkbox in prefs? project prefs?
    >>>>
    >>>> According to the tutorial: http://objectstyle.org/confluence/
    >>>> display/WOL/Create+a+new+WO+Component
    >>>>
    >>>> I should have a .java, .wod, .html, etc., but I have none.
    >>>>
    >>>> Thanks in advance.
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Oct 12 2005 - 08:58:33 EDT