File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes weblogic.ant.taskdefs.war.DDInit not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic.ant.taskdefs.war.DDInit not working" Watch "weblogic.ant.taskdefs.war.DDInit not working" New topic
Author

weblogic.ant.taskdefs.war.DDInit not working

hari gutta
Ranch Hand

Joined: Mar 03, 2013
Posts: 33
Hi All,

I tried to generate the deployers(web.xml and weblogic.xml) automatically, for which I thought to make use of 'weblogic.ant.taskdefs.war.DDInit' utility. But I am getting few errors like NoClassDefFoundError, in order to overcome it I thought of adding weblogic.ant.taskdefs.war.DDInit to classpath, for which I need to add org.apache.tools.ant.taskdefs.MatchingTask in the classpath. But still it doesn't contain the main class, so is there a way to resolve this?

How can I import all the files in classpath, it has like 7-8 of them and even if I add them all, how to handle to Manifest file that consists info about the main class?

FYI,
To get org.apache.tools.ant.taskdefs.MatchingTask I downloaded ant-1.4.1.jar, which says in the Manifest file that the main is present in org.apache.tools.ant.Main
Please help, I am trying to figure it out from past 2 days.

Thanks,
Niharika


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: weblogic.ant.taskdefs.war.DDInit not working