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.

Bug 251574 - Upload on save does not trigger
Summary: Upload on save does not trigger
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 8.0.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 20:40 UTC by acmwallace
Modified: 2015-05-27 09:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (119.12 KB, text/plain)
2015-04-01 20:40 UTC, acmwallace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acmwallace 2015-04-01 20:40:27 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Mac OS X version 10.10.2 running on x86_64
Java; VM; Vendor = 1.7.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03


I have followed all instructions on enabling the "upload on save" functionality, but it doesn't work. The connection test works in the  "Run Configuration" dialog, I can do a manual upload fine. I can do a synchronization of my whole project. But, saving a file does not trigger an upload to my remote server. Nothing appears in the Log (/Users/awallace/Library/Application Support/NetBeans/8.0.2/var/log/messages.log), nothing shows up in the Output window. The file saves locally, but does not trigger any action that I can detect.

thanks,
Andy
Comment 1 acmwallace 2015-04-01 20:40:30 UTC
Created attachment 152986 [details]
IDE log
Comment 2 acmwallace 2015-04-02 17:11:44 UTC
More information: 
When I did this, I created the project first, then did synchronization. I wiped out the project this morning, and started by using the Team->checkout menu item (we are using CVS, I installed the CVS plugin before any of this), and let NetBeans create a project from that checkout, and now this seems to work.

I say seems to because I did the same last night and it didn't help. I restarted NetBeans this morning, deleted the project, wiped out my checkout (directly in a terminal window, not having NetBeans delete the files) and started completely over.
Comment 3 Tomas Mysik 2015-05-27 08:59:29 UTC
Reassigning to the proper component.
Comment 4 Tomas Mysik 2015-05-27 09:06:46 UTC
Looking into the log file you have attached, upload-on-save works [1] - unfortunately, file cannot be deleted on the server (reason: Folder XY is not empty.), so the IDE asked you whether you want to continue using upload-on-save - you said YES. Then same failures follow.

So, right now I cannot see any issue here, sorry (your local directory is empty but the remote folder is not?). If there is, feel free to reopen but provide _exact_ steps to reproduce so we can investigate it.

Simply reopen this issue, thanks.
[1]
INFO [org.netbeans.modules.php.project.copysupport.RemoteOperationFactory]: Remote delete failed: org.netbeans.modules.php.project.connections.transfer.TransferInfo [transfered: [], failed: {LocalTransferFile[name: lang, remotePath: public/fckeditor_extensions/plugins/filemanager/lang, baseLocalDirectoryPath: /Users/awallace/NetBeansProjects/idxv3, baseRemoteDirectoryPath: /home/httpd/idxv3, hasParent: false, isFile: false, isDirectory: true, isLink: false]=Folder lang is not empty.}, partially failed: {}, ignored: {}, runtime: 384 ms]
INFO [org.netbeans.modules.php.project.copysupport.CopySupport]: REMOTE copying for project idxv3 failed but not disabled by user => resetting