Download NetBeans!

20050609 Thursday June 09, 2005

Generate System Properties Ant File in NetBeans IDE 4.1

This is a pretty cool target:

<target name = "echoprops" description = "echoprops">
  <echoproperties destfile="my.properties"/>
</target>

It creates an Ant properties file containing all the current system properties. Then I can look through the system properties and see if I can use any of them in other Ant targets. You have a lot more system properties than you think! Run the above target and see for yourself.

Jun 09 2005, 05:04:42 AM PDT Permalink