This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • 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
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

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, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!