MANIFEST issue - JAR package
<p>I'm using JDK 1.5 and IntelJ 8.1.4 on window XP, and using Ant to build and generate my .jar pachage. The problem is, the MANIFEST.MF of .jar package file doesn't have Main-Class and path information. Here is the info of MANIFEST.MF:</p>

<hr>

<p>Manifest-Version: 1.0</p>

<p>Ant-Version: Apache Ant 1.7.1</p>

<p>Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.)</p>

<hr>

<p>Here is the iws file of my project, it does have the main class:</p>

<hr>

<pre><code>&lt;configuration default="true" type="Application" factoryName="Application" enabled="false" merge="false" sample_coverage="true" runner="emma"&gt;
  &lt;option name="MAIN_CLASS_NAME" value="cms.client.gui.CMT" /&gt;
  &lt;option name="VM_PARAMETERS" value="" /&gt;
  &lt;option name="PROGRAM_PARAMETERS" value="" /&gt;
  &lt;option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" /&gt;
  &lt;option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /&gt;
  &lt;option name="ALTERNATIVE_JRE_PATH" value="" /&gt;
  &lt;option name="ENABLE_SWING_INSPECTOR" value="false" /&gt;
  &lt;option name="ENV_VARIABLES" /&gt;
  &lt;option name="PASS_PARENT_ENVS" value="true" /&gt;
  &lt;module name="" /&gt;
  &lt;envs /&gt;
  &lt;method&gt;
    &lt;option name="Make" value="true" /&gt;
  &lt;/method&gt;
&lt;/configuration&gt;
</code></pre>

<hr>

<p>Any comments?</p>
