com.android.manifmerger
Class Main

java.lang.Object
  extended by com.android.manifmerger.Main

public class Main
extends java.lang.Object

Command-line entry point of the Manifest Merger. The goal of the manifest merger is to merge library manifest into a main application manifest. See ManifestMerger for the exact merging rules.

The command-line version creates a ManifestMerger which takes file arguments from the command-line and dumps all errors and warnings on the stdout/stderr console.

Usage:
$ manifmerger merge --main main_manifest.xml --libs lib1.xml lib2.xml --out result.xml

When used as a library, please call ManifestMerger.process(File, File, File[], Map, String) directly.


Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setLogger(com.android.utils.ILogger logger)
          For testing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)

setLogger

public void setLogger(com.android.utils.ILogger logger)
For testing