$ANT_OPTS to Ant Build
When I run my Apache Ant build outside of IDEA, I must have a particular property set (-Dscala.home=/opt/scala) in the $ANT_OPTS environment variable to run successfully. How do I achieve the same thing (i.e. passing options to the JVM when starting ant) from within the IntelliJ IDEA Ant Build runner? I have tried setting a property in the Ant Build Properties dialog and also passing -Dscala.home=/opt/scala in the "Ant command line" section under Execution to no avail.
I am ultimately trying to ditch Eclipse for Scala development and if I can just solve this last one problem... ;)
Tips are appreciated.
请先登录再写评论。
Hello Tony,
Not a tip, sorry, just JIRA reference: http://www.jetbrains.net/jira/browse/IDEADEV-3663.
Alexander.