ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39161] New: - NoClassDefFoundError OutputPropertiesFactory for wsdeploy task
Date Thu, 30 Mar 2006 22:15:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39161>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39161

           Summary: NoClassDefFoundError OutputPropertiesFactory for
                    wsdeploy task
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mgainty@hotmail.com


<taskdef name="wsdeploy" classname="com.sun.xml.rpc.tools.ant.Wsdeploy" 
classpathref="app.classpath"/>

Very easy to reproduce the error-
NoClassDefFoundError org.apache.xml.serializer.OutputPropertiesFactory.class

  <target name="process-war" depends="raw-war"
          description="Runs wsdeploy to create a deployable or 'cooked' WAR 
file">
    <echo message="Running wsdeploy..."/>
    <delete file="${dist.home}/${deployable-war}"/>

    <wsdeploy verbose="${jaxrpc-tool-verbose}" keep="true"
              tmpdir="${build.home}/server"
              outwarfile="${dist.home}/${deployable-war}"
              inwarfile="${dist.home}/${portable-war}">
      <classpath>
    	<fileset file="C:/xalan/XALAN-~1/serializer.jar">
    	</fileset>      
      </classpath>
    </wsdeploy>
    
  </target>

produces:

java.lang.NoClassDefFoundError: 
org/apache/xml/serializer/OutputPropertiesFactory
as you can see serializer.jar which contains OutputPropertiesFactory is 
defined within the classpath but wsdeploy ignores it

Is there a workaround???
Martin-

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message