Note that there are some explanatory texts on larger screens.

plurals
  1. PONetbeans 7: Why is my edited manifest not being included?
    text
    copied!<p>I have the following target in my <code>build.xml</code>:</p> <pre><code>&lt;target name="-pre-compile"&gt; &lt;property file="build.properties"/&gt; &lt;buildnumber file="build.version"/&gt; &lt;tstamp&gt; &lt;format property="timestamp" pattern="yyyy-MM-dd HH:mm:ss"/&gt; &lt;/tstamp&gt; &lt;manifest file="manifest.mf"&gt; &lt;attribute name="MAJOR" value="${version.major}"/&gt; &lt;attribute name="MINOR" value="${version.minor}"/&gt; &lt;attribute name="RELEASE" value="${release}"/&gt; &lt;attribute name="BUILD" value="${build.number}"/&gt; &lt;attribute name="BUILD-DATE" value="${timestamp}"/&gt; &lt;attribute name="PROTOCOL" value="${protocol}"/&gt; &lt;attribute name="APPCODE" value="${appcode}"/&gt; &lt;/manifest&gt; &lt;/target&gt; </code></pre> <p>It works fine, opening <code>manifest.mf</code> after a Clean and Build within Netbeans shows all my extra attributes that I've added. However, when I open my jar file I see that it just contains the default stuff:</p> <pre><code>Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.2 Created-By: 1.7.0-b147 (Oracle Corporation) </code></pre> <p>I had this working fine before when I had two packages in one project. The one package was all library stuff that I'm gonna be taking to other projects, so I decided to split it out into another project so I could build the library jar by itself. Now I have this problem. It occurs both when I compile the library on its own as well as my other project that depends on it.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload