Reputation: 7626
I am working on android
applications which has common src
and res
- (layout
and values
) content and drawable
content varies among applications.
I have stored complete Application content as 3 directories in SVN
Repository.
1. Application Common Content
-> src
->(All Java Code - Class1.java
, Class2.java
, ....)
-> res
->(values
, anim
)
2. Application1
-> src
(AppClass1.java
to access the Class1.java
of Application Common Content's src
)
-> res
-> (drawable
, drawable-hdpi
, drawable-ldpi
, drawable-mdpi
, raw
)
-> AndroidManifest.xml
3. Application2
-> src
(AppClass2.java
to access the Class1.java
of Application Common Content's src
)
-> res
-> (drawable
, drawable-hdpi
, drawable-ldpi
, drawable-mdpi
, raw
)
-> AndroidManifest.xml
So, If i want to generate apk
file for Application1, i have to do the following:
SVN
Checkout of Application Common code first.apk
file.Can i do the above two steps by using any script? The script should be in such a way that if i give the SVN directory paths and desired location, the script must automatically get the Application content from different SVN
Directories and form the project structure in the desired location. Does anyone done this before?
Please provide your thoughts/links to achieve this?
Upvotes: 0
Views: 751
Reputation: 97280
Upvotes: 1