I’m doing plugin development but none of classes will have a main. So without hard coding a path to my java directory how do i go about doing this?
I currently do this hack job
<property name="jdk.home.1.6" value="C:/Program Files/Java/jdk1.6.0_22"/>
and build upon that.
You have built-in properties in ant: http://www.roseindia.net/tutorials/ant/findHomePath.shtml
That mean you can use:
HIH