• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Problem building with ant

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
While i am doing the j2ee tuotorial 1.3 version, at the building stage
with ant , I have some errors saying that it has some problem with the import statement for Converter and ConverterHome in the ConverterClient
Below is what i am getting
----------------------------------------------------------------------------
C:\j2eetutorial\examples>ant converter
Buildfile: build.xml
init:
converter:
[javac] Compiling 4 source files to C:\j2eetutorial\examples\build\ejb\conve
rter
[javac] C:\j2eetutorial\examples\src\ejb\converter\ConverterClient.java:15:
'.' expected
[javac] import Converter;
[javac] ^
[javac] C:\j2eetutorial\examples\src\ejb\converter\ConverterClient.java:16:
'.' expected
[javac] import ConverterHome;
[javac] ^
[javac] 2 errors
BUILD FAILED
C:\j2eetutorial\examples\build.xml:89: Compile failed, messages should have been
provided.
----------------------------------------------------------------------------

Can any body suggest the cause of the error
Thank in Advance
Suresh K
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are Converter and ConverterHome in the same package? If so, no import is needed. I have an older version of this and they are not imported in ConverterClient.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic