Wednesday, April 28, 2010

How to SetUp Ardor3D with Netbeans

Hello alot of people have being well lets say abit horrifed with the setup of Ardor3D on netbeans due to some errors with maven,well heres a the way i did it and it worked properly after some seriouse try and error:

Anyway heres the Load Down:
1. Open up Netbeans (if u dont have it yet,just download it,i would advice downloading the complete pack should save you time on getting plugins and use a download accelerator like Internet Download Manager(IDM) or anyone you prefer to speed things up and if you are on linux install a SVN application and if you on Windows and can't find a svn on Netbeans then install a custom svn application from the net,like TortoiseSVN (http://tortoisesvn.net/downloads) ).
2. Navigate to Team Menu then to SVN submenu then click on Checkout option
3. The windows provides user Login and Authentication information,you don't need to enter any since we will be using guest access.
4. On the URL option,copy and paste the following link
http://ardorlabs.svn.cvsdude.com/Ardor3Dv1.
5. Click Next and on the next window,and on the Repository Folder enter trunk.
6. Tick Skip trunk and go for the content checkbox.
7. And the local folder optio,Navigate to a folder you want to save the files.
8. Click Finish

Once the files have being downloaded, you will be presented with a option to open the project,click cancel and you'll see a new project node with the name of the files, if you don't just click open and navigate to the location of where you store the files.

COMPILING:

1. You need to have Maven installed (http://maven.apache.org/).

2. In NetBeans, go into Tools->Options->Miscellaneous->Maven and make sure the "External Maven Home" points to your Maven install i.e the folder of where you installed maven.

3. Right click on the Ardor 3D project, choose Properties. Click on Actions and make sure "Use external Maven for build execution" IS checked. Then click OK.

4. Now right click again on the Ardor 3D project and choose "Build".

{the above steps are the cool work of Renanse { --Renanse--}.

}

Now unfortunately you will get some issues during Step 4,whereby you will recieve errors about maven working/running in offline mode,well don't bother your self about that,thats natural atleast for now,maven unfortunately doesn't have certain plugins it needs.

5. the best option now is to right click again and choose "Build with Dependencies"
and watch as it downloads the needed plugins then compile it, once done ,right click on the Ardor3D node and expand and choose the Module nodes then right click on the Ardor3D Examples and click Open Project.

6. Netbeans and Maven will download the necessary plugins when done just click run then it will open a gui for the examples needed.


Hopefully this will make things easier for Netbeans dev to get the project up and running ,i realy don't like eclipse interface,anyway i do hope to learn more and in the next comming time i do hope to post up tutorials from what i will learn from the examples,have fun.

Heres the Original = [ Original Post]

No comments: