Revisiting includes for 2 3 - DONE » History » Revision 1
Revision 1/6
| Next »
Henning Blohm, 30.08.2013 10:35
Revisiting includes for 2.3¶
Related issues: #1492, #1481, #1491, #869
Discussion on how includes work today and how they should work to make sense for development with include based systems on a broader scope than what is used today.
How Includes work Today¶
There are to different cases: Include of a Java component and include of a files component.
Include of a files component¶
In that case, the files component is expected to have a src
, bin/lib
, bin/classes
structure (like an API-only Java component). All resources are simply copied to the including Java component. There is no expection of compilability outside of the including component and there is no transitivity or anything else involved during resolution of the included resources.
This case is clear and simple and actually up to the original intention: Include of libraries with dangling imports like Spring's context support.
Include of a Java component¶
In that case, the included Java component is loaded (that is, in case it has sources, those will be compiled, and in case it has includes, those will be resolved). After it is loaded, it's API binaries (bin/lib
, bin.api/lib
, bin/classes
, bin.api/classes
) will be copied to the including component.
Hence it is transitive.
But is it useful for developing plugin systems based on includes
Updated by Henning Blohm over 11 years ago · 1 revisions