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