ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamran Hameed <camran.ham...@gmail.com>
Subject fileset with exclude not working
Date Mon, 01 Feb 2010 06:47:16 GMT
Folks i have this directory structure

src/mpi/
src/xdev/
src/runtime
src/mpjbuf


Now i want ant's javadoc tool to generate javadocs of mpi package only. I
did it successfully using

 <fileset dir="${mpi.dir}">
              <exclude name="**/Band.java/**"/>
          </fileset>

Now there are two files Sum.java and Band.java in the mpi package that i
dont want javadoc tool to generate javadocs. So i try to exclude them using

 <fileset dir="${mpi.dir}">
              <exclude name="**/Band.java**"/>
              <exclude name="**/Sum.java**"/>
          </fileset>

But i get these output instead of javadocs

 javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerByte.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerChar.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerDouble.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerFactory.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerFloat.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerInt.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerLong.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerObject.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerShort.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SimplePackerType.java.in"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/Status.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/Struct$StructPacker.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/Struct.class"
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/Status.java...
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/Sum.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SumByte.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SumChar.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SumDouble.class"
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SumFloat.class"
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/Struct.java...
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/Sum.java...
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SumInt.class"
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/SumByte.java...
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SumLong.class"
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/SumChar.java...
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SumShort.class"
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/SumDouble.java...
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/SumFloat.java...
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/SumInt.java...
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/SumLong.java...
  [javadoc] Loading source file
/export/home/kamran/parallel/mpj/src/mpi/SumShort.java...
  [javadoc] javadoc: error - Illegal package name:
"/export/home/kamran/parallel/mpj/src/mpi/SumType.java.in"
  [javadoc] javadoc: error - Illegal package

-- 
Kamran Hameed

hpc.seecs.edu.pk/~kamran

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message