pedro-w commented on issue #7057:
URL: https://github.com/apache/netbeans/issues/7057#issuecomment-1938499339

   Example Ant build file for testing
   ```
   <project default="jar">
   
       <target name="clean">
           <delete dir="build"/>
       </target>
   
       <target name="compile">
           <mkdir dir="build/classes"/>
           <javac srcdir="src" destdir="build/classes"/>
       </target>
   
       <target name="jar" depends="compile">
           <mkdir dir="build/jar"/>
           <jar destfile="build/jar/HelloWorld.jar" basedir="build/classes">
               <manifest>
                   <attribute name="Main-Class" value="oata.HelloWorld"/>
               </manifest>
           </jar>
       </target>
   
       <target name="run" depends="jar">
           <java jar="build/jar/HelloWorld.jar" fork="true"/>
       </target>
   
   </project>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to