Showing posts with label Netbeans. Show all posts
Showing posts with label Netbeans. Show all posts

Tuesday, March 9, 2010

Use Netbeans on c project with winscp

Normally I don't do much cee (actually it's Pro*c) my choice of editor in c is vi for quick change, but for larger project I needed to be able to code offline and have all the comfort of modern IDE.

Here is how I make my life easier. I do not have Pro*c compiler setup on Windows so the actual "make" is taking place on the Linux box. Which is fine during the coding phase and no need to deal with Makefile.

First install WinSCP screenshot below are from 4.2.7 I also setup ssh key with help of PuTTYgen this step is a separate topic. But in a quick summery first winscp login


You can navigate to the directory you want to keep in sync; there are few different options but I chose to use "Keep Remote Directory up to Date..." see screen shot below






I use the option that synch only existing files.
















btw, depend on what is your use cases Netbean 6.8 does have Remote Development tutorial maybe helpful in your project.

Now let's talk about Netbean 6.8 as c/C++ IDE.
I really love how the IDE high light unused variable (black arrow) if you had to maintain old code base this is a nice feature.

The call graph (blue arrow) is a nice touch if you have to navigate spaghetti code.

The big problem I have is its use of memory (red arrow), I notice memory usage keeps on going up than I start to notice I can type much faster than code appears. To work around this problem I clicked on the "memory bar" to run garbage collect. Seems to help, I am still not sure why this happens?

Saturday, April 4, 2009

eclipse of the Sun (this time it could be eclipse forever)?

UPDATE 4/21/09 Oracle can see the future of the Sun

There has been many articles (forbes, computerworld, wsj) about this possible takeover.

Java developer blogsphere and newsgroup have gone wild about the possible outcome.. what ifs..
There are many offering that are overlap between the IBM and SUN.

Sun's profilo includes, but not limit to the following:
  • Java
  • OpenSolaris
  • MySQL
  • GlassFish
  • VirtualBox
  • JavaFX (very very new....)
  • OpenOffice/StarOffice
  • NetBeans
  • SunStudio...
some of the things I can see that maybe duplicate, but if merged the two will become a stronger product.

AIX v. Solaris
Power vs Sparc
Web$phere vs Glassfish
Eclipse vs Netbeans
DB2 vs MySQL (well... DB2 is MySQL may not be at the same level of offering)

I enjoy using Netbeans on my own time, but at work I had to u$e$ RAD7 (aka eclipse + $$$). I would hate to see another free IDE goes ... and left with one RCP (Rich client platform). I'm sure the community will keep the Netbeans RCP alive, but without a major support it's hard to see its true potential.

Update 4/6: Business blog nytimes "Sign of Times" has interesting takes on what "maybe" going on. Rejected the offer!!

Friday, December 26, 2008

Netbeans 6.5 some what documented setting up plink SVN+SSH on Windows

This is for Window's version of Netbean 6.5 it's needed for SVN+SSH

instruction is here http://wiki.netbeans.org/FaqSubversionSSH it's missing a minor detail of setting up environment variable in windows. Here is what I did,

first download PuTTY's plink from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

if you are lazy like myself you'll want to setup enviroment variable for plink
  • Open System Properties (by right click ‘My Computer’ - ‘Properties or by press button ‘windows’ + ‘break’)
  • Select tab Advanced & click button ‘Environment Variables’
  • You can edit System Variable : ‘path’
  • Add path to your PuTTY directory. (don’t delete other path, just add with ‘;’ as separator)
  • OK
  • You can check whether you have correctly add PuTTY’s path by running console (cmd) and run plink.exe without fullpath.
rest of the steps you can just follow the netbean's wiki

Tuesday, January 29, 2008

very interesting ....NB 61supports Websphere

WebSphere 6.0 & 6.1


I didn't have time to try this yet, but http://wiki.netbeans.org/NB61NewAndNoteWorthy list a few interesting note worthy. I hope they improve the start up speed...

hack if NB keeps this up I can "saved" some RAD7 $$ and actually officially test this IDE instead of used it at home.

great job guys!

Tuesday, December 4, 2007

Netbean6 connect to my database

This is a new feature added to NB6. Some of developer will have a few application running while working with database and IDE. Can this feature replace the basic SQL query tool?

http://www.netbeans.org/kb/60/ide/mysql.html will give you a pretty good start and feel for this feature. Out of box I was able query data and even copy the row of data! But... but you can't edit the cell if you want to change say "Y" to a "N"... I know I can write query for that, but I am lazy ;)

Another thing I notice (with about 1 hours using this feature) it DISCONNECT from database!!!! Is there anyway to keep the connection alive? There gotta be an option to do this I keep on getting the error (see screen shot below) ... I had to first disconnect than connect again.


instead of keep on blogging I will try to see if I can found a solution to this problem and post the solution.

gotta run...

Monday, December 3, 2007

NB6 lots of features but can it perform? --testing in progress

My background on my road to Netbean6.

@ my day job I am using RAD7 like many developers this the "official" tool.
@ home/side job I had been using Eclipse 3.2 with Instantiations's WindowBuilderPro it's pretty powerful GUI builder.... but I have been slowly moving to Netbeans the past year (since NB5). Since some of the projects are Swing based... if you have not create GUI from Netbeans you can't use NB's Matisse (this is due to NB's GUI uses some XML *.form to store extra information). But if you have decoupled the GUI from the business and backend it's pretty easy to draw with new NB (unless you have a screen with 10 different tables with button covers all extra spaces, than good luck).

Here the link to new Netbean 6 features, there are too many for me to list... some don't really care for.

With that say let's install this bad boy!
First if you download the full pack you can select the packs you need... 470 MB!!


--to be continue....

Thursday, October 11, 2007

Netbeans 6 beta 1

oh yeah, I been busy. Just notice this news
http://www.netbeans.org/community/releases/60/index.html


I hate to say it, this release is a little slow compare to 5.5 maybe a good excuse to get an upgrade?!
but sooo many new toys pack into this powerful IDE!

cheers

Monday, July 2, 2007

IDE news!!! Netbeans and Eclipse

No it's not a race, choose your own tool for the project.


Netbeans 6.0 M10
http://www.netbeans.org/community/releases/60/index.html

Eclipse also release it's IDE code name Europa 3.3
http://www.infoq.com/news/2007/06/eclipse-europa
also release are all of it's projects.... VE seems to be missing from the list :-(