ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abbey Sparrow <>
Subject Relative classpaths for a manifest
Date Sun, 06 Mar 2005 08:01:15 GMT
I am currently jumping through a couple of hoops in order to get 
relative classpaths in my manifest:

	<!-- Set Classpath -->
	<path id="project.class.path" >
         <fileset dir="${thirdPartyLibraries}">
             <include name="**/*.jar"/>
         <pathelement location="${libraries}/Apollo.jar"/>
         <pathelement location="${libraries}/Sphinx.jar"/>
         <pathelement location="${libraries}/JSphinx.jar"/>
         <pathelement location="${libraries}/JHotep.jar"/>
         <pathelement location="${libraries}/JCereal.jar"/>

     <!-- Make Classpath Relative -->
     <path id="root.path">
         <pathelement path="${antRoot}"/>
     <record name="cp.txt" action="start" emacsmode="true" />
     <record name="cp.txt" action="stop"/>
     <loadfile property="classpath" srcFile="cp.txt"/>

Is this the only way to do this, or is there some other, better method 
I am missing?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message