Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > netbeans : can't open project folder !!!

Reply
Thread Tools

netbeans : can't open project folder !!!

 
 
rahul
Guest
Posts: n/a
 
      02-19-2006
We have a problem here:

We were developing a software in java on solaris10 with netbeans4.1. To
make a back up of the source, we saved the whole project folder that
was made by netbeans by writing it to a cd.
We accidently deleted the folder from our hard diska. Now we copied
the source(the project folder) to our hard disk from the cd. However,
when we tried to open the project from netbeans, it wouldn't recognize
the folder as a project folder, but only as a normal folder.
Does netbeans associate some property to a project folder that is lost
when it's written to a cd? If yes, is there anyway we could restore the
folder as a project folder?
Also when we copy the project folder from cd to the disk, the
extensions change automatically from *.java to* .jav and from *.form to
*.fr.
Any help would be greatly appreciated.

 
Reply With Quote
 
 
 
 
Chris Uppal
Guest
Posts: n/a
 
      02-19-2006
rahul wrote:

> Does netbeans associate some property to a project folder that is lost
> when it's written to a cd? If yes, is there anyway we could restore the
> folder as a project folder?


I have no idea about Netbeans, but I'd try creating a new project (with the
same name) and then overwriting it with the data from the CD.

> Also when we copy the project folder from cd to the disk, the
> extensions change automatically from *.java to* .jav and from *.form to
> *.fr.


Obviously you'll have to change them back ! You'll probably have to remove
write-protection too (if Windows behaves as I remember). It's a good idea not
to make backups by copying files directly to CD since too much information gets
lost. I find it better to create a ZIP archive of the data, and copy /that/ to
CD.

Or use a better backup system, of course.

-- chris


 
Reply With Quote
 
 
 
 
Kroll, Michael
Guest
Posts: n/a
 
      02-20-2006
Hello,

> Does netbeans associate some property to a project folder that is lost
> when it's written to a cd? If yes, is there anyway we could restore the
> folder as a project folder?

no, the complete project folder as all the thing that NetBeans need.
I made the same with my Project under NetBeans 4.1 and in the moment
with 5.0. It works fine.
To do have a rewrite flag of your folder ?

Regards
Michael

--
http://www.smurfi.de
German NetBeans and GlassFish Site

 
Reply With Quote
 
krh krh is offline
Junior Member
Join Date: Mar 2008
Posts: 1
 
      03-24-2008
I have encountered a similar problem with NetBeans v5.0 and v6.0.1. I use a Network Attached Storage (NAS) device for all my files. I have created projects using my desktop computer, and later if I try to open the folder on my laptop, the IDE doesn't realize the folder is a NetBeans project. When I select the "Open Project" button, it just navigates down into the folder rather than opening it as a project.

There must be some attribute that is not being recognized. Does anyone know why it would behave like this?

Thanks,
Ken
 
Reply With Quote
 
pani pani is offline
Junior Member
Join Date: Aug 2008
Posts: 1
 
      08-12-2008
I am having exactly the same problem and its really annoying as I want to store these projects on my NAS which is backed up automatically instead of my personal computer.

I also want to access the projects from another computer but this prevents me from doing this other than having a share on my personal computer. Its not idea.

This can't be a unique problem - many people must experience this.
 

Last edited by pani; 08-12-2008 at 11:15 AM..
Reply With Quote
 
subhashchandra subhashchandra is offline
Junior Member
Join Date: Feb 2011
Posts: 1
 
      02-03-2011
Hi guys!!

I had a similar problem with Netbeans 6.5 and finally came up with the solution.

The problem started when I(we) deleted the project from Netbeans, rather closing the project(though the project still exists on the hard drive)

So, this had deleted three folders called "build","dist" and "nbproject" and an XML file called "build".

Solution: Now in order for Netbeans to recogonize ur project as a "project folder" rather than as an ordinary folder, you have to follow the following steps,


Method 1:

Step 1: Create a New project of the same kind(as ur old project, I mean if its Java project create the same).

Step 2: Go to ur newly created project folder on ur hard drive and copy the folders and XML file which were missing, ie.. "build", "dist","nbproject" and an XML file called "build".

Step 3: Paste these in ur old project(which had the problem).

Step 4:Open ur old project as usual in Netbeans.

Method 2

If you have a backup of the project which was once workin fine, then copy those file and folder which were missing and paste them in the present(ur not workin project) and open it as usual from Netbeans.

This worked jus fine for me people and im sure it'll work for u guys too..

I enjoyed the problem

C ya
Subhash Chandra.N.V
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert NetBeans Project to Eclipse Project (Java Applicaiton) gc Java 0 02-13-2008 05:37 AM
Eclipse vs. Netbeans. Netbeans is winning me over almost at first glance. Thomas G. Marshall Java 2 10-16-2006 02:54 AM
what is Maximum Number of files supported in ASP.Net project and project folder Optimize ASP.Net ASP .Net 1 05-06-2005 03:10 PM
[NETBEANS] [EVALUATION] - E12 - The NetBeans Open Source Lie Ilias Lazaridis Java 0 12-12-2004 02:41 PM
Building a GUI using NetBeans platform (not Netbeans IDE !) Pimousse Java 2 04-21-2004 07:22 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57