ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Petterson \(KI/EAB\)" <>
Subject Problem with classpath in javac task
Date Fri, 03 Dec 2004 12:03:15 GMT

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"
        <!-- Both srcdir and destdir should be package roots. -->
         <javac debug="true" deprecation="true" destdir="${classes.dir}"
         <classpath refid="common.classpath"/>

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

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


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



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

View raw message