On Tue, 20 Jan 2004, Tim Jenness wrote:
> Tried to build starjava today after a cvs update.
> 'ant build' immediately after cvs update gave me this error:
>
>
> build:
> [javac] Compiling 1 source file to
> /export/data/timj/soft/java/source/hds/build/classes
> [echo] Executing FITS target: build
>
> prepare:
>
> check_packages:
>
> build:
> [javac] Compiling 2 source files to
> /export/data/timj/soft/java/source/fits/build/classes
> [javac]
> /export/data/timj/soft/java/source/fits/src/main/uk/ac/starlink/fits/FitsTableBuilder.java:188:
> cannot resolve symbol
> [javac] symbol : method streamStarTable
> (uk.ac.starlink.fits.FitsStarTable,uk.ac.starlink.table.TableSink)
> [javac] location: class uk.ac.starlink.table.Tables
> [javac] Tables.streamStarTable( new FitsStarTable( thdu ),
> sink );
> [javac] ^
> [javac] 1 error
>
> This suggests a dependency error in the 'makefiles'.
Yes, the fits package build file had a error in the order that it resolved
against locally build classes, I've committed a fix for that.
> After a 'ant clean' I had an error with diva:
> prepare:
>
> check_packages:
>
> build:
> [mkdir] Created dir:
> /export/data/timj/soft/java/source/diva/build/classes
> [javac] Compiling 647 source files to
> /export/data/timj/soft/java/source/diva/build/classes
> [javac]
> /export/data/timj/soft/java/source/diva/src/main/uk/ac/starlink/diva/interp/Interpolator.java:10:
> package uk.ac.starlink.splat.util does not exist
> [javac] import uk.ac.starlink.splat.util.Sort;
> [javac] ^
> [javac]
> /export/data/timj/soft/java/source/diva/src/main/uk/ac/starlink/diva/interp/Interpolator.java:267:
> cannot resolve symbol [javac] symbol : variable Sort
> [javac] location: class uk.ac.starlink.diva.interp.Interpolator
> [javac] return Sort.binarySearch( array, value );
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 2 errors
>
> BUILD FAILED
> file:/export/data/timj/soft/java/source/diva/build.xml:345: Compile
> failed; see the compiler error output for details.
>
> Mannually running 'ant build' in the splat directory got past this
> problem. Does anyone else see this after a clean build? It seems odd that
> diva is using classes from an application (splat).
Sorry, this is my fault, you caught me refactoring a major component from
SPLAT into DIVA. I should have this fixed up today.
> Shouldn't some of those util methods be somewhere else
> [eg uk.ac.starlink.util?].
Yes, they will be.
> Or am I missing something.
Nothing as far as I can see!
Cheers,
Peter.
|