<target name="2.manifest" depends="1.compile" description="Make MANIFEST.MF File">
<pathconvert dirsep='${file.separator}' property="full-lib-dir">
<path>
<pathelement path="lib"/>
</path>
</pathconvert>
<echo>full-lib-dir: ${full-lib-dir}</echo>
<pathconvert pathsep=" " dirsep="/" property="manifest-path">
<path>
<fileset dir="lib" includes="*"/>
</path>
<map from="${full-lib-dir}${file.separator}" to=""/>
</pathconvert>
<echo>manifest-path: ${manifest-path}</echo>
<pathconvert pathsep=" " dirsep="/" property="lib-manifest-path">
<path>
<fileset dir="lib" includes="*"/>
</path>
<map from="${full-lib-dir}${file.separator}" to="lib/"/>
</pathconvert>
<echo>lib-manifest-path: ${lib-manifest-path}</echo>
<manifest file="MANIFEST.MF">
<attribute name="Built-By" value="Duk"/>
<attribute name="Class-Path" value=". ${lib-manifest-path}"/>
</manifest>
</target>
'Program > Java' 카테고리의 다른 글
Eclipse Properites Editor (0) | 2012.01.05 |
---|---|
Eclipse - .svn delete (1) | 2012.01.03 |
Compile recursively with javac (1) | 2011.12.30 |
JAVA Eclipse GUI ToolKit (5) | 2011.07.15 |
JAVA Version!! (1) | 2010.08.02 |