From 18df40e8312bccbe4b7ed2f5983d43d16d8c0902 Mon Sep 17 00:00:00 2001 From: fmi Date: Sun, 23 Nov 2014 14:57:14 +0200 Subject: [PATCH 1/3] Ekaterina first commit --- .gitignore | 4 +- .../HelloEkaterina/build.xml | 73 + .../HelloEkaterina/manifest.mf | 3 + .../HelloEkaterina/nbproject/build-impl.xml | 1413 +++++++++++++++++ .../nbproject/genfiles.properties | 8 + .../nbproject/project.properties | 73 + .../HelloEkaterina/nbproject/project.xml | 15 + .../src/helloekaterina/HelloEkaterina.java | 23 + 8 files changed, 1611 insertions(+), 1 deletion(-) create mode 100644 1401417005_EkaterinaSlavova/HelloEkaterina/build.xml create mode 100644 1401417005_EkaterinaSlavova/HelloEkaterina/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/build-impl.xml create mode 100644 1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/genfiles.properties create mode 100644 1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/project.properties create mode 100644 1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/project.xml create mode 100644 1401417005_EkaterinaSlavova/HelloEkaterina/src/helloekaterina/HelloEkaterina.java diff --git a/.gitignore b/.gitignore index 0f19428..1acaa55 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /1401417003_KalinDimov/NewProject/nbproject/private/ -/1401417003_KalinDimov/NewProject/build/ \ No newline at end of file +/1401417003_KalinDimov/NewProject/build/ +/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/private/ +/1401417005_EkaterinaSlavova/HelloEkaterina/build/ \ No newline at end of file diff --git a/1401417005_EkaterinaSlavova/HelloEkaterina/build.xml b/1401417005_EkaterinaSlavova/HelloEkaterina/build.xml new file mode 100644 index 0000000..96431f9 --- /dev/null +++ b/1401417005_EkaterinaSlavova/HelloEkaterina/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project HelloEkaterina. + + + diff --git a/1401417005_EkaterinaSlavova/HelloEkaterina/manifest.mf b/1401417005_EkaterinaSlavova/HelloEkaterina/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/HelloEkaterina/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/build-impl.xml b/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/build-impl.xml new file mode 100644 index 0000000..f310c08 --- /dev/null +++ b/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/build-impl.xml @@ -0,0 +1,1413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/genfiles.properties b/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/genfiles.properties new file mode 100644 index 0000000..9bbb760 --- /dev/null +++ b/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=2fb441d0 +build.xml.script.CRC32=9eca9648 +build.xml.stylesheet.CRC32=8064a381@1.74.2.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=2fb441d0 +nbproject/build-impl.xml.script.CRC32=459c4ccf +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48 diff --git a/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/project.properties b/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/project.properties new file mode 100644 index 0000000..9e70597 --- /dev/null +++ b/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/HelloEkaterina.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.7 +javac.target=1.7 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=helloekaterina.HelloEkaterina +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/project.xml b/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/project.xml new file mode 100644 index 0000000..40219fe --- /dev/null +++ b/1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + HelloEkaterina + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/HelloEkaterina/src/helloekaterina/HelloEkaterina.java b/1401417005_EkaterinaSlavova/HelloEkaterina/src/helloekaterina/HelloEkaterina.java new file mode 100644 index 0000000..f0e9893 --- /dev/null +++ b/1401417005_EkaterinaSlavova/HelloEkaterina/src/helloekaterina/HelloEkaterina.java @@ -0,0 +1,23 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +package helloekaterina; + +/** + * + * @author fmi + */ +public class HelloEkaterina { + + /** + * @param args the command line arguments + */ + public static void main(String[] args) { + // TODO code application logic here + System.out.println("Hello git from Ekaterina!"); + } + +} From f576a248a9c0db011c8ae4f950db1c3428737f87 Mon Sep 17 00:00:00 2001 From: Katia Date: Sun, 23 Nov 2014 15:06:17 +0200 Subject: [PATCH 2/3] first commit --- .gitignore | 4 +- .../Vtorouprajnenie1/build.xml | 73 + .../Vtorouprajnenie1/manifest.mf | 3 + .../Vtorouprajnenie1/nbproject/build-impl.xml | 1413 +++++++++++++++++ .../nbproject/genfiles.properties | 8 + .../nbproject/project.properties | 73 + .../Vtorouprajnenie1/nbproject/project.xml | 15 + .../vtorouprajnenie1/Vtorouprajnenie1.java | 40 + 8 files changed, 1628 insertions(+), 1 deletion(-) create mode 100644 1401417005_EkaterinaSlavova/Vtorouprajnenie1/build.xml create mode 100644 1401417005_EkaterinaSlavova/Vtorouprajnenie1/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/build-impl.xml create mode 100644 1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/genfiles.properties create mode 100644 1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/project.properties create mode 100644 1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/project.xml create mode 100644 1401417005_EkaterinaSlavova/Vtorouprajnenie1/src/vtorouprajnenie1/Vtorouprajnenie1.java diff --git a/.gitignore b/.gitignore index 1acaa55..9938e99 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ /1401417003_KalinDimov/NewProject/nbproject/private/ /1401417003_KalinDimov/NewProject/build/ /1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/private/ -/1401417005_EkaterinaSlavova/HelloEkaterina/build/ \ No newline at end of file +/1401417005_EkaterinaSlavova/HelloEkaterina/build/ +/1401417005_EkaterinaSlavova/Vtorouprajnenie1/build/ +/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/private/ \ No newline at end of file diff --git a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/build.xml b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/build.xml new file mode 100644 index 0000000..e09aa11 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project Vtorouprajnenie1. + + + diff --git a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/manifest.mf b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/build-impl.xml b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/build-impl.xml new file mode 100644 index 0000000..faf6de1 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/build-impl.xml @@ -0,0 +1,1413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/genfiles.properties b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/genfiles.properties new file mode 100644 index 0000000..05aebf9 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=738cddbb +build.xml.script.CRC32=c0a33289 +build.xml.stylesheet.CRC32=8064a381@1.75.2.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=738cddbb +nbproject/build-impl.xml.script.CRC32=b26ab268 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/project.properties b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/project.properties new file mode 100644 index 0000000..c2bc4a6 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/Vtorouprajnenie1.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=vtorouprajnenie1.Vtorouprajnenie1 +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/project.xml b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/project.xml new file mode 100644 index 0000000..e4f994e --- /dev/null +++ b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + Vtorouprajnenie1 + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/src/vtorouprajnenie1/Vtorouprajnenie1.java b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/src/vtorouprajnenie1/Vtorouprajnenie1.java new file mode 100644 index 0000000..c9cffd8 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/src/vtorouprajnenie1/Vtorouprajnenie1.java @@ -0,0 +1,40 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package vtorouprajnenie1; + +/** + * + * @author Katia + */ +public class Vtorouprajnenie1 { + + /** + * @param args the command line arguments + */ + public static void main(String[] args) { + // TODO code application logic here + /*int i = 1; + while (i<11) { + System.out.println("i=" +i); + i++; + } + */ + /*for(int i=20; i>0; i=i-1) + + System.out.println(i); + */ + int i; + + for(i=1; i<=5; i++) + + System.out.println('a'); + + for(i=1; i<=10; i++) + + System.out.println('b'); + } + +} From 0424e5faaf9126c8b0fa03d67c637b4f4ea06983 Mon Sep 17 00:00:00 2001 From: Katia Date: Fri, 19 Dec 2014 13:16:04 +0200 Subject: [PATCH 3/3] --- .gitignore | 9 +- .../2.Vtorouprajnenie/build.xml | 73 + .../2.Vtorouprajnenie/manifest.mf | 3 + .../nbproject/build-impl.xml | 1413 +++++++++++++++++ .../nbproject/genfiles.properties | 8 + .../nbproject/project.properties | 73 + .../2.Vtorouprajnenie/nbproject/project.xml | 15 + .../vtorouprajnenie1/Vtorouprajnenie1.java | 90 ++ .../JavaApplication23/manifest.mf | 3 + .../javaapplication23/JavaApplication23.java | 21 + .../KursovaRabotaZad2b/build.xml | 73 + .../KursovaRabotaZad2b/manifest.mf | 3 + .../nbproject/build-impl.xml | 1413 +++++++++++++++++ .../nbproject/genfiles.properties | 8 + .../nbproject/project.properties | 73 + .../KursovaRabotaZad2b/nbproject/project.xml | 15 + .../KursovaRabotaZad2b.java | 59 + 1401417005_EkaterinaSlavova/Menu/build.xml | 73 + 1401417005_EkaterinaSlavova/Menu/manifest.mf | 3 + .../Menu/nbproject/build-impl.xml | 1413 +++++++++++++++++ .../Menu/nbproject/genfiles.properties | 8 + .../Menu/nbproject/project.properties | 73 + .../Menu/nbproject/project.xml | 15 + .../Menu/src/menu/Menu.java | 48 + 1401417005_EkaterinaSlavova/Months/build.xml | 73 + .../Months/manifest.mf | 3 + .../Months/nbproject/build-impl.xml | 1413 +++++++++++++++++ .../Months/nbproject/genfiles.properties | 8 + .../Months/nbproject/project.properties | 73 + .../Months/nbproject/project.xml | 15 + .../Months/src/months/Months.java | 29 + .../Stacktrace/build.xml | 73 + .../Stacktrace/manifest.mf | 3 + .../Stacktrace/nbproject/build-impl.xml | 1413 +++++++++++++++++ .../Stacktrace/nbproject/genfiles.properties | 8 + .../Stacktrace/nbproject/project.properties | 73 + .../Stacktrace/nbproject/project.xml | 15 + .../Stacktrace/src/stacktrace/Stacktrace.java | 30 + .../VtoroUprajnenie/manifest.mf | 3 + .../src/vtorouprajnenie/VtoroUprajnenie.java | 18 + .../vtorouprajnenie1/Vtorouprajnenie1.java | 74 +- .../purvoUprajnenie/build.xml | 73 + .../purvoUprajnenie/manifest.mf | 3 + .../purvoUprajnenie/nbproject/build-impl.xml | 1413 +++++++++++++++++ .../nbproject/genfiles.properties | 8 + .../nbproject/project.properties | 73 + .../purvoUprajnenie/nbproject/project.xml | 15 + .../src/purvouprajnenie/PurvoUprajnenie.java | 89 ++ 48 files changed, 9960 insertions(+), 23 deletions(-) create mode 100644 1401417005_EkaterinaSlavova/2.Vtorouprajnenie/build.xml create mode 100644 1401417005_EkaterinaSlavova/2.Vtorouprajnenie/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/build-impl.xml create mode 100644 1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/genfiles.properties create mode 100644 1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/project.properties create mode 100644 1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/project.xml create mode 100644 1401417005_EkaterinaSlavova/2.Vtorouprajnenie/src/vtorouprajnenie1/Vtorouprajnenie1.java create mode 100644 1401417005_EkaterinaSlavova/JavaApplication23/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/JavaApplication23/src/javaapplication23/JavaApplication23.java create mode 100644 1401417005_EkaterinaSlavova/KursovaRabotaZad2b/build.xml create mode 100644 1401417005_EkaterinaSlavova/KursovaRabotaZad2b/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/build-impl.xml create mode 100644 1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/genfiles.properties create mode 100644 1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/project.properties create mode 100644 1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/project.xml create mode 100644 1401417005_EkaterinaSlavova/KursovaRabotaZad2b/src/kursovarabotazad2b/KursovaRabotaZad2b.java create mode 100644 1401417005_EkaterinaSlavova/Menu/build.xml create mode 100644 1401417005_EkaterinaSlavova/Menu/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/Menu/nbproject/build-impl.xml create mode 100644 1401417005_EkaterinaSlavova/Menu/nbproject/genfiles.properties create mode 100644 1401417005_EkaterinaSlavova/Menu/nbproject/project.properties create mode 100644 1401417005_EkaterinaSlavova/Menu/nbproject/project.xml create mode 100644 1401417005_EkaterinaSlavova/Menu/src/menu/Menu.java create mode 100644 1401417005_EkaterinaSlavova/Months/build.xml create mode 100644 1401417005_EkaterinaSlavova/Months/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/Months/nbproject/build-impl.xml create mode 100644 1401417005_EkaterinaSlavova/Months/nbproject/genfiles.properties create mode 100644 1401417005_EkaterinaSlavova/Months/nbproject/project.properties create mode 100644 1401417005_EkaterinaSlavova/Months/nbproject/project.xml create mode 100644 1401417005_EkaterinaSlavova/Months/src/months/Months.java create mode 100644 1401417005_EkaterinaSlavova/Stacktrace/build.xml create mode 100644 1401417005_EkaterinaSlavova/Stacktrace/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/Stacktrace/nbproject/build-impl.xml create mode 100644 1401417005_EkaterinaSlavova/Stacktrace/nbproject/genfiles.properties create mode 100644 1401417005_EkaterinaSlavova/Stacktrace/nbproject/project.properties create mode 100644 1401417005_EkaterinaSlavova/Stacktrace/nbproject/project.xml create mode 100644 1401417005_EkaterinaSlavova/Stacktrace/src/stacktrace/Stacktrace.java create mode 100644 1401417005_EkaterinaSlavova/VtoroUprajnenie/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/VtoroUprajnenie/src/vtorouprajnenie/VtoroUprajnenie.java create mode 100644 1401417005_EkaterinaSlavova/purvoUprajnenie/build.xml create mode 100644 1401417005_EkaterinaSlavova/purvoUprajnenie/manifest.mf create mode 100644 1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/build-impl.xml create mode 100644 1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/genfiles.properties create mode 100644 1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/project.properties create mode 100644 1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/project.xml create mode 100644 1401417005_EkaterinaSlavova/purvoUprajnenie/src/purvouprajnenie/PurvoUprajnenie.java diff --git a/.gitignore b/.gitignore index 9938e99..274c94e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,11 @@ /1401417005_EkaterinaSlavova/HelloEkaterina/nbproject/private/ /1401417005_EkaterinaSlavova/HelloEkaterina/build/ /1401417005_EkaterinaSlavova/Vtorouprajnenie1/build/ -/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/private/ \ No newline at end of file +/1401417005_EkaterinaSlavova/Vtorouprajnenie1/nbproject/private/ +/1401417005_EkaterinaSlavova/Vtorouprajnenie1/dist/ +/1401417005_EkaterinaSlavova/unknown/build/ +/1401417005_EkaterinaSlavova/unknown/nbproject/private/ +/1401417005_EkaterinaSlavova/uhj/build/ +/1401417005_EkaterinaSlavova/uhj/nbproject/private/ +/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/build/ +/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/private/ \ No newline at end of file diff --git a/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/build.xml b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/build.xml new file mode 100644 index 0000000..e09aa11 --- /dev/null +++ b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project Vtorouprajnenie1. + + + diff --git a/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/manifest.mf b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/build-impl.xml b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/build-impl.xml new file mode 100644 index 0000000..faf6de1 --- /dev/null +++ b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/build-impl.xml @@ -0,0 +1,1413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/genfiles.properties b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/genfiles.properties new file mode 100644 index 0000000..05aebf9 --- /dev/null +++ b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=738cddbb +build.xml.script.CRC32=c0a33289 +build.xml.stylesheet.CRC32=8064a381@1.75.2.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=738cddbb +nbproject/build-impl.xml.script.CRC32=b26ab268 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/project.properties b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/project.properties new file mode 100644 index 0000000..c2bc4a6 --- /dev/null +++ b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/Vtorouprajnenie1.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=vtorouprajnenie1.Vtorouprajnenie1 +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/project.xml b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/project.xml new file mode 100644 index 0000000..e4f994e --- /dev/null +++ b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + Vtorouprajnenie1 + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/src/vtorouprajnenie1/Vtorouprajnenie1.java b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/src/vtorouprajnenie1/Vtorouprajnenie1.java new file mode 100644 index 0000000..d9cde2b --- /dev/null +++ b/1401417005_EkaterinaSlavova/2.Vtorouprajnenie/src/vtorouprajnenie1/Vtorouprajnenie1.java @@ -0,0 +1,90 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package vtorouprajnenie1; + +/** + * + * @author Katia + */ +public class Vtorouprajnenie1 { + + public static void main(String[] args) { + // TODO code application logic here + /*int i = 1; + while (i<11) { + System.out.println("i=" +i); + i++; + } + */ + /*for(int i=20; i>0; i=i-1) + + System.out.println(i); + */ + /* int i; + + for(i=1; i<=5; i++) + + System.out.println('a'); + + for(i=1; i<=10; i++) + + System.out.println('b'); + */ + //zad 10 urp 2 + /*double m[] = {1.1, 2.2, 3.3, 4.4, 5.5}; + + + for(int i=0; i< m.length; i++) + + System.out.println(m[i]); + */ + //zad 12 + /*int m[] = {1, 5, - 4, 20, -9, 33, 1, 4, 7, 8}; + + for(int i=0; i + + + + + + + + + + Builds, tests, and runs the project KursovaRabotaZad2b. + + + diff --git a/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/manifest.mf b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/build-impl.xml b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/build-impl.xml new file mode 100644 index 0000000..924bde1 --- /dev/null +++ b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/build-impl.xml @@ -0,0 +1,1413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/genfiles.properties b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/genfiles.properties new file mode 100644 index 0000000..310642b --- /dev/null +++ b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=df50d0b3 +build.xml.script.CRC32=1575131e +build.xml.stylesheet.CRC32=8064a381@1.75.2.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=df50d0b3 +nbproject/build-impl.xml.script.CRC32=f37159f6 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/project.properties b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/project.properties new file mode 100644 index 0000000..e3a889d --- /dev/null +++ b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/KursovaRabotaZad2b.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=kursovarabotazad2b.KursovaRabotaZad2b +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/project.xml b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/project.xml new file mode 100644 index 0000000..ea54587 --- /dev/null +++ b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + KursovaRabotaZad2b + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/src/kursovarabotazad2b/KursovaRabotaZad2b.java b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/src/kursovarabotazad2b/KursovaRabotaZad2b.java new file mode 100644 index 0000000..ed94dbc --- /dev/null +++ b/1401417005_EkaterinaSlavova/KursovaRabotaZad2b/src/kursovarabotazad2b/KursovaRabotaZad2b.java @@ -0,0 +1,59 @@ +package kursovarabotazad2b; +import java.util.Random; +import java.lang.Math; + +public class KursovaRabotaZad2b { + + public static void main(String[] args) { + // Initializing arrays + int[] array1 = new int[20]; + int[] array2 = new int[20]; + int[] array3 = new int[20]; + + // Initializing random number + int randomNumber; + Random rand = new Random(); + + // Filling arrays with numbers + for (int number = 0; number <= 19; number++) { + // Array 1 + randomNumber = rand.nextInt(200) - 100; + array1[number] = randomNumber; + // Array 2 + randomNumber = rand.nextInt(200) - 100; + array2[number] = randomNumber; + // Array 3 + randomNumber = rand.nextInt(200) - 100; + array3[number] = randomNumber; + } + + // stoinostite ot proizvedeniqta na masivite + int result1 = proizvedenie(array1); + int result2 = proizvedenie(array2); + int result3 = proizvedenie(array3); + + // Printing result of multiplication + System.out.println("Multiplication result (Array 1): " + proizvedenie(array1)); + System.out.println("Multiplication result (Array 2): " + proizvedenie(array2)); + System.out.println("Multiplication result (Array 3): " + proizvedenie(array3)); + + // Sredno geometri4no + System.out.println("Srg : " + average(result1*result2*result3)); + } + + // Multiplication + public static int proizvedenie(int array[]) { + int result = 1; + for (int i = 0; i <= 19; i++) { + if (array[i] != 0 && array[i] % 2 == 1) { + result *= array[i]; + } + } + return result; + } + // Average + private static double average(double a) { + a = Math.abs(a); + return Math.pow(a, 1.0/3); + } +} \ No newline at end of file diff --git a/1401417005_EkaterinaSlavova/Menu/build.xml b/1401417005_EkaterinaSlavova/Menu/build.xml new file mode 100644 index 0000000..a6fd6df --- /dev/null +++ b/1401417005_EkaterinaSlavova/Menu/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project Menu. + + + diff --git a/1401417005_EkaterinaSlavova/Menu/manifest.mf b/1401417005_EkaterinaSlavova/Menu/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Menu/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/Menu/nbproject/build-impl.xml b/1401417005_EkaterinaSlavova/Menu/nbproject/build-impl.xml new file mode 100644 index 0000000..9d0c621 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Menu/nbproject/build-impl.xml @@ -0,0 +1,1413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/Menu/nbproject/genfiles.properties b/1401417005_EkaterinaSlavova/Menu/nbproject/genfiles.properties new file mode 100644 index 0000000..4f2336d --- /dev/null +++ b/1401417005_EkaterinaSlavova/Menu/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=8cd34aa8 +build.xml.script.CRC32=34eaa6cf +build.xml.stylesheet.CRC32=8064a381@1.75.2.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=8cd34aa8 +nbproject/build-impl.xml.script.CRC32=183f29c0 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/1401417005_EkaterinaSlavova/Menu/nbproject/project.properties b/1401417005_EkaterinaSlavova/Menu/nbproject/project.properties new file mode 100644 index 0000000..0f95e55 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Menu/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/Menu.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=menu.Menu +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417005_EkaterinaSlavova/Menu/nbproject/project.xml b/1401417005_EkaterinaSlavova/Menu/nbproject/project.xml new file mode 100644 index 0000000..c168a54 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Menu/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + Menu + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/Menu/src/menu/Menu.java b/1401417005_EkaterinaSlavova/Menu/src/menu/Menu.java new file mode 100644 index 0000000..7b7da6b --- /dev/null +++ b/1401417005_EkaterinaSlavova/Menu/src/menu/Menu.java @@ -0,0 +1,48 @@ +package menu; +import java.util.Scanner; + +public class Menu { + + public static void main(String[] args) { + + showMenu(); + + Scanner a = new Scanner(System.in); + String choice; + int i; + + do { + + System.out.print("Choose option from 1 to 5: "); + i = a.nextInt(); + + switch (i) { + case 1: choice = "You chose option 1: Draw Money"; break; + case 2: choice = "You chose option 2: Change your PIN number"; break; + case 3: choice = "You chose option 3: Check your account"; break; + case 4: choice = "You chose option 4: Settings"; break; + case 5: choice = "You chose option 5: Exit"; break; + default: choice = "This is not an option, please choose again: "; + } + + System.out.println(choice); + + } while(i!=5); + + a.close(); + + } + /* END MAIN */ + + public static void showMenu() { + + System.out.println("Menu"); + System.out.println(" 1. Draw money"); + System.out.println(" 2. Change your PIN number"); + System.out.println(" 3. Check your account"); + System.out.println(" 4. Settings"); + System.out.println(" 5. Exit"); + System.out.print("Choose and option from 1 to 5: "); + + } +} \ No newline at end of file diff --git a/1401417005_EkaterinaSlavova/Months/build.xml b/1401417005_EkaterinaSlavova/Months/build.xml new file mode 100644 index 0000000..77b4d5b --- /dev/null +++ b/1401417005_EkaterinaSlavova/Months/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project Months. + + + diff --git a/1401417005_EkaterinaSlavova/Months/manifest.mf b/1401417005_EkaterinaSlavova/Months/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Months/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/Months/nbproject/build-impl.xml b/1401417005_EkaterinaSlavova/Months/nbproject/build-impl.xml new file mode 100644 index 0000000..8e15cad --- /dev/null +++ b/1401417005_EkaterinaSlavova/Months/nbproject/build-impl.xml @@ -0,0 +1,1413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/Months/nbproject/genfiles.properties b/1401417005_EkaterinaSlavova/Months/nbproject/genfiles.properties new file mode 100644 index 0000000..64d83c6 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Months/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=5b8d6ba9 +build.xml.script.CRC32=7e3dd9df +build.xml.stylesheet.CRC32=8064a381@1.75.2.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=5b8d6ba9 +nbproject/build-impl.xml.script.CRC32=127c0594 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/1401417005_EkaterinaSlavova/Months/nbproject/project.properties b/1401417005_EkaterinaSlavova/Months/nbproject/project.properties new file mode 100644 index 0000000..42a2ae1 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Months/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/Months.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=months.Months +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417005_EkaterinaSlavova/Months/nbproject/project.xml b/1401417005_EkaterinaSlavova/Months/nbproject/project.xml new file mode 100644 index 0000000..29829b8 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Months/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + Months + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/Months/src/months/Months.java b/1401417005_EkaterinaSlavova/Months/src/months/Months.java new file mode 100644 index 0000000..70e17b2 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Months/src/months/Months.java @@ -0,0 +1,29 @@ +package months; +import java.util.Scanner; +//zad 9 +public class Months { + + public static void main(String[] args) { + + System.out.println("Enter a number for month name:"); + + Scanner in = new Scanner(System.in); + int monthNumber; + monthNumber = in.nextInt(); + + switch (monthNumber) { + case 1: System.out.println("January"); break; + case 2: System.out.println("February"); break; + case 3: System.out.println("March"); break; + case 4: System.out.println("April"); break; + case 5: System.out.println("May"); break; + case 6: System.out.println("June"); break; + case 7: System.out.println("July"); break; + case 8: System.out.println("August"); break; + case 9: System.out.println("September"); break; + case 10:System.out.println("October"); break; + case 11:System.out.println("November"); break; + case 12:System.out.println("December"); break; + } + } +} diff --git a/1401417005_EkaterinaSlavova/Stacktrace/build.xml b/1401417005_EkaterinaSlavova/Stacktrace/build.xml new file mode 100644 index 0000000..0d310a2 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Stacktrace/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project Stacktrace. + + + diff --git a/1401417005_EkaterinaSlavova/Stacktrace/manifest.mf b/1401417005_EkaterinaSlavova/Stacktrace/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Stacktrace/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/Stacktrace/nbproject/build-impl.xml b/1401417005_EkaterinaSlavova/Stacktrace/nbproject/build-impl.xml new file mode 100644 index 0000000..0472bed --- /dev/null +++ b/1401417005_EkaterinaSlavova/Stacktrace/nbproject/build-impl.xml @@ -0,0 +1,1413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/Stacktrace/nbproject/genfiles.properties b/1401417005_EkaterinaSlavova/Stacktrace/nbproject/genfiles.properties new file mode 100644 index 0000000..e160325 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Stacktrace/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=ead64ea5 +build.xml.script.CRC32=f3b0d02a +build.xml.stylesheet.CRC32=8064a381@1.75.2.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=ead64ea5 +nbproject/build-impl.xml.script.CRC32=4e78ac31 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/1401417005_EkaterinaSlavova/Stacktrace/nbproject/project.properties b/1401417005_EkaterinaSlavova/Stacktrace/nbproject/project.properties new file mode 100644 index 0000000..686505b --- /dev/null +++ b/1401417005_EkaterinaSlavova/Stacktrace/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/Stacktrace.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=stacktrace.Stacktrace +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417005_EkaterinaSlavova/Stacktrace/nbproject/project.xml b/1401417005_EkaterinaSlavova/Stacktrace/nbproject/project.xml new file mode 100644 index 0000000..6ea8328 --- /dev/null +++ b/1401417005_EkaterinaSlavova/Stacktrace/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + Stacktrace + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/Stacktrace/src/stacktrace/Stacktrace.java b/1401417005_EkaterinaSlavova/Stacktrace/src/stacktrace/Stacktrace.java new file mode 100644 index 0000000..a94b89e --- /dev/null +++ b/1401417005_EkaterinaSlavova/Stacktrace/src/stacktrace/Stacktrace.java @@ -0,0 +1,30 @@ + +package stacktrace; + +/** + * + * @author Katia + */ +public class Stacktrace { + + /** + * @param args the command line arguments + */ + public static void main(String[] args) { + // TODO code application logic here + System.out.println("Start main"); + m1(); + System.out.println("End main"); + } + public static void m1() { + System.out.println("Second method m1"); + m2(); + } + public static void m2() { + System.out.println("last method 2"); + int x = 10; + int y = 0; + int z = x/y; + System.out.println(z); + } +} diff --git a/1401417005_EkaterinaSlavova/VtoroUprajnenie/manifest.mf b/1401417005_EkaterinaSlavova/VtoroUprajnenie/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/VtoroUprajnenie/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/VtoroUprajnenie/src/vtorouprajnenie/VtoroUprajnenie.java b/1401417005_EkaterinaSlavova/VtoroUprajnenie/src/vtorouprajnenie/VtoroUprajnenie.java new file mode 100644 index 0000000..b955db4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/VtoroUprajnenie/src/vtorouprajnenie/VtoroUprajnenie.java @@ -0,0 +1,18 @@ + +package vtorouprajnenie; + +/** + * + * @author Katia + */ +public class VtoroUprajnenie { + + /** + * @param args the command line arguments + */ + public static void main(String[] args) { + // TODO code application logic here + int i=1; + + } + diff --git a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/src/vtorouprajnenie1/Vtorouprajnenie1.java b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/src/vtorouprajnenie1/Vtorouprajnenie1.java index c9cffd8..7a4c7df 100644 --- a/1401417005_EkaterinaSlavova/Vtorouprajnenie1/src/vtorouprajnenie1/Vtorouprajnenie1.java +++ b/1401417005_EkaterinaSlavova/Vtorouprajnenie1/src/vtorouprajnenie1/Vtorouprajnenie1.java @@ -1,19 +1,8 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ package vtorouprajnenie1; +import java.util.Scanner; -/** - * - * @author Katia - */ public class Vtorouprajnenie1 { - - /** - * @param args the command line arguments - */ + public static void main(String[] args) { // TODO code application logic here /*int i = 1; @@ -25,16 +14,57 @@ public static void main(String[] args) { /*for(int i=20; i>0; i=i-1) System.out.println(i); - */ - int i; - - for(i=1; i<=5; i++) - + + int i; + */ +/* + for (i=1; i<=5; i++) { System.out.println('a'); + } - for(i=1; i<=10; i++) - + for (i=1; i<=10; i++) { System.out.println('b'); + + //max (9, 4); zad 4 + //max (10, 15); zad 4 + //max (5, 8); zad 4 + } + */ + + // max(); zad 5 + + m (12, 10); //zad 6 } - -} + /* + public static void max() { //zad 4 + 5 + + System.out.println("Enter three integers "); + Scanner in = new Scanner(System.in); + + int a = in.nextInt(); + int b = in.nextInt(); + int c = in.nextInt(); + int max = a; + + if (max < b) max = b; + if (max < c) max = c; + + System.out.println(max); + //return max; + } + */ + //zad 6 + public static void m(int i1, int i2) { + if (i1 > i2) { + int a = i2; + i2 = i1; + i1 = a; + + for (int i=i1; i1<=i2; i1++){ + System.out.println("i=" +i1); + } + } + + } + } + \ No newline at end of file diff --git a/1401417005_EkaterinaSlavova/purvoUprajnenie/build.xml b/1401417005_EkaterinaSlavova/purvoUprajnenie/build.xml new file mode 100644 index 0000000..2dc5530 --- /dev/null +++ b/1401417005_EkaterinaSlavova/purvoUprajnenie/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project purvoUprajnenie. + + + diff --git a/1401417005_EkaterinaSlavova/purvoUprajnenie/manifest.mf b/1401417005_EkaterinaSlavova/purvoUprajnenie/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/purvoUprajnenie/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/build-impl.xml b/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/build-impl.xml new file mode 100644 index 0000000..9cf100b --- /dev/null +++ b/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/build-impl.xml @@ -0,0 +1,1413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/genfiles.properties b/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/genfiles.properties new file mode 100644 index 0000000..1b44e00 --- /dev/null +++ b/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=b2ea13cd +build.xml.script.CRC32=4e7a5119 +build.xml.stylesheet.CRC32=8064a381@1.75.2.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=b2ea13cd +nbproject/build-impl.xml.script.CRC32=b9af4194 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/project.properties b/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/project.properties new file mode 100644 index 0000000..aa882b4 --- /dev/null +++ b/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/purvoUprajnenie.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=purvouprajnenie.PurvoUprajnenie +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/project.xml b/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/project.xml new file mode 100644 index 0000000..a9058de --- /dev/null +++ b/1401417005_EkaterinaSlavova/purvoUprajnenie/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + purvoUprajnenie + + + + + + + + + diff --git a/1401417005_EkaterinaSlavova/purvoUprajnenie/src/purvouprajnenie/PurvoUprajnenie.java b/1401417005_EkaterinaSlavova/purvoUprajnenie/src/purvouprajnenie/PurvoUprajnenie.java new file mode 100644 index 0000000..c3cf501 --- /dev/null +++ b/1401417005_EkaterinaSlavova/purvoUprajnenie/src/purvouprajnenie/PurvoUprajnenie.java @@ -0,0 +1,89 @@ +package purvouprajnenie; +import java.util.Scanner; + +public class PurvoUprajnenie { + + public static void main(String[] args) { + + int i=5; + i= i+10; + + System.out.println(i); + + double a = 2.5d; + double b = 2.34d; + + System.out.println(a+ "+" +b + "=" + (a+b)); + System.out.println(a+ "-" +b + "=" + (a-b)); + System.out.println(a+ "*" +b + "=" + (a*b)); + System.out.println(a+ "/" +b + "=" + (a/b)); + + double c, d; + c = 3.57874d; + d = 43.24564d; + c = ++c; + d = ++d; + + System.out.println(c); + System.out.println(d); + + c += 3; + d -= 4; + a *=6; + b /=4; + + System.out.println(c); + System.out.println(d); + System.out.println(a); + System.out.println(b); + + double d1 = 8.5, d2 = 3; + + zad9(d1, d2); // 8.5*3 е < 50 + zad9(2, 25); // 2*25 е = 50 + zad9(3, 25); // 3*25 e > 50 + + double c1 = 15, c2 = 3.4; + double f = 9.8, g = 7.6; + + zad11( f, g); // sum = 53.3200000 + + Scanner input = new Scanner(System.in); + + double var1 = input.nextDouble(); + double var2 = input.nextDouble(); + double var3 = input.nextDouble(); + double var4 = input.nextDouble(); + + zad11(var1, var2); + zad11(var3, var4); + + } + + public static void zad9(double d1, double d2) { + + double d3 = d1*d2; + + if (d3>50) { + System.out.println(d1 + "*" + d2 + " = " + d3); + } + } + + public static void zad10(double c1, double c2) { + + if (c1+c2>20) + System.out.println((c1+c2)*(c1-c2)); + else + System.out.println((c1+c2)/5); + + } + + public static void zad11(double f, double g) { + + double sum = 0; + sum = f*f + 2*(f-g*g)+7*g; + System.out.println(sum); + + } + + } \ No newline at end of file