• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

data/23-Mar-2024-393389

idea/23-Mar-2024-719554

lib/23-Mar-2024-12,59910,034

project/23-Mar-2024-597503

sdk/23-Mar-2024-947765

test_data/23-Mar-2024-492345

vscode/23-Mar-2024-413286

.coveragercD23-Mar-2024315 1914

Android.bpD23-Mar-20242.1 KiB9690

CleanSpec.mkD23-Mar-20242.4 KiB542

README.mdD23-Mar-20242.2 KiB6445

__init__.pyD23-Mar-20240 10

aidegen_main.pyD23-Mar-202417.3 KiB478398

aidegen_main_unittest.pyD23-Mar-202420.3 KiB471412

aidegen_run_unittests.pyD23-Mar-20242.2 KiB6838

aidegen_unittests.xmlD23-Mar-20241,016 218

constant.pyD23-Mar-20244.6 KiB170109

run_tests.shD23-Mar-20242.9 KiB9868

templates.pyD23-Mar-202416.4 KiB447389

unittest_constants.pyD23-Mar-20242.9 KiB9874

README.md

1AIDEgen aims to automate the project setup process for developers to work on
2Java project in popular IDE environment. Developers no longer need to
3manually configure an IntelliJ project, such as all the project dependencies.
4It's a **command line tool** that offers the following features:
5
6* Configure Intellij or Android Studio project files with the relevant module
7  dependencies resolved.
8
9* Launch IDE for a specified sub-project or build target, i.e. frameworks/base
10  or Settings.
11
12* Launch IDE for a specified folder which contains build targets, i.e. cts.
13
14* Auto configure JDK and Android coding style for Intellij.
15
16## 1. Prerequisites:
17
18    IDE installed and run $ '. build/envsetup.sh && lunch' under Android source
19    root folder.
20
21## 2. Execution:
22
23    $ 'aidegen <module_name>... <module_path>...'
24      Example to generate and launch IntelliJ project for framework and
25      Settings:
26        $ aidegen Settings framework
27        $ aidegen packages/apps/Settings frameworks/base
28        $ aidegen packages/apps/Settings framework
29
30    $ 'aidegen <module> -i s'
31      Example to generate and launch Android Studio project for framework:
32        $ aidegen framework -i s
33
34## 3. More argument:
35
36    $ aidegen --help
37
38## 4. FAQ:
39
40    1. Q: If I already have an IDE project file, and I run command AIDEGen to
41          generate the same project file again, what’ll happen?
42       A: The former IDEA project file will be overwritten by the newly
43          generated one from the aidegen command.
44
45    2. Q: When do I need to re-run AIDEGen?
46       A: Re-run AIDEGen after repo sync.
47
48    3. Q: Does AIDEGen support debug log dump?
49       A: Use aidegen -v to get more debug information.
50
51    4. Q: After the aidegen command run locally, if there’s no IDEA with
52          project shown up, what can I do ?
53       A: Basic steps to do troubleshooting:
54          - Make sure development environment is set up, please refer to
55            prerequisites section.
56          - Check error message in the aidegen command output.
57
58# Hint
59    1. In Intellij, uses [File] > [Invalidate Caches / Restart…] to force
60       project panel updated when your IDE didn't sync.
61
62    2. If you run aidegen on a remote desktop, make sure there is no IntelliJ
63       running in a different desktop session.
64