This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

wlcompile task in weblogic8.1 sp4

Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I know my questions is of very basioc nature but need your help.

writing ant script for my application and trying to use wlcompile to compile my application.

Tryed to execute ant script from windows command prompt and from eclipse both, and find the error:

C:\devworks\non-bulks\AppEar\build.xml:15: Could not create task or type of type: wlcompile.

Ant could not find the task or a class this task relies upon.

I have already added weblogic.jar into the project classpath in eclipse.

<project name="test" default="compile" basedir=".">

<path id="class.path">
<pathelement location="lib/dev/weblogic.jar"/>
<property name="weblogic.class.path" refid="class.path" />

<taskdef name="wlcompile" classname="" />
<taskdef name="wlpackage" classname="" />
<target name="compile">
<wlcompile srcdir="java/src"
<javac deprecation="false" debug="true" debuglevel="lines,vars,source"/>

<pathelement path="weblogic.class.path"/>
<pathelement location="lib/dev/weblogic.jar"/>



Commnted out taskdef, otherwise it gives claadefnotfound for wlcompiletask.


Evil is afoot. But this tiny ad is just an ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!