Hi Mark,
I'm trying to build TOPCAT from the hawaiki branch and get:
build:
[java] Exception in thread "main" java.awt.HeadlessException
[java] at java.awt.dnd.DropTarget.<init>(DropTarget.java:79)
[java] at java.awt.dnd.DropTarget.<init>(DropTarget.java:125)
[java] at
com
.apple.laf.AquaFileChooserUI.installListeners(AquaFileChooserUI.java:
165)
[java] at
com.apple.laf.AquaFileChooserUI.installUI(AquaFileChooserUI.java:122)
[java] at javax.swing.JComponent.setUI(JComponent.java:661)
[java] at javax.swing.JFileChooser.updateUI(JFileChooser.java:
1798)
[java] at javax.swing.JFileChooser.setup(JFileChooser.java:360)
[java] at javax.swing.JFileChooser.<init>(JFileChooser.java:333)
[java] at javax.swing.JFileChooser.<init>(JFileChooser.java:286)
[java] at
uk
.ac.starlink.table.gui.FileChooserLoader.<init>(FileChooserLoader.java:
37)
[java] at
uk.ac.starlink.topcat.ResourceIcon.getDiyIconMap(ResourceIcon.java:542)
[java] at
uk.ac.starlink.topcat.ResourceIcon.main(ResourceIcon.java:703)
BUILD FAILED
/Users/bradc/development/starjava-hawaiki/build.xml:284: The following
error occurred while executing this line:
/Users/bradc/development/starjava-hawaiki/build.xml:238: The following
error occurred while executing this line:
/Users/bradc/development/starjava-hawaiki/topcat/build.xml:439: Java
returned: 1
This is on an Intel OS X 10.5 machine. I've switched between Java 1.5
and 1.6 and both return the same error. I've also tried setting
ANT_OPTS to "-Djava.awt.headless=true" (as I'm doing the build
remotely) to no avail.
Cheers,
Brad.
|