1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-09 23:30:59 +00:00
plantuml/build.xml

102 lines
3.3 KiB
XML
Raw Normal View History

2010-11-15 20:35:36 +00:00
<!--
========================================================================
PlantUML : a free UML diagram generator
========================================================================
2016-11-18 21:12:09 +00:00
(C) Copyright 2009-2017, Arnaud Roques
2010-11-15 20:35:36 +00:00
Project Info: http://plantuml.sourceforge.net
This file is part of PlantUML.
2013-12-10 21:35:39 +00:00
2010-11-15 20:35:36 +00:00
Original Author: Arnaud Roques
Script Author: Ilya V. Paramonov
-->
<project name="PlantUML" default="dist" basedir=".">
<description>
PlantUML Build File
</description>
<target name="compile">
<delete dir="build" />
<mkdir dir="build" />
2021-03-23 17:14:35 +00:00
<javac target="1.7" source="1.7" srcdir="src" destdir="build" debug="on" />
2010-11-15 20:35:36 +00:00
<copy file="src/net/sourceforge/plantuml/version/logo.png"
todir="build/net/sourceforge/plantuml/version" />
2013-12-10 21:35:39 +00:00
<copy file="src/net/sourceforge/plantuml/version/favicon.png"
todir="build/net/sourceforge/plantuml/version" />
2015-04-07 18:18:37 +00:00
<copy todir="build/net/sourceforge/plantuml/version">
<fileset dir="src/net/sourceforge/plantuml/version">
<include name="*.png" />
</fileset>
</copy>
<copy todir="build/net/sourceforge/plantuml/openiconic/data">
<fileset dir="src/net/sourceforge/plantuml/openiconic/data">
<include name="*.txt" />
<include name="*.svg" />
</fileset>
</copy>
<copy todir="build/net/sourceforge/plantuml/fun">
<fileset dir="src/net/sourceforge/plantuml/fun">
<include name="*.png" />
</fileset>
</copy>
2016-04-22 20:36:08 +00:00
<copy todir="build/sprites/archimate">
<fileset dir="src/sprites/archimate">
<include name="*.png" />
</fileset>
</copy>
<copy todir="build/net/sourceforge/plantuml/dedication">
<fileset dir="src/net/sourceforge/plantuml/dedication">
<include name="*.png" />
</fileset>
</copy>
2016-11-18 21:12:09 +00:00
<copy todir="build/net/sourceforge/plantuml/math">
<fileset dir="src/net/sourceforge/plantuml/math">
<include name="*.js" />
</fileset>
</copy>
2020-12-01 21:39:27 +00:00
<copy todir="build/net/sourceforge/plantuml/utils">
<fileset dir="src/net/sourceforge/plantuml/utils">
<include name="*.txt" />
</fileset>
</copy>
<copy todir="build/net/sourceforge/plantuml/windowsdot">
<fileset dir="src/net/sourceforge/plantuml/windowsdot">
<include name="*.dat" />
</fileset>
</copy>
2017-10-07 09:46:53 +00:00
<copy todir="build/stdlib">
<fileset dir="stdlib">
2017-12-11 21:02:10 +00:00
<include name="**/*.repx" />
2017-10-07 09:46:53 +00:00
</fileset>
</copy>
2019-07-14 20:09:26 +00:00
<copy todir="build/skin">
<fileset dir="skin">
<include name="**/*.skin" />
</fileset>
</copy>
<copy todir="build/svg">
<fileset dir="svg">
<include name="**/*.js" />
<include name="**/*.css" />
</fileset>
</copy>
2010-11-15 20:35:36 +00:00
</target>
<target name="dist" depends="compile">
<delete dir="dist" />
<mkdir dir="dist" />
<jar jarfile="plantuml.jar" basedir="build">
<manifest>
2021-01-10 20:52:19 +00:00
<attribute name="Automatic-Module-Name" value="net.sourceforge.plantuml" />
2010-11-15 20:35:36 +00:00
<attribute name="Main-Class" value="net.sourceforge.plantuml.Run" />
2019-03-29 22:14:07 +00:00
<attribute name="Class-Path" value="avalon-framework-4.2.0.jar batik-all-1.7.jar commons-io-1.3.1.jar commons-logging-1.0.4.jar fop.jar xml-apis-ext-1.3.04.jar xmlgraphics-commons-1.4.jar jlatexmath-minimal-1.0.3.jar jlm_cyrillic.jar jlm_greek.jar vizjs.jar j2v8_win32_x86_64-3.1.6.jar j2v8_linux_x86_64-3.1.6.jar j2v8_macosx_x86_64-3.1.6.jar ditaa0_9.jar" />
2010-11-15 20:35:36 +00:00
</manifest>
</jar>
<delete dir="build" />
<delete dir="dist" />
</target>
</project>