You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/03/31 00:15:06 UTC

DO NOT REPLY [Bug 39161] New: - NoClassDefFoundError OutputPropertiesFactory for wsdeploy task

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


DO NOT REPLY [Bug 39161] - NoClassDefFoundError OutputPropertiesFactory for wsdeploy task

Posted by bu...@apache.org.
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


gudnabrsam@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From gudnabrsam@yahoo.com  2006-03-30 23:45 -------
You need to consult the manual for <taskdef> and <typedef>.  the classpath you
use with them is the one that needs to contain this third-party task.  Any
problems you have with the task specifically you should take up with its providers.

-- 
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