Apr
16
2009
Cansin
As you all know, we’re having a problem with Netbeans while using svn+ssh. When we try to our first commit/update at Netbeans, the username is fetched from the localhost (i.e. cnsnyldz in my case) rather being fetched from what we entered at Netbeans IDE (i.e. e1449271).
Before now, we are obliged to do a dummy checkout first, then we could use svn. I have come up with a solution for this situation. I have deleted the project from my NetbeansProjects folder and re-checkout it from svn, using the below code:
svn+ssh://username@username@external.ceng.metu.edu.tr/home/svn/490.2009/praeda
Using two usernames consequently has solved my problem. I hope it also helps you.
1 comment | tags: cansin, netbeans, ssh, svn
Apr
7
2009
Murat
If you are using svn+ssh protocol for version control system, you can be bored to enter your password each time you want to update, commit etc. You can use SSH Private Key Authentication method to get rid of this. Follow these steps:
In your client computer, create a key-pair and upload it to the server:
ssh-keygen -t dsa -f ~/.ssh/id_dsa -P ”
scp ~/.ssh/id_dsa.pub <username>@<server>:
Connect to the server using ssh and save your public key:
ssh <user>@<server>
cat id_dsa.pub >> ~/.ssh/authorized_keys2
chmod 600 ~/.ssh/authorized_keys2
Then, add this private key file into NetBeans:
- Open Versioning->Checkout menu.
- Edit tunnel command as, “ssh -l <username> -i ~/.ssh/id_dsa”
Now, you should be able to use this repository without entering your password.
no comments | tags: murat, netbeans, ssh, svn
Mar
18
2009
Cansin
I have ported our Android project at Eclipse to Netbeans, since we’re also developing our server at it. I’ve used this tutorial to recreate our project. You have to install nbandroid plug-in to get the project. Then you can use svn to check out.
no comments | tags: android, cansin, netbeans
Mar
7
2009
Cansin
As Eray mentioned, JSF has lots of implementations from different companies. But, I preferred not to search through them. Instead, I tried to figure out best way to develop a JSF application using Netbeans.
At Netbeans official site, there are lots of tutorials about developing a visual JSF application. These tutorials are based on Project Woodstock. Since this implementation is tightly coupled with both Netbeans and Glassfish, and since there are tutorials, I think it will be best to use this built-in approach.
There is a quite good tutorial about Getting Started with Visual Web JSF Application Development at here. I suggest all team members to spent at least 4 hours at this tutorial looking through it in detail and trying it at a Netbeans project. Don’t skip the parts that seems easy, since there are lots of tips about using Netbeans at this tutorial.
no comments | tags: cansin, jsf, netbeans, tutorial