Compare commits

...

1 Commits
master ... opi3

Author SHA1 Message Date
bbd9fe6b34
ant 2025-06-22 20:00:09 +03:00
59 changed files with 264 additions and 708 deletions

6
.idea/ant.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AntConfiguration">
<buildFile url="file://$PROJECT_DIR$/build.xml" />
</component>
</project>

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
</component>
</project>

View File

@ -1,14 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="graalvm-ce-17" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="temurin-21" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View File

@ -1,124 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

Binary file not shown.

View File

@ -1,2 +0,0 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar

11
build.properties Normal file
View File

@ -0,0 +1,11 @@
src.dir=src/main/java
res.dir=src/main/resources
web.dir=src/main/webapp
test.dir=src/test/java
build.dir=build
dist.dir=dist
lib.dir=lib
war.name=jsf.war
history.script=history.sh
history.diff.file=history.diff

75
build.xml Normal file
View File

@ -0,0 +1,75 @@
<project name="jsf" default="build" basedir=".">
<property file="build.properties"/>
<target name="prepare">
<mkdir dir="${build.dir}"/>
<mkdir dir="${dist.dir}"/>
</target>
<target name="clean">
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}"/>
</target>
<target name="compile" depends="prepare">
<javac srcdir="${src.dir}" destdir="${build.dir}" includeantruntime="false" source="17" target="17">
<classpath>
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</classpath>
</javac>
<copy todir="${build.dir}">
<fileset dir="${res.dir}"/>
</copy>
</target>
<target name="build" depends="compile">
<war destfile="${dist.dir}/${war.name}" webxml="${web.dir}/WEB-INF/web.xml" manifest="src/main/resources/META-INF/MANIFEST.MF">
<fileset dir="${web.dir}">
<exclude name="WEB-INF/web.xml"/>
</fileset>
<lib dir="${lib.dir}"/>
<classes dir="${build.dir}"/>
</war>
</target>
<target name="compile-tests" depends="compile">
<mkdir dir="${build.dir}/test-classes"/>
<javac srcdir="${test.dir}" destdir="${build.dir}/test-classes" includeantruntime="false" source="17" target="17">
<classpath>
<pathelement path="${build.dir}"/>
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</classpath>
</javac>
</target>
<target name="test" depends="compile-tests">
<mkdir dir="test-reports"/>
<junit printsummary="yes" haltonfailure="yes" fork="true">
<classpath>
<pathelement path="${build.dir}/test-classes"/>
<pathelement path="${build.dir}"/>
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</classpath>
<batchtest todir="test-reports">
<fileset dir="${test.dir}" includes="**/*Test.java"/>
</batchtest>
<formatter type="plain"/>
<formatter type="xml"/>
</junit>
</target>
<target name="xml">
<xmlvalidate lenient="true" failonerror="yes">
<fileset dir="." includes="**/*.xml" />
</xmlvalidate>
</target>
<target name="history">
<antcall target="clean" />
<exec executable="bash">
<env key="DIFF_FILE" value="${history.diff.file}"/>
<arg value="${history.script}"/>
</exec>
</target>
</project>

37
history.sh Normal file
View File

@ -0,0 +1,37 @@
#!/usr/bin/env bash
set -euo pipefail
DIFF_FILE="${DIFF_FILE:-history.diff}"
ORIG_HEAD="$(git rev-parse HEAD)"
BROKEN_COMMIT=""
ANT_TARGET="${ANT_TARGET:-compile}"
while true; do
echo "[history.sh] Trying to build commit $(git rev-parse --short HEAD)"
if ant -q "${ANT_TARGET}"; then
echo "[history.sh] Build succeeded on commit $(git rev-parse --short HEAD)"
break
fi
if [[ -z "${BROKEN_COMMIT}" ]]; then
BROKEN_COMMIT="$(git rev-parse HEAD)"
fi
if [[ "$(git rev-list --count HEAD)" -eq 1 ]]; then
echo "[history.sh] Reached the first commit without a successful build. Aborting."
exit 1
fi
git reset --hard HEAD^
done
if [[ -n "${BROKEN_COMMIT}" ]]; then
echo "[history.sh] Saving diff between working HEAD and first broken commit ${BROKEN_COMMIT:0:7} -> ${DIFF_FILE}"
git diff HEAD "${BROKEN_COMMIT}" > "${DIFF_FILE}"
fi
exit 0

