Hi,

I am using ant 1.6.2

I have a common.xml with a compile target:

<target name="compile" depends="init" description="compile product src code">
        <depend srcdir="${src.dir}" destdir="${classes.dir}" cache="depcache"
        closure="yes"/>
        <!-- Both srcdir and destdir should be package roots. -->
         <javac debug="true" deprecation="true" destdir="${classes.dir}"
         srcdir="${src.dir}">
         <classpath refid="common.classpath"/>
        </javac>
   </target>


In my proj1.xml I have the following:

<import 
file="/vobs/rbs/sw/rbssw1/boam_subsys/boam_swb/boam_bldu/ant_build/common.xml"/>
 
  <target name="setup">
<!-- Adding boam to classpath -->
  <path id="additional.classpath">
    <pathelement location="${BROS.FWK.DIST.DIR}/${BROS.FWK.JAR}"/>
  </path>

  <!-- Set common classpath to override def. in common.xml -->
  <path id="common.classpath">
        <pathelement location="${CELLO.DIR}/${ASMS.JAR}"/>
        <path refid="additional.classpath"/>

  </path>
</target>


Do anyone have an idea why not "additional.classpath" is added to 
"common.classpath"?


BR

//Mikael

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

Reply via email to