Jacopo,

I don't know about #3 and #5 but maybe they are caused by the first two
problems... I'd suggest to update from svn and then try to remove these
jars and see if it works.

The problem #3 and #5 are not related to #1 and #2.
I am also getting this problem.(Although I added entry for json jar file in
my .classpath file)

I think we may need to do one more entry in the .classpath.
Here is the json entry :(This jar file is referenced by the
JSONServiceEventHandler.java file)

<classpathentry kind="lib" path="framework/webapp/lib/json-lib-0.9.jar"/>

But I am not sure whether ezmorph-0.9.1.jar. file is in use or not.
Let me know if you would like me to create Issue for this.


On 12/29/06, Jacopo Cappellato <[EMAIL PROTECTED]> wrote:

Hi David,

in rev. 491055 I have updated the .classpath file (used by Eclipse) to
reflect the recent changes to the jars included in OFBiz.
This should fix many of your problems (at least #1 and #2), so you
can/should remove the bsf.jar that you have added to the webapps
component.
I don't know about #3 and #5 but maybe they are caused by the first two
problems... I'd suggest to update from svn and then try to remove these
jars and see if it works.
About #4: yes this is something we could commit, also others are helping
us with these kind of stuff, see for example:
https://issues.apache.org/jira/browse/OFBIZ-537

Jacopo

David Goodenough wrote:
> I have just imported the SVN trunk into Eclipse, and tried to follow the
> instructions for using Eclipse with OfBiz and found some problems.
>
> 1) There are three JARs (bsf, EdenPath and JPublish) which are missing
> from the SVN repository but which are reference in the build library
> path.  I thought I had read somewhere that JPublish had been
> replaced, or maybe it was JPublish that replaced something.
>
> 2) Of these three only actually bsf.jar seems to be necessary.  So I
> downloaded it and put it in framework/webapps/lib and added it to the
> build library path.
>
> 3) There is then one other library which is referenced but is not
> in the library path.  Adding json-lib-0.9.jar clears the remaining
> errors.
>
> 4) There are then 6459 warnings remaining (no errors).  Now Eclipse
> by default is a bit fussy, but for instance the first three are all
> about fields which exist but never used (private fields).  Do you want
> someone to go through and try to tidy up the easy warnings and then
> get someone who understands the code to clean the rest.  I could
> volunteer some time to do this if you want.
>
> 5) Eclipse also seems to think that there is a library which is
> in framework/webapps/lib and is not in the build library path, and
> that is ezmorph-0.9.1.jar.  Is this actually used?
>
> 6) The bit in the Eclipse/OfBiz instructions which talks about including
> base/config seems to be redundant.
>
> David




--
Regards
Ashish Vijaywargiya
Aditisoft Technology Laboratory

Reply via email to