This site requires JavaScript, please enable it in your browser!
Greenfoot back
Zamoht
Zamoht wrote ...

2014/5/15

Importing Greenfoot classes into Eclipse

1
2
davmac davmac

2014/5/18

#
The splash image is copied to the correct location by the Ant "ready-to-run" target if I recall correctly. In any case the failure to find the splash image is not a serious problem. Regarding junit-4.8.2.jar, AppleJavaExtensions.jar and tools.jar, you should not need to add these to the Greenfoot project's build path as they should already be on the BlueJ project's build path, and the BlueJ project should be on the Greenfoot project's build path. As it says in the guide:
In the projects tab: * Select the BlueJ project.
davmac davmac

2014/5/18

#
Regarding the other warnings, you should ignore them (and optionally build with a Java 6 JDK instead of a Java 7 JDK, which will avoid a lot of them).
davmac davmac

2014/5/18

#
Oh, and:
I am not sure about the mac_bundled_jdk_path. What should I do with it when I use Windows? Remove it or just let it stay as it is?
It's not used if you do not run a Mac build, so do whatever you wish.
Upupzealot Upupzealot

2014/6/13

#
Just got the same problem with splash image. Everytime I tried to run the Greenfoot project, the consle tab in eclipse prints "cannot find splash image: greenfootsplash.jpg" and stuck there forever :(
Upupzealot Upupzealot

2014/6/13

#
Problem solved: You have to "refesh" the BlueJ project so that the eclipse would notice the new added image. :( this is stupid
Zamoht Zamoht

2014/6/13

#
Will check that out later thanks for the replies both of you.
You need to login to post a reply.
1
2