Professional Documents
Culture Documents
Laboratory work №1
Discipline: «Software engineering»
Theme: «Preparation of programmatic project»
EXECUTED:
Student of second course
FICE group IO-11
Volodin Valerii
Number of Student book - 1105
Variant – 7
CHECKED:
Associate Professor
Department of Computer Engineerin
PhD, SRS
Antoniuk A.I.
Kyiv - 2022
TASK
Task variant 7.
To delete from the root of project all files with expansion of jar. To pack in a
jar project all project in addition, that is contained in the directory of out.
PROGRAM CODE
<project name="Template" default="compile" basedir=".">
<javac srcdir="${sourceDir}"
destdir="${buildDir}/output"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
target="1.8"
source="1.8">
<classpath refid="compile.classpath"/>
</javac>
<copy todir="${buildDir}/output">
<fileset dir="${sourceDir}" excludes="**/*.java"/>
</copy>
</target>
<jar destfile="build/hodgepodge.jar">
<fileset dir="${basedir}">
<exclude name="**/out"/>
</fileset>
</jar>
</target>
</project>
CONCLUSIONS