You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Will Glass-Husain <wg...@forio.com> on 2003/06/20 17:34:54 UTC

basic question -- applying patch

Hi,

I want to try out Peter's patch.  Any recommendations on how to automatically apply the patch files on my Windows dev machine?  Appreciate any tips.

Thanks, WILL

Re: basic question -- applying patch

Posted by Will Glass-Husain <wg...@forio.com>.
I knew I was setting myself up for a cheap shot!

Surely, I'm not the only Java developer out there using Windows?  Although I
could tell by the lack of response to my note about ant test failing on
Windows.  (I'll work on this more a bit later).

The Cygwin is a good idea.  Best of both worlds.

Thanks, WILL

----- Original Message ----- 
From: "Geir Magnusson Jr." <ge...@adeptra.com>
To: "Velocity Developers List" <ve...@jakarta.apache.org>
Sent: Friday, June 20, 2003 11:01 AM
Subject: Re: basic question -- applying patch


> Switch to OS X?
>
> :D
>
>
>
> On Friday, June 20, 2003, at 11:34 AM, Will Glass-Husain wrote:
>
> > Hi,
> >
> > I want to try out Peter's patch.  Any recommendations on how to
> > automatically apply the patch files on my Windows dev machine?
> > Appreciate any tips.
> >
> > Thanks, WILL
> >
> -- 
> Geir Magnusson Jr                                   203-956-2604(w)
> Adeptra, Inc.                                       203-434-2093(m)
> geirm@adeptra.com                                   203-247-1713(m)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: basic question -- applying patch

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"Will Glass-Husain" <wg...@forio.com> writes:

> Got a linux test machine on the desk next to me, but my dev environment is
> on my Win XP laptop.  Just what I'm used to, I guess.  And Windows works
> very smoothly with laptops.  Great thing about Java -- Doesn't matter what
> platform you use.  (almost).

Not an ideal solution for on-the-go, but you could SMB mount a network
share off of your 'doze box from your Linux box.  After sharing the
appropriate directory, put something like this in the /etc/fstab on
your Linux box:

//host/music  /mnt/smb/music  smbfs  password=xxx 0 0

The above assumes that you have SMB support compiled into your kernel,
a network share named "music", and have created a "/mnt/smb/music"
directory on your Linux box.  The above can also be accomplished
manually using the `mount` command, but the fstab approach keeps me
from having to think about things.
-- 

Daniel Rall

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: basic question -- applying patch

Posted by Will Glass-Husain <wg...@forio.com>.
Got a linux test machine on the desk next to me, but my dev environment is
on my Win XP laptop.  Just what I'm used to, I guess.  And Windows works
very smoothly with laptops.  Great thing about Java -- Doesn't matter what
platform you use.  (almost).

WILL

----- Original Message ----- 
From: "Matías Giovannini" <ma...@k-bell.com>
To: "Velocity Developers List" <ve...@jakarta.apache.org>
Sent: Friday, June 20, 2003 11:25 AM
Subject: Re: basic question -- applying patch


> Surely installing cygwin is overkill for a simple patch. Will, can't
> you borrow a Un*x account for a minute or two?
>
> On Friday, June 20, 2003, at 03:07  PM, Bill Chmura wrote:
>
> > The cywin utilities from RedHat come with all the varous patch, diff,
> > etc code.  Also has a bunch of other nice stuff, like CVS, etc...
> >
> > http://sources.redhat.com/cygwin/
> >
> >
> > -----Original Message-----
> > From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
> > Sent: Friday, June 20, 2003 2:01 PM
> > To: Velocity Developers List
> > Subject: Re: basic question -- applying patch
> >
> >
> > Switch to OS X?
> >
> > :D
> >
> >
> >
> > On Friday, June 20, 2003, at 11:34 AM, Will Glass-Husain wrote:
> >
> >> Hi,
> >>
> >> I want to try out Peter's patch.  Any recommendations on how to
> >> automatically apply the patch files on my Windows dev machine?
> >> Appreciate any tips.
> >>
> >> Thanks, WILL
> >>
> > -- 
> > Geir Magnusson Jr                                   203-956-2604(w)
> > Adeptra, Inc.                                       203-434-2093(m)
> > geirm@adeptra.com                                   203-247-1713(m)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: basic question -- applying patch

Posted by Matías Giovannini <ma...@k-bell.com>.
I did, too, but only briefly. It's rather too heavy for my tastes. I 
also tried MinGW and found it more nimble.

Reflecting about the time and effort that I'm investing on installing 
Linux on my laptop (Gentoo no less), I feel stupid all of a sudden for 
remarking on Cygwin's weight.

Oh well.

On Friday, June 20, 2003, at 04:10  PM, Bill Chmura wrote:

> If you have to deal with multiple O/S's cygwin is a must on windows.
> Aside from covering me typing ls in windows all the time - it comes 
> with
> command line CVS, ssh, links, gnu c++, wget, make, etc, etc...  If you
> do it, spend the time going through the setup config so you get a good
> idea of whats in the default and what is available.
>
> I've got C++ on my win box, eclipse and all the C++ and programming
> stuff that comes with cygwin.  Works great.
>
> -----Original Message-----
> From: Peter Romianowski [mailto:antarapero@gmx.de]
> Sent: Friday, June 20, 2003 2:36 PM
> To: Velocity Developers List
> Subject: Re: basic question -- applying patch
>
>
> Matías Giovannini wrote:
>
>> Surely installing cygwin is overkill for a simple patch. Will, can't
> you  > borrow a Un*x account for a minute or two?
>
> cygwin is the "Programmers Little Helper" so one should install and use
> it anyway. BTW, some IDEs (like Eclipse) have a patch-function. Never
> used it but it's there ;)
>
> Peter
>
>
>>
>> On Friday, June 20, 2003, at 03:07  PM, Bill Chmura wrote:
>>
>>> The cywin utilities from RedHat come with all the varous patch, diff,
>
>>> etc code.  Also has a bunch of other nice stuff, like CVS, etc...
>>>
>>> http://sources.redhat.com/cygwin/
>>>
>>>
>>> -----Original Message-----
>>> From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
>>> Sent: Friday, June 20, 2003 2:01 PM
>>> To: Velocity Developers List
>>> Subject: Re: basic question -- applying patch
>>>
>>>
>>> Switch to OS X?
>>>
>>> :D
>>>
>>>
>>>
>>> On Friday, June 20, 2003, at 11:34 AM, Will Glass-Husain wrote:
>>>
>>>> Hi,
>>>>
>>>> I want to try out Peter's patch.  Any recommendations on how to
>>>> automatically apply the patch files on my Windows dev machine?
>>>> Appreciate any tips.
>>>>
>>>> Thanks, WILL
>>>>
>>> -- 
>>> Geir Magnusson Jr                                   203-956-2604(w)
>>> Adeptra, Inc.                                       203-434-2093(m)
>>> geirm@adeptra.com                                   203-247-1713(m)
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


RE: basic question -- applying patch

Posted by Bill Chmura <Bi...@Explosivo.com>.
If you have to deal with multiple O/S's cygwin is a must on windows.
Aside from covering me typing ls in windows all the time - it comes with
command line CVS, ssh, links, gnu c++, wget, make, etc, etc...  If you
do it, spend the time going through the setup config so you get a good
idea of whats in the default and what is available.

I've got C++ on my win box, eclipse and all the C++ and programming
stuff that comes with cygwin.  Works great.

-----Original Message-----
From: Peter Romianowski [mailto:antarapero@gmx.de] 
Sent: Friday, June 20, 2003 2:36 PM
To: Velocity Developers List
Subject: Re: basic question -- applying patch


Matías Giovannini wrote:

 > Surely installing cygwin is overkill for a simple patch. Will, can't
you  > borrow a Un*x account for a minute or two?

cygwin is the "Programmers Little Helper" so one should install and use
it anyway. BTW, some IDEs (like Eclipse) have a patch-function. Never
used it but it's there ;)

Peter


> 
> On Friday, June 20, 2003, at 03:07  PM, Bill Chmura wrote:
> 
>> The cywin utilities from RedHat come with all the varous patch, diff,

>> etc code.  Also has a bunch of other nice stuff, like CVS, etc...
>>
>> http://sources.redhat.com/cygwin/
>>
>>
>> -----Original Message-----
>> From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
>> Sent: Friday, June 20, 2003 2:01 PM
>> To: Velocity Developers List
>> Subject: Re: basic question -- applying patch
>>
>>
>> Switch to OS X?
>>
>> :D
>>
>>
>>
>> On Friday, June 20, 2003, at 11:34 AM, Will Glass-Husain wrote:
>>
>>> Hi,
>>>
>>> I want to try out Peter's patch.  Any recommendations on how to 
>>> automatically apply the patch files on my Windows dev machine? 
>>> Appreciate any tips.
>>>
>>> Thanks, WILL
>>>
>> -- 
>> Geir Magnusson Jr                                   203-956-2604(w)
>> Adeptra, Inc.                                       203-434-2093(m)
>> geirm@adeptra.com                                   203-247-1713(m)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: basic question -- applying patch

Posted by Peter Romianowski <an...@gmx.de>.
Matías Giovannini wrote:

 > Surely installing cygwin is overkill for a simple patch. Will, can't you
 > borrow a Un*x account for a minute or two?

cygwin is the "Programmers Little Helper" so one should install and use
it anyway. BTW, some IDEs (like Eclipse) have a patch-function. Never
used it but it's there ;)

Peter


> 
> On Friday, June 20, 2003, at 03:07  PM, Bill Chmura wrote:
> 
>> The cywin utilities from RedHat come with all the varous patch, diff,
>> etc code.  Also has a bunch of other nice stuff, like CVS, etc...
>>
>> http://sources.redhat.com/cygwin/
>>
>>
>> -----Original Message-----
>> From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
>> Sent: Friday, June 20, 2003 2:01 PM
>> To: Velocity Developers List
>> Subject: Re: basic question -- applying patch
>>
>>
>> Switch to OS X?
>>
>> :D
>>
>>
>>
>> On Friday, June 20, 2003, at 11:34 AM, Will Glass-Husain wrote:
>>
>>> Hi,
>>>
>>> I want to try out Peter's patch.  Any recommendations on how to
>>> automatically apply the patch files on my Windows dev machine?
>>> Appreciate any tips.
>>>
>>> Thanks, WILL
>>>
>> -- 
>> Geir Magnusson Jr                                   203-956-2604(w)
>> Adeptra, Inc.                                       203-434-2093(m)
>> geirm@adeptra.com                                   203-247-1713(m)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: basic question -- applying patch

Posted by Matías Giovannini <ma...@k-bell.com>.
Surely installing cygwin is overkill for a simple patch. Will, can't 
you borrow a Un*x account for a minute or two?

On Friday, June 20, 2003, at 03:07  PM, Bill Chmura wrote:

> The cywin utilities from RedHat come with all the varous patch, diff,
> etc code.  Also has a bunch of other nice stuff, like CVS, etc...
>
> http://sources.redhat.com/cygwin/
>
>
> -----Original Message-----
> From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
> Sent: Friday, June 20, 2003 2:01 PM
> To: Velocity Developers List
> Subject: Re: basic question -- applying patch
>
>
> Switch to OS X?
>
> :D
>
>
>
> On Friday, June 20, 2003, at 11:34 AM, Will Glass-Husain wrote:
>
>> Hi,
>>
>> I want to try out Peter's patch.  Any recommendations on how to
>> automatically apply the patch files on my Windows dev machine?
>> Appreciate any tips.
>>
>> Thanks, WILL
>>
> -- 
> Geir Magnusson Jr                                   203-956-2604(w)
> Adeptra, Inc.                                       203-434-2093(m)
> geirm@adeptra.com                                   203-247-1713(m)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


RE: basic question -- applying patch

Posted by Bill Chmura <Bi...@Explosivo.com>.
The cywin utilities from RedHat come with all the varous patch, diff,
etc code.  Also has a bunch of other nice stuff, like CVS, etc...

http://sources.redhat.com/cygwin/


-----Original Message-----
From: Geir Magnusson Jr. [mailto:geirm@adeptra.com] 
Sent: Friday, June 20, 2003 2:01 PM
To: Velocity Developers List
Subject: Re: basic question -- applying patch


Switch to OS X?

:D



On Friday, June 20, 2003, at 11:34 AM, Will Glass-Husain wrote:

> Hi,
>
> I want to try out Peter's patch.  Any recommendations on how to
> automatically apply the patch files on my Windows dev machine?  
> Appreciate any tips.
>
> Thanks, WILL
>
-- 
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)
geirm@adeptra.com                                   203-247-1713(m)


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: basic question -- applying patch

Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
Switch to OS X?

:D



On Friday, June 20, 2003, at 11:34 AM, Will Glass-Husain wrote:

> Hi,
>
> I want to try out Peter's patch.  Any recommendations on how to 
> automatically apply the patch files on my Windows dev machine?  
> Appreciate any tips.
>
> Thanks, WILL
>
-- 
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)
geirm@adeptra.com                                   203-247-1713(m)


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org