Commit Graph

16 Commits

Author SHA1 Message Date
Yohei Yukawa
72f24a0fa1 Merge "Updating Idegen project to use JDK 1.7" 2015-12-15 05:01:56 +00:00
Xiaohui Chen
0b7e903d4c Fix exception in MakeFileParser
The code currently tries to parse all "$" as variables.  Now narrow it
down to only "$()" as it should.

Bug: 23155276
Change-Id: I1732ce757a9f7d611e90138b595a0aa1d3ce6009
2015-12-08 19:03:23 -08:00
Michael
6836ddf514 Updating Idegen project to use JDK 1.7
Updating Idegen intellij template to use JDK 1.7, which is required for
marshmallow.

Change-Id: I4ad02acb19fa850a62b6a25bbbaf4db2577a9fe0
2015-12-06 13:54:56 +01:00
Paul Crowley
7fdedf010d Refactor the way we handle directories in traverse.
Bug: 18064146
Change-Id: I45fba9c2978bc0c8f23804c730ab631da759ac70
2014-11-03 04:28:54 +00:00
Sky Faber
e83d6400fb idegen: Skip directories named *.java when parsing source.
Change-Id: I8a6700ebcc198851b80de4832a43d147dc887f3a
2014-07-23 13:50:52 -07:00
Evan Charlton
ffa8245e66 Add support for OSX to intellij-gen.sh
Remove the hardcoded "linux-x86" path, and add support for darwin-x86.

Change-Id: I4c5db4683a6e8aac7d894e64415142d2ca5954a2
2014-05-20 10:55:54 -07:00
Chiao Cheng
c8201d5e84 Overhaul of intellij-gen script.
Overall much better at find proper dependencies.
* No more need for aggregate modules.
* Source file searching.
* Make file token substitution.
* Inclusion src directories.
* Multi project/package support.
* Made framework module optional as some unbundled
  branches do not include it.

Change-Id: Ie5ee66c488fc9141043137f716a3891f952bfe7f
2014-03-17 12:52:43 -07:00
Chiao Cheng
6818901ea0 Add support for distribution folder.
Changed template directory to be dynamically looked up.

Change-Id: I89b96581e842574e1c7ad36e8633d3e787f488c2
2013-03-01 10:55:30 -08:00
Chiao Cheng
d7a603c968 Allow bash scripts to work within a distributation folder.
- Fixed NullPointerException when module name not found.

Change-Id: I8f9b29f047ff90995d4cccc6b4b518bfbf026570
2013-02-28 15:25:05 -08:00
Chiao Cheng
ac0a18e095 Adding new script to generate Intellij projects.
- Creates modules and includes only dependencies that are needed by
the parent module instead of including the entire source tree. The
new structure makes intellij much more responsive and fast.
- Adds proper android facets when AndroidManifest.xml exists for
quick resource lookup.
- Automatically includes intermediates directory for generated R files.
- Exclusion of un-neccessary language resource folders from id lookups.
- Automatic vcs configuration for git roots.
- Multi-module make file support.
- Aggregate modules for multi-module make files.

Change-Id: I181670b269faa1cc3ab257692833821fab20f73c
2012-08-08 17:23:48 -07:00
Chiao Cheng
797198bbe0 Updating intellij idegen project template to use jdk 1.6.
Also excluding prebuilt jars from classpath. These include all
previous versions of the android sdk jars. Increased heap size to 800
so google intellij plugin does not complain. Changed default
configuration to use global code style insead of per project code
style.

Change-Id: If97550000fdc282cf6d506eb80b830ff4c1b87b9
2012-06-01 15:27:36 -07:00
Jake Hamby
ad716fc412 Exclude some non-source folders from IntelliJ projects.
Add some excludeFolder lines to android.iml generated by idegen.sh.
This removes a large number of non-Java files that IntelliJ would
otherwise have to stat and parse.

Change-Id: I362711daba6cc0c7ebec761d013c57c27a29d58d
2011-08-09 16:00:35 -07:00
Debajit Ghosh
5f2ff00773 fixing NPE that i see on my Mac when running idegen.sh 2009-09-01 22:20:31 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
e943f2fd8e Code drop from //branches/cupcake/...@124589 2008-12-17 18:04:04 -08:00