Skip to content

Commit

Permalink
Updating build.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Jul 15, 2020
1 parent 0545603 commit f4cf166
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 9 deletions.
3 changes: 1 addition & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
The LUWRAIN project
Please visit http:https://luwrain.org/doc/authors/ to get the complete list of our developers
The LUWRAIN project, please visit http:https://luwrain.org/doc/authors/ to get the complete list of our developers
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

# JavaFX-based front-end

This repository is a part of the LUWRAIN project.

LUWRAIN is a platform for the creation of apps for the blind and partially-sighted.
It provides a Java API for constructing highly-distributable apps
with the user interface adjusted to the perception of blind people.
Please visit [luwrain.org](http:https://luwrain.org/?lang=en) for further information.
48 changes: 42 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,65 @@
<project name="luwrain-interaction-javafx" default="jar" basedir=".">
<path id="classpath">
<pathelement location="."/>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
<fileset dir="../lib"><include name="**/*.jar"/></fileset>
<fileset dir="../base/jar"><include name="**/*.jar"/></fileset>
<fileset dir="../luwrain/jar"><include name="**/*.jar"/></fileset>
</path>
<path id="mainjar">
<pathelement location="."/>
<fileset dir="jar"><include name="**/*.jar"/></fileset>
</path>
<target name="clean">
<delete dir="build"/>
<delete dir="jar"/>
</target>
<target name="compile" depends="clean">
<mkdir dir="build"/>
<javac srcdir="src/main/java" destdir="build" source="1.8" target="1.8" debug="true" debuglevel="lines,vars,source">
<mkdir dir="build/main"/>
<javac srcdir="src/main/java" destdir="build/main" source="1.8" target="1.8">
<classpath refid="classpath"/>
</javac>
</target>
<target name="jar" depends="compile">
<mkdir dir="jar"/>
<jar jarfile="jar/luwrain-interaction-javafx.jar">
<fileset dir="./build">
<fileset dir="./build/main">
<include name="**/*.class"/>
</fileset>
<fileset dir="./src/main/resources">
<include name="**/*.js"/>
<include name="**/*.js"/>
</fileset>
</jar>
</target>
<target name="compile-test" depends="jar">
<mkdir dir="build"/>
<mkdir dir="build/test"/>
<javac srcdir="src/test/java" destdir="build/test" source="1.8" target="1.8">
<classpath>
<path refid="classpath"/>
<path refid="mainjar"/>
</classpath>
</javac>
</target>
<target name="jar-test" depends="compile-test">
<jar jarfile="jar/luwrain-interaction-javafx-test.jar">
<fileset dir="./build/test">
<include name="**/*.class"/>
</fileset>
</jar>
</target>
<target name="junit" depends="jar-test">
<junit printsummary="withOutAndErr">
<classpath>
<path refid="classpath"/>
<path refid="mainjar"/>
</classpath>
<formatter type="xml" usefile="true" />
<batchtest fork="yes">
<fileset dir="build/test">
<include name="**/*Test.class"/>
</fileset>
</batchtest>
</junit>
</target>
</project>

0 comments on commit f4cf166

Please sign in to comment.