Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#16 Code: ECS xhtml rename a--A etc...

R2.4.2d
closed
Jorg Janke
General (18)
1
2002-08-23
2002-08-12
Vincent Harcq
No

Hi,
This is a solution for the ECS / CVS lower/uper case
problem in Ant's language:

<target name="rename-ecs" depends="init">
<mkdir dir="${build.dir}/rename"/>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="a.java" />
<mapper type="glob" from="a*" to="A*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="b*.java"
excludes="basefont*,bdo*,blink*,blockquote*"/>
<mapper type="glob" from="b*" to="B*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="cite*,comment*" />
<mapper type="glob" from="c*" to="C*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="font*,form*" />
<mapper type="glob" from="f*" to="F*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="h1*,h2*,h3*,head*,hr*,html*" />
<mapper type="glob" from="h*" to="H*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="img*,input*" />
<mapper type="glob" from="i*" to="I*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="label*,link*" />
<mapper type="glob" from="l*" to="L*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="p.java" />
<mapper type="glob" from="p*" to="P*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="option*.java" />
<mapper type="glob" from="o*" to="O*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="script*.java,select*,small*,strong*" />
<mapper type="glob" from="s*" to="S*"/>
</move>
<move todir="${build.dir}/rename" >
<fileset dir="${src}/org/apache/ecs/xhtml"
includes="t*.java" excludes="tbody*,tfoot*,tt*"/>
<mapper type="glob" from="t*" to="T*"/>
</move>

<move todir="${src}/org/apache/ecs/xhtml" >
<fileset dir="${build.dir}/rename" includes="*" />
</move>
</target>

Then depens make to this new target :

<target name="makedir" depends="rename-ecs"
unless="dist.dir.exists">

Discussion

  • Jorg Janke
    Jorg Janke
    2002-08-14

    • summary: ECS xhtml rename a--A etc... --> Code: ECS xhtml rename a--A etc...
    • assigned_to: nobody --> jjanke
     
  • Jorg Janke
    Jorg Janke
    2002-08-21

    • status: open --> closed
     
  • Jorg Janke
    Jorg Janke
    2002-08-21

    • labels: --> General
    • milestone: --> R2.4.2d
    • status: closed --> open
     
  • Jorg Janke
    Jorg Janke
    2002-08-23

    Logged In: YES
    user_id=87038

    xhtml directory re-initialized

     
  • Jorg Janke
    Jorg Janke
    2002-08-23

    • priority: 5 --> 1
    • status: open --> closed