Package org.jnode.ant.taskdefs

Examples of org.jnode.ant.taskdefs.Asm.execute()


        asm.setEnableJNasm(false);
        asm.setJnasmCompatibilityEnabled(true);
        asm.setSrcdir(workingDirectory);
        asm.setDestdir(workingDirectory);
        asm.setOutputFormat("bin");
        asm.execute();

        //compare JNAsm binary with NASM binary
        File nasmOutputFile = new File(workingDirectory, NASM_OUTPUT_FILE_NAME);
        Assert.assertEquals(nasmOutputFile.length(), jnasmOutputFile.length());
        InputStream jnasmBinaryInput = new FileInputStream(jnasmOutputFile);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.