just realized that the package ...
org\apache\openejb\helper\annotation\fixtures
contains messages.properties files as well. I've just added them
to SVN. So these properties should be contained in the JAR...
org.apache.openejb.helper.annotation.test_1.0.0.jar
-------- Original Message --------
Return-Path: <[EMAIL PROTECTED]>
Received: from ?127.0.0.1? ( [91.89.102.216]) by mx.google.com
with ESMTPS id 18sm7505120hue.9.2008.03.25.03.50.28
(version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Mar 2008 03:50:29
-0700 (PDT)
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 25 Mar 2008 11:53:10 +0100
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12)
Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: [email protected]
Subject: Re: [INFO] OpenEJB plugin for Eclipse
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
From: Daniel S. Haischt <[EMAIL PROTECTED]>
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)