Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

weblogic.ant.taskdefs.war.DDInit not working

 
hari gutta
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic