• 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

Problem running ant task in Eclipse 3.4

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

I'm running Eclipse 3.4 on Windows XP. I'm trying to run an ant task, and am getting this error (screenshot = http://screencast.com/t/qUGFp344iPy):

Buildfile: C:\Temp\CedarPoint_Service\build-junit-test.xml

BUILD FAILED
C:\Temp\CedarPoint_Service\build-junit-test.xml:4: The following error occurred while executing this line:

When I roll over the exclamation point in the problematic line,

<import file="build.xml"/>

it tells me the error is, "taskdef class com.bea.wls.ejbgen.ant.EJBGenAntTask cannot be found." Can someone help me resolve this?

Thanks, - Dave
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's coincidence for you. You probably need to add the BEA EJBGen jar to the Ant classpath.

https://coderanch.com/t/419558/vc/Passing-parameters-ant-build-script
 
reply
    Bookmark Topic Watch Topic
  • New Topic