Closed Bug 989510 Opened 11 years ago Closed 11 years ago

Enhance ant build script with configurable keystore location

Categories

(Marketplace Graveyard :: Integration, defect)

Avenir
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ozten, Unassigned)

References

Details

We found in Bug#989041 that when we run `ant debug` ant tries to create and write $ANDROID_SDK_HOME/.android/debug.keystore From an operational perspective, we need this debug keystore location to be configurable. 1) Add DEBUG_KEYSTORE_PATH to configs 2) Update lib/apk_project_builder.js or other files to use this 3) Update apk-factory-library as needed
I've tried to figure out how to change the ant debug script, but am flailing. Calling in Java wizards. I've started a branch with #1 and part of #2 done. https://github.com/mozilla/apk-factory-service/tree/bug-989510-ant-debug-configurable-keystore I need help with #3.
Blocks: 989041
Via IRC: blassey: ozten: should just be key.store in your ant.properties just put an ant.properties next to your project.properties it overrides the defaults It turns out that ant `release` does pick up changes to ant.properties, but `ant debug` does not. This makes me think that `keystore` is not used during `ant debug`. Other notes: On my machine, I had a debug.keystore in /home/ozten/.android/ On my machine, I do not have ANDROID_SDK_HOME set, but it isn't an issue. I see in the build script where it sets it to ANDROID_HOME if it isn't present. I deleted my debug.keystore and it doesn't get regenerated.
Blocks: 991308
No longer blocks: 991308
debug doesn't actually need a keystore. Closing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.