Using Third-party libraries
If you decide to use a 3rd-party library, you'll have to make sure its license is compatible with the Contrexx license.
List of currently used 3rd-party libraries: http://api.contrexx.com/latest/third_party_libraries.html
A list of known licenses that are compatible with Contrexx are as follows:
- Apache License
- BSD License (except the Original "BSD License", which is not compatible!):
- ISC License
- GNU Lesser General Public License (LGPL)
- MIT License (Expat License, but not the MIT/X Consortium License!)
- Mozilla Public License (MPL)
- X11 License
A list of known licenses that are incompatible with Contrexx are as follows:
Include 3rd-Party library
To include a library into the Cloudrexx source, create folder for it under /lib (e.g. /lib/ADOdb) and copy the library's source to it. Make sure that the license and version of the library are easily detectable within the source (normally this is easy to achieve by simply keeping the license and readme files of the library).
Update 3rd-Party library
Simply update the source in /lib. The same rules as for new libraries apply.
Customize a 3rd-party library
Customizing a 3rd-party library within /lib is prohibited. Most newer libraries allow extensions via OOP inheritance and/or dependency injection. The only exception to this rule are fixes that will be in the next version of the library anyway.