[
https://issues.apache.org/jira/browse/GERONIMO-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602674#action_12602674
]
Jarek Gawor commented on GERONIMO-4086:
---------------------------------------
Thanks for letting me know about this. I took at look at the sharedlib gbean
and 2.1.1 code and here's what going on. The sharedlib car file did not include
the "shared" directory (even in 2.1.1). So when the plugin was installed while
building the assembly, the "shared" directory was not created. Now, the
sharedlib gbean when started it creates the "shared" directory automatically if
one doesn't exist. That explains why when you install the sharedlib plugin
while the server is running, the "shared" directory will be created or when you
start the server for the first time. However, if you just unpack the assembly
archive the "shared" directory will not be there.
> sharelib plugin does not include or create shared/lib or shared/classes
> directories
> -----------------------------------------------------------------------------------
>
> Key: GERONIMO-4086
> URL: https://issues.apache.org/jira/browse/GERONIMO-4086
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Affects Versions: 2.1.2, 2.2
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
>
> The sharelib plugin does not include or create shared/lib or shared/classes
> directories.
> Looks like the "resources" directory in svn is in invalid location (should be
> under src/main/resources instead of src/resources) and the "classes" and
> "lib" directory should be non-empty otherwise maven will ignore the
> directories and not include them in the car file. I don't know if there is a
> way to tell maven to include empty directories.
> Also during javaee building the following error is generated (which is caused
> by the missing "shared" directory in the sharelib plugin):
> [ERROR] Installed configuration into repository but cannot locate file to
> copy shared
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.