Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-team-dev] a patch for org.eclipse.target plug-in.

Hi,

Please allow me to take the liberty of posting a patch for
org.eclipse.target plug-in
hosted on dev.eclipse.org CVS repository.
I have recognised that that plug-in has not been developed by
Eclipse.org anymore,
but I can not find a good place to post it.

Are there possibilities of applying contributed patches to that
plug-in on Eclipse.org's
CVS repository?


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
   +1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/
### Eclipse Workspace Patch 1.0
#P org.eclipse.target
Index: src/org/eclipse/target/internal/ui/actions/CopyOperation.java
===================================================================
RCS file: /cvsroot/eclipse/platform-vcm-home/plugins/target/org.eclipse.target/src/org/eclipse/target/internal/ui/actions/CopyOperation.java,v
retrieving revision 1.2
diff -u -r1.2 CopyOperation.java
--- src/org/eclipse/target/internal/ui/actions/CopyOperation.java	22 Feb 2005 19:47:07 -0000	1.2
+++ src/org/eclipse/target/internal/ui/actions/CopyOperation.java	3 Jul 2007 05:48:30 -0000
@@ -72,7 +72,7 @@
 			monitor.beginTask(null, 100);
 			ITargetResource target = parentFolder.getFile(source.getName());
 			source.fetchProperties(new QualifiedName[] {ITargetResource.SIZE_PROPERTY}, false, Policy.subMonitorFor(monitor, 10));
-			target.setContents(source.getContents(Policy.subMonitorFor(monitor, 40)), target.getSize(), Policy.subMonitorFor(monitor, 50));
+			target.setContents(source.getContents(Policy.subMonitorFor(monitor, 40)), source.getSize(), Policy.subMonitorFor(monitor, 50));
 			monitor.done();
 		}
 	}

Back to the top