[guardian-dev] Android Workspace Factory

Abel Luck abel at guardianproject.info
Fri May 31 13:18:29 EDT 2013


Josh Steiner:
> Sounds great!  What does "workspace-deploy" do?
> 

Copies your preconfigured (but empty) workspace to wherever you want.

The idea is you setup some new projects (probably by git cloning them),
then deploy your blank workspace, then open eclipse and import the
projects. The workspace is already configured with your settings.

~abel

> -josh
> 
> 
> On Fri, May 31, 2013 at 8:16 AM, Abel Luck <abel at guardianproject.info>wrote:
> 
>> Hey folks,
>>
>> As per recent discussions [1], we've sort of landed on a new standard
>> project structure.
>>
>> The TL;DR of it is: one workspace per application put in the app's root
>> git repo. This is for complex projects with multiple external deps.
>>
>> Once you get used to juggling Eclipse repos, it works quite well. The
>> fact that multiple projects use different versions of the same libs is
>> no longer an issue.
>>
>> However, customizing each eclipse workspace is a huge PITA especially
>> when 99% of the time your workspace customizations are the SAME for
>> every workspace.
>>
>> Introducing....
>>
>> Android Workspace Factory
>> https://github.com/abeluck/workspace-factory
>>
>> It includes an android workspace pre-configured with the following:
>>
>>     Official Android Java Code Formatter settings
>>     Official Android Save Actions w/ Import Organizing
>>     1.6 is the default Java compiler
>>
>> You can then point eclipse at it, configure it to your liking then
>> deploy it with:
>>
>>     ./workspace-deploy my-workspace ~/src/new/project/path/
>>
>> Huzzah productivity!
>>
>> Hopefully we can trash all this and void our minds of these horrors once
>> the new build system is released
>> http://tools.android.com/tech-docs/new-build-system
>>
>> ~abel
>>
>>
>> [1]:
>> https://lists.mayfirst.org/pipermail/guardian-dev/2013-April/001593.html
>>
>>
>> _______________________________________________
>> Guardian-dev mailing list
>>
>> Post: Guardian-dev at lists.mayfirst.org
>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>
>> To Unsubscribe
>>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>>         Or visit:
>> https://lists.mayfirst.org/mailman/options/guardian-dev/josh%40vitriolix.com
>>
>> You are subscribed as: josh at vitriolix.com
>>
>>
> 



More information about the Guardian-dev mailing list