netbeans6.7

Netbeans manifest

不问归期 提交于 2019-11-30 01:45:02
Is it possible to add entries to the manifest.mf file of jars generated by netbeans? to build an osgi bundle for instance. Note that you can create a manifest on-the-fly via an ant task and set properties dynamically. First, you must update your Netbeans "project.properties" file found in the "nbproject" directory. Add the following line to the file: manifest.file=manifest.mf Next, create an ant task to create/update the manifest using the "build.xml" file. In this example, we will set the version number and date of the jar file. <target name="-pre-init"> <property name="project.name" value=

Netbeans manifest

可紊 提交于 2019-11-28 23:15:33
问题 Is it possible to add entries to the manifest.mf file of jars generated by netbeans? to build an osgi bundle for instance. 回答1: Note that you can create a manifest on-the-fly via an ant task and set properties dynamically. First, you must update your Netbeans "project.properties" file found in the "nbproject" directory. Add the following line to the file: manifest.file=manifest.mf Next, create an ant task to create/update the manifest using the "build.xml" file. In this example, we will set