ANT global properties file in Intellij IDEA?

How to set a global properties file to contain specific properties that were allowed during ANT assembly in Intelliji IDEA?

In Eclipse, I can do this on the "Properties" tab in the "Window / Preferences / Ant / Runtime" configuration.

How can I install this in Intellij IDEA 9 or 10?

+3
source share
2 answers

IDEA allows you to specify custom properties for the build script, but not through the file:

, , script. , -D . "-". .

, build.xml:

+3

Ant build script (View > Tool Windows > Terminal). ant , : <property file="./resources/build.properties" />.

0

Source: https://habr.com/ru/post/1786148/


All Articles