Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse RCP for linux
Eclipse RCP for linux [message #487400] Wed, 23 September 2009 06:20 Go to next message
Antonio is currently offline AntonioFriend
Messages: 39
Registered: July 2009
Member
hi guys, thanks for your help, i have this question,
i am developing a RCP whit eclipse, i want that my rcp work in windows S.O.
and in Linux S.O.
Now when i run RCP, do you know how to check the S.O. when i run RCP?
when i write this
boolean success = (new File(dirName)).mkdir();

i create i folder, in windows, this is equal for linux?

when i create a file i use this example

String Destinazione="C:\\"+"pippo.txt";

f=new File(Destinazione)

.........

do you know can i write a file in Linux?

naturally if you know and write me, website, book or other for this problem
i am very happy.

best regads

Antonio
Re: Eclipse RCP for linux [message #487405 is a reply to message #487400] Wed, 23 September 2009 07:07 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
This is standard Java and Linux knowledge (you need to understand that
Linux' (and OS-X) filesystem works differently using mountpoints, ...
and *not* drives like windows does).

But this is by no means a Eclipse RCP question so please ask at Sun
Forums and probably make yourself familiar with how Linux structures its
filesystem

Tom

Antonio De Curtis schrieb:
> hi guys, thanks for your help, i have this question,
> i am developing a RCP whit eclipse, i want that my rcp work in windows
> S.O. and in Linux S.O.
> Now when i run RCP, do you know how to check the S.O. when i run RCP?
> when i write this
> boolean success = (new File(dirName)).mkdir();
>
> i create i folder, in windows, this is equal for linux?
>
> when i create a file i use this example
>
> String Destinazione="C:\\"+"pippo.txt";
>
> f=new File(Destinazione)
>
> ........
>
> do you know can i write a file in Linux?
>
> naturally if you know and write me, website, book or other for this
> problem i am very happy.
>
> best regads
>
> Antonio
>
>
>
>
>
Previous Topic:Ability to adjust the opacity of the Shell
Next Topic:How to get action for main menu item?
Goto Forum:
  


Current Time: Tue Apr 23 12:24:14 GMT 2024

Powered by FUDForum. Page generated in 0.02714 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top