Author: jleroux
Date: Thu Jan 25 04:20:05 2007 New Revision: 499759 URL: http://svn.apache.org/viewvc?view=rev&rev=499759 Log: EOL was wrong since ASL2 headers change yesterday. Thanks to Christian Gesisert who noticed it. I also forced svn:eol-style=LF for this file. Maybe this change should be better made in svn config file ? I will check other files Modified: ofbiz/trunk/ant (contents, props changed) Modified: ofbiz/trunk/ant URL: http://svn.apache.org/viewvc/ofbiz/trunk/ant?view=diff&rev=499759&r1=499758&r2=499759 ============================================================================== --- ofbiz/trunk/ant (original) +++ ofbiz/trunk/ant Thu Jan 25 04:20:05 2007 @@ -1,30 +1,30 @@ -#!/bin/sh -##################################################################### -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -##################################################################### - -# location of java executable -if [ -f "$JAVA_HOME/bin/java" ]; then - JAVA=$JAVA_HOME/bin/java -else - JAVA=java -fi - -$JAVA -jar framework/base/lib/ant-launcher.jar $* -exit 0 - +#!/bin/sh +##################################################################### +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +##################################################################### + +# location of java executable +if [ -f "$JAVA_HOME/bin/java" ]; then + JAVA=$JAVA_HOME/bin/java +else + JAVA=java +fi + +$JAVA -jar framework/base/lib/ant-launcher.jar $* +exit 0 + Propchange: ofbiz/trunk/ant ------------------------------------------------------------------------------ svn:eol-style = LF |
Jacques, It might be okay for these files, but in general we don't want to specify the eol-style for any file in the SVN repository. This is something that the SVN client will take care of when doing checkouts, updates, exports, commits, etc. It does mean that if you checkout on a Windows machine and then copy the text files to a Unix/Linux machine you'll have a few thousand files with annoying line endings. You can avoid that (usually) by using a zip file to move everything over instead of copying verbatim. -David On Jan 25, 2007, at 5:20 AM, [hidden email] wrote: > Author: jleroux > Date: Thu Jan 25 04:20:05 2007 > New Revision: 499759 > > URL: http://svn.apache.org/viewvc?view=rev&rev=499759 > Log: > EOL was wrong since ASL2 headers change yesterday. Thanks to > Christian Gesisert who noticed it. > I also forced svn:eol-style=LF for this file. Maybe this change > should be better made in svn config file ? > I will check other files > > Modified: > ofbiz/trunk/ant (contents, props changed) > > Modified: ofbiz/trunk/ant > URL: http://svn.apache.org/viewvc/ofbiz/trunk/ant? > view=diff&rev=499759&r1=499758&r2=499759 > ====================================================================== > ======== > --- ofbiz/trunk/ant (original) > +++ ofbiz/trunk/ant Thu Jan 25 04:20:05 2007 > @@ -1,30 +1,30 @@ > -#!/bin/sh > -##################################################################### > -# Licensed to the Apache Software Foundation (ASF) under one > -# or more contributor license agreements. See the NOTICE file > -# distributed with this work for additional information > -# regarding copyright ownership. The ASF licenses this file > -# to you under the Apache License, Version 2.0 (the > -# "License"); you may not use this file except in compliance > -# with the License. You may obtain a copy of the License at > -# > -# http://www.apache.org/licenses/LICENSE-2.0 > -# > -# Unless required by applicable law or agreed to in writing, > -# software distributed under the License is distributed on an > -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > -# KIND, either express or implied. See the License for the > -# specific language governing permissions and limitations > -# under the License. > -##################################################################### > - > -# location of java executable > -if [ -f "$JAVA_HOME/bin/java" ]; then > - JAVA=$JAVA_HOME/bin/java > -else > - JAVA=java > -fi > - > -$JAVA -jar framework/base/lib/ant-launcher.jar $* > -exit 0 > - > +#!/bin/sh > +##################################################################### > +# Licensed to the Apache Software Foundation (ASF) under one > +# or more contributor license agreements. See the NOTICE file > +# distributed with this work for additional information > +# regarding copyright ownership. The ASF licenses this file > +# to you under the Apache License, Version 2.0 (the > +# "License"); you may not use this file except in compliance > +# with the License. You may obtain a copy of the License at > +# > +# http://www.apache.org/licenses/LICENSE-2.0 > +# > +# Unless required by applicable law or agreed to in writing, > +# software distributed under the License is distributed on an > +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > +# KIND, either express or implied. See the License for the > +# specific language governing permissions and limitations > +# under the License. > +##################################################################### > + > +# location of java executable > +if [ -f "$JAVA_HOME/bin/java" ]; then > + JAVA=$JAVA_HOME/bin/java > +else > + JAVA=java > +fi > + > +$JAVA -jar framework/base/lib/ant-launcher.jar $* > +exit 0 > + > > Propchange: ofbiz/trunk/ant > ---------------------------------------------------------------------- > -------- > svn:eol-style = LF > > smime.p7s (3K) Download Attachment |
Free forum by Nabble | Edit this page |