To those 'ant' users who tried the Sun's J2EE platform,

I am trying to learn from and test a sample application 'converter'  in the
J2EE environment.
The Tutorial Bundle was downloaded from
http://java.sun.com/j2ee/download.html to F:\j2eetutorial
The following code samples are in F:\j2eetutorial\examples\src\ejb\converter
Converter.java
ConverterBean.java
ConverterClient.java
ConverterHome.java

The environment variables have been set as follows
JAVA_HOME=F:\j2sdk1.4.0-rc
J2EE_HOME=F:\j2sdkee1.3.1
ANT_HOME=F:\jakarta-ant-1.4.1
The path variable contains
F:\j2sdk1.4.0-rc\bin;F:\j2sdkee1.3.1\bin;F:\jakarta-ant-1.4.1\bin

at the prompt F:\j2eetutorial\examples, when I run 'ant converter' , I get
errors as below also indicating that the build failed.
Buildfile: build.xml

init:
converter:
  [javac] Compiling 4 source files to
F:\j2eetutorial\examples\build\ejb\converter
  [javac]
F:\j2eetutorial\examples\src\ejb\converter\ConverterClient.java:15: '.'
expected
  [javac] import Converter;
  [javac]
  [javac]
F:\j2eetutorial\examples\src\ejb\converter\ConverterClient.java:16: '.'
expected
  [javac] import ConverterHome;
  [javac]
  [javac] 2 errors

BUILD FAILED

Any one could help me and point out what I am doing wrong ?
Thanks



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to