I would to use OFBiz as OSGI
---------------------------- Key: OFBIZ-2348 URL: https://issues.apache.org/jira/browse/OFBIZ-2348 Project: OFBiz Issue Type: Wish Components: ALL COMPONENTS Affects Versions: SVN trunk Environment: software platform Reporter: Chatree Srichart Fix For: SVN trunk I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. I would to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chatree Srichart updated OFBIZ-2348: ------------------------------------ Description: I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. was: I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. I would to OFBiz distributer distribute OSGI feature to trunk. Thank you. Summary: I would like to use OFBiz as OSGI (was: I would to use OFBiz as OSGI) > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702305#action_12702305 ] Vikas Mayur commented on OFBIZ-2348: ------------------------------------ It would depend on in which component java code is being edited, since components are compiled in certain order because of dependency. IMO, individual components can still be compiled by using ofbiz$ ant -f applications/party/build.xml A ant target can be added which would take the component name as argument and then only the specified component will be compiled. > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702311#action_12702311 ] Ashish Vijaywargiya commented on OFBIZ-2348: -------------------------------------------- >> A ant target can be added which would take the component name as argument and then only the specified component will be compiled. +1 for this comment. -- Ashish > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702318#action_12702318 ] Chatree Srichart commented on OFBIZ-2348: ----------------------------------------- Thanks Vikas... But I still would like to use OFBiz as OSGI for other purposes. > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702322#action_12702322 ] Vikas Mayur commented on OFBIZ-2348: ------------------------------------ Hi Chatree, Can you please share any article on OSGI working that you are trying to implement. Thanks, Vikas > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702331#action_12702331 ] Chatree Srichart commented on OFBIZ-2348: ----------------------------------------- Hi Vikas, First, I don't want restart OFBiz when I edit java code. Second, I would like to run eclipse RCP from OFBiz Framework. I used to try run osgi equinox from ofbiz container that I implemented. The big problem is I can not use classpath of OFBiz , so I can not use delegator, dispatcher or security object in eclipse RCP to reference OFBiz resources. Thanks, Chatree > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770387#action_12770387 ] Raj Saini commented on OFBIZ-2348: ---------------------------------- I have created a experimental OFBiz and OSGI integration project on sourceforge at http://sourceforge.net/projects/ofbiz-osgi. OFbiz is bundled as OSGi Bungle (Big one at the moment). Project uses Eclipse Equinox as OSGi Kernel and all OFBiz dependencies and OFBiz itself is a OSGi bundle. This is just a proof of concept and can really help OFBiz to adapt OSGi based kernel. Few advantages of OSGi kernel could be: Modularity container for OFBiz component/applications. All OFBiz components will be OSGi bundles and deployable as single units instead of a monolithic application. Automatic dependency management of component. Stopping/undeploying will automatically stop/un-deploy dependent components. Start, stop, load, refresh, update the applications in a running container without the need of restarting the server. Dependency injection using OSGi services Easier integration with other OSGi based application such as ServiceMix V4 > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770411#action_12770411 ] Jacques Le Roux commented on OFBIZ-2348: ---------------------------------------- Hi Raj, Despite not much interest so far, I agree that this could be interesting, sure! But I guess you should not expect much help from the commnity which is focused on other objectives at the moment. > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770413#action_12770413 ] Raj Saini commented on OFBIZ-2348: ---------------------------------- Hi Jacques, I understand what you mean and the pre-occupation of the community. This is not something can happen quickly. You can think of it a new generation of OFBiz like most of the open source or commercial Java EE application server vendors are moving to OSGi based kernels. Good thing about it is it can co-exists with the current OFBiz. For example, the prototype I created did not change a single line of the code in OFBiz. Community can keep doing what is being done and at the same time create OSGi bundles of the existing application which is mostly a build time effort. This is how other projects like ActiveMQ enabling themselves to be used inside OSGi containers. > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770421#action_12770421 ] Jacques Le Roux commented on OFBIZ-2348: ---------------------------------------- Thanks Raj, Your work in this area would be much appreciated, at least on my side. > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770438#action_12770438 ] Pierre Smits commented on OFBIZ-2348: ------------------------------------- Maybe a separate branch should be created? > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770438#action_12770438 ] Pierre Smits edited comment on OFBIZ-2348 at 10/27/09 9:46 AM: --------------------------------------------------------------- Maybe a separate branch should be created? So that development can be tracked with existing tools (JIRA) and developers and users stay informed through one communication channel in stead of setting up a separate project on an other platform (sourceforge)? Regards, Pierre was (Author: pfm.smits): Maybe a separate branch should be created? > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770453#action_12770453 ] Raj Saini commented on OFBIZ-2348: ---------------------------------- Creating a branch is a good idea. However, it is possible for this code to co exists within the trunk as major work is creating OSGi bundles from the current code base. It would involve using a build tool like Maven for creating the OSGi bundle bundles. GenericDelagator and LocalDispatcher may also need to be modified to allow each OFBiz component to be bundled as OSGI bundle. This will make the OFBiz very modular with clear dependency among various components. Reason for hosting on SourceForge was for people to download and try as it was too big to attach to a Jira issue. Also, code is licensed under Apache 2.0 and should not be a problem to bring it into the Apache OFBiz. > I would like to use OFBiz as OSGI > --------------------------------- > > Key: OFBIZ-2348 > URL: https://issues.apache.org/jira/browse/OFBIZ-2348 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Environment: software platform > Reporter: Chatree Srichart > Fix For: SVN trunk > > > I would like to use OFBiz as OSGI (Equinox or Apache Felix). My problem is when I edit a little java code in my componet, I must compile all component (if it depend on main build file such common.xml or main ant task) and restart ofbiz. It spend a lot of time for me. If OFBiz as OSGI, It can start separate component and reload only jar file that you just compile any time. If OFBiz use Equinox, It can integrated with Eclipse RCP. I had tried to do that. It work. > I would like to OFBiz distributer distribute OSGI feature to trunk. Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |