Menu

#364 Ant build results in missing Plastic3DLookAndFeel

open
Building (2)
5
2012-03-09
2012-03-09
No

In some circumstances after building Xena in the normal way with:
ant
ant build_plugins

When attempting to run with the xena.sh file the following exception will be given:

Exception in thread "main" java.lang.Error: Unresolved compilation problem:

at au.gov.naa.digipres.xena.litegui.LiteMainFrame.main(LiteMainFrame.java:1428)

When attempting to run with "java -jar xena.jar" the more detailed error message is:

Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The import com.jgoodies cannot be resolved
Plastic3DLookAndFeel cannot be resolved to a type
Plastic3DLookAndFeel cannot be resolved to a type

at au.gov.naa.digipres.xena.litegui.LiteMainFrame.<init>(LiteMainFrame.java:111)
at au.gov.naa.digipres.xena.core.XenaMain.main(XenaMain.java:56)

This can sometimes be fixed by running the ant builds from xena/ext/src/looks-2.2.2 to the main build.xml file but sometimes the build for looks-2.2.2 results in a fail with the problem:

jar-all:

BUILD FAILED
/home/toneill/workspaceXenaTest/xena/xena/ext/src/looks-2.2.2/build.xml:247: /home/toneill/workspaceXenaTest/xena/xena/ext/src/looks-2.2.2/conf/service descriptors does not exist.

Discussion


Log in to post a comment.