[OFBiz] Users - ofbiz, eclipse, and the last good build

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

[OFBiz] Users - ofbiz, eclipse, and the last good build

Todd Greenwood-Geer-2
I'd like to look at ofbiz using eclipse in order to understand how it is put together. I have a few
questions on this:

1. What is the last good build? I have tried to build the following:
  - svn : head revision, build errors
  - weekly builds : 5810 and 5752, build errors
  - tag 3625 looks good, this project loads into eclipse w/o errors...however

1.b. What are the steps to build ofbiz? Many of the ant tasks seem to be broken (for tag 3625) :
  - ant build : ok
  - ant tests : tests doesnt exist as a target (but it's there)
  - ant run-install : breaks here:
<snip>
    [java] org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
      [java] org.ofbiz.base.start.Start.init(Start.java:96)
      [java] org.ofbiz.base.start.Start.main(Start.java:403)
      [java] 3571 [         TraceCarol.java:87 :ERROR] Can not start IIOPCosNaming for an unknow Reason
      [java] org.objectweb.carol.jndi.ns.NameServiceException: can not start cosnaming daemon:caught
an exception while starting the bootstrap service on port 2000
      [java] try using a different port with commandline arguments -ORBInitialPort <portno>

      [java]     at org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:80)
      [java]     at
org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(NameServiceManager.java:128)
      [java]     at
org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolConfiguration(CarolConfiguration.java:405)
      [java]
<snip>


2. What steps must be taken, assuming I have a set of files that will build, to load the project in
to eclipse. Here are some confusing and contradictory pages:
  - http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse
  - http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php

3. How do I launch ofbiz in the debugger?

-Todd

--
Todd Greenwood-Geer
[hidden email]
Phone 206.926.2916
________________________________________________________________________________
BEAWorld 2005: coming to a city near you.  Everything you need for SOA and enterprise infrastructure success.


Register now at http://www.bea.com/4beaworld


Santa Clara 27-29 Sep| London 11-12 Oct| Paris13-14 Oct| Prague18-19 Oct |Tokyo 25-26 Oct| Beijing 7-8 Dec
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - ofbiz, eclipse, and the last good build

Si Chen-2
Todd,

Todd Greenwood wrote:

> I'd like to look at ofbiz using eclipse in order to understand how it
> is put together. I have a few questions on this:
>
> 1. What is the last good build? I have tried to build the following:
>  - svn : head revision, build errors
>  - weekly builds : 5810 and 5752, build errors
>  - tag 3625 looks good, this project loads into eclipse w/o
> errors...however
>
What errors are in the weekly builds?  They build and install fine for us.

> 1.b. What are the steps to build ofbiz? Many of the ant tasks seem to
> be broken (for tag 3625) :
>  - ant build : ok
>  - ant tests : tests doesnt exist as a target (but it's there)
>  - ant run-install : breaks here:
> <snip>
>    [java] org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
>      [java] org.ofbiz.base.start.Start.init(Start.java:96)
>      [java] org.ofbiz.base.start.Start.main(Start.java:403)
>      [java] 3571 [         TraceCarol.java:87 :ERROR] Can not start
> IIOPCosNaming for an unknow Reason
>      [java] org.objectweb.carol.jndi.ns.NameServiceException: can not
> start cosnaming daemon:caught an exception while starting the
> bootstrap service on port 2000
>      [java] try using a different port with commandline arguments
> -ORBInitialPort <portno>
>
>      [java]     at
> org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:80)
>      [java]     at
> org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(NameServiceManager.java:128)
>
>      [java]     at
> org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolConfiguration(CarolConfiguration.java:405)
>
>      [java]
> <snip>
>
>
This is a very old version, but IIOP problems are configuration
problems, not build problems.

> 2. What steps must be taken, assuming I have a set of files that will
> build, to load the project in to eclipse. Here are some confusing and
> contradictory pages:
>  - http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse
>  - http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php
>
The second one should work, if you know Eclipse well enough to figure it
out from screenshots alone (I haven't written the text for it yet.)

> 3. How do I launch ofbiz in the debugger?
>
> -Todd
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - ofbiz, eclipse, and the last good build

Jacques Le Roux
Administrator

> > 3. How do I launch ofbiz in the debugger?

I tried 9 months ago to run OFBiz in debug mode in Eclipse. But it was a
pain and I surrendered.
You may find infos about that in the ML history...
http://lists.ofbiz.org/pipermail/users/

Jacques

----- Original Message -----
From: "Si Chen" <[hidden email]>
To: "OFBiz Users / Usage Discussion" <[hidden email]>
Sent: Tuesday, September 27, 2005 3:57 PM
Subject: Re: [OFBiz] Users - ofbiz, eclipse, and the last good build


> Todd,
>
> Todd Greenwood wrote:
>
> > I'd like to look at ofbiz using eclipse in order to understand how it
> > is put together. I have a few questions on this:
> >
> > 1. What is the last good build? I have tried to build the following:
> >  - svn : head revision, build errors
> >  - weekly builds : 5810 and 5752, build errors
> >  - tag 3625 looks good, this project loads into eclipse w/o
> > errors...however
> >
> What errors are in the weekly builds?  They build and install fine for us.
>
> > 1.b. What are the steps to build ofbiz? Many of the ant tasks seem to
> > be broken (for tag 3625) :
> >  - ant build : ok
> >  - ant tests : tests doesnt exist as a target (but it's there)
> >  - ant run-install : breaks here:
> > <snip>
> >    [java] org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
> >      [java] org.ofbiz.base.start.Start.init(Start.java:96)
> >      [java] org.ofbiz.base.start.Start.main(Start.java:403)
> >      [java] 3571 [         TraceCarol.java:87 :ERROR] Can not start
> > IIOPCosNaming for an unknow Reason
> >      [java] org.objectweb.carol.jndi.ns.NameServiceException: can not
> > start cosnaming daemon:caught an exception while starting the
> > bootstrap service on port 2000
> >      [java] try using a different port with commandline arguments
> > -ORBInitialPort <portno>
> >
> >      [java]     at
> > org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:80)
> >      [java]     at
> >
org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(NameService
Manager.java:128)
> >
> >      [java]     at
> >
org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolConfigura
tion(CarolConfiguration.java:405)

> >
> >      [java]
> > <snip>
> >
> >
> This is a very old version, but IIOP problems are configuration
> problems, not build problems.
>
> > 2. What steps must be taken, assuming I have a set of files that will
> > build, to load the project in to eclipse. Here are some confusing and
> > contradictory pages:
> >  - http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse
> >  - http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php
> >
> The second one should work, if you know Eclipse well enough to figure it
> out from screenshots alone (I haven't written the text for it yet.)
>
> > 3. How do I launch ofbiz in the debugger?
> >
> > -Todd
> >
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users