• 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

Ant: earExport is not working with Jdk 1.4

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

I am new to Ant technology. I am working with Java 1.4, when I am trying to create a ear file for my project with the command earExport. It's giving below error:

BUILD FAILED
C:\Ngen_POS_Src_Code\RMS\build.xml:82: Problem: failed to create task or type ea
rExport
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.



Could anyone please analyze what may be the root causes of this error.

Ok I am also attaching the script for your convinence



To run this build I have a batch file which is listed below



Now I think I have given enough evidence to investigate this issue. Please help me out.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ankur,
Who supplies earExport? Do they have any documentation of how to reference their tasks? For example, do you need to include a taskdef in the build file or add it to the classpath/ant home.
 
Shaan Shar
Ranch Hand
Posts: 1252
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
Ankur,
Who supplies earExport? Do they have any documentation of how to reference their tasks? For example, do you need to include a taskdef in the build file or add it to the classpath/ant home.



Hi Jeanne,

I really don't understand what does this means

Who supplies earExport?



Did you mean is this is ANT Api or JAVA Api ?
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I mean "what jar file did it come in".
 
reply
    Bookmark Topic Watch Topic
  • New Topic