Notifications
Clear all

[Solved] "ant recreate-local-props" Doesn't Create local.properties Files

1 Posts
1 Users
0 Reactions
1,631 Views
0
Topic starter

A developer ran the "ant recreate-local-props" target from the root directory of a project after syncing/pull from the source code repo.

This should create a local.properties file in each module, dataset, or EPT. However, these files did not get created.

The following text was displayed in the Ant Dos console:

init-build:
[script] Installer Build

get-binary-web-server-name:

init-jdk:

create-studio-dir:

create-local-props:

binary-update-local-props:

init:

update-local-props:
[script] studioFolder == None

recreate-local-props:

BUILD SUCCESSFUL
Total time: 13 seconds

What is needed to get the local.properties files to generate?

1 Answer
0
Topic starter

In this case the developer manually cloned the module, dataset, and EPT into the project.

When doing this manually (as opposed to bootstrapping them in), the developer should edit the .spec file.
Add the module, dataset, and EPT elements to the spec file using a text editor.
Then run the "ant recreate-local-props" target in Ant Dos to generate the local.properties files.