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.
Chris Uppal - 19 Feb 2006 11:18 GMT
> 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
Kroll, Michael - 20 Feb 2006 08:28 GMT
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

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