No I do not mean ejb-client but "J2EE Client Application":
What you mean is a JAR containing the interfaces of the EJBs, but what I mean is a standalone ("Swing") application that is to be run inside of a "J2EE Client Container".

I have seen that EJB-JARs are enlistet in the EAR's application.xml automatically, and we want this to happen with the "J2EE Client Application" also, without adding it to the EAR's pom.xml manually. This should be possible since a "J2EE Client Application" always contains a file named META-INF\client-application-xml, so the EAR task just need to look into the JAR to find out about its type. I do not understand why this has to be specified manually.

Thanks
Markus

Stephane Nicoll schrieb:

you mean ejb-client? Your dependency should be 'ejb-client' not 'jar'.

Anyhow, if you want a jar to be included in the application.xml, just
configure the plugin acccordingly (includeInApplicationXml) [1]

Cheers,
Stéphane

[1] http://maven.apache.org/plugins/maven-ear-plugin/howto.html

On 9/15/06, Markus KARG <[EMAIL PROTECTED]> wrote:

I am using the EAR packaging to let Mvn2 create an .ear file plus
automatically create an application.xml inside of it.
It detects all my EJB modules, but it doesn't detect that one of the
included JARs is not a utility JAR but in fact a "J2EE Client
Application JAR".
Maybe the packaging type I have used for that JAR is wrong (I used JAR
since I thought the EAR packager will detect the contained
client-application.xml file).
So what is the correct way to specify "J2EE Client Application JAR"
packaging instead of simple utility "JAR" packaging?

Thanks a lot!
Markus






begin:vcard
fn:Markus KARG
n:KARG;Markus
org:QUIPSY QUALITY GmbH;Entwicklung / R & D
adr:;;Stuttgarter Strasse 23;Pforzheim;Baden-Wuerttemberg;75179;Bundesrepublik Deutschland
email;internet:[EMAIL PROTECTED]
title:Staatl. gepr. Inf.
tel;work:+49-7231-9189-52
tel;fax:+49-7231-9189-59
note:QUIPSY(R) Entwicklung / R & D
x-mozilla-html:TRUE
url:http://www.quipsy.de
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to