Yes there is but it did not have an entry for j2ee.home, so I put one in before . I still got the error, maybe it's something else? But that's the only one that had /lib in the path for the javac line. Real strange.

David A Bartmess wrote:

I'm not familiar with this software, but as far as ant goes, is there a
build.properties file, or some other file being imported in the main
build.xml? If so, look in there, or add the j2ee.home=<PATH> to it so it's
set.

Good luck!

On Fri, February 18, 2005 2:31 pm, Frank said:


Just starting to use ant/asant to build examples for web services from
sun tutorial. Running into a problem when I run the "asant build" get
the following error:

compile-client:
    [echo] Compiling the client source code....
    [echo] src=src destdir=build
   [javac] Compiling 1 source file to
C:\j2eetutorial14\examples\jaxrpc\statics
tub\build

BUILD FAILED
file:C:/j2eetutorial14/examples/jaxrpc/common/targets.xml:119: C:\lib
not found.


I' running this on XP. The problem appears too be the c:\lib is not the correct path too anything. I think it's suppose too be the classpath. Well in the targets.xml line 119 is the javac line below.

<target name="compile-client" depends="prepare"
     description="Compiles the client-side source code"  >
     <echo message="Compiling the client source code...."/>
     <echo message="src=${src}    destdir=${build} "/>
   <javac srcdir="${src}" destdir="${build}">
       <include name="**/*.java" />
    <classpath refid="jaxrpc.classpath"/>
    <classpath path="${build}" />
   </javac>
 </target>

jaxrpc.classpath is set above as follows:
<path id="jaxrpc.classpath">
   <fileset dir="${j2ee.home}/lib">
     <include name="*.jar"/>
   </fileset>
 </path>

But how in the world does j2ee.home get set?  I see nothing too set it.
If I set it as an environment variable it does not work.  How do values
such as these get values in the targets.xml?  The build.xml does not
have any reference too these.  Could not find anything in the
documentation. HELP!!! LOL

Thanks,

Frank




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








Reply via email to