Buggy code:
class AndroidBuild extends JavaBuild { static final String basePackage = "processing.test" ; static String sdkName = "2.3.3" ; static String sdkVersion = "10" ; static final String sdkTarget = "android-" + ( AndroidBuild . sdkVersion ) ; private final AndroidSDK sdk ; private final File coreZipFile ; private String target ; private Manifest manifest ; private File tmpFolder ; private File buildFile ; public AndroidBuild ( final Sketch sketch , final AndroidMode mode ) { } public static void setSdkTarget ( AndroidSDK . SDKTarget target , Sketch sketch ) { } public File build ( String target ) throws IOException , SketchException { } protected boolean ignorableImport ( String pkg ) { } public File createProject ( ) throws IOException , SketchException { } private File createTempBuildFolder ( final Sketch sketch ) throws IOException { } protected File createExportFolder ( ) throws IOException { } public File exportProject ( ) throws IOException , SketchException { } public File exportPackage ( String keyStorePassword ) throws Exception { } private File signPackage ( File projectFolder , String keyStorePassword ) throws Exception { } private File zipalignPackage ( File signedPackage , File projectFolder ) throws IOException , InterruptedException { } protected boolean antBuild ( ) throws SketchException { } void antBuildProblems ( String outPile , String errPile ) throws SketchException { } String getPathForAPK ( ) { } private void writeAntProps ( final File file ) { } private void writeBuildXML ( final File file , final String projectName ) { final PrintWriter writer = PApplet . createWriter ( file ) ; writer . println ( "<?xml<seq2seq4repair_space>version=\"1.0\"<seq2seq4repair_space>encoding=\"UTF-8\"?>" ) ; writer . println ( ( ( "<project<seq2seq4repair_space>name=\"" + projectName ) + "\"<seq2seq4repair_space>default=\"help\">" ) ) ; writer . println ( "<seq2seq4repair_space><property<seq2seq4repair_space>file=\"local.properties\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><property<seq2seq4repair_space>file=\"ant.properties\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><property<seq2seq4repair_space>environment=\"env\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><condition<seq2seq4repair_space>property=\"sdk.dir\"<seq2seq4repair_space>value=\"${env.ANDROID_HOME}\">" ) ; writer . println ( "<seq2seq4repair_space><isset<seq2seq4repair_space>property=\"env.ANDROID_HOME\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><//condition>" ) ; <START_BUG> writer . println ( ( ( "<seq2seq4repair_space><property<seq2seq4repair_space>name=\"ecj.jar\"<seq2seq4repair_space>value=\"" + ( Base . getToolsFolder ( ) ) ) + "//..//modes//Java//mode//ecj.jar\"<seq2seq4repair_space>//>" ) ) ; <END_BUG> writer . println ( "<seq2seq4repair_space><property<seq2seq4repair_space>name=\"build.compiler\"<seq2seq4repair_space>value=\"org.eclipse.jdt.core.JDTCompilerAdapter\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><mkdir<seq2seq4repair_space>dir=\"bin\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><echo<seq2seq4repair_space>message=\"${ecj.jar}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><echo<seq2seq4repair_space>message=\"${build.compiler}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><target<seq2seq4repair_space>name=\"-compile\"<seq2seq4repair_space>depends=\"-pre-build,<seq2seq4repair_space>-build-setup,<seq2seq4repair_space>-code-gen,<seq2seq4repair_space>-pre-compile\">" ) ; writer . println ( "<seq2seq4repair_space><do-only-if-manifest-hasCode<seq2seq4repair_space>elseText=\"hasCode<seq2seq4repair_space>=<seq2seq4repair_space>false.<seq2seq4repair_space>Skipping...\">" ) ; writer . println ( "<seq2seq4repair_space><path<seq2seq4repair_space>id=\"project.javac.classpath\">" ) ; writer . println ( "<seq2seq4repair_space><path<seq2seq4repair_space>refid=\"project.all.jars.path\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><path<seq2seq4repair_space>refid=\"tested.project.classpath\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><path<seq2seq4repair_space>path=\"${java.compiler.classpath}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><//path>" ) ; writer . println ( "<seq2seq4repair_space><javac<seq2seq4repair_space>encoding=\"${java.encoding}\"" ) ; writer . println ( "<seq2seq4repair_space>source=\"${java.source}\"<seq2seq4repair_space>target=\"${java.target}\"" ) ; writer . println ( "<seq2seq4repair_space>debug=\"true\"<seq2seq4repair_space>extdirs=\"\"<seq2seq4repair_space>includeantruntime=\"false\"" ) ; writer . println ( "<seq2seq4repair_space>destdir=\"${out.classes.absolute.dir}\"" ) ; writer . println ( "<seq2seq4repair_space>bootclasspathref=\"project.target.class.path\"" ) ; writer . println ( "<seq2seq4repair_space>verbose=\"${verbose}\"" ) ; writer . println ( "<seq2seq4repair_space>classpathref=\"project.javac.classpath\"" ) ; writer . println ( "<seq2seq4repair_space>fork=\"${need.javac.fork}\">" ) ; writer . println ( "<seq2seq4repair_space><src<seq2seq4repair_space>path=\"${source.absolute.dir}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><src<seq2seq4repair_space>path=\"${gen.absolute.dir}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><compilerarg<seq2seq4repair_space>line=\"${java.compilerargs}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><compilerclasspath<seq2seq4repair_space>path=\"${ecj.jar}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><//javac>" ) ; writer . println ( "<seq2seq4repair_space><if<seq2seq4repair_space>condition=\"${build.is.instrumented}\">" ) ; writer . println ( "<seq2seq4repair_space><then>" ) ; writer . println ( "<seq2seq4repair_space><echo<seq2seq4repair_space>level=\"info\">Instrumenting<seq2seq4repair_space>classes<seq2seq4repair_space>from<seq2seq4repair_space>${out.absolute.dir}//classes...<//echo>" ) ; writer . println ( "<seq2seq4repair_space><getemmafilter" ) ; writer . println ( "<seq2seq4repair_space>appPackage=\"${project.app.package}\"" ) ; writer . println ( "<seq2seq4repair_space>libraryPackagesRefId=\"project.library.packages\"" ) ; writer . println ( "<seq2seq4repair_space>filterOut=\"emma.default.filter\"//>" ) ; writer . println ( "<seq2seq4repair_space><property<seq2seq4repair_space>name=\"emma.coverage.absolute.file\"<seq2seq4repair_space>location=\"${out.absolute.dir}//coverage.em\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><emma<seq2seq4repair_space>enabled=\"true\">" ) ; writer . println ( "<seq2seq4repair_space><instr<seq2seq4repair_space>verbosity=\"${verbosity}\"" ) ; writer . println ( "<seq2seq4repair_space>mode=\"overwrite\"" ) ; writer . println ( "<seq2seq4repair_space>instrpath=\"${out.absolute.dir}//classes\"" ) ; writer . println ( "<seq2seq4repair_space>outdir=\"${out.absolute.dir}//classes\"" ) ; writer . println ( "<seq2seq4repair_space>metadatafile=\"${emma.coverage.absolute.file}\">" ) ; writer . println ( "<seq2seq4repair_space><filter<seq2seq4repair_space>excludes=\"${emma.default.filter}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><filter<seq2seq4repair_space>value=\"${emma.filter}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><//instr>" ) ; writer . println ( "<seq2seq4repair_space><//emma>" ) ; writer . println ( "<seq2seq4repair_space><//then>" ) ; writer . println ( "<seq2seq4repair_space><//if>" ) ; writer . println ( "<seq2seq4repair_space><if<seq2seq4repair_space>condition=\"${project.is.library}\">" ) ; writer . println ( "<seq2seq4repair_space><then>" ) ; writer . println ( "<seq2seq4repair_space><echo<seq2seq4repair_space>level=\"info\">Creating<seq2seq4repair_space>library<seq2seq4repair_space>output<seq2seq4repair_space>jar<seq2seq4repair_space>file...<//echo>" ) ; writer . println ( "<seq2seq4repair_space><property<seq2seq4repair_space>name=\"out.library.jar.file\"<seq2seq4repair_space>location=\"${out.absolute.dir}//classes.jar\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><if>" ) ; writer . println ( "<seq2seq4repair_space><condition>" ) ; writer . println ( "<seq2seq4repair_space><length<seq2seq4repair_space>string=\"${android.package.excludes}\"<seq2seq4repair_space>trim=\"true\"<seq2seq4repair_space>when=\"greater\"<seq2seq4repair_space>length=\"0\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><//condition>" ) ; writer . println ( "<seq2seq4repair_space><then>" ) ; writer . println ( "<seq2seq4repair_space><echo<seq2seq4repair_space>level=\"info\">Custom<seq2seq4repair_space>jar<seq2seq4repair_space>packaging<seq2seq4repair_space>exclusion:<seq2seq4repair_space>${android.package.excludes}<//echo>" ) ; writer . println ( "<seq2seq4repair_space><//then>" ) ; writer . println ( "<seq2seq4repair_space><//if>" ) ; writer . println ( "<seq2seq4repair_space><propertybyreplace<seq2seq4repair_space>name=\"project.app.package.path\"<seq2seq4repair_space>input=\"${project.app.package}\"<seq2seq4repair_space>replace=\".\"<seq2seq4repair_space>with=\"//\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><jar<seq2seq4repair_space>destfile=\"${out.library.jar.file}\">" ) ; writer . println ( "<seq2seq4repair_space><fileset<seq2seq4repair_space>dir=\"${out.classes.absolute.dir}\"" ) ; writer . println ( "<seq2seq4repair_space>includes=\"**//*.class\"" ) ; writer . println ( "<seq2seq4repair_space>excludes=\"${project.app.package.path}//R.class<seq2seq4repair_space>${project.app.package.path}//R$*.class<seq2seq4repair_space>${project.app.package.path}//BuildConfig.class\"//>" ) ; writer . println ( "<seq2seq4repair_space><fileset<seq2seq4repair_space>dir=\"${source.absolute.dir}\"<seq2seq4repair_space>excludes=\"**//*.java<seq2seq4repair_space>${android.package.excludes}\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><//jar>" ) ; writer . println ( "<seq2seq4repair_space><//then>" ) ; writer . println ( "<seq2seq4repair_space><//if>" ) ; writer . println ( "<seq2seq4repair_space><//do-only-if-manifest-hasCode>" ) ; writer . println ( "<seq2seq4repair_space><//target>" ) ; writer . println ( "<seq2seq4repair_space><loadproperties<seq2seq4repair_space>srcFile=\"project.properties\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><fail<seq2seq4repair_space>message=\"sdk.dir<seq2seq4repair_space>is<seq2seq4repair_space>missing.<seq2seq4repair_space>Make<seq2seq4repair_space>sure<seq2seq4repair_space>to<seq2seq4repair_space>generate<seq2seq4repair_space>local.properties<seq2seq4repair_space>using<seq2seq4repair_space>\'android<seq2seq4repair_space>update<seq2seq4repair_space>project\'\"<seq2seq4repair_space>unless=\"sdk.dir\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><import<seq2seq4repair_space>file=\"custom_rules.xml\"<seq2seq4repair_space>optional=\"true\"<seq2seq4repair_space>//>" ) ; writer . println ( "<seq2seq4repair_space><!--<seq2seq4repair_space>version-tag:<seq2seq4repair_space>1<seq2seq4repair_space>-->" ) ; writer . println ( "<seq2seq4repair_space><import<seq2seq4repair_space>file=\"${sdk.dir}//tools//ant//build.xml\"<seq2seq4repair_space>//>" ) ; writer . println ( "<//project>" ) ; writer . flush ( ) ; writer . close ( ) ; } private void writeProjectProps ( final File file ) { } private void writeLocalProps ( final File file ) { } static final String ICON_96 = "icon-96.png" ; static final String ICON_72 = "icon-72.png" ; static final String ICON_48 = "icon-48.png" ; static final String ICON_36 = "icon-36.png" ; private void writeRes ( File resFolder , String className ) throws SketchException { } private File mkdirs ( final File parent , final String name ) throws SketchException { } private void writeResLayoutMain ( final File file ) { } private void copyLibraries ( final File libsFolder , final File assetsFolder ) throws IOException { } private void copyCodeFolder ( final File libsFolder ) throws IOException { } protected String getPackageName ( ) { } public void cleanup ( ) { }

Fix:
writer . println ( ( ( "<seq2seq4repair_space><property<seq2seq4repair_space>name=\"ecj.jar\"<seq2seq4repair_space>value=\"" + ( Base . getToolsFolder ( ) ) ) + "//..//modes//java//mode//ecj.jar\"<seq2seq4repair_space>//>" ) ) ;