FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Start NetBeans Platform w/ System Filesystem in memory?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Richard Catlin
Posted via mailing list.





PostPosted: Mon Aug 11, 2008 7:37 pm    Post subject: Start NetBeans Platform w/ System Filesystem in memory? Reply with quote

NetBeans Platform Developers,

Is it possible to start the bare NetBeans Platform with the System
Filesystem in memory instead of writing to the users home directory? Is
so, then at some point, can it be written from memory and written either
to the users filesystem or a remote filesystem? I am using NetBeans 6.1
if that matters.

Thank you.
Richard Catlin


Quote:

Back to top
Geertjan Wielenga
Posted via mailing list.





PostPosted: Mon Aug 11, 2008 7:40 pm    Post subject: Start NetBeans Platform w/ System Filesystem in memory? Reply with quote

Richard Catlin wrote:
Quote:
NetBeans Platform Developers,

Is it possible to start the bare NetBeans Platform with the System
Filesystem in memory instead of writing to the users home directory?
Is so, then at some point, can it be written from memory and written
either to the users filesystem or a remote filesystem? I am using
NetBeans 6.1 if that matters.
This is very useful, hopefully answers your question:

http://blogs.kiyut.com/tonny/2007/09/01/netbeans-platform-and-memory-file-system/

Gj
Quote:

Thank you.
Richard Catlin


Back to top
Emilian Bold
Posted via mailing list.





PostPosted: Tue Aug 12, 2008 8:10 am    Post subject: Start NetBeans Platform w/ System Filesystem in memory? Reply with quote

In theory you can add your own implementation of
org.openide.filesystems.Repository (remember to remove
#-org.netbeans.core.startup.NbRepository) in META-INF/services which
uses a MemoryFilesystem.

But there are these lines in Startup/Main.java:

assert Repository.getDefault() instanceof NbRepository : "Has to
be NbRepository: " + Repository.getDefault(); // NOI18N
getModuleSystem ();

Which makes me believe they assume you have a NbRepository and after
that they bootstrap the modules. But it might work anythow -- give it
a try.

--emi

On Mon, Aug 11, 2008 at 10:34 PM, Richard Catlin
<richard.m.catlin@gmail.com> wrote:
Quote:
NetBeans Platform Developers,

Is it possible to start the bare NetBeans Platform with the System
Filesystem in memory instead of writing to the users home directory? Is so,
then at some point, can it be written from memory and written either to the
users filesystem or a remote filesystem? I am using NetBeans 6.1 if that
matters.

Thank you.
Richard Catlin







--
Emilian Bold
+40 740235562
http://www.emilianbold.ro

Java and NetBeans Platform-loving consulting services from Timisoara, Romania.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB