Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while using weblogic.ant.taskdefs.j2ee.Appc

 
Gurumurthy Ramamurthy
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have created an ant task for the class "weblogic.ant.taskdefs.j2ee.Appc"


<taskdef name="wlappc"
classname="weblogic.ant.taskdefs.j2ee.Appc" classpath="C:\bea\wlserver_10.3\server\lib\weblogic.jar">
</taskdef>



I am using this task as follows:


<wlappc d="${build.dir}/appc/classes"
srcdir="${build.dir}/appc/src"
appRoot="${build.dir}/unwar"
verbose="true"
classpath="C:\bea\wlserver_10.3\server\lib\weblogic.jar"
debug="true"
notldxmlvalidate="true"
failonerror="true">
<classpath refid="prj.rt.classpath"/>
<classpath><path path="${classes.dir}"/></classpath>
<fileset dir="${build.dir}/unwar/">
<include name="target/**/**.jsp"/>
</fileset>
</wlappc>


But I am getting an error when running ant:

BUILD FAILED
D:\build.xml:237: The <wlappc> type doesn't support the nested "fileset" element.

What could have been the issue?

Kindly let me know how to use this or what I have missed?

Thanks,
Guru
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not familiar with this task, but it seems to be quite clearly stating that fileset can't be used. Have you checked the documentation for that task to see what can be used?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic