On Mon, 11 Mar 2013, Mark Taylor wrote:
>> In fact, a build says:
>>
>> build:
>> [javac] Compiling 265 source files to
>> /loc/pwda/pdraper/starjava_svn/source/ttools/build/classes
>> [javac]
>> /loc/pwda/pdraper/starjava_svn/source/ttools/src/main/uk/ac/starlink/ttools/plot2/config/DoubleConfigKey.java:73:
>> non-static variable this cannot be referenced from a static context
>> [javac] return new TextSpecifier();
>> [javac] ^
>> [javac] Note: Some input files use unchecked or unsafe operations.
>> [javac] Note: Recompile with -Xlint:unchecked for details.
>> [javac] 1 error
>>
>> BUILD FAILED
>> /loc/pwda/pdraper/starjava_svn/source/ttools/build.xml:429: Compile failed;
>> see the compiler error output for details.
>>
>> (Java 1.6).
>
> really? I'm building on 1.5, but I don't see that at rev 10455.
> From the source file count it looks like that's not a build from
> scratch - can you have another go?
Yes, Java 1.6:
% java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)
% svn info
Path: .
URL: https://starjava.jach.hawaii.edu/svn/trunk
Repository Root: https://starjava.jach.hawaii.edu/svn
Repository UUID: 64c8128f-4737-40ee-97d7-63429197977e
Revision: 10455
Node Kind: directory
Schedule: normal
Last Changed Author: mbt
Last Changed Rev: 10455
Last Changed Date: 2013-03-08 23:12:24 +0000 (Fri, 08 Mar 2013)
Tried an "ant clean" in source/ followed by "ant build" and the same error
came up. Also tried an "svn-clean" in ttools with the same result.
|