ThinkingRock Forum

To go back to http://www.trgtd.com.au
It is currently Sat May 18, 2013 11:02 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Thu Aug 06, 2009 5:11 pm 
Offline

Joined: Thu Aug 06, 2009 5:01 pm
Posts: 2
The instructions at this link (http://www.trgtd.com.au/wiki/doku.php?id=dev:usesource), say to use NetBeans 6.1. I tried 6.1 but had problems. I tried 6.5 and it seems to be working. I also noticed that /tr/NetBeans/LICENSE.txt mentions 6.5

Should I be using 6.5 or 6.1?


Top
 Profile  
 
PostPosted: Thu Aug 06, 2009 10:06 pm 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
Yes use NB 6.5


Top
 Profile  
 
PostPosted: Wed Sep 02, 2009 7:01 pm 
Offline

Joined: Thu Aug 13, 2009 3:17 pm
Posts: 5
Hi Jeremy,

Since I did this this recently and the instructions at the WIKI refer to an earlier version of NetBeans, let me add that after you follow the instructions the WIKI, you should try to Run the project (right click on ThinkingRock.2.2 node and select run). If you keep getting exceptions, you should check the Java Platform you are using. Most likely the IDE is using the default JDK 1.6. When I donwloaded JDK 1.6.14 and set the IDE to use this version those exceptions disappeared. To do this follow the steps below:

1. Go to java.sun.com and download the latest JDK which at this time is 1.6.14
2. Install on your computer.
3. Start NetBeans
4. right-click the main “TR” project and choose “Project Properties”
5. choose “Libraries”
6. Click on "Manage Java Platforms"
7. In the new dialog click "Add Platfom"
8. And find the installation directory of the Java JDK you just installed. It should be something like "C:\Program Files\Java\jdk1.6.0_14"
9. Click "Next" and give it a name
10. Click "Finish"
11. In the "Sources" tab "Add JAR/Folder"
12. and in the dialog select src.zip under the make JDK 1.6.14 directory.
13. At this time you can close or you can go ahead and add the javadocs but that is optional

If you run the application the exceptions should disappear.

I hope it helps.

Nicholas


Top
 Profile  
 
PostPosted: Thu May 20, 2010 2:27 pm 
Offline

Joined: Fri Mar 26, 2010 9:59 pm
Posts: 8
For users using Ubuntu 10.04, here's how to install the sun jdk

http://www.botskool.com/forum/computer- ... 04-jdk-jre
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
or {Depending upon what you need)
$ sudo apt-get install sun-java6-jre


Top
 Profile  
 
PostPosted: Thu May 20, 2010 3:04 pm 
Offline

Joined: Fri Mar 26, 2010 9:59 pm
Posts: 8
I am familiar with Java, but not with the Netbeans platform.
The wiki (and comment above) says to download the source zip file and than "Open the top level “TR” project" in Netbeans.
But i don't understand how? when i copy the contents of the .tar.gz file in NetBeansProject i can't select it, i also don't seem to be able to import it into a project. It probably very simple, but i don't see it unfortunately.
Do you know how i can open the TR project in Netbeans?

btw. i installed Netbean 6.8 via the ubuntu package manager, maybe i should install 6.5?

Thanks,
Bram.


Top
 Profile  
 
PostPosted: Thu Jun 03, 2010 8:45 pm 
Offline

Joined: Fri Mar 26, 2010 9:59 pm
Posts: 8
Ok, retried... now i installed Netbeans 6.5.1 on Ubuntu 10.04 64 bit and that worked.

Download: http://netbeans.org/community/releases/65/1/
See installation instructions links on how to install, it ran without problems.

Download the source code of Thinking Rock: http://sourceforge.net/projects/thinkingrock/
Select view all files and download the source zip file and unzip the content (TR directory) to NetBeansProject.
btw. at this point the 2.2.1 source code gives me problem unzippen (caution: filename not matched: tr/tr.view.action/Icon\^M) so i used 2.0.1


Top
 Profile  
 
PostPosted: Sun Aug 01, 2010 7:05 pm 
Offline

Joined: Thu Mar 26, 2009 12:00 pm
Posts: 32
The version doesn’t matter. It worked fine with Netbeans 6.9 here. You just have to import the actual platform like described in the wiki: http://www.trgtd.com.au/wiki/doku.php?id=dev:usesource

I did that, created a module, make it into a nbm, loaded it in TR, and everything worked fine.

The only thing that failed, was to run TR from NetBeans, after some weird GUI error (in NetBeans! Not in TR.) happened, where I could not access half the menus anymore (e.g. “File” would not open.)
I haven’t checked if re-starting NB, closing and re-opening the project does help, but I guess. The menus worked again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group