The first starting question for Maven+Eclipse problems is… have you followed the WIKI guide Henrique and I put together a few years ago? e.g., Have you followed the setup guide for developing WO+Maven within Eclipse? Perhaps that page needs more promotion, or is hard to find? It's also worth having a look at the archetypes available for WOMaven to see how they're set up. From an email I sent to the list in January 2012 titled "Re: Using Maven". ----------------------- I've attached a working pom.xml (which should work with wolips for eclipse 3.7 and latest wonder), an Application.java that works and Henrique's JarResourceRequestHandler. See if that helps... On 25/09/2012, at 6:20 AM, Jean-François Veillette <jean_francois_veille...@yahoo.ca> wrote: I need some help to debug maven issues from inside Eclipse [*a*]. I think that's true. This is largely to do with classpath ordering, so it's best to do it as you've done below - but use ERXPatcher instead which is a public API. 2- Then later on, at runtime while navigating the app, It cannot find a model (defined in a framework) for a given class entity (cannot find model associated with entity named: "MyEntity") and fail to fetch. Ensure all your frameworks are loaded into your workspace. You'll also want to make use of the JarResourceRequestHandler. Both of these problems point to the direction of the bundle (NSBundle), the ressource manager (NSResourceManager), or something related (maven build, classpath, .jar resource loading). |
pom.xml
Description: XML document
Application.java
Description: Binary data
JarResourceRequestHandler.java
Description: Binary data
_______________________________________________ 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