This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There is no possibility to exclude/include certain files from remote transfer. possible scenario is that somebody doesn't want to upload/download pictures, pdf files that may be large. One has to uncheck them manually if manual download/upload at the first time or reconcile with upload at the time being.
*** Bug 167223 has been marked as a duplicate of this bug. ***
batch reassigning
*** Bug 194995 has been marked as a duplicate of this bug. ***
something new? +1
No, sorry. Increasing priority, I hope this could be done for the next version of NetBeans (after NB 7.2).
+1
Any news? NB 7.3 is already out...
+1000, this feature is a must have.
*** Bug 177390 has been marked as a duplicate of this bug. ***
*** Bug 213388 has been marked as a duplicate of this bug. ***
+1 This would be really useful
Well, the biggest problem here where to define it in the UI :) The Run Configuration panel for Remote Web Site is pretty full even now :) Any ideas?
Suggestion: Make it look the same then Subversion....
(In reply to tomzi from comment #15) > Suggestion: Make it look the same then Subversion.... Not sure what you mean exactly, sorry. Could you please attach a screenshot with some description? Thanks.
(In reply to Tomas Mysik from comment #14) > Well, the biggest problem here where to define it in the UI :) The Run > Configuration panel for Remote Web Site is pretty full even now :) > > Any ideas? Would it be possible to have in the popup menu when you right click a file or folder an option that toggles between 'include with uploads' / 'exclude from uploads' Perhaps any file or folder that is excluded from uploads would be denoted by a minor change to the file/folder.
First of all, big +1 for this feature! Secondly, I guess jx12345 is talking about something else. This topic was started about avoiding/including transfers of specific files/folders from remote servers, not about including/excluding files/folders on upload. Or if I misunderstood you (by your 'include with uploads' / 'exclude from uploads'), then sorry. I think the "Ignored folders" dialog in the project properties window is intended to do what this topic is about, but doesn't correctly does its job, or at least have something different in its basic workflow. What I mean: in this dialog, I can define folders to be ignored, but folders are being added by their LOCAL pathes. I know it's stored as relative pathes (in the project.properties file), but the fact that these directories already must exists in local structure, makes it useless. Because, first you have to download the full structure, THEN you can select folders (local folders) to ignore from future transfers. Or, you can create folders manually and select them, but that's not the way the IDE should support it. What I would think of as a solution: this dialog should be changed a bit, and should display (and store) ignored folders with their relative pathes, defined by regular expression! With regexp matches, it would give us a much finer control over files to be excluded. On the other hand, it should allow to define "include" rules as well, because sometimes it's not managable to exclude everyhing else to keep only a few folders... These cases it's easier to define specific folders you want to include and ignore everything else. This way, you no need to worry that other folders gets uploaded to the server because no need to exclude them as well. It's maybe overcomplicated how I wrote it, but generally Eclipse has a very good include/exclude rule system for file handling, maybe that would give us here a real solution. A quick sample overview about it: http://help.eclipse.org/juno/topic/org.eclipse.jst.j2ee.doc.user/images/validatefilters.jpg Is it possible to have such a fine control for us? I would save a big managing time for large projects... (In reply to jx12345 from comment #17) > (In reply to Tomas Mysik from comment #14) > > Well, the biggest problem here where to define it in the UI :) The Run > > Configuration panel for Remote Web Site is pretty full even now :) > > > > Any ideas? > > Would it be possible to have in the popup menu when you right click a file > or folder an option that toggles between 'include with uploads' / 'exclude > from uploads' > > Perhaps any file or folder that is excluded from uploads would be denoted by > a minor change to the file/folder.
+1 for this.
+1 The new php application from remote server wizard needs a filter - what files to include/exclude it has its place either in step 4 (confirmation), where the user selects which folders/files do include, or as a separate step before step 4. it should use wildcards/regexps and should have inclusive/exclusive manner. additionally, these filters can be included in the remote synchronization function
(In reply to Tomas Mysik from comment #14) > Well, the biggest problem here where to define it in the UI :) The Run > Configuration panel for Remote Web Site is pretty full even now :) > > Any ideas? as these filters affect initial download of the project source, their place is in the import wizard. i have some ideas how this feature to be integrated in the UI, which i would eagerly discuss :) the filters could be applied in the remote synchronization function as well, as it has the same scope as the initial import process
This would be a great feature to have when working on wordpress so I could synchronise a plugin or theme without having to change core files (which contain different settings on localhost vs server). Perhaps there is a better way to organise wordpress projects I'm just not aware of it.
+1 This is a very important feature needed. Specially for config files (for example, on WordPress, the wp-config file with the DB connection settings is changed every time I synchronize my remote files with my localhost and I have to manually revert it each time.)
I would love to have this feature. Some web apps have thousands of files and I work with only a few locally. I really makes no sense to recreate the whole tree locally just to ignore it. This also makes unnecessary data propagating to local daily backup, and creates the need for complicated SVN excludes etc.
*** Bug 258245 has been marked as a duplicate of this bug. ***
+1 : I need to exclude the config file of my CMS
and the cache, tmp, etc. folders
I strongly support this feature for many reasons and want to be able to exclude files as well as a whole folder. NetBeans insists that if a file or folder is in the project it must be uploaded but that is not true. Most projects have source (src) and distribute (dist) folders where src is where you keep all your sources and hence contains lots of stuff that won't get uploaded to the site. The sources are compiled/processed and end up in the dist folder. No matter what your organization structure you can't keep the source file outside of the project since NetBeans won't let you work with them and if you add the folder to ignored you can't use it at all. Netbeans needs to let us mark folders AND files as Do NOT Upload! and/or mark folders AND files as exclude but let us use them in the project including with automation such as Gulp, etc. NetBeans is a really nice IDE but this issues needs to be addressed. I see this started with version 6.x and we are now at 8.2 with no movement and based on the results of searches for how to do this (you can't) it's wanted by a lot of people. From the comments below the issue seems to be where to put it. I agree with a right click menu as well as in the Run configuration for the project. I'm posting on this but since the but 167223 which is more appropriate to my desire is marked as a duplicate and has not been updated since 2013.
Why not simply rely on some format like https://git-scm.com/docs/gitignore ? Can't believe such trivial feature is unsolved since nearly eight years.
It seems the only possible way to exclude remote files is to exclude them locally too. For example SCSS directory doesn't need to reside on the server. However excluding it locally hides it from the project completely and makes it impossible to work with, version it and so on. Please developers, help your fellow developers :)
+1 : I'd like to exclude composer's vendor directory. And even all in .gitignore I do not even need interface for this - nbproject/.uploadignore just like .gitignore would be fine.
Reported: 2009 in version 6.x Today is 2017 and version 8.x The assignee showed last activity 1 year ago. Will this ever happen?
I agree. I'm moving from phpED to Netbeans. But this is the functionality I miss most. I have applications that collect 100's of files an hour (elec. counters), but I do not want to sync those! Ignore files is not an option.
Can't believe this still is not implemented. It would be very useful option.
I am adding my vote here as well. Every time I hit synchronize, I have to make sure it is not going to delete local folders, because they do not exist on the server.
Created attachment 165705 [details] possible place for ignoring files - rename 1. in "ignored Folders/Files" - make lists marked with "2" smaller - add a third textarea on the "3" marker with "ignored files" and make it freely editable, preferable would be a known syntax like git ignore (https://git-scm.com/docs/gitignore) or regular expression per line
+1 on the .gitignore style implementation, this is what I was hoping/expecting to find when I ran the search. I've been using Netbeans since this was opened in 2009 and 9 years later -- still no implementation??? 8( It didn't really matter when I was doing all PHP & any library I was using needed to be uploaded, & wouldn't be edited by me, anyway. However, with all the projects I'm using that run on NPM, it's a terrible waste of time & resources to clone node_modules/ for every project that I want to put on my site. Sure, I could/should upload only the end result distribution to the site, but that's no use for sharing the project. If I ever get time to be more familiar with Java I'll do it, it shouldn't be complicated to inject a check for ".nbignore" and a regex comparison on the modified file path before triggering the upload from the save hook. Then just add "Disable/Enable Sync" options in the file context menu just below the Download... Upload... Synchronize... (Disable Sync) options that will create that file in the project root if it doesn't exist and append the relative path to the file that was right clicked.
Please include ftp inclusion/exclusion support for individual files. I'm currently using version 8.2 and it nearly has some features to include and select source files but after adding to local files there is no place to undo and exclude some of them for ftp auto-synchronize and just have delete option which deletes those files from server which is even risky to loose data for a beginner who is not familiar with NetBeans IDE.
Bugzilla is deprecated for Apache NetBeans. Plese track a new issue with the information and the external ticket link here: https://issues.apache.org/jira/projects/NETBEANS. If we have a new ticket there, we can reference it here and close this. Thx :)