Binary file not shown.

BIN
lib/ant-contrib-1.0b2.jar Normal file

Binary file not shown.

BIN
lib/ant-contrib-1.0b3.jar Normal file

Binary file not shown.

BIN
lib/checker-qual-3.48.3.jar Normal file

Binary file not shown.

BIN
lib/eclipselink-4.0.5.jar Normal file

Binary file not shown.

BIN
lib/hamcrest-core-1.3.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/jaxb-core-4.0.5.jar Normal file

Binary file not shown.

BIN
lib/jaxb-runtime-4.0.5.jar Normal file

Binary file not shown.

BIN
lib/jaxb-xjc-4.0.5.jar Normal file

Binary file not shown.

BIN
lib/js-22.3.1.jar Normal file

Binary file not shown.

Binary file not shown.

BIN
lib/junit-4.13.2.jar Normal file

Binary file not shown.

BIN
lib/postgresql-42.7.5.jar Normal file

Binary file not shown.

Binary file not shown.

BIN
lib/txw2-4.0.5.jar Normal file

Binary file not shown.

316
mvnw vendored
View File

@ -1,316 +0,0 @@
#!/bin/sh
# ----------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Maven Start Up Batch script
#
# Required ENV vars:
# ------------------
# JAVA_HOME - location of a JDK home dir
#
# Optional ENV vars
# -----------------
# M2_HOME - location of maven2's installed home dir
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
# e.g. to debug Maven itself, use
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
# ----------------------------------------------------------------------------
if [ -z "$MAVEN_SKIP_RC" ] ; then
if [ -f /usr/local/etc/mavenrc ] ; then
. /usr/local/etc/mavenrc
fi
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "$HOME/.mavenrc" ] ; then
. "$HOME/.mavenrc"
fi
fi
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
mingw=false
case "`uname`" in
CYGWIN*) cygwin=true ;;
MINGW*) mingw=true;;
Darwin*) darwin=true
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
if [ -z "$JAVA_HOME" ]; then
if [ -x "/usr/libexec/java_home" ]; then
export JAVA_HOME="`/usr/libexec/java_home`"
else
export JAVA_HOME="/Library/Java/Home"
fi
fi
;;
esac
if [ -z "$JAVA_HOME" ] ; then
if [ -r /etc/gentoo-release ] ; then
JAVA_HOME=`java-config --jre-home`
fi
fi
if [ -z "$M2_HOME" ] ; then
## resolve links - $0 may be a link to maven's home
PRG="$0"
# need this for relative symlinks
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG="`dirname "$PRG"`/$link"
fi
done
saveddir=`pwd`
M2_HOME=`dirname "$PRG"`/..
# make it fully qualified
M2_HOME=`cd "$M2_HOME" && pwd`
cd "$saveddir"
# echo Using m2 at $M2_HOME
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --unix "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
# For Mingw, ensure paths are in UNIX format before anything is touched
if $mingw ; then
[ -n "$M2_HOME" ] &&
M2_HOME="`(cd "$M2_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
fi
if [ -z "$JAVA_HOME" ]; then
javaExecutable="`which javac`"
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
# readlink(1) is not available as standard on Solaris 10.
readLink=`which readlink`
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
if $darwin ; then
javaHome="`dirname \"$javaExecutable\"`"
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
else
javaExecutable="`readlink -f \"$javaExecutable\"`"
fi
javaHome="`dirname \"$javaExecutable\"`"
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
JAVA_HOME="$javaHome"
export JAVA_HOME
fi
fi
fi
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD="`\\unset -f command; \\command -v java`"
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." >&2
echo " We cannot execute $JAVACMD" >&2
exit 1
fi
if [ -z "$JAVA_HOME" ] ; then
echo "Warning: JAVA_HOME environment variable is not set."
fi
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
# traverses directory structure from process work directory to filesystem root
# first directory with .mvn subdirectory is considered project base directory
find_maven_basedir() {
if [ -z "$1" ]
then
echo "Path not specified to find_maven_basedir"
return 1
fi
basedir="$1"
wdir="$1"
while [ "$wdir" != '/' ] ; do
if [ -d "$wdir"/.mvn ] ; then
basedir=$wdir
break
fi
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
if [ -d "${wdir}" ]; then
wdir=`cd "$wdir/.."; pwd`
fi
# end of workaround
done
echo "${basedir}"
}
# concatenates all lines of a file
concat_lines() {
if [ -f "$1" ]; then
echo "$(tr -s '\n' ' ' < "$1")"
fi
}
BASE_DIR=`find_maven_basedir "$(pwd)"`
if [ -z "$BASE_DIR" ]; then
exit 1;
fi
##########################################################################################
# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
# This allows using the maven wrapper in projects that prohibit checking in binary data.
##########################################################################################
if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found .mvn/wrapper/maven-wrapper.jar"
fi
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
fi
if [ -n "$MVNW_REPOURL" ]; then
jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
else
jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
fi
while IFS="=" read key value; do
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
esac
done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
if [ "$MVNW_VERBOSE" = true ]; then
echo "Downloading from: $jarUrl"
fi
wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
if $cygwin; then
wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
fi
if command -v wget > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found wget ... using wget"
fi
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
else
wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
fi
elif command -v curl > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found curl ... using curl"
fi
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
curl -o "$wrapperJarPath" "$jarUrl" -f
else
curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
fi
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Falling back to using Java to download"
fi
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
# For Cygwin, switch paths to Windows format before running javac
if $cygwin; then
javaClass=`cygpath --path --windows "$javaClass"`
fi
if [ -e "$javaClass" ]; then
if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
if [ "$MVNW_VERBOSE" = true ]; then
echo " - Compiling MavenWrapperDownloader.java ..."
fi
# Compiling the Java class
("$JAVA_HOME/bin/javac" "$javaClass")
fi
if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
# Running the downloader
if [ "$MVNW_VERBOSE" = true ]; then
echo " - Running MavenWrapperDownloader.java ..."
fi
("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
fi
fi
fi
fi
##########################################################################################
# End of extension
##########################################################################################
export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
if [ "$MVNW_VERBOSE" = true ]; then
echo $MAVEN_PROJECTBASEDIR
fi
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --path --windows "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
fi
# Provide a "standardized" way to retrieve the CLI args that will
# work with both Windows and non-Windows executions.
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
export MAVEN_CMD_LINE_ARGS
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
exec "$JAVACMD" \
$MAVEN_OPTS \
$MAVEN_DEBUG_OPTS \
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
"-Dmaven.home=${M2_HOME}" \
"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"

188
mvnw.cmd vendored
View File

@ -1,188 +0,0 @@
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM https://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied. See the License for the
@REM specific language governing permissions and limitations
@REM under the License.
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
@REM Maven Start Up Batch script
@REM
@REM Required ENV vars:
@REM JAVA_HOME - location of a JDK home dir
@REM
@REM Optional ENV vars
@REM M2_HOME - location of maven2's installed home dir
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
@REM e.g. to debug Maven itself, use
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
@REM ----------------------------------------------------------------------------
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM set title of command window
title %0
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
:skipRcPre
@setlocal
set ERROR_CODE=0
@REM To isolate internal variables from possible post scripts, we use another setlocal
@setlocal
@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome
echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto init
echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
@REM ==== END VALIDATION ====
:init
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
set EXEC_DIR=%CD%
set WDIR=%EXEC_DIR%
:findBaseDir
IF EXIST "%WDIR%"\.mvn goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set WDIR=%CD%
goto findBaseDir
:baseDirFound
set MAVEN_PROJECTBASEDIR=%WDIR%
cd "%EXEC_DIR%"
goto endDetectBaseDir
:baseDirNotFound
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
cd "%EXEC_DIR%"
:endDetectBaseDir
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
:endReadAdditionalConfig
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
)
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
if exist %WRAPPER_JAR% (
if "%MVNW_VERBOSE%" == "true" (
echo Found %WRAPPER_JAR%
)
) else (
if not "%MVNW_REPOURL%" == "" (
SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
)
if "%MVNW_VERBOSE%" == "true" (
echo Couldn't find %WRAPPER_JAR%, downloading it ...
echo Downloading from: %DOWNLOAD_URL%
)
powershell -Command "&{"^
"$webclient = new-object System.Net.WebClient;"^
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
"}"^
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
"}"
if "%MVNW_VERBOSE%" == "true" (
echo Finished downloading %WRAPPER_JAR%
)
)
@REM End of extension
@REM Provide a "standardized" way to retrieve the CLI args that will
@REM work with both Windows and non-Windows executions.
set MAVEN_CMD_LINE_ARGS=%*
%MAVEN_JAVA_EXE% ^
%JVM_CONFIG_MAVEN_PROPS% ^
%MAVEN_OPTS% ^
%MAVEN_DEBUG_OPTS% ^
-classpath %WRAPPER_JAR% ^
"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
%WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
if ERRORLEVEL 1 goto error
goto end
:error
set ERROR_CODE=1
:end
@endlocal & set ERROR_CODE=%ERROR_CODE%
if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
:skipRcPost
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%"=="on" pause
if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
cmd /C exit /B %ERROR_CODE%

58
pom.xml
View File

@ -1,58 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>me.zinch</groupId>
<artifactId>jsf</artifactId>
<version>1</version>
<name>jsf</name>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
</properties>
<dependencies>
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-web-api</artifactId>
<version>10.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>4.0.5</version>
</dependency>
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>14.0.0</version>
<classifier>jakarta</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>4.0.5</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.5</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.4.0</version>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,5 +1,7 @@
package igorrr.jsf.model.pages;
import igorrr.jsf.model.services.ShootResultService;
import igorrr.jsf.model.services.ShootService;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.faces.context.FacesContext;
import jakarta.inject.Inject;
@ -7,8 +9,6 @@ import jakarta.inject.Named;
import igorrr.jsf.model.entities.HitResult;
import igorrr.jsf.model.entities.ShootResult;
import igorrr.jsf.model.entities.Shoots;
import services.ShootResultService;
import services.ShootService;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package services;
package igorrr.jsf.model.services;
import jakarta.annotation.PostConstruct;
import jakarta.enterprise.context.ApplicationScoped;

View File

@ -1,4 +1,4 @@
package services;
package igorrr.jsf.model.services;
public class ShootService {
public static boolean checkShoot(double x, double y, double r) {

View File

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.1
Created-By: 1.6.0_26-b03 (Sun Microsystems Inc.)

View File

@ -0,0 +1,36 @@
package igorrr.jsf.model.services;
import org.junit.Test;
import static org.junit.Assert.*;
public class ShootServiceTest {
@Test
public void testSquareRegion() {
// x <= 0 && y <= 0 && x >= -r && y >= -r
assertTrue(ShootService.checkShoot(-1, -1, 2));
assertFalse(ShootService.checkShoot(-3, -3, 2));
}
@Test
public void testCircleRegion() {
// x >= 0 && y <= 0 && x*x + y*y <= r*r
assertTrue(ShootService.checkShoot(1, -1, 2));
assertFalse(ShootService.checkShoot(2, -2, 2));
}
@Test
public void testTriangleRegion() {
// x <= 0 && y >= 0 && y <= (0.5 * x + r / 2)
assertTrue(ShootService.checkShoot(-2, 0.5, 3)); // y = 0.5, max y = 0.5*(-2)+1.5 = 0.5
assertFalse(ShootService.checkShoot(-2, 1.0, 3)); // y > 0.5
}
@Test
public void testOutsideAllRegions() {
assertFalse(ShootService.checkShoot(1, 1, 2));
assertFalse(ShootService.checkShoot(0, 2, 2));
assertFalse(ShootService.checkShoot(-3, 3, 1));
}
}

View File

@ -0,0 +1,7 @@
Testsuite: igorrr.jsf.model.services.ShootServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec
Testcase: testCircleRegion took 0.004 sec
Testcase: testTriangleRegion took 0 sec
Testcase: testSquareRegion took 0 sec
Testcase: testOutsideAllRegions took 0 sec

View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="0" failures="0" hostname="DESKTOP-9LQE19J" name="igorrr.jsf.model.services.ShootServiceTest" skipped="0" tests="4" time="0.074" timestamp="2025-05-12T23:36:44">
<properties>
<property name="ant.library.dir" value="C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.15\lib" />
<property name="ant.file.type" value="file" />
<property name="java.specification.version" value="21" />
<property name="ant.project.name" value="jsf" />
<property name="sun.cpu.isalist" value="amd64" />
<property name="sun.jnu.encoding" value="Cp1252" />
<property name="java.class.path" value="C:\Users\zinch\itmo\WEB\Lab3\jsf\build\test-classes;C:\Users\zinch\itmo\WEB\Lab3\jsf\build;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\angus-activation-2.0.2.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\checker-qual-3.48.3.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\eclipselink-4.0.5.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\hamcrest-core-1.3.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\istack-commons-runtime-4.1.2.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.activation-api-2.1.3.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.annotation-api-2.1.1.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.authentication-api-3.0.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.ejb-api-4.0.1.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.el-api-5.0.1.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.enterprise.cdi-api-4.0.1.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.enterprise.lang-model-4.0.1.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.faces-api-4.0.1.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.inject-api-2.0.1.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.interceptor-api-2.1.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.jakartaee-web-api-10.0.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.json-api-2.1.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.json.bind-api-3.0.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.persistence-api-3.1.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.security.enterprise-api-3.0.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.servlet-api-6.0.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.servlet.jsp-api-3.1.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.servlet.jsp.jstl-api-3.0.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.transaction-api-2.0.1.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.validation-api-3.0.2.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.websocket-api-2.1.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.websocket-client-api-2.1.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.ws.rs-api-3.1.0.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jakarta.xml.bind-api-4.0.2.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jaxb-core-4.0.5.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jaxb-runtime-4.0.5.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\jaxb-xjc-4.0.5.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\junit-4.13.2.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\postgresql-42.7.5.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\primefaces-14.0.0-jakarta.jar;C:\Users\zinch\itmo\WEB\Lab3\jsf\lib\txw2-4.0.5.jar;C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.15\lib\ant-launcher.jar;C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.15\lib\ant.jar;C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.15\lib\ant-junit.jar;C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.15\lib\ant-junit4.jar" />
<property name="java.vm.vendor" value="Oracle Corporation" />
<property name="sun.arch.data.model" value="64" />
<property name="user.variant" value="" />
<property name="java.vendor.url" value="https://java.oracle.com/" />
<property name="user.country.format" value="001" />
<property name="java.vm.specification.version" value="21" />
<property name="os.name" value="Windows 11" />
<property name="sun.java.launcher" value="SUN_STANDARD" />
<property name="user.country" value="US" />
<property name="sun.boot.library.path" value="C:\Users\zinch\.sdkman\candidates\java\current\bin" />
<property name="sun.java.command" value="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner igorrr.jsf.model.services.ShootServiceTest skipNonTests=false filtertrace=true haltOnError=false haltOnFailure=true formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter showoutput=false outputtoformatters=true logfailedtests=true threadid=0 logtestlistenerevents=false formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter,C:\Users\zinch\itmo\WEB\Lab3\jsf\test-reports\TEST-igorrr.jsf.model.services.ShootServiceTest.txt formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,C:\Users\zinch\itmo\WEB\Lab3\jsf\test-reports\TEST-igorrr.jsf.model.services.ShootServiceTest.xml crashfile=C:\Users\zinch\itmo\WEB\Lab3\jsf\junitvmwatcher1955316383195393615.properties propsfile=C:\Users\zinch\itmo\WEB\Lab3\jsf\junit12773031269061177688.properties" />
<property name="jdk.debug" value="release" />
<property name="sun.cpu.endian" value="little" />
<property name="test.dir" value="src/test/java" />
<property name="user.home" value="C:\Users\zinch" />
<property name="user.language" value="en" />
<property name="java.specification.vendor" value="Oracle Corporation" />
<property name="web.dir" value="src/main/webapp" />
<property name="java.version.date" value="2024-01-16" />
<property name="java.home" value="C:\Users\zinch\.sdkman\candidates\java\current" />
<property name="basedir" value="C:\Users\zinch\itmo\WEB\Lab3\jsf" />
<property name="file.separator" value="\" />
<property name="java.vm.compressedOopsMode" value="Zero based" />
<property name="line.separator" value="&#xd;&#xa;" />
<property name="ant.java.version" value="21" />
<property name="java.specification.name" value="Java Platform API Specification" />
<property name="java.vm.specification.vendor" value="Oracle Corporation" />
<property name="ant.file.type.jsf" value="file" />
<property name="user.script" value="" />
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers" />
<property name="java.runtime.version" value="21.0.2+13-58" />
<property name="user.name" value="zinch" />
<property name="ant.file" value="C:\Users\zinch\itmo\WEB\Lab3\jsf\build.xml" />
<property name="stdout.encoding" value="Cp1252" />
<property name="path.separator" value=";" />
<property name="ant.file.jsf" value="C:\Users\zinch\itmo\WEB\Lab3\jsf\build.xml" />
<property name="os.version" value="10.0" />
<property name="java.runtime.name" value="OpenJDK Runtime Environment" />
<property name="file.encoding" value="UTF-8" />
<property name="ant.project.invoked-targets" value="test" />
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM" />
<property name="dist.dir" value="dist" />
<property name="build.dir" value="build" />
<property name="ant.core.lib" value="C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.15\lib\ant.jar" />
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/" />
<property name="java.io.tmpdir" value="C:\Users\zinch\AppData\Local\Temp\" />
<property name="java.version" value="21.0.2" />
<property name="user.dir" value="C:\Users\zinch\itmo\WEB\Lab3\jsf" />
<property name="os.arch" value="amd64" />
<property name="java.vm.specification.name" value="Java Virtual Machine Specification" />
<property name="ant.home" value="C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.15" />
<property name="lib.dir" value="lib" />
<property name="sun.os.patch.level" value="" />
<property name="native.encoding" value="Cp1252" />
<property name="ant.version" value="Apache Ant(TM) version 1.10.15 compiled on August 25 2024" />
<property name="java.library.path" value="C:\Users\zinch\.sdkman\candidates\java\current\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Users\zinch\yandex-cloud\bin;C:\Users\zinch\.sdkman\candidates\java\current\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\zinch\bin;C:\Program Files (x86)\VMware\VMware Workstation\bin;C:\Program Files\NVIDIA\CUDNN\v9.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2\libnvvp;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\ProgramData\chocolatey\bin;C:\ProgramData\chocolatey\lib\mpv.install\tools;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\GnuPG\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Certbot\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.2.2;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\Azure Data Studio\bin;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.6\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\Git\cmd;C:\Program Files\WireGuard;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\NVIDIA Corporation\NVIDIA app\NvDLISR;C:\Program Files\nodejs;C:\Users\zinch\.cargo\bin;C:\Users\zinch\AppData\Local\Microsoft\WindowsApps;C:\opt\UnxUtils\usr\local\wbin;C:\Users\zinch\AppData\Local\Programs\MiKTeX\miktex\bin\x64;C:\Users\zinch\AppData\Local\JetBrains\Toolbox\scripts;C:\opt\hashcat-6.2.6;C:\opt\ghcup\bin;C:\Users\zinch\AppData\Local\Programs\Lens\resources\cli\bin;C:\Program Files (x86)\Nmap;C:\opt\typst;C:\Program Files\Azure Data Studio\bin;C:\Users\zinch\.dotnet\tools;C:\Users\zinch\AppData\Local\Pandoc;C:\Users\zinch\AppData\Roaming\Python\Python312\Scripts;C:\ProgramData\chocolatey\lib\deno;C:\users\zinch\.local\bin;C:\tools\msys64;C:\gtk-build\gtk\x64\release\bin;C:\Users\zinch\AppData\Local\Programs\Ollama;C:\Users\zinch\.pyenv\pyenv-win\bin;C:\Users\zinch\.pyenv\pyenv-win\shims;C:\Users\zinch\AppData\Local\Microsoft\WindowsApps;C:\opt\clang+llvm-18.1.8-x86_64-pc-windows-msvc\bin;C:\opt\helix-25.01.1-x86_64-windows;C:\Users\zinch\AppData\Roaming\npm;." />
<property name="java.vendor" value="Oracle Corporation" />
<property name="stderr.encoding" value="Cp1252" />
<property name="java.vm.info" value="mixed mode, sharing" />
<property name="res.dir" value="src/main/resources" />
<property name="java.vm.version" value="21.0.2+13-58" />
<property name="sun.io.unicode.encoding" value="UnicodeLittle" />
<property name="java.class.version" value="65.0" />
<property name="src.dir" value="src/main/java" />
<property name="war.name" value="jsf.war" />
<property name="ant.project.default-target" value="build" />
</properties>
<testcase classname="igorrr.jsf.model.services.ShootServiceTest" name="testCircleRegion" time="0.002" />
<testcase classname="igorrr.jsf.model.services.ShootServiceTest" name="testTriangleRegion" time="0.0" />
<testcase classname="igorrr.jsf.model.services.ShootServiceTest" name="testSquareRegion" time="0.0" />
<testcase classname="igorrr.jsf.model.services.ShootServiceTest" name="testOutsideAllRegions" time="0.0" />
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>