Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Re: AutoRefresh attempt #2

Rolf,

Is it that simple?  Wow.  I see if I can duplicate your fix.

jkca



|---------+----------------------------------->
|         |           "Rolf Wilms"            |
|         |           <rolf_wilms@xxxxxxxxxxx>|
|         |           Sent by:                |
|         |           platform-core-dev-admin@|
|         |           eclipse.org             |
|         |                                   |
|         |                                   |
|         |           10/04/2002 03:08 PM     |
|         |           Please respond to       |
|         |           platform-core-dev       |
|         |                                   |
|---------+----------------------------------->
  >---------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                     |
  |        To:      <platform-core-dev@xxxxxxxxxxx>                                                                     |
  |        cc:                                                                                                          |
  |        Subject: [platform-core-dev] Re: AutoRefresh attempt #2                                                      |
  >---------------------------------------------------------------------------------------------------------------------|



Jed,

I think the major problem with the Win32Monitor with "all sorts of
filenames" is the Convert.toPlatformBytes function. It should append a zero
character to the byte array returned, which is needed for the Win32-APIs to
know when the string (i.e. pathname) ends.

After changing this on my machine (Windows XP) I also removed rejecting
path names containing spaces in Win32Monitor.addPath.

Now the native support for Windows seems to be ok. To see file system
modifications instantly in the workspace is so cool. Thank you for your
efforts supporting auto-refresh.

Ciao,
        Rolf





Back to the top