NetBeans Forums

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

Remote server refresh

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
smorhaim



Joined: 19 Jan 2010
Posts: 1

PostPosted: Tue Jan 19, 2010 9:44 pm    Post subject: Remote server refresh Reply with quote

Hi, I am running 6.8 PHP and create a Remote project.

How do I refresh without re-downloading everything!? (Nor manually selecting what I want to download??)

Is there a way to work like if it is a true FTP? I create new files but netbeans just duplicates them.. etc.. please help.
Back to top
Ellutu



Joined: 22 Jan 2010
Posts: 1
Location: Amsterdam

PostPosted: Fri Jan 22, 2010 12:41 pm    Post subject: Reply with quote

I don't want to hijack this topic, but I'm also very interested in this matter. There's more than one person working on my remote project, which means files can be added and updated without my knowledge (even though this happens through SVN, so when I update I know about it). There's 1000+ files in the project, so re-downloading them after every update isn't really an option. It would be great if NetBeans could detect which files were added/updated/deleted on the remote server since the last time the file tree was downloaded and download or remove these files, so I don't have to manually pick them out every time, which is truly a pain.
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Wed Jan 27, 2010 11:24 am    Post subject: Remote server refresh Reply with quote

Hi,

Dne p
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Wed Jan 27, 2010 11:39 am    Post subject: Remote server refresh Reply with quote

Hi,

Dne pátek 22 ledna 2010 13:41:55 Ellutu napsal(a):
Quote:
I don't want to hijack this topic, but I'm also very interested in this
matter. There's more than one person working on my remote project, which
means files can be added and updated without my knowledge (even though
this happens through SVN, so when I update I know about it). There's 1000+
files in the project, so re-downloading them after every update isn't
really an option.

for any team, SCM is strongly recommended. It's the _only_ reliable way to
ensure that no changes won't be overwritten etc.

Quote:
It would be great if NetBeans could detect which files
were added/updated/deleted on the remote server since the last time the
file tree was downloaded and download or remove these files, so I don't
have to manually pick them out every time, which is truly a pain.

Unfortunately, this is not easily doable (file sizes or timestamps are _not_
reliable).

Tomas
--
Tomas Mysik
address-removed
Back to top
Bob McConnell
Posted via mailing list.





PostPosted: Wed Jan 27, 2010 11:39 am    Post subject: Remote server refresh Reply with quote

From: Tomas Mysik

Quote:
Dne p
Back to top
snakewa



Joined: 19 Oct 2009
Posts: 1

PostPosted: Wed Mar 03, 2010 4:10 am    Post subject: Re: Remote server refresh Reply with quote

Tomas Mysik wrote:

for any team, SCM is strongly recommended. It's the _only_ reliable way to
ensure that no changes won't be overwritten etc.

SCM is good. We always use it. but one bad thing is that you have to build a local development environment ( local mysql / apache ) and when you work on many projects, it takes time to establish these dev environment.

Tomas Mysik wrote:

Unfortunately, this is not easily doable (file sizes or timestamps are _not_
reliable).

I know the timestamps is not that reliable. But I think Dreamweaver does do a good job on it. It will check the remote file's size and timestamp and download for it. At least let netbeans prompt you that the file is changed or the file size is not right, and let us decide the next action.

For now, it happens a lot that we overwrite someone's changes due to we didn't download the latest version.

If there is an option like "Check remote file on edit":

In the case to open:
1. User double click to open the file.
2. NB check the timestamp & file size on the remote.
3a. If timestamp & file size are not the same, prompt the user that the remote file is changed.
4a. Maybe show diff to see accept the changes.
3.b If t/s and f/s are the same, just open the local file.

In the case to save:
1. User save a file.
2. NB check the timestamp & file size on the remote in comparison to the timestamp & file size on open.
3a. If timestamp & file size are not the same, prompt the user that the remote file is changed.
4a. Maybe show diff to see accept the changes.
3.b If t/s and f/s are the same, just upload it to overwrite the remote one.
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Thu Mar 04, 2010 9:27 am    Post subject: Remote server refresh Reply with quote

Hi,

Dne středa 03 března 2010 05:10:52 snakewa napsal(a):
Quote:
SCM is good. We always use it. but one bad thing is that you have to build
a local development environment ( local mysql / apache ) and when you work
on many projects, it takes time to establish these dev environment.

seems to be OK for me, one is then independent on the others (so if someone
breaks something, you are not affected).

Quote:
In the case to open:
1. User double click to open the file.
2. NB check the timestamp & file size on the remote.
3a. If timestamp & file size are not the same, prompt the user that the
remote file is changed. 4a. Maybe show diff to see accept the changes.
3.b If t/s and f/s are the same, just open the local file.

In the case to save:
1. User save a file.
2. NB check the timestamp & file size on the remote in comparison to the
timestamp & file size on open. 3a. If timestamp & file size are not the
same, prompt the user that the remote file is changed. 4a. Maybe show diff
to see accept the changes.
3.b If t/s and f/s are the same, just upload it to overwrite the remote
one.

Sorry, our resources are limited and this is likely more than we are going to
support (at least for now), we want to focus on the IDE (PHP project & PHP
editor). I have to repeat myself, the only _reliable_ way to work in teams is
SCM.

Thanks for understanding,
Tomas
--
Tomas Mysik
address-removed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP 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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo