Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem when buikding with ant in j2ee tutorial

 
Suresh Khanna
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I have a problem when building with ant .
i am following the j2ee tutorial 1.3
I have set the JAVA_HOME, J2EE_HOME, ANT_HOME and Path variables correctly
When type
ant converter, I am getting the following error
----------------------------------------------------------------------------
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:14:
'.' expected
[javac] import Converter;
[javac] ^
[javac] C:\j2eetutorial\examples\src\ejb\converter\ConverterClient.java:15:
'.' expected
[javac] import ConverterHome;
[javac] ^
[javac] 2 errors
BUILD FAILED
C:\j2eetutorial\examples\build.xml:89: Compile failed, messages should have been
provided.
Total time: 9 seconds
Can you help me out
Thanks in advance
Suresh K
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of Java are you using?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Ant Forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic