You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Nicola Ken Barozzi <ba...@nicolaken.com> on 2002/02/04 10:26:37 UTC
How to apply patches correctly?
I read patch 5593-Form encoding enhancement, and it seems cool, so I tried
to apply it to my Cocoon and got this error in Cygwin:
Administrator@PC103 /cygdrive/c/jbprojects
$ patch -u < showattachment.txt
patching file `SetCharacterEncodingAction.java'
can't find file to patch at input line 70
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN xml-cocoon2.orig/src/org/apache/cocoon/environment/Request.java
xml-c
ocoon2/src/org/apache/cocoon/environment/Request.java
|--- xml-cocoon2.orig/src/org/apache/cocoon/environment/Request.java Thu
Dec
27 10:34:32 2001
|+++ xml-cocoon2/src/org/apache/cocoon/environment/Request.java Thu Dec 27
10:29
:50 2001
--------------------------
File to patch:
I also tried the -d option but with no change.
What am I missing?
BTW, IMHHO the long license in all file is really annoying.
--
Nicola Ken Barozzi xml-cocoon@nicolaken.com
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org