Is this a file that you can truly generate or is it a fixed file that you
can just place in your resources directory like the web.xml and
weblogic.xml.  The application.xml is easy to generate since it is
predictable what is needed however I am not sure the Weblogic version is
that easy to generate.  On our side we just hand code it an include it with
the project using the resources directory in both Maven 1 and 2.  From your
example it looks like you are mainly using it to change the class loader
hierarchy and there is really no way to automate that since the generated
one would just generate the standard J2EE hierarchy which is the default so
no weblogic-application.xml is actually required.


Scott Ryan
Chief Technology Officer
Soaring Eagle L.L.C.
[EMAIL PROTECTED]
www.soaringeagleco.com
(303) 263-3044

-----Original Message-----
From: Paul Li [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 06, 2006 4:02 AM
To: Maven Users List
Subject: weblogic help


hi guys,

I am using maven to package my ear file at the moment. And it
automatically generates application.xml (great!) However I need to
deploy to weblogic app server, which looks for
weblogic-application.xml. Is there a way I could configure the
maven-ear plug in to generate this file the same way as
application.xml?

What I am also looking for is to figure out a way to specify the
classloader resources tag. I believe these will be the jar/war files
that gets loaded during application start up.

a bit like this in the application.xml

    <classloader-structure>
        <module-ref>
                <module-uri>ejb1.jar</module-uri>
        </module-ref>
        <module-ref>
                <module-uri>web3.war</module-uri>
        </module-ref>
        <classloader-structure>
                <module-ref>
                        <module-uri>web1.war</module-uri>
                </module-ref>
        </classloader-structure>
        <classloader-structure>
                <module-ref>
                        <module-uri>ejb3.jar</module-uri>
                </module-ref>
                <module-ref>
                        <module-uri>web2.war</module-uri>
                </module-ref>
                <classloader-structure>
                        <module-ref>
                                <module-uri>web4.war</module-uri>
                        </module-ref>
                </classloader-structure>
                <classloader-structure>
                        <module-ref>
                                <module-uri>ejb2.jar</module-uri>
                        </module-ref>
                </classloader-structure>
        </classloader-structure>
    </classloader-structure>


thanks in advance!

paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to