<failunless="platform.home">Must set platform.home</fail>
<failunless="platform.bootcp">Must set platform.bootcp</fail>
<failunless="platform.java">Must set platform.java</fail>
<failunless="platform.javac">Must set platform.javac</fail>
<failif="platform.invalid">
The J2SE Platform is not correctly set up.
Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files.
Either open the project in the IDE and setup the Platform with the same name or add it manually.
For example like this:
ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file)
or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used)