- add main class to jar manifest

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@213 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
schlaepfer
2006-11-28 07:41:09 +00:00
parent 74647ec42f
commit f75cd0ff5f
2 changed files with 6 additions and 4 deletions

View File

@@ -22,9 +22,9 @@
<include name="**/usb/**/*.class" />
<exclude name="**/test/*" />
</patternset>
<patternset id="configfiles">
<include name="**/*.configure"/>
<include name="**/*.configure" />
</patternset>
<target name="clean" description="--> Clean all folders">
@@ -50,6 +50,7 @@
</fileset>
<manifest>
<attribute name="Built-By" value="${user.name}" />
<attribute name="Main-Class" value="${project.manifest.mainclass}" />
<section name="common">
<attribute name="Implementation-Title" value="${project.name}" />
<attribute name="Implementation-Version" value="${version.major}.${version.minor}.${version.release} ${TODAY}" />

View File

@@ -6,5 +6,6 @@ project.dir.bin=bin
project.dir.lib=lib
project.dir.doc=doc
project.jarfile=${project.name}.jar
project.server.dir.doc=W:/inf/infoportalExternalDocs/projects/libusbWinJava/doc
project.server.dir.bin=W:/inf/infoportalExternalDocs/projects/libusbWinJava/bin
project.manifest.mainclass=ch.ntb.usb.usbView.UsbView
project.server.dir.doc=W:/inf/infoportalExternalDocs/projects/libusbJava/doc
project.server.dir.bin=W:/inf/infoportalExternalDocs/projects/libusbJava/bin