aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes problem when buikding with ant in j2ee tutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "problem when buikding with ant in j2ee tutorial" Watch "problem when buikding with ant in j2ee tutorial" New topic
Author

problem when buikding with ant in j2ee tutorial

Suresh Khanna
Greenhorn

Joined: Jan 04, 2004
Posts: 16
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

Joined: Aug 03, 2002
Posts: 7729
What version of Java are you using?


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Moving to the Ant Forum...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem when buikding with ant in j2ee tutorial