Danai Wiriyayanyongsuk wrote:
Guys,
Either hotfix or plain release, it'd be very helpful to have the fix for
https://issues.apache.org/jira/browse/UIMA-583
From my point of view, we will just document the points raised in issue
UIMA-583 and we will not provide a fix in the implementation.
PEAR archives are currently a kind of black box components. Some users
may don't know the details about the PEAR content and they just want to
run it.
If a PEAR file automatically can share resources this can cause issues
with other deployed PEARs.
The improvements suggested in issue UIMA-583 are absolutely correct and
should be implemented in the future,
but I think there are some other points to consider. So for example the
PEAR component descriptor used for a PEAR maybe has $main_root
variables that are replaced when the PEAR file is installed. If that is
the case the same component descriptor cannot be used before the
component is
packages as PEAR. You have to maintain two descriptors. I think these
are all requirements that should be discussed and solved for the next
PEAR generation.
-- Michael