Let's say my basedir = c:/projects/myapp/1.2
How can I get "1.2" in a property?
Check this out.
<basename property="property.for.dirname" file="${basedir}"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With