You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by deckrider <de...@gmail.com> on 2008/02/26 17:15:53 UTC

jaxrpc-impl 1.1.3_01 wscompile

Hello,

We are using com.sun.xml.rpc:jaxrpc-impl:1.1.3_01 in the following ant
task.  I was wondering if there was a plugin that would be better,
that would still produce the mapping?

Thanks!

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-classes</phase>
            <configuration>
              <tasks>
                <property name="compile_classpath"
refid="maven.compile.classpath"/>
                <java classname="com.sun.xml.rpc.tools.wscompile.Main"
fork="yes" dir="." failonerror="true">
                  <classpath refid="maven.compile.classpath" />
                  <arg line='-classpath "${compile_classpath}"' />
                  <arg line='-d "${basedir}/target/classes"' />
                  <arg line='-nd "${basedir}/target"' />
                  <arg line='-s "${basedir}/target"' />
                  <arg line="-gen:server" />
                  <arg line="-features:rpcliteral" />
                  <arg line='-mapping "${basedir}/target/mapping.xml"' />
                  <arg line='"${basedir}/src/main/xml/config.xml"' />
                </java>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org