• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
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
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • 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?
 
Hey! You're stepping on my hand! Help me tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic