ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank <>
Subject how are variables set?
Date Fri, 18 Feb 2005 21:31:52 GMT
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:

     [echo] Compiling the client source code....
     [echo] src=src destdir=build
    [javac] Compiling 1 source file to 

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}" />

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

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



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message