Can Ant build a script to reference the Eclipse plugin folder without full path information?

I could use the following:

<fileset dir="C:\Program Files\eclipse\plugins\myplugin">
    <include name="extraStuff.jar" />
</fileset>

      

But this breaks the build file on another PC that didn't have eclipse installed in the default folder.

In my case, I cannot use baseir without hard folder references.

Is there a shortcut to the eclipse install folder that I can use from ant in eclipse?

+1


source to share


1 answer


You can use getOuputPath. Check it out .



+4


source







All Articles