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

2018/6/14

How to edit the Greenfoot source code in netbeans?

AlexDeFuria AlexDeFuria

2018/6/14

#
Hello, I just finished a school project using the Greenfoot framework and out of curiosity I was going to dabble into the source code and learn more how it works. I went to try and import the source code into the netbeans ide but it won't import. How would I go about editing the Greenfoot source code in the netbeans ide?
davmac davmac

2018/6/14

#
For using Eclipse there is a file in the source bundle with instructions, named HOWTO.build-greenfoot-in-eclipse. You could use Eclipse instead and follow the instructions, or alternatively you could use that as a guide for how to set up the build paths in Netbeans. Without any details of why you can't import into Netbeans, that's about the best advice I can give right now.
AlexDeFuria AlexDeFuria

2018/6/14

#
Thank you I'll try that. In regards to the particular issue, Netbeans simply cannot locate the project.
davmac davmac

2018/6/15

#
Netbeans simply cannot locate the project
That is not what I meant by "details" - how did you try to import the project - what menu items / commands did you use, what details did you supply in any dialogs, was an error message shown and if so what did it say (the exact text, not just a vague interpretation of it)? etc. I'm not really familiar with Netbeans, but It sounds a bit like you are using a command to import an existing Netbeans project - however BlueJ/Greenfoot isn't distributed as a Netbeans project. You may need to make a new project and configure the location and build paths etc correctly after unzipping the source bundle somewhere. In Eclipse I set up Greenfoot and BlueJ as separate projects (Greenfoot requires BlueJ) and you may need to do the same in Netbeans.
You need to login to post a reply.