NetBeans 7.4 mx ideinit problem
Caspole, Eric
Eric.Caspole at amd.com
Fri Nov 1 11:02:29 PDT 2013
Hi, I might be the only one, but I have been using the NetBeans 7.4 with Graal on Windows for months now using JDK 8. It has been working well to run the unit tests etc in our JDK 8 environment. Very recently the build stopped working correctly in NetBeans and the project group import seems flaky.
It looks like the Java Platform is not set correctly for the projects, where I have set up the JDK as shown
If using NetBeans:
1. Ensure that a platform named "JDK_1.8.0-internal-fastdebug" is defined (Tools -> Java Platforms)
2. Open/create a Project Group for the directory containing the projects (File -> Project Group -> New Group... -> Folder of Projects)
But all the Graal projects have the default Java Platform selected as their JDK after I create the project group, not the newly created one.
I get the message below when I right-click on a project and select "Build"
I don't know if this is a NetBeans bug or a problem with the "mx ideinit" output.
Anyone have any suggestions?
Thanks,
Eric
=====
ant -f C:\\work\\graal-default\\graal\\graal\\com.oracle.graal.compiler -Dnb.internal.action.name=build jar
C:\work\graal-default\graal\graal\com.oracle.graal.compiler\nbproject\build-impl.xml:86: The J2SE Platform is not correctly set up.
Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files.
Either open the project in the IDE and setup the Platform with the same name or add it manually.
For example like this:
ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file)
or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used)
BUILD FAILED (total time: 0 seconds)
More information about the graal-dev
mailing list