Jacek Laskowski wrote:
On Tue, Mar 25, 2008 at 2:46 AM, Daniel S. Haischt
<[EMAIL PROTECTED]> wrote:
*open issues:
* did not manage to include messages.properties files while assembling
a JAR using Maven
Where is it so I could tackle on it? Describe the steps you followed
until the issue has cropped up.
Try to execute mvn clean install within the openejb-eclipse-plugin
directory.
The build should succeed as usual... BUT... the
org.apache.openejb.helper.annotation JAR file does not contain the
messages*.properties file which can be found in the following
package(s):
org.apache.openejb.helper.annotation
org.apache.openejb.helper.annotation.actions
org.apache.openejb.helper.annotation.wizards
This obviously yields a runtime error while trying to access the
OpenEJB wizard dialogs right within Eclipse.
Solution:
---------
Maven should include these properties while assembling the Eclipse
plugin JAR file.
How to reproduce:
-----------------
Follow the steps described in: openejb-eclipse-plugin/README.txt
and inspect the org.apache.openejb.helper.annotation_1.0.0.jar
plugin file. Properties files should be missing.
Minor nitpick:
--------------
I realized that maven uses a hyphen to differentiate the version from
the jar filename. Tho, cause this are Eclipse plugins, an underscore
should be used, no?
Eaxmple: org.apache.openejb.helper.annotation_1.0.0.jar (OK)
org.apache.openejb.helper.annotation-1.0.0.jar (not OK)