This question is very similar to What do I do when an answer solves my problem but doesn't answer my question? but slightly different.
In this case, I've arrived to How to set Ant properties based on variables in Eclipse? through a Google search. One of the answers solves my problem, but hasn't addressed the question that was initially raised.
Do I upvote the answer that helped me, even though it's already been pointed out that the answer wasn't helpful to the person asking? Is there something else I should do also/instead?
I don't currently have enough reputation to post a comment myself.