• 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
  • Paul Clapham
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

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.
 
grapes are vegan food pellets. Eat this tiny ad:
Master Gardener Program
https://coderanch.com/t/771761/Master-Gardener-Program
reply
    Bookmark Topic Watch Topic
  • New Topic