lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1359275 - in /lucene/dev/trunk/lucene: analysis/common/build.xml analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex core/build.xml core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py
Date Mon, 09 Jul 2012 16:50:25 GMT
Author: uschindler
Date: Mon Jul  9 16:50:25 2012
New Revision: 1359275

URL: http://svn.apache.org/viewvc?rev=1359275&view=rev
Log:
Fix CRLF problem with running python on windows /and/or cygwin when creating java source files.
Also fix broken generated license header.

Modified:
    lucene/dev/trunk/lucene/analysis/common/build.xml
    lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex
    lucene/dev/trunk/lucene/core/build.xml
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py

Modified: lucene/dev/trunk/lucene/analysis/common/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/build.xml?rev=1359275&r1=1359274&r2=1359275&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/build.xml (original)
+++ lucene/dev/trunk/lucene/analysis/common/build.xml Mon Jul  9 16:50:25 2012
@@ -61,6 +61,7 @@
           executable="${python.exe}" failonerror="true" logerror="true">
       <arg value="htmlentity.py"/>
     </exec>
+    <fixcrlf file="src/java/org/apache/lucene/analysis/charfilter/HTMLCharacterEntities.jflex"
encoding="UTF-8"/>
   </target>
 
   <target name="jflex-wiki-tokenizer" depends="init,jflex-check" if="jflex.present">

Modified: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex?rev=1359275&r1=1359274&r2=1359275&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex
(original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex
Mon Jul  9 16:50:25 2012
@@ -1,6 +1,6 @@
 package org.apache.lucene.analysis.charfilter;
 
-/**
+/*
  * 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.

Modified: lucene/dev/trunk/lucene/core/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/build.xml?rev=1359275&r1=1359274&r2=1359275&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/build.xml (original)
+++ lucene/dev/trunk/lucene/core/build.xml Mon Jul  9 16:50:25 2012
@@ -68,6 +68,7 @@
             executable="${python.exe}" failonerror="true">
         <arg line="createLevAutomata.py @{n} False"/>
       </exec>
+      <fixcrlf srcdir="src/java/org/apache/lucene/util/automaton" includes="*ParametricDescription.java"
encoding="UTF-8"/>
     </sequential>
   </macrodef>
 

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py?rev=1359275&r1=1359274&r2=1359275&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py
(original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py
Mon Jul  9 16:50:25 2012
@@ -121,7 +121,7 @@ def main():
 
   w('package org.apache.lucene.util.automaton;')
   w('')
-  w('/**')
+  w('/*')
   w(' * Licensed to the Apache Software Foundation (ASF) under one or more')
   w(' * contributor license agreements.  See the NOTICE file distributed with')
   w(' * this work for additional information regarding copyright ownership.')



Mime
View raw message