Jonathon,

> Amine,
>
> Just use `patch'. You won't even need SVN for this. Do `patch -Ep0'
or -Epn (where n > 0) if
> you're not applying from the top-level path.

Amine uses Widows so he needs to download patch.exe before, as it's not
native.

BTW, Amine you may encouter EOL problems with patch.exe. That's why I
prefer to use Tortoise in a 1st step (better svn and cvs UI existing
either on Linux or Windows, besides Tortoise comes from Tigris too).
Then if I get problems with Tortoise (or Eclipse option wich is near
Tortoise for patching but less supple for this option and far more in
general) I use patch and if I get EOL problems I use a bat file
patchdos.bat :

todos %1
patch -p0 < %1

where todos is and exe to download. Of course you will have to deal with
path but at this stage I guess it's easy...

HTH

Jacques

> If you're downloading a patch directly from Jira issues, you might
need to check the nature of the
> patch to work around some possible problems. That's when you might
have to figure out exactly what
> "n" has to be.
>
> If you're looking at something you like on the OFBiz SVN, a good way
to apply a patch is to first
> download a diff from that SVN. That way, any network discontinuities
won't affect your patching
> process. Half-patched processes are quite messy.
>
> Jonathon
>
> Amine AZZI wrote:
> > Thanks Jaques, Actually I am using the command line SVN on windows.
then
> > the
> > best solution would be to download the patch.exe application.
> >
> > Yes, I read your comments regarding that issue, I downloaded the
files, and
> > I am viewing the translation. Some files gave me trouble like
> > FacilityUILabels and AccountingIntegration which no longer exists in
Ofbiz,
> > It seems that sofien used the properties files from Néogia
mistakenely. I
> > uploaded a file of ecommerce module on that issue which was ready
before
> > the
> > colsure of the issue I created before on the same subject.
> >
> > I will give further comments later on.
> >
> > Amine.
> >
> > 2007/4/23, Jacques Le Roux <[EMAIL PROTECTED]>:
> >>
> >> Amine,
> >>
> >> You have to use patch command (patch.exe to download on Windows
or -
> >> also for merging - "Apply patch" from Tortoise). You may also use
"Apply
> >> patch" option of Eclipse.
> >>
> >> BTW did you read my last comment in OFBIZ-846
http://tinyurl.com/2qxr4h,
> >> thanks ?
> >>
> >> Jacques
> >>
> >> ----- Message d'origine -----
> >> De : "Amine AZZI" <[EMAIL PROTECTED]>
> >> À : "user" <[email protected]>
> >> Envoyé : lundi 23 avril 2007 10:51
> >> Objet : apply a patch
> >>
> >>
> >> > Hello everyone,
> >> >
> >> > Even though I could find int he documentation how to make a
patch, I
> >> > couldn't find how to apply a patch that interests me  in JIRA
issues.
> >> I am
> >> > reading SVN documentation right now but couldn't find anything up
to
> >> now!
> >> > Could someone show which svn command should I use ?
> >> >
> >> > Thanks in advance.
> >> > Amine
> >> >
> >>
> >>
> >
>
> ----------------------------------------------------------------------
--
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date:
4/22/2007 8:18 PM

Reply via email to