ieugen opened a new pull request #381:
URL: https://github.com/apache/ofbiz-framework/pull/381


   Another exploratory patch - as a PR for easy review.
   
   * First steps into splitting OFBiz into componets
   * 5 tests don't pass in framework
   * ofbiz distribution builds
   * App fails to start because of component loading logic
   
   Right now I am stuck and don't know how to proceed with loading components. 
   
   Loading components via component-load.xml and ofbiz-comonent.xml is a mix of 
file path and classpath. 
   
   Currently OFBIz does not know how to load components packaged as a jar.
   Components are REQUIRED to be on disk as much as I can tell. 
   This is also referenced in ofbiz-component.xml and component-load.xml files 
via things like:
   ```   
       <classpath type="dir" location="config"/>
   ```
   and the fact they try to load from filesystem.
   
   IMO Java is not meant to be run from source files and OFBiz tries to do just 
that. 
   
   There is no way - to my knowledge - to package a component as a single 
archive and distribute it. 
   
   IMO, fixing component packaging and loading is a key part of making OFBiz 
modular. 
   
   I will post this on the mailing list to get some feedback. 
   For code related feedback, please comment on this PR.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to