ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nolan Ring" <nr...@nortelnetworks.com>
Subject class files/output area not generated
Date Fri, 27 Apr 2001 18:27:58 GMT
I'm having a problem in which a part of my build is not creating and
populating the output area.  There are javac errors when one of the
directories  (dmsmsc_asn1) is compiled; however, I assumed that the files in
all of the other directories that comprise the target  would be compiled.
Is that true?  

When I exclude the problematic directory from the build, all is well -- the
output area is created and populated with class files correctly.  

I'm using Ant 1.3 and JDK1.3 ...

Here's the target from the build.xml file that I'm having problems with:

<target name="gprs" depends="filter_SA_label,voip" >
   <javac srcdir="${SAsrc}/gprs/src/Java"
          destdir="${SAoutput}/gprs/Java"
          failonerror="false">
      <classpath>
       <pathelement location="/usr/java1.2.2_05a/jre/lib/rt.jar"/>
       <pathelement path="."/>
       <pathelement path="${SAsrc}/gprs/src/Java"/>
       <pathelement path="${SAoutput}/gprs/Java"/>
       <pathelement location="${UDCoutput}/core/Java/core.jar" />
       <pathelement location="${UDCoutput}/nodes/Java/nodes.jar" />
       <pathelement location="${3rdParty}/asn1pure/oss.jar"/>
       <pathelement path="${SAoutput}/voip/Java"/>
      </classpath>
       <exclude name="**/*gsm3gppv311*/**/*"/>
      <exclude name="**/ei/gsm1215/**/*"/>
      <exclude name="**/gsm3gppv320/remote_operations_generic_ros_pdus/*"/>
      <exclude name="**/wapphone/*"/>
      <exclude name="**/tim_asn1/**/*"/>
      <exclude name="**/ei/gsm3gpp/**"/>
      <exclude name="**/oi/gsm3gpp/**"/>
      <exclude name="**/oi/ggsn_asn1/**/*"/>
      <exclude name="**/oi/dmsmsc_asn1/**/*" />        #IF NOT EXCLUDED
ENTIRE GPRS OUTPUT AREA NOT CREATED 
      <include name="**/ei/gsm3gpp/HashtableExt.java" />
      <include name="**/ei/gsm3gpp/ByteExtends.java" />
      <include name="**/*.java"/>
   </javac>
   <copy filtering="yes" file="${Sandbox}/manifest/MANIFEST-GPRS.ant"
tofile="${Sandbox}/manifest/manifest-f
or-build/MANIFEST-GPRS.MF" />
</target>


Here's output from ant -v when I build this target:

gprs:
    [javac] Compiling 504 source files to
/tree/AcctBill/projects/psa/gprs/Java
    [javac]
/tree/AcctBillSrc/projects/psa/gprs/src/Java/com/nt/udc/oi/dmsmsc_asn1/DmsMs
cASN1OIRecord.java:10: package com.nt.udc.oi.dmsmsc_asn1.dmsmscrecord does
not exist
    [javac] import com.nt.udc.oi.dmsmsc_asn1.dmsmscrecord.*;
    [javac] ^
    [javac]
/tree/AcctBillSrc/projects/psa/gprs/src/Java/com/nt/udc/oi/dmsmsc_asn1/DmsMs
cASN1OIRecord.java:11: package
com.nt.udc.oi.dmsmsc_asn1.dmsmscrecord.dmsmscoi does not exist
    [javac] import com.nt.udc.oi.dmsmsc_asn1.dmsmscrecord.dmsmscoi.*;
    [javac] ^
    [javac]
/tree/AcctBillSrc/projects/psa/gprs/src/Java/com/nt/udc/oi/dmsmsc_asn1/DmsMs
cASN1OINode.java:5: package com.nt.udc.oi.dmsmsc_asn1.dmsmscrecord does not
exist
    [javac] import com.nt.udc.oi.dmsmsc_asn1.dmsmscrecord.*;
    [javac] ^
    [javac]
/tree/AcctBillSrc/projects/psa/gprs/src/Java/com/nt/udc/oi/dmsmsc_asn1/DmsMs
cASN1OINode.java:6: package com.nt.udc.oi.dmsmsc_asn1.dmsmscrecord.dmsmscoi
does not exist
    [javac] import com.nt.udc.oi.dmsmsc_asn1.dmsmscrecord.dmsmscoi.*;
    [javac] ^
    [javac] Note:
/tree/AcctBillSrc/projects/psa/gprs/src/Java/com/nt/udc/processor/grouper/Gr
ouperNode.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 4 errors
    [javac] Compile failed, messages should have been provided.

A listing of the output area shows that
/tree/AcctBill/projects/psa/gprs/Java exists, but is empty.

Thanks for any help.

Nolan

Mime
View raw message