I point my project to this file so that WBP can find the image files when I make calls like this to get them:
- Code: Select all
final URL imgUrl2 = getClass().getResource("/TabNormal.gif");
final ImageIcon imageTabNormal = new ImageIcon(imgUrl2);
I use ANT to build the project. After opening a component in WBP and then trying to rebuild the image jar file, the build fails due to the image jar file being locked. Here is the ANT message:
C:\Documents and Settings\bjal1\eclipse3.2\vncfServer\build.xml:1210: Unable to delete file C:\Documents and Settings\bjal1\eclipse3.2\vncfServer\third\uiImages.jar
Unfortunately, even after closing ALL open eclipse tabs, I still cannot rebuild the image file and have to restart eclipse to get the ANT build to succeed -- the file is still help by WBP (or is it eclipse)?