Just copy the whole directory to the other machine and use NetBeans to open it. If you encounter missing reference, e.g. libraries are located in different path, you can just right click on the project and click resolve the missing reference or something like that.
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
Joined: Jun 04, 2007
haha I wish it would be so easy. Before posting the Q I had already done what you have suggested but the problem is that when you copy the Netbeans project directory over to the other machine and try to open it with netbeans, it goes crazy. Spits out a message saying 'this project was recently opened - please restart the IDE'...ofcourse restarting the IDE does not work either.
So the hard fought solution is that you have to copy the entire netbeans directory over to the other machine..delete 'dist', 'build' and 'nbproject' folders from the copied directory (also delete any occurences of a build.xml file) and rebuild the project on the new machine.
As much as I like netbeans...I miss the easy features of 'import/export' in eclipse.
Hi, I have Glassfish (Java App Server 9.1) on my development machine. I also have Java App Server 9.1 installed on the target server, from the NetBeans IDE I go to 'Services' and add the destination server. Then in the 'Projects' tab I right-click on my project and select properties - under run you can select which server (your local) or remote server. Then select right click your app again and select unDeploy/Deploy and the application is automatically deployed to the remote server. You can switch between deploying locally or remotely in a matter of seconds!!
Hope this helps! I'm a new user to NetBeans and Java (Previously a C#'er)
[ November 27, 2007: Message edited by: Steven Thornton ] [ November 27, 2007: Message edited by: Steven Thornton ]