samples/differentreturntype/build.xml
changeset 153 b5cbb797ec0a
parent 132 3bc4c54f4bcc
child 154 0fd5e9c500b9
     1.1 --- a/samples/differentreturntype/build.xml	Sat Jun 14 09:56:12 2008 +0200
     1.2 +++ b/samples/differentreturntype/build.xml	Sat Jun 14 09:58:08 2008 +0200
     1.3 @@ -6,26 +6,18 @@
     1.4      
     1.5      <!-- BEGIN: theory.binary.differentreturntype.ant -->
     1.6      <!-- This is the target that does the whole trick - e,g. it compiles
     1.7 -        the Java source and then replaces tokens 
     1.8 -        inside of the .class file
     1.9 +        the Java source and then replaces tokens inside of the .class file
    1.10       -->
    1.11      <target name="-build-and-rename">
    1.12          <mkdir dir="build/apimerge/classes"/>
    1.13 -        <javac 
    1.14 -            srcdir="src-apimerge" destdir="build/apimerge/classes" 
    1.15 -            source="1.4" target="1.4" classpath="${cp}"
    1.16 -        />
    1.17 +        <javac srcdir="src-apimerge" destdir="build/apimerge/classes" source="1.4" target="1.4" classpath="${cp}"/>
    1.18          
    1.19          <!-- this is the replace. As the replace is done textually,
    1.20 -            we need to use some reasonable encoding that treats all 
    1.21 -            byte values as characters. E.g. it is not possible to 
    1.22 -            use UTF-8 as it does not like the standard Java header 
    1.23 -            0xCAFEBABE. Western Europe encoding is fine
    1.24 +            we need to use some reasonable encoding that treats all byte values
    1.25 +            as characters. E.g. it is not possible to use UTF-8 as it does not
    1.26 +            like the standard Java header 0xCAFEBABE. Western Europe encoding is fine
    1.27          -->
    1.28 -        <replace 
    1.29 -            dir="build/apimerge/classes" casesensitive="true" 
    1.30 -            encoding="iso-8859-1" summary="true"
    1.31 -        >
    1.32 +        <replace dir="build/apimerge/classes" casesensitive="true" encoding="iso-8859-1" summary="true">
    1.33              <include name="**/*.class"/>
    1.34              <replacetoken>g3tIcon</replacetoken>
    1.35              <replacevalue>getIcon</replacevalue>