java - Making paths in Ant script relative -


i creating ant xml file while generating runnable jar of plugin. having absolute path want make relative. because want add creation of jar hudson job , automate it.

i new ant scripting. me out. few lines in files below.

<target>    <zipfileset excludes="meta-inf/*.sf" src="d:/00tools/catch_plus_1.10.0/eclipse/plugins/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar"/>         <zipfileset excludes="meta-inf/*.sf" src="d:/00tools/tools_1.10.0/eclipse/plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar"/>         <fileset dir="d:/casdev/ffm-mks1/sw-tools-development/tools/plugins/com.xyz.tools.support/bin"/>         <fileset dir="d:/casdev/ffm-mks1/sw-tools-development/tools/plugins/com.xyz.tools.extlib/bin"/>         <zipfileset excludes="meta-inf/*.sf" src="d:/casdev/ffm-mks1/sw-tools-development/tools/plugins/com.xyz.tools.extlib/core/dbloggerclient.jar"/>  </target> 

i want relative hudson job.

set optional ${basedir} property of project element , put paths in relative basedir. besides, use check properties.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -