Dear all, I have successfully used maven with a non-WO application so I was keen to switch and make it easy for me to use some jar-based libraries of my own within WO.
I have created an empty maven project using two different archetypes [from http://maven.wocommunity.org/service/local/repositories/snapshots/content/archetype-catalog.xml] <http://maven.wocommunity.org/service/local/repositories/snapshots/content/archetype-catalog.xml%5D> using the 2.2-SNAPSHOT version of woapplication-archetype as well as erxapplication-archetype. Both build beautifully from the command-line and run with no problems in direct connect mode it seems. However, running from within eclipse in direct connect mode results in an error <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main at "file:/Users/mark/Dev/rsdb/projects/rstest-pw/“ from the erxapplication-archetype application. There are no such problems from woapplication-archetype. I added if (isDirectConnectEnabled()) { registerRequestHandler(new JarResourceRequestHandler(), "wr"); } to my Application class, with JarResourceRequestHandler code from https://gist.github.com/hprange/1068523 <https://gist.github.com/hprange/1068523> but this did not fix the problem. If I add Project Wonder dependencies to the plain WO app, it runs but I get the error above until I remove them. If there is no problem at the command-line but only with eclipse, and only when using Project Wonder, there must be some misconfiguration on my part within eclipse? Should I upgrade to 3.6? eclipse.org <http://eclipse.org/> has been down all day but otherwise I would have updated. Any suggestions would be gratefully received! Mark -- Dr. Mark Wardle Consultant Neurologist, University Hospital Wales, Cardiff, UK Email: mark.war...@wales.nhs.uk or m...@wardle.org Twitter: @mwardle Telephone: 02920745274 (secretary) or facsimile: 02920744166
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com