Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using NetBeans IDE 6.8.

When I open a file, NetBeans opens an old file from my computer, not the actual one from the web-server. The problem is when some one else has edited the file on the web-server I need to download the file before I open it, so I don't lose the new changes.

What I want to do is that NetBeans always download the file from the web-server when I open a file. Do you know how I can make NetBeans to do this automatically?

share|improve this question
    
What do you mean when you say download file from server ? Are you using version control, a share drive, or from a web server ? –  Mark Robinson Jan 11 '10 at 20:53
    
I'm not sure if I'm using version control. If I right-click a file I have the option to see the "Local History", is that "version control"? By downloading I mean downloading the files from the web-server. –  Johan Jan 12 '10 at 13:44
    
ok then, at least you should tell your OS, and the software that you use to check the "local history" –  phunehehe Jan 14 '10 at 6:06
    
OS: Vista. "local history" is from inside NetBeans IDE 6.8. –  Johan Jan 14 '10 at 19:45
1  
Bounty removed as OP has changed to a different application. Also please update the question rather then posting an answer. Will close as no longer relevant once updated. –  Diago Jan 17 '10 at 12:55
show 4 more comments

3 Answers 3

I would assume that you are using version control, if the file is in a netbeans project then you can set up the project to use the version control then netbeans will know about the "server" that you want it to download from
If it's not under source control then, how can netbeans possibly know about the file's server counterpart? Perhaps you can use dropbox then?

share|improve this answer
add comment

You can do that with Ant (http://ant.apache.org/) or maven(http://maven.apache.org/). For maven You mast create new maven project, for Ant you can edit build.xml because Ant is used by default to build projects.

share|improve this answer
add comment
up vote 0 down vote accepted

I have switched to Aptana now.

Works as I want.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.