Hi John,
Thanks a lot for your Eclipse power tip! It seems I've found the
troubling jar. I'm happy! ;-)
/Jon
On 6/13/12 4:02 PM, John Huss wrote:
In Eclipse go to Navigate -> Open Type...
Type in the class name and see what jars/locations it shows up in.
John
On Wed, Jun 13, 2012 at 7:42 AM, Jon Kleiser <[email protected]
<mailto:[email protected]>> wrote:
Hi,
I maintain an old WO project that I "ported" to WOLips last year.
I now use the new directory structure (jar files in "Libraries"
etc.) on my developer Mac, but I've kept the old structure (jars
in "lib") on our servers; I didn't want to rearrange things in
CVS. I've written a little shell script that takes care of the
differences between new and old structure.
These days I'm working on a rather big extension to this WO
application, and I've had to include several new jar files in the
project. At one point, during a call to a method in one of the new
jars, I get an exception, and now I'm busy debugging this. This
jar, and a couple more, are more or less custom made for our
project, I have the source, and I build them using maven. I tried
to insert several "println" lines to locate the problem, and
replacing the original jar with my modified one and cleaning my
project, but to my surprise none of my lines got printed. At the
end I removed this jar entirely from my project on my Mac, but my
WO application still builds (using ant) and runs without any
visible change; I get the very same exception as before. I have
also removed this jar from the project on our Linux server, and
even here it builds (using ant) and runs without change.
I see two possible explanations:
1) An old copy of the jar I removed is still around somewhere
(both on my Mac on on the Linux server).
2) The class/method I'm calling just before the exception is also
available in one of the other jar files that I have included, but
from all the source code and pom.xml files that I have checked, I
cannot see that this should be the case.
Any ideas? - My time is running shortish ...
Sincerely,
Jon Kleiser
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]