aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Error while using weblogic.ant.taskdefs.j2ee.Appc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Error while using weblogic.ant.taskdefs.j2ee.Appc" Watch "Error while using weblogic.ant.taskdefs.j2ee.Appc" New topic
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: 3274
    
    5

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while using weblogic.ant.taskdefs.j2ee.Appc
 
Similar Threads
Ant Task to precompile JSP for Weblogic
Cannot resolve symbol error during JSP precompilation
Problems in compiling EJB's Using Ant Script in Weblogic 8.1 SP3
Ant task for "weblogic.jspc"
Error encountered while doing Migration from WLS 8.1 to WLS 10.0