Need some help with Maven
Need some help with Maven
- Subject: Need some help with Maven
- From: Jean-François Veillette <email@hidden>
- Date: Mon, 24 Sep 2012 16:20:03 -0400
I need some help to debug maven issues from inside Eclipse [*a*].
I converted some existing (and working) projects, both frameworks and applications.
1- When I run the application, I now (after the switch to maven) need to explicitely set the class to be used as Session and some components [*b*], things that I didn't need before.
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.
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).
Any help / clues that help me debug this situation will be greatly appreciated!
Any other comments will be seen as at least some very basic interest in maven ;-)
*a* -- which mean that I don't know if it's an Eclipse classpath m2eclipse issue since I have not yet tried to deploy and see if the .woa generated from mvn will experience the same problem.
*b* -- _NSUtilities.setClassForName(Main.class, Main.class.getSimpleName());
_NSUtilities.setClassForName(Session.class, Session.class.getSimpleName());
_NSUtilities.setClassForName(DirectAction.class, DirectAction.class.getSimpleName());
Thanks,
--
jfv
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden