Problems importing SVN trunk into Eclipse

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems importing SVN trunk into Eclipse

David Goodenough
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
Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

Jacopo Cappellato
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

Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

Ashish Vijaywargiya-3
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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

Jacques Le Roux
Administrator
In reply to this post by Jacopo Cappellato
Hi David, Jacopo,

I have updated .classpath as well for json and ezmorph both ASL licenced and added the 12/12/2006.

Jacques

----- Original Message -----
From: "Jacopo Cappellato" <[hidden email]>
To: <[hidden email]>
Sent: Friday, December 29, 2006 6:35 PM
Subject: Re: Problems importing SVN trunk into Eclipse


> 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
Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

David Goodenough
In reply to this post by Ashish Vijaywargiya-3
On Friday 29 December 2006 18:00, Ashish Vijaywargiya wrote:
> 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)
agreed
>
> 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)
yes
>
> <classpathentry kind="lib" path="framework/webapp/lib/json-lib-0.9.jar"/>
yes, this needs adding
>
> 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.
well not really up to me, but we should find out whether it is needed or
not first I suspect.

David

>
> On 12/29/06, Jacopo Cappellato <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

Jacques Le Roux
Administrator
In reply to this post by David Goodenough
David,

Where did you see that please ?

Thanks

From: "David Goodenough" <[hidden email]>

> 6) The bit in the Eclipse/OfBiz instructions which talks about including
> base/config seems to be redundant.
>
> David
Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

David Goodenough
In reply to this post by Jacques Le Roux
On Friday 29 December 2006 18:19, Jacques Le Roux wrote:
> Hi David, Jacopo,
>
> I have updated .classpath as well for json and ezmorph both ASL licenced
> and added the 12/12/2006.
well ezmorph does not seem to be used anywhere at least at compile time.

David

>
> Jacques
>
> ----- Original Message -----
> From: "Jacopo Cappellato" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, December 29, 2006 6:35 PM
> Subject: Re: Problems importing SVN trunk into Eclipse
>
> > 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
Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

David Goodenough
In reply to this post by Jacques Le Roux
On Friday 29 December 2006 18:32, Jacques Le Roux wrote:
> David,
>
> Where did you see that please ?
http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php

The pictures need updating as well as much of the structure shown
in the ofbiz project no longer exists.

David
>
> Thanks
>
> From: "David Goodenough" <[hidden email]>
>
> > 6) The bit in the Eclipse/OfBiz instructions which talks about including
> > base/config seems to be redundant.
> >
> > David
Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

Jacques Le Roux
Administrator
In reply to this post by David Goodenough
David,

From: "David Goodenough" <[hidden email]>

> On Friday 29 December 2006 18:19, Jacques Le Roux wrote:
> > Hi David, Jacopo,
> >
> > I have updated .classpath as well for json and ezmorph both ASL licenced
> > and added the 12/12/2006.
> well ezmorph does not seem to be used anywhere at least at compile time.
>
> David
> >
> > Jacques

Maybe Andy (Zeneski) who have commited this files will explain this point.

Thanks Andy ;o)

Jacques

> > ----- Original Message -----
> > From: "Jacopo Cappellato" <[hidden email]>
> > To: <[hidden email]>
> > Sent: Friday, December 29, 2006 6:35 PM
> > Subject: Re: Problems importing SVN trunk into Eclipse
> >
> > > 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
Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

Jacques Le Roux
Administrator
In reply to this post by David Goodenough
OK thanks,

You may use this link http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse instead

And if you are interested with this kind of things you may take a look here : https://issues.apache.org/jira/browse/OFBIZ-569 (and
maybe give us some help ;o)

TIA

Jacques

----- Original Message -----
From: "David Goodenough" <[hidden email]>
To: <[hidden email]>
Sent: Friday, December 29, 2006 7:55 PM
Subject: Re: Problems importing SVN trunk into Eclipse


> On Friday 29 December 2006 18:32, Jacques Le Roux wrote:
> > David,
> >
> > Where did you see that please ?
> http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php
>
> The pictures need updating as well as much of the structure shown
> in the ofbiz project no longer exists.
>
> David
> >
> > Thanks
> >
> > From: "David Goodenough" <[hidden email]>
> >
> > > 6) The bit in the Eclipse/OfBiz instructions which talks about including
> > > base/config seems to be redundant.
> > >
> > > David

Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

Jacques Le Roux
Administrator
In reply to this post by David Goodenough
I forgot to mention that I recommend using the last option : "Running (or debugging) OFBiz in Eclipse"

Jacques

----- Original Message -----
From: "Jacques Le Roux" <[hidden email]>
To: <[hidden email]>
Sent: Friday, December 29, 2006 9:36 PM
Subject: Re: Problems importing SVN trunk into Eclipse


> OK thanks,
>
> You may use this link http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse instead
>
> And if you are interested with this kind of things you may take a look here : https://issues.apache.org/jira/browse/OFBIZ-569 (and
> maybe give us some help ;o)
>
> TIA
>
> Jacques
>
> ----- Original Message -----
> From: "David Goodenough" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, December 29, 2006 7:55 PM
> Subject: Re: Problems importing SVN trunk into Eclipse
>
>
> > On Friday 29 December 2006 18:32, Jacques Le Roux wrote:
> > > David,
> > >
> > > Where did you see that please ?
> > http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php
> >
> > The pictures need updating as well as much of the structure shown
> > in the ofbiz project no longer exists.
> >
> > David
> > >
> > > Thanks
> > >
> > > From: "David Goodenough" <[hidden email]>
> > >
> > > > 6) The bit in the Eclipse/OfBiz instructions which talks about including
> > > > base/config seems to be redundant.
> > > >
> > > > David
>

Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

David Goodenough
In reply to this post by Jacques Le Roux
On Friday 29 December 2006 20:36, Jacques Le Roux wrote:
> OK thanks,
>
> You may use this link
> http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse instead
>
> And if you are interested with this kind of things you may take a look here
> : https://issues.apache.org/jira/browse/OFBIZ-569 (and maybe give us some
> help ;o)
Unfortunately, like many developers, documentation is not my strong point.

However doing a little triage tidying up compiler warnings is perhaps
something I could do to get familiar with the code.

I have found that of the >6000 warnings, 5800 or so were because that I
had not reset the compiler level to 1.4 and most of those 5800 warnings
were due to Generics (so fixing that lot is a joy to come when we turn
our backs on 1.4).  Some of the rest are variables that are not used,
many of which look to be things that people have made provision for
future developments, so perhaps many of those should remain or if we
want a warning free compilation then changed to TODO comments.

A few are unwanted imports, which I will deal with first.  I will generate
a diff and post it.

David

>
> TIA
>
> Jacques
>
> ----- Original Message -----
> From: "David Goodenough" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, December 29, 2006 7:55 PM
> Subject: Re: Problems importing SVN trunk into Eclipse
>
> > On Friday 29 December 2006 18:32, Jacques Le Roux wrote:
> > > David,
> > >
> > > Where did you see that please ?
> >
> > http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php
> >
> > The pictures need updating as well as much of the structure shown
> > in the ofbiz project no longer exists.
> >
> > David
> >
> > > Thanks
> > >
> > > From: "David Goodenough" <[hidden email]>
> > >
> > > > 6) The bit in the Eclipse/OfBiz instructions which talks about
> > > > including base/config seems to be redundant.
> > > >
> > > > David
Reply | Threaded
Open this post in threaded view
|

Re: Problems importing SVN trunk into Eclipse

Andrew Zeneski
In reply to this post by Jacques Le Roux
ezmorph is not needed at compile time, but is needed at runtime by  
the json library. This is why it is included by default.

Andrew

On Dec 29, 2006, at 3:32 PM, Jacques Le Roux wrote:

> David,
>
> From: "David Goodenough" <[hidden email]>
>> On Friday 29 December 2006 18:19, Jacques Le Roux wrote:
>>> Hi David, Jacopo,
>>>
>>> I have updated .classpath as well for json and ezmorph both ASL  
>>> licenced
>>> and added the 12/12/2006.
>> well ezmorph does not seem to be used anywhere at least at compile  
>> time.
>>
>> David
>>>
>>> Jacques
>
> Maybe Andy (Zeneski) who have commited this files will explain this  
> point.
>
> Thanks Andy ;o)
>
> Jacques
>
>>> ----- Original Message -----
>>> From: "Jacopo Cappellato" <[hidden email]>
>>> To: <[hidden email]>
>>> Sent: Friday, December 29, 2006 6:35 PM
>>> Subject: Re: Problems importing SVN trunk into Eclipse
>>>
>>>> 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


smime.p7s (3K) Download Attachment