[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] Index path in patch files from Subclipse

From: Grzegorz Kossakowski <grek_at_tuffmail.com>
Date: 2007-02-07 13:09:25 CET

Hello,

I'm having a problem with patches produced by Subclipse. Index: field in
patch contain whole, absolute path of directory/file but it should be
relative to the root directory of check-out, right? For example:

Index: /home/grek/c2.2-trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/DropdownDateTimePicker.js
===================================================================
--- /home/grek/c2.2-trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/DropdownDateTimePicker.js (revision 500240)
+++ /home/grek/c2.2-trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/DropdownDateTimePicker.js (working copy)
@@ -41,9 +41,9 @@
 
         isContainer: true,
 
- dateIconURL: cocoon.resourcesUri + "/forms/js/templates/images/dateIcon.gif",
+ dateIconURL: cocoon.formsResourcesUri + "/js/templates/images/dateIcon.gif",
 
- timeIconURL: cocoon.resourcesUri + "/forms/js/templates/images/timeIcon.gif",
+ timeIconURL: cocoon.formsResourcesUri + "/js/templates/images/timeIcon.gif",
 
         containerToggle: "plain", /* plain, explode, wipe, fade */

But it should look like this one:

Index: blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/DropdownDateTimePicker.js
===================================================================
--- blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/DropdownDateTimePicker.js (revision 500240)
+++ blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/DropdownDateTimePicker.js (working copy)
@@ -41,9 +41,9 @@
 
         isContainer: true,
 
- dateIconURL: cocoon.resourcesUri + "/forms/js/templates/images/dateIcon.gif",
+ dateIconURL: cocoon.formsResourcesUri + "/js/templates/images/dateIcon.gif",
 
- timeIconURL: cocoon.resourcesUri + "/forms/js/templates/images/timeIcon.gif",
+ timeIconURL: cocoon.formsResourcesUri + "/js/templates/images/timeIcon.gif",
 
         containerToggle: "plain", /* plain, explode, wipe, fade */

I use Eclipse 3.2.1 and Subclipse 1.1.10. Tested both on Windows XP and
OpenSuse 10.2. Any hints?

Thanks

-- 
Grzegorz Kossakowski
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Feb 7 13:10:04 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.