• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

wlcompile task in weblogic8.1 sp4

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

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:

BUILD FAILED
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"/>
</path>
<property name="weblogic.class.path" refid="class.path" />


<!--
<taskdef name="wlcompile" classname="weblogic.ant.taskdefs.build.WLCompileTask" />
<taskdef name="wlpackage" classname="weblogic.ant.taskdefs.build.WLPackageTask" />
-->
<target name="compile">
<wlcompile srcdir="java/src"
destdir="build"/>
<javac deprecation="false" debug="true" debuglevel="lines,vars,source"/>

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

</classpath>
</target>

</project>


Commnted out taskdef, otherwise it gives claadefnotfound for wlcompiletask.

Thanks

salman
 
no wonder he is so sad, he hasn't seen this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic