This patch is usefull to be able to use specific
packages for model classes.
Today we have to put PO classes into package or
'org.compiere.model'
Here we can define a System Property "po.packages" that
refers to a list of packages to look for.
Example :
Create a new Table (Y_Test) and generate his
org.compiere.model.X_Y_Test class.
Then you will extend the X_ class into
com.audaxis.compiere.mfg.MTest
For another table Y_Toast you may want to put this into
com.audaxis.compiere.MTest
Add this line into java startup and similar to JNLP file:
-Dpo.packages=com.audaxis.compiere.mfg,com.audaxis.compiere,org.compiere
so that Compiere will find them.
This is usefull to isolate into Java packages classes
for a same submodule.
You will see more where I want to go with the next
contribution.
Patch to MTable.java
Logged In: YES
user_id=87038
Originator: NO
That seems to be be not required - the classpath path should be determined by the EntityType. That will also allow proper packaging
Logged In: YES
user_id=125677
Originator: YES
I checked the current code and saw the classpath on entitytype but can not find where this is used.
How can I register new entity type ?
How do you will handle Java Webstart be referencing a classpath ? Same question for application server part ?
Do you plan to add a new classloader ?