[Building Sakai] Building v2.6.1 under Java 1.6

Thomas Amsler tpamsler at ucdavis.edu
Sat Dec 12 21:41:11 PST 2009


Or folks using git just create patches this way:

git diff --no-prefix > patchfile


Best,
-- Thomas




On Sat, Dec 12, 2009 at 6:59 PM, Seth Theriault <slt at columbia.edu> wrote:
> George Pipkin wrote:
>
>> bash-3.2# patch -p0 < SAK-16741.patch
>> can't find file to patch at input line 5
>> Perhaps you used the wrong -p or --strip option?
>> The text leading up to this was:
>> --------------------------
>> |diff --git a/pom.xml b/pom.xml
>> |index 857a893..c0d6024 100644
>> |--- a/pom.xml
>> |+++ b/pom.xml
>> --------------------------
>
> You need to specify "-p 1" instead of "-p 0" to strip off
> unnecessary directory paths ("a/" and "b/") used in the
> git-generated diff files.
>
> Seth
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>


More information about the sakai-dev mailing list