| Author |
Error while using weblogic.ant.taskdefs.j2ee.Appc
|
Gurumurthy Ramamurthy
Ranch Hand
Joined: Feb 13, 2003
Posts: 272
|
|
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
Joined: Jun 24, 2003
Posts: 3268
|
|
|
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?
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
 |
|
|
subject: Error while using weblogic.ant.taskdefs.j2ee.Appc
|
|
|