Your preferences have been saved!
» Add attribute to jar file manifest - <?xml version="1.0" encoding="UTF-8"?> <project name="Amateur" default="compile" basedir=".">          <!-- ???? need a help target -->          <property name="JUNIT_HOME" value="/Applications/eclipse/plugins/org.junit_3.8.1"/>     <property name="QTJava" value="/System/Library/Java/Extensions/QTJava.zip"/>     <taskdef name="jarbundler"              classpath="lib/jarbundler-1.8.1.jar"              classname="net.sourceforge.jarbundler.JarBundler" /> ... 16 Feb 12 » More than one filesets for jar - <!--   About this file (build.xml):   Last modified 2001-11-30   Author        Matthias Beil   Contributor   Guillaume Desnoix   License       GNU General Public License 2 (GPL2)                 Copyright (c) 2001 Matthias Beil                 All rights reserved. --> <!--  -->... 16 Feb 12 » Jar file: exclude files - <?xml version="1.0"?> <project name="yourname" basedir=".." default="all">   <property name="dist" location="dist/"/>    <property name="lib" location="lib/"/>    <property name="src" location="src/"/>    <path id="class.path">     <pathelement path="${src}"/>      <fileset dir="${lib}">       <include name="**/*.jar"/>       <include name="**/*.zip"/>... 16 Feb 12 » Jar file with fileset and exclude - <?xml version="1.0"?> <!--  -  build.xml file for LBS logics aMorph build process (for Ant Version 1.6)  -  -  (c) LBS logics MBT GmbH,  -      Austria  -      www.lbs-logics.com  -  - $Id: build.xml,v 1.1 2005/01/18 07:26:05 hanzz Exp $  -->... 16 Feb 12 » Ant jar file setting the Main-Class - <project name="YourName" default="all">   <target name="all" depends="init,clean,compile,createJars,copyBuild" >   </target>   <target name="init" description="Project">     <property environment="env" />     <property name="j2sdkApi" value="${env.JAVA_HOME}/jre/lib/rt.jar" />       <property name="src" value="./src" />     <property name="build" value= "./build" />   </target>   <target name="clean" description="build" depends="init">... 16 Feb 12 » Generates java2s.jar - <?xml version="1.0"?> <project name="Template Buildfile" default="compile" basedir=".">   <property name="dir.src" value="src"/>   <property name="dir.build" value="build"/>   <property name="dir.dist" value="dist"/>   <!-- Creates the output directories -->   <target name="prepare">     <mkdir dir="${dir.build}"/>     <mkdir dir="${dir.dist}"/>   </target>... 16 Feb 12 » Jar with includes and excludes - <?xml version="1.0"?> <project name="JAR Demos" default="jar1" basedir=".">   <property name="dir.src" value="src"/>   <property name="dir.build" value="build"/>   <property name="dir.dist" value="dist"/>   <!-- Creates the output directories -->   <target name="prepare">     <mkdir dir="${dir.build}"/>     <mkdir dir="${dir.dist}"/>   </target>... 16 Feb 12 » Jar with includes and excludes using filesets - <?xml version="1.0"?> <project name="JAR Demos" default="jar1" basedir=".">   <property name="dir.src" value="src"/>   <property name="dir.build" value="build"/>   <property name="dir.dist" value="dist"/>   <!-- Creates the output directories -->   <target name="prepare">     <mkdir dir="${dir.build}"/>     <mkdir dir="${dir.dist}"/>   </target>... 16 Feb 12 » Ant task: jar - <?xml version="1.0"?> <project name="sample" default="test" basedir=".">     <!--  NOTE: THE FOLLOWING LINES SHOULD BE EDITED FOR YOUR PROJECT:  -->     <property name="root.project.name" value="demo2"/>     <property name="test.class" value="test.TestSample"/>    <!-- NOTE: THE REST OF THIS FILE CAN PROBABLY REMAIN UNCHANGED FOR YOUR NEW PROJECTS -->    <property name="jar.module" value="${root.project.name}.jar"/>     <path id="test.classpath">         <pathelement location="dist/${jar.module}"/>         <pathelement location="dist/test.jar"/>... 16 Feb 12