 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
rahul Guest
|
Posted: Sun Feb 19, 2006 5:12 am Post subject: netbeans : can't open project folder !!! |
|
|
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. |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Feb 19, 2006 6:12 pm Post subject: Re: netbeans : can't open project folder !!! |
|
|
| Quote: | 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.
Question: When does this "automatic change" of extensions occur? Did it |
really occure during copying the files from CD to the harddisk or maybe
during burning the files from the harddisk to the CD? The latter
scenario is IMHO the more likely. Nevertheless, some files have been
"renamed", and when NetBeans really stores some files in "project
folders" (the NetBeans docu or a more NetBeans-specific newsgroup
should be able to help you there) it is possible that some
NetBeans-specific files have also been renamed and are no longer
recognized.
BW, Piet |
|
| Back to top |
|
 |
Nigel Wade Guest
|
Posted: Mon Feb 20, 2006 11:12 am Post subject: Re: netbeans : can't open project folder !!! |
|
|
rahul wrote:
| Quote: | 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.
|
Are you sure that the filenames, ownership and permissions for the files on the
CD are correct? What tool did you use to create it?
I can't imagine that the process of copying from CD to the hard disk would mess
up the filenames, but the other way around is quite possible. If you created
the CD as an ISO9660 CD it will only have written the filenames in an 8.3
(name.ext) approximation of the original filename. Also, I don't think ISO9660
understands mixed case filenames, and everything is converted to uppercase (but
may be converted to lowercase when reading).
If this is the case, the information is lost. You will need to manually rename
files which are incorrect, and possibly change permissions as well.
It's possible that the information is on the CD, but you have not mounted it
correctly. A CD can be written in many formats, but ISO9660 is the most common.
Extra information is written if certain extensions are used, such as Joliet
(for Windows long filenames) and RockRidge for full UNIX/Linux filenames,
permissions etc. If the CD is written correctly, but not mounted correctly, you
might have see this problem. Does Solaris automatically use RockRidge/Joliet
extensions when mounting a CD, or do you need to tell it explicitly to use
them?
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw (AT) ion (DOT) le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|