| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,43 +5,43 @@ | |||
| 5 | 5 | ||
| 6 | 6 | <!-- Where can I expect to find Java Mode JARs? --> | |
| 7 | 7 | <property name="java.mode" value="../../java/mode/" /> | |
| 8 | - | ||
| 8 | + | ||
| 9 | 9 | <!-- Check for JDT compiler, since this is likely a PDE build. Using | |
| 10 | - it allows us to build the PDE with only a JRE on Windows and Linux. | ||
| 11 | - So that the core can be built independently of the PDE, | ||
| 12 | - use javac (the "modern" compiler) if ecj is not present. --> | ||
| 10 | + it allows us to build the PDE with only a JRE on Windows and Linux. | ||
| 11 | + So that the core can be built independently of the PDE, | ||
| 12 | + use javac (the "modern" compiler) if ecj is not present. --> | ||
| 13 | 13 | <property name="jdt.jar" value="${java.mode}/org.eclipse.jdt.core.jar" /> | |
| 14 | - <condition property="build.compiler" | ||
| 15 | - value="org.eclipse.jdt.core.JDTCompilerAdapter" | ||
| 16 | - else="modern"> | ||
| 14 | + <condition property="build.compiler" | ||
| 15 | + value="org.eclipse.jdt.core.JDTCompilerAdapter" | ||
| 16 | + else="modern"> | ||
| 17 | 17 | <available file="${jdt.jar}" /> | |
| 18 | 18 | </condition> | |
| 19 | 19 | <!--<echo message="compiler is ${build.compiler}" />--> | |
| 20 | 20 | ||
| 21 | 21 | <javac source="1.8" | |
| 22 | - target="1.8" | ||
| 23 | - srcdir="src" | ||
| 24 | - destdir="bin" | ||
| 25 | - debug="true" | ||
| 26 | - includeantruntime="true" | ||
| 27 | - nowarn="true"> | ||
| 22 | + target="1.8" | ||
| 23 | + srcdir="src" | ||
| 24 | + destdir="bin" | ||
| 25 | + debug="true" | ||
| 26 | + includeantruntime="true" | ||
| 27 | + nowarn="true"> | ||
| 28 | 28 | <!-- kinda gross, but if not using the JDT, this just ignored anyway --> | |
| 29 | 29 | <compilerclasspath path="${jdt.jar}; ${java.mode}/jdtCompilerAdapter.jar" /> | |
| 30 | 30 | </javac> | |
| 31 | 31 | </target> | |
| 32 | - | ||
| 32 | + | ||
| 33 | 33 | <target name="dist" depends="compile"> | |
| 34 | 34 | <jar basedir="bin" destfile="downloader.jar" /> | |
| 35 | 35 | </target> | |
| 36 | - | ||
| 36 | + | ||
| 37 | 37 | <target name="demo" depends="dist"> | |
| 38 | - <taskdef name="downloader" | ||
| 39 | - classname="Downloader" | ||
| 40 | - classpath="downloader.jar" /> | ||
| 41 | - <downloader version="8" update="31" build="13" | ||
| 38 | + <taskdef name="downloader" | ||
| 39 | + classname="Downloader" | ||
| 40 | + classpath="downloader.jar" /> | ||
| 41 | + <downloader version="8" update="31" build="13" | ||
| 42 | 42 | jdk="true" flavor="macosx-x64.dmg" /> | |
| 43 | 43 | </target> | |
| 44 | - | ||
| 44 | + | ||
| 45 | 45 | <target name="clean"> | |
| 46 | 46 | <delete dir="bin" /> | |
| 47 | 47 | <delete file="downloader.jar" /> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments