|
53 | 53 | <antcall target="createDownload" /> |
54 | 54 | </target> |
55 | 55 |
|
56 | | - <target name="Publish TeachingKidsProgramming"> |
57 | | - <property file="properties/teaching_kids_programming.properties" /> |
58 | | - <antcall target="createTeachingKidsProgramming" /> |
59 | | - </target> |
60 | | - |
61 | | - <target name="cleanTeachingKidsProgramming"> |
62 | | - <delete dir="${tkp_project}/bin" failonerror="false" /> |
63 | | - <delete dir="${tkp_project}/src" failonerror="false" /> |
64 | | - <delete dir="${tkp_project}/build" failonerror="false" /> |
65 | | - </target> |
66 | | - |
67 | | - <target name="createTeachingKidsProgramming" depends="cleanTeachingKidsProgramming, buildJarFile"> |
68 | | - <copy file="${build}/TeachingKidsProgramming.jar" todir="${tkp_project}/src/jars" /> |
69 | | - <copy file="${documentation}/build.xml" todir="${tkp_project}/build" /> |
70 | | - <copy todir="${tkp_project}/src" verbose="true"> |
71 | | - <fileset dir="${src}"> |
72 | | - <include name="org/teachingkidsprogramming/**/*.java" /> |
73 | | - <include name="org/teachingkidsprogramming/**/*.docx" /> |
74 | | - <exclude name="**/tests/**" /> |
75 | | - <exclude name="**/completed/**" /> |
76 | | - </fileset> |
77 | | - </copy> |
78 | | - <replace dir="${tkp_project}/src" token="@Ignore" value="" /> |
79 | | - <zip destfile="${build}/tkp_workspace.v${version}.zip" basedir="${tkp_workspace}" includes="**"> |
80 | | - </zip> |
81 | | - </target> |
82 | | - <target name="Publish TKP Launcher"> |
83 | | - <property file="properties/tkplauncher.properties" /> |
84 | | - <antcall target="buildExecutableTkpJarFile" /> |
85 | | - |
86 | | - </target> |
87 | | - <target name="buildExecutableTkpJarFile" depends="compile"> |
88 | | - <jar destfile="${jar}/TKP_Launcher.jar" update="false"> |
89 | | - <fileset dir="${build}" includes="**" /> |
90 | | - <manifest> |
91 | | - <attribute name="Main-Class" value="org.teachingextensions.setup.SetupValidator" /> |
92 | | - </manifest> |
93 | | - </jar> |
94 | | - </target> |
95 | | - <target name="Publish TKP ThumbDriveInstaller"> |
96 | | - <property file="properties/tkplauncher.properties" /> |
97 | | - <antcall target="buildThumbDriveInstaller" /> |
98 | | - |
99 | | - </target> |
100 | | - |
101 | | - <target name="buildThumbDriveInstaller" depends="compile"> |
102 | | - <jar destfile="${jar}/TKP_Installer.jar" update="false"> |
103 | | - <fileset dir="${build}" includes="**" /> |
104 | | - <manifest> |
105 | | - <attribute name="Main-Class" value="org.teachingextensions.setup.ThumbDriveInstaller" /> |
106 | | - </manifest> |
107 | | - </jar> |
108 | | - </target> |
109 | 56 | </project> |
110 | 57 |
|
0 commit comments