Product Version = NetBeans IDE 7.3 RC1 (Build 201301240957)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_11
Runtime = Java HotSpot(TM) Client VM 23.6-b04
I have a project on SVN and tried to export a patch of WIP changes before reverting to generate a build out of it. Even though the output window states it's done (Jan 29, 2013 1:30:58 PM Exporting "Project Name" Diff Patch finished.) the file is never created and/or opened in the editor as it uses to. Looks like a regression of some sort.
Created attachment 130801 [details]
Process was successful when attempted from Tortoise svn.
> INFO [org.netbeans.modules.subversion]: Diff patch export failed!
> java.io.FileNotFoundException: Z:\NetBeans\SynamicD-Wrapper\branches\1.x branch\SynamicD\SynamicD\temp (The system cannot find the file specified)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:138)
> at org.netbeans.modules.subversion.ui.diff.DiffStreamSource.init(DiffStreamSource.java:227)
> Caused: java.io.IOException: Can not load remote file for Z:\NetBeans\SynamicD-Wrapper\branches\1.x branch\SynamicD\SynamicD\temp
Is Z:\NetBeans\SynamicD-Wrapper\branches\1.x branch\SynamicD\SynamicD\temp part of the changes you wanted to commit? What is its status? Is it a folder? Can you make a screenshot of the current changes (Subversion -> Show Changes) you want to export?
Temp folder was not part of the export. Was a folder that existed long ago. Sometime in the IDE session back then but was not there when I tried to export. I'll get that screenshot ASAP.
Created attachment 130802 [details]
> Temp folder was not part of the export. Was a folder that existed long ago. Sometime in the IDE session back then but was not there when I tried to export.
But from the log it seems that the export failed because of that. Can you try again and check the log for an error message and let me know if it fails because of the same file/folder?
I was able to reproduce. This happens simply because you deleted the folder externally and the IDE SVN support still considered it present. So true, there's a bug and i will fix it, but it wouldn't happen if you sync IDE cache with external changes (Subversion -> Show Changes).
Integrated into 'main-golden', will be available in build *201302020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ondrej Vrabec <email@example.com>
Log: #225494 - Team>Export Diff patch is not generating the file
excluding folders, they make no sense in our patches anyway