#!/bin/sh ############################################################################################### # Note: It is expected that the source tree has been unzipped. # Note: swt.jar is required for the build. It also must be unzipped for the properties file. ############################################################################################### # StyledText somehow confuses GCJ. According to the message discussion, moving # StyledText.java out of the build path fixes everything. # http://gcc.gnu.org/ml/java/2003-04/msg00270.html # This copies StyledText out and compiles it independantly. # echo Performing special compile for StyledText.java ... cp org/eclipse/swt/custom/StyledText.java StyledText.java gcj -fjni -g0 -c --classpath=swt.jar StyledText.java ############################################################################################### # We need to ensure the image-related stuff gets loaded. # echo >SWTImageLoaders.java <