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

2013/4/30

Greenfoot version 2.3.0

davmac davmac

2013/4/30

#
Hi everyone, I would like to announce a new version of Greenfoot - 2.3.0. This is mostly a bug fix release, but introduces the ability to select the interface language from the preferences pane, and adds two new methods to the Actor class to perform common functions (the isTouching(...) and the removeTouching(...) method - see the documentation for details). This release also resolves the problem which prevented running Greenfoot with recent JDK updates. Finally, there are two Mac OS builds with this release - one which includes JDK 7 bundled, and the other one which continues to use the system JDK (JDK 6). Get it from the download page!
danpost danpost

2013/4/30

#
What is the difference between 'isTouching(cls)' and '!getIntersectingObjects(cls).isEmpty()' (or 'getOneIntersectingObject(cls) != null')?
davmac davmac

2013/4/30

#
The first is a lot shorter, and easier to understand for beginners :)
danpost danpost

2013/4/30

#
davmac wrote...
The first is a lot shorter, and easier to understand for beginners :)
Therefore, no functional difference. Thanks.
davmac davmac

2013/4/30

#
Precisely - it's just added for convenience.
JetLennit JetLennit

2013/4/30

#
I clicked the link and it said The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved (the Greenfoot site was signifcantly altered in late 2011, which moved/removed many pages). Try going to the main Greenfoot site instead.
bourne bourne

2013/4/30

#
There seems to be an exception for when clicking "share" on the Mac OS build with JDK 7 Exception in thread "Thread-47" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at greenfoot.export.mygame.MyGameClient.<init>(MyGameClient.java:77) at greenfoot.export.mygame.ExistingScenarioChecker.checkExistence(ExistingScenarioChecker.java:148) at greenfoot.export.mygame.ExistingScenarioChecker.access$300(ExistingScenarioChecker.java:35) at greenfoot.export.mygame.ExistingScenarioChecker$ScenarioWorker.construct(ExistingScenarioChecker.java:58) at bluej.utility.SwingWorker$2.run(SwingWorker.java:129) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 6 more Exception in thread "Thread-48" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at greenfoot.export.mygame.MyGameClient.<init>(MyGameClient.java:77) at greenfoot.gui.export.ExportPublishPane$4.construct(ExportPublishPane.java:585) at bluej.utility.SwingWorker$2.run(SwingWorker.java:129) at java.lang.Thread.run(Thread.java:722)
JetLennit JetLennit

2013/4/30

#
It isn't working for me, it says that it is already installed (paraphrasing) on windows
davmac davmac

2013/4/30

#
bourne, thanks, I'm looking into it. There seems to be a small packaging problem causing this (with all OSes). JetLennit, just uninstall your old version of Greenfoot before you install the new one. However, I suggest you hold off for now due to the above issue.
davmac davmac

2013/5/1

#
I've resolved the issue discovered by bourne (see above), but only the Windows package is fixed at the moment. I have made the others unavailable for now. I'm not sure when the Mac packages will be ready as they need to be signed, however I will post updates here.
bourne bourne

2013/5/1

#
Thanks davmac.
davmac davmac

2013/5/1

#
The Ubuntu/Debian and generic packages are now updated to 2.3.0. The "standalone" (USB stick) and MacOS versions of 2.3.0 aren't yet available.
imacat imacat

2013/5/1

#
The link to the Ubuntu/Debian package is broken. It currently points to http://www.greenfoot.org/download/files/old/greenfoot-230.deb . I suppose you mean http://www.greenfoot.org/download/files/greenfoot-230.deb . The "old/" should be removed.
davmac davmac

2013/5/1

#
imacat, thanks - I've fixed that now.
You need to login to post a reply.