Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

Netbeans query

Thread view: 
Nicole.Winfrey@gmail.com - 05 Oct 2007 06:23 GMT
Is there a way to mount a directory on Netbeans 5.5?
I used to be able to mount a mapped directory and view the programs
under the mounted directory in the old versions of Netbeans.
I can't seem to create a mount to a directory now.
Can you please help?
Nigel Wade - 05 Oct 2007 09:48 GMT
> Is there a way to mount a directory on Netbeans 5.5?
> I used to be able to mount a mapped directory and view the programs
> under the mounted directory in the old versions of Netbeans.
> I can't seem to create a mount to a directory now.
> Can you please help?

The same functionality is now handled by "Favourites". If you don't have the
Favourites window open select Favourites from the Window menu. Right-click in
the Favourites panel to open a file selection box where you select a directory
to add to your list of "favourites". You can then navigate the filesystem below
that point and open files which are there.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

Lew - 05 Oct 2007 14:27 GMT
>> Is there a way to mount a directory on Netbeans 5.5?
>> I used to be able to mount a mapped directory and view the programs
[quoted text clipped - 7 lines]
> to add to your list of "favourites". You can then navigate the filesystem below
> that point and open files which are there.

A more normal approach is "create a project using existing sources".

Signature

Lew

Nigel Wade - 05 Oct 2007 15:05 GMT
>>> Is there a way to mount a directory on Netbeans 5.5?
>>> I used to be able to mount a mapped directory and view the programs
[quoted text clipped - 9 lines]
>
> A more normal approach is "create a project using existing sources".

That's only if you want to create a project. If you want to browse the
filesystem to open a file of any type, anywhere on the fileystem, you use
Favourites.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

Lew - 05 Oct 2007 15:58 GMT
> That's only if you want to create a project. If you want to browse the
> filesystem to open a file of any type, anywhere on the fileystem, you use
> Favourites.

Huh.  I've never used "Favorites" (as it's called on my installation of
NetBeans 6) for that purpose.  I've just used the "File" menu "Open File ..."
command.  You learn something new every day.

FWIW, it took me a while to find "Select from Favorites" after I read your
post.  In certain views that option is disabled.  (I had to highlight a
project before the option enabled itself.)  "File Open ..." just sort of leaps
out at me and doesn't have unguessable rules for when it's enabled.

Signature

Lew

Lew - 05 Oct 2007 16:11 GMT
Nigel Wade wrote:
>> That's only if you want to create a project. If you want to browse the
>> filesystem to open a file of any type, anywhere on the fileystem, you use
>> Favourites.

> Huh.  I've never used "Favorites" (as it's called on my installation of
> NetBeans 6) for that purpose.  I've just used the "File" menu "Open File
[quoted text clipped - 5 lines]
> just sort of leaps out at me and doesn't have unguessable rules for when
> it's enabled.

The "Favorites" window invoker itself is easier to find, in the "Windows" menu
pad.  I don't know what the "Select from Favorites" command is all about, nor
why the "Favorites" window is called that and not "Filesystem" or something
obvious like that.

Plus "Favorites" opens up this whole window.  I suppose that's useful if you
want to stay inside the IDE instead of flipping to a file browser, but my own
personal taste runs to the "File / Open File" approach.  I use the IDE for
development projects, and not as a general-purpose file system browser.  If
I'm opening a file from the IDE, it's because it's source.

Truth to tell, to open individual files outside a project, I use emacs almost
always.  NetBeans just doesn't feel like a single-file editor to me.

Signature

Lew

Nigel Wade - 05 Oct 2007 16:46 GMT
> Nigel Wade wrote:
>>> That's only if you want to create a project. If you want to browse the
[quoted text clipped - 15 lines]
> why the "Favorites" window is called that and not "Filesystem" or something
> obvious like that.

Presumably all part of the inexorable drift towards the lowest common
denominator, Windows. Quite why Microsoft chose to use Favorites in IE to mean
bookmarks I don't know, probably because bookmarks imply books and reading, an
intellectual level they thought above the majority of its users.

> Plus "Favorites" opens up this whole window.  I suppose that's useful if you
> want to stay inside the IDE instead of flipping to a file browser, but my own
> personal taste runs to the "File / Open File" approach.  I use the IDE for
> development projects, and not as a general-purpose file system browser.  If
> I'm opening a file from the IDE, it's because it's source.

Neither do I. I was simply answering the OPs question as to the equivalent
operation of "mount a filesystem" in the current Netbeans. Actually, being able
to browse a directory within the IDE does prove convenient at times. The Java
filesystem browser, which you get when you choose Open File, does annoy me.

> Truth to tell, to open individual files outside a project, I use emacs almost
> always.  NetBeans just doesn't feel like a single-file editor to me.

I agree. There are so many better file editors around. Personally I use nedit,
or gedit or kate or vi or... just about anything but Eclipse or Netbeans.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.