A Faux Pas

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

A Faux Pas

Russel Winder
Whoever last wrote the Linux/MacOS/Solaris/UNIX shell script grails into
CVS did so using Micro$oft Windwoes and so added an incorrect ^M to the
end of every line.  This makes the shell script unusable since the "hash
bang" line is incorrect -- the program /bin/sh^M doesn't exist.

Easily fixed of course -- don't use Micro$oft Windoze ;-)

--
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             [hidden email]

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: A Faux Pas

graemer
On 3/28/06, Russel Winder <[hidden email]> wrote:
> Whoever last wrote the Linux/MacOS/Solaris/UNIX shell script grails into
> CVS did so using Micro$oft Windwoes and so added an incorrect ^M to the
> end of every line.  This makes the shell script unusable since the "hash
> bang" line is incorrect -- the program /bin/sh^M doesn't exist.
>
> Easily fixed of course -- don't use Micro$oft Windoze ;-)
Its fixed already, just update CVS

Graeme

>
> --
> Russel.
> ====================================================
> Dr Russel Winder                +44 20 7585 2200
> 41 Buckmaster Road              +44 7770 465 077
> London SW11 1EN, UK             [hidden email]
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQBEKPVqr2EGkixYSboRAsHyAKCYK/OmGU8x8+K+p5e5VXCWpfGAZQCeJMYo
> U7Y4JS/Un1DPx+T7Ti6uhTs=
> =iEcy
> -----END PGP SIGNATURE-----
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: A Faux Pas

Russel Winder
On Tue, 2006-03-28 at 09:43 +0100, Graeme Rocher wrote:

> Its fixed already, just update CVS

And there was me thinking it would take 10mins to get a response ;-)

It might be worth adding to the Linux/Solaris/UNIX  users install
sidebar on the installation webpage that you have to do the chmod u+x
thing every time you get an update from CVS.

--
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             [hidden email]

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

SVN? Was: [grails-user] A Faux Pas

Stephan.Schmidt
> It might be worth adding to the Linux/Solaris/UNIX  users install
> sidebar on the installation webpage that you have to do the chmod u+x
> thing every time you get an update from CVS.
>

It might be good to move to SVN :-)

Codehaus does that

bye
-stephan

Reply | Threaded
Open this post in threaded view
|

Re: SVN? Was: [grails-user] A Faux Pas

Russel Winder
On Tue, 2006-03-28 at 10:58 +0200, Stephan J. Schmidt wrote:
> > It might be worth adding to the Linux/Solaris/UNIX  users install
> > sidebar on the installation webpage that you have to do the chmod u+x
> > thing every time you get an update from CVS.
> >
>
> It might be good to move to SVN :-)
>
> Codehaus does that

Agreed I am surprised any new project actually chooses to use CVS at
all.

--
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             [hidden email]

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: SVN? Was: [grails-user] A Faux Pas

graemer
On 3/28/06, Russel Winder <[hidden email]> wrote:

> On Tue, 2006-03-28 at 10:58 +0200, Stephan J. Schmidt wrote:
> > > It might be worth adding to the Linux/Solaris/UNIX  users install
> > > sidebar on the installation webpage that you have to do the chmod u+x
> > > thing every time you get an update from CVS.
> > >
> >
> > It might be good to move to SVN :-)
> >
> > Codehaus does that
>
> Agreed I am surprised any new project actually chooses to use CVS at
> all.
The reason is because we started off as a module within the Groovy
project which already used CVS... we have since moved to a separate
repository

Graeme

>
> --
> Russel.
> ====================================================
> Dr Russel Winder                +44 20 7585 2200
> 41 Buckmaster Road              +44 7770 465 077
> London SW11 1EN, UK             [hidden email]
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQBEKQKsr2EGkixYSboRAkdEAJ9lsjgfgmTxJDySjW0ZLOYUDGzWzwCfdG8v
> DAIrhnOozWZrfaa3U+0asPY=
> =qylp
> -----END PGP SIGNATURE-----
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: A Faux Pas

Jochen Theodorou
In reply to this post by Russel Winder
Russel Winder schrieb:
> On Tue, 2006-03-28 at 09:43 +0100, Graeme Rocher wrote:
>
>> Its fixed already, just update CVS
>
> And there was me thinking it would take 10mins to get a response ;-)
>
> It might be worth adding to the Linux/Solaris/UNIX  users install
> sidebar on the installation webpage that you have to do the chmod u+x
> thing every time you get an update from CVS.

maybe you people should some lines like these to the build:

     <!-- fix crlf-->
     <fixcrlf srcdir="${groovy.install.staging.dest}/bin"
        eol="lf" excludes="*.bat"
     />
     <fixcrlf srcdir="${groovy.install.staging.dest}/bin"
        eol="crlf" includes="*.bat"
     />

     <chmod perm="ugo+x">
       <fileset dir="${groovy.install.staging.dest}/bin">
         <include name="*"/>
         <include name="*.*"/>
       </fileset>
     </chmod>

it's from groovy's maven.xml, but these are ant-tasks

bye blackdrag

Reply | Threaded
Open this post in threaded view
|

Re: SVN? Was: [grails-user] A Faux Pas

Jochen Theodorou
In reply to this post by graemer
Graeme Rocher schrieb:
[..]
> The reason is because we started off as a module within the Groovy
> project which already used CVS... we have since moved to a separate
> repository

there are tools to migrate from cvs to svn and keep the history.

ybe blackdrag
Reply | Threaded
Open this post in threaded view
|

Re: SVN? Was: [grails-user] A Faux Pas

Russel Winder
In reply to this post by graemer
On Tue, 2006-03-28 at 10:58 +0100, Graeme Rocher wrote:

> The reason is because we started off as a module within the Groovy
> project which already used CVS... we have since moved to a separate
> repository

I can see that it is easier to go with CVS in that case but there are
CVS -> Subversion migration tools.  I think Subversion is so much better
than CVS it is worth the effort -- though I didn't bother keeping the
history in the projects I migrated, I just started from scratch which is
cheating I suppose.

--
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             [hidden email]

signature.asc (196 bytes) Download Attachment