Just need weblogic.jar in classpath, you need to take from the installation directory otherwise you end pushing a lot of jars to repository.

An easy way to do it, It's defining the WL_HOME directory and using it to include weblogic.jar. I'm using it that way and it works perfect.

That way you don't need to push weblogic jars to repository.


I talked with BEA guys and they don't suggest pushing all jars to repository since weblogic.jar look for others by itself, but you must use it from its installation directory.

dboeckli wrote:
Sorry for repeating my question but in Nabble it was placed in the wrong
subject of another question. I deleted the old one and replaced the same
question again.

We have an ant build process to generate Webservices. Our target container
is BEA Weblogic 9.2.
That's why we use BEA specific ant tasks to do this job of generating the
webservices.
We now want to migrate our ant build process into maven2. Theoretically it is possible to call ant tasks from maven. That works for
'simple' tasks. Tested it. all fine!
But i do not manage to get the JWSC ant task of BEA to work.
In the end it might boil down to just having to know which JAR files to
include in the dependencies of the maven pom?!

My current dependencies look like this:

        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>3.8.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>apache.ant.lib</groupId>
                        <artifactId>ant-launcher</artifactId>
                        <version>1.7alpha</version>
                </dependency>
                <dependency>
                        <groupId>bea.weblogic.server.lib</groupId>
                        <artifactId>weblogic</artifactId>
                        <version>9.2</version>
                </dependency>
                <dependency>
                        <groupId>bea.weblogic.server.lib</groupId>
                        <artifactId>webservices</artifactId>
                        <version>9.2</version>
                </dependency>
                <dependency>
                        <groupId>bea.weblogic</groupId>
                        <artifactId>wlw-system</artifactId>
                        <version>9.2</version>
                </dependency>
                <dependency>
                        <groupId>bea.weblogic.server.lib</groupId>
                        <artifactId>xbean</artifactId>
                        <version>9.2</version>
                </dependency>
                <dependency>
                        <groupId>com.sun.java.lib</groupId>
                        <artifactId>tools</artifactId>
                        <version>1.5.0_07</version>
                </dependency>
                <dependency>
                        <groupId>maven.xmlbeans.jars</groupId>
                        <artifactId>xbean</artifactId>
                        <version>2.2.0</version>
                </dependency>
        </dependencies>

But maven still results in following error:

    Embedded error: weblogic.wsee.tools.jws.build.CompileException:
    Error compiling web service:
D:\JAVA_Projects\SOA_testcases\webservice\src\main\java\com\eds\soa\ws\hello\JwscTestImpl.java
    failed to find root element corresponding to
weblogic.j2ee.descriptor.JavaWsdlMappingBeanImpl


By any chance would anybody have an idea how to get this JWSC task to work?





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

Reply via email to