static void compileWithNoArgs() throws Exception
    {
        Properties props = System.getProperties();

        String source = props.getProperty("source");
        String output = props.getProperty("output");
        String outputDir = props.getProperty("outputDir");
        String encoding = props.getProperty("encoding");
        String options = props.getProperty("options");

        if (source == null || output == null || outputDir == null)
        {
            usage();
            return;
        }

        ProtoModule module = new ProtoModule(new File(source), output,
                encoding, new File(outputDir));

        if (options != null)
        {
            for (String o : COMMA.split(options))
            {
                int idx = o.indexOf(':');
                if (idx == -1)
                    module.setOption(o.trim(), "");
                else
                    module.setOption(o.substring(0, idx).trim(), o.substring(idx + 1).trim());
            }
        }

        compile(module);
    }
The main execution point of compiling protos.

@author David Yu
@created Jan 5, 2010
protostuff-compiler/src/main/java/io/protostuff/compiler/CompilerMain.java