Thanks Archibald,
Let me attempt to clarify:
I have a project that's dependent on some third party frameworks, in
this case they happen to be Wonder frameworks; specifically ERJars,
Ajax, and a few other. I"m just using the Wonder Ajax stuff, not a
full blown Wonder app. I have the source Wonder projects referenced
in my workspace, but do not reference the Wonder projects in my
project; instead I just include the actual installed framework on my
build path. After updating the Wonder source and reinstalling the
frameworks, my project now complains that it can't find a specific
jar. I believe that this jar has been updated and really shouldn't
need to be referenced any longer as it appears that there is a newer
version of this jar, which is also now referenced under the
WebObjects Frameworks Library and is also available on the file
system. If I edit the WebObjects Framewors library entry under Build
Path -> Configure Build Path, I can remove all the references to
ERJars, Ajax, ERExtensions, and WOExtensions and this pesky reference
will go away (and obviously I'll have a bunch of other problems now).
But when I add the ERJars reference back in, the missing Jar is once
again referenced and I"m unable to build again. Also, if I create
another project with a dependency on ERJars.framework, I"ll get the
same error relating to icu4j_2_8.jar. I thought initially that all I
really needed to do was somehow get the projects build path to stop
referencing that specific jar, and I was unable to do that by
configuring the build path with conventional means, so I thought
there might have been some file that I could edit directly that would
allow me to remove the dependency. After further investigation, I
think this problem is due to some oddness with ERJars; either with
the source or due to some bug on my local system. I'll do some more
digging and post this to the Wonder list or file a bug if I still
can't figure it out.
If I look at the source for ERJars in the workspace, there's a
Libraries folder which shows as empty in Package Explorer. However,
there are four jars in it on the file system; and the one that my
project complains about missing is not there and it's not referenced
in the ERJars project Build Path. I'm also not able to build this
ERJars project with either Ant or Eclipse.
Bill
On Mar 14, 2008, at 6:48 PM, Archibald Singleton wrote:
>
> On 14 Mar 2008, at 12:57, William Hatch wrote:
>
>> Yes, I thought I'd have to do something like what you're
>> suggesting. My problem is how... I guess a better phrased
>> question is "how do you fix the buildpath manually?" What files
>> do I need to edit and that sort of thing. Thanks Archibald.
>
> I'm not sure I understand your question, sorry.
>
> I've never had to edit any file. Just configure the projects/
> frameworks/libraries/jars in the "Java Build Path" from the
> Projet's Properties dialog.
> I usually look a the error messages to try and guess which of the
> above are missing. Sometimes I also need to actually look at the
> code in the project (the imports) to identify missing .
>
> HTH
>
> = tmk =
>
>
>
>> Bill
>>
>>
>> On Mar 14, 2008, at 11:47 AM, Archibald Singleton wrote:
>>
>>>
>>> On 14 Mar 2008, at 12:24, William Hatch wrote:
>>>
>>>> I have wonder source projects, set up according to tutorial. I
>>>> updated yesterday, following Keiran's excellent script and all
>>>> built/installed and updated fine. In a dependent ( on installed
>>>> frameworks, not source project ERJars) project, I'm now getting
>>>> the following error:
>>>>
>>>> Project 'wonderTest' is missing required library: '/Library/
>>>> Frameworks/ERJars.framework/Resources/Java/icu4j_2_8.jar'
>>>> wonderTest Build path 1205506287775 48877
>>>>
>>>> which seems to indicate that my projects build path is hanging
>>>> onto an outdated reference. Inspecting the Build Path settings
>>>> in Eclipse confirms this; under the WebObjects Frameworks entry
>>>> there is a reference to this jar, as well as a reference to the
>>>> new jar which should replace it (I'd think, anyway). The project
>>>> will not build anymore using Eclipse build until this is
>>>> resolved and I am having a hard time figuring out how to resolve
>>>> this. I'm hesitant to wack the library entry for fear that I
>>>> won't be able to recreate it properly and thereby furthering my
>>>> troubles. How should I go about fixing this? Thanks.
>>>
>>> I also use Wonder from source. I get a similar problem almost
>>> every time I update my WOnder source.
>>> The various WOnder projects seems to be randomly affected by this
>>> problem. The last time I updated (yesterday), I got a problem
>>> with ERJGroupsSynchronizer. What I do is simply reconfigure the
>>> buildbpath manually. It's not always easy (I sometimes have to
>>> check the code to identify wich projects/frameworks/jars/
>>> libraries are used, but it's never been too hard either. I
>>> suppose these problems will go away with the new classpath stuff
>>> Mike is working on.
>>>
>>> = tmk =
>>>
>>
>
This archive was generated by hypermail 2.0.0 : Fri Mar 14 2008 - 21:46:24 EDT