A:
This is the answer that you want:
If theres any way you could make it into one page it would make things easier but thats you problem to solve.
Q:
Unable to create ant project with custom property file
I'm trying to create a custom build file using Ant which is being created in a Intellij project. I want to provide a custom configuration property file which has custom properties being used by the build process.
The build script is being generated using maven-ant-plugin and I have added the following to my build.xml
I have a property file under src/main/resources named config.properties with the following content
treat_as_error=true
But when I execute the mvn compile command I see the following error
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building My Application 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-ant-plugin:2.1.1:properties (default-cli) @ MyApp ---
[INFO] Reading /home/android/Src/MyApplication/target/ant/config.properties
[INFO] My Application 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.272s
[INFO] Finished at: Fri May 15 21:07:12 IST 2016
[INFO] Final Memory: 12M/187M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-ant-plugin:2.1.1:properties (default-cli) on project MyApplication: Could not read resources: Could not open input stream from /home/android ac619d1d87
Related links: