You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@incubator.apache.org by David Crossley <cr...@apache.org> on 2004/11/13 04:33:26 UTC
fixcrlf (Was: svn commit: rev 57421)
Using Ant fixcrlf does not make sense with SVN
does it? Surely the committer has to just do
'svn propset svn:eol-style native" for the text
files after doing 'svn add' or configure their
svn client to do it. Similarly setting the
mime-type for PDF.
--David
dims wrote:
> Author: dims
> Date: Wed Nov 10 21:04:32 2004
> New Revision: 57421
>
> Modified:
> incubator/public/trunk/build.xml
> Log:
> fixing build
>
> Modified: incubator/public/trunk/build.xml
> ==============================================================================
> --- incubator/public/trunk/build.xml (original)
> +++ incubator/public/trunk/build.xml Wed Nov 10 21:04:32 2004
> @@ -10,7 +10,14 @@
> </patternset>
> </fileset>
> </copy>
> -
> + <fixcrlf srcdir="build/site"
> + eol="unix"
> + includes="**/*.css"
> + />
> + <fixcrlf srcdir="build/site"
> + eol="unix"
> + includes="**/*.html"
> + />
> <sync todir="site-publish" overwrite="false" includeEmptyDirs="true" failonerror="true" verbose="false">
> <fileset dir="build/site/" defaultexcludes="no"/>
> </sync>
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org
Re: fixcrlf (Was: svn commit: rev 57421)
Posted by David Crossley <cr...@apache.org>.
Davanum Srinivas wrote:
>David,
>
>my guess is that since everything was migrated from CVS to SVN,
>probably the files were in bad shape in CVS itself...
>
>
Ah, then one of us needs to do a 'dos2unix' (or the other way
around depending on our OS) and make sure the eol-style=native.
Anyway, the build scipt can't do it because it is assuming UNIX.
By the way, i forgot about that build script when i enhanced the
http://incubator.apache.org/howtoparticipate.html#website
--David
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org
Re: fixcrlf (Was: svn commit: rev 57421)
Posted by Davanum Srinivas <da...@gmail.com>.
David,
my guess is that since everything was migrated from CVS to SVN,
probably the files were in bad shape in CVS itself...
-- dims
On Fri, 12 Nov 2004 20:33:26 -0700, David Crossley <cr...@apache.org> wrote:
> Using Ant fixcrlf does not make sense with SVN
> does it? Surely the committer has to just do
> 'svn propset svn:eol-style native" for the text
> files after doing 'svn add' or configure their
> svn client to do it. Similarly setting the
> mime-type for PDF.
>
> --David
>
> dims wrote:
> > Author: dims
> > Date: Wed Nov 10 21:04:32 2004
> > New Revision: 57421
> >
> > Modified:
> > incubator/public/trunk/build.xml
> > Log:
> > fixing build
> >
> > Modified: incubator/public/trunk/build.xml
> > ==============================================================================
> > --- incubator/public/trunk/build.xml (original)
> > +++ incubator/public/trunk/build.xml Wed Nov 10 21:04:32 2004
> > @@ -10,7 +10,14 @@
> > </patternset>
> > </fileset>
> > </copy>
> > -
> > + <fixcrlf srcdir="build/site"
> > + eol="unix"
> > + includes="**/*.css"
> > + />
> > + <fixcrlf srcdir="build/site"
> > + eol="unix"
> > + includes="**/*.html"
> > + />
> > <sync todir="site-publish" overwrite="false" includeEmptyDirs="true" failonerror="true" verbose="false">
> > <fileset dir="build/site/" defaultexcludes="no"/>
> > </sync>
>
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org