Ant 패키지 안 드 로 이 드 프로그램 절차 및 주의사항

Ant  android    ,     
=====================
    
Managing Projects from the Command Line
http://developer.android.com/tools/projects/projects-cmdline.html#UpdatingAProject
Ant Build Android Project With Dependencies
http://stackoverflow.com/questions/12308849/ant-build-android-project-with-dependencies

------------------
**NOTE:     android      ,  baidu,google  ,         google android    http://developer.android.com/
       ,    ,          。
 ,            ,       ! **

>  **  :**    android  ,    ,  Ant   


    
----------------------------------

*           (        ,         ant  ,           )


> app
> > dependent
> > > actionbarsherlock-new
> > > android-times-sequare
> > > android-uitableview		
> > > AppMsg-library		
> > > customShapeImageView		
> > > ResideMenu		
> > > sliding_menu_library


*     
	1.  app   dependent    actionbarsherlock-new,android-times-sequare,android-uitableview,AppMsg-library,customShapeImageView,ResideMenu,sliding_menu_library
	2.  sliding_menu_library   actionbarsherlock-new

    
---------------


1. **    ,  Ant   **

	*  **      (      app)**
		     ,        :
         > android update project --name app --target android-20 --path .

	        : http://developer.android.com/tools/projects/projects-cmdline.html#UpdatingAProject

	* **         (      actionbarsherlock-new )**
		              ,      
        > android update lib-project --target android-20 --path .


           :

> app
> > dependent
> > > actionbarsherlock-new
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties

> > > android-times-sequare
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties

		
> > > android-uitableview
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
> > > > 
> > > AppMsg-library
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
            > 
> > > customShapeImageView
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
            > 
> > > ResideMenu
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
            > 
> > > sliding_menu_library
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
            > 
	
> AndroidManifest.xml
> build.xml
> local.properties
> project.properties

**2.       **
*             :
	* custom_rules.xml
		    :
			<?xml version="1.0" encoding="UTF-8"?>
            <project name="app">
                <property file="ant.properties" />
                <property file="local.properties" />
                <property name="out.dir" value="out" />
            </project>
	* ant.properties
		    :
        	#    
        	key.store=app-release-key.keystore
            #  
            key.store.password=pswd
            #  
            key.alias=alias
            #      
            key.alias.password=pswd
            #    
            proguard.config=proguard-project.txt

**3.clean     **
       
> ant clean release

       ...>_<

    :
-------
1.     
	*   app    project.properties  ,    :【1】
    >	android.library.reference.1=dependent/actionbarsherlock-new
	>	android.library.reference.2=dependent/android-times-sequare
	>	android.library.reference.3=dependent/android-uitableview
	>	android.library.reference.4=dependent/AppMsg-library
	>	android.library.reference.5=dependent/customShapeImageView
	>	android.library.reference.6=dependent/ResideMenu
	>	android.library.reference.7=dependent/sliding_menu_library
	>	\# Project target.
	>	target=android-20

	*        ( sliding_menu_library )    project.properties,    :【2】
    >	\# Project target.
	>	target=android-20
	>	**android.library=true**
	*   sliding_menu_library    project.properties  ,    :【3】
	>	**android.library.reference.1=../actionbarsherlock-new**
	>	\# Project target.
	>	target=android-20
	>	**android.library=true**
2.    :
	*   【1】、【2】、【3】  ,         ,project.properties      :`android.library=true`
	*         ,      ,                :
	>	resolve to a path with no project.properties file for project	
    
  	      : http://stackoverflow.com/questions/12308849/ant-build-android-project-with-dependencies



3.**     ,      **

좋은 웹페이지 즐겨찾기