Vytvořen netbeans projekt.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/.hgignore Thu Jul 21 19:45:02 2011 +0200
1.3 @@ -0,0 +1,3 @@
1.4 +java/sql-java-prihlasovani/build/*
1.5 +java/sql-java-prihlasovani/dist/*
1.6 +java/sql-java-prihlasovani/nbproject/private
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/java/sql-java-prihlasovani/manifest.mf Thu Jul 21 19:45:02 2011 +0200
2.3 @@ -0,0 +1,3 @@
2.4 +Manifest-Version: 1.0
2.5 +X-COMMENT: Main-Class will be added automatically by build
2.6 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/java/sql-java-prihlasovani/nbproject/build-impl.xml Thu Jul 21 19:45:02 2011 +0200
3.3 @@ -0,0 +1,1041 @@
3.4 +<?xml version="1.0" encoding="UTF-8"?>
3.5 +<!--
3.6 +*** GENERATED FROM project.xml - DO NOT EDIT ***
3.7 +*** EDIT ../build.xml INSTEAD ***
3.8 +
3.9 +For the purpose of easier reading the script
3.10 +is divided into following sections:
3.11 +
3.12 + - initialization
3.13 + - compilation
3.14 + - jar
3.15 + - execution
3.16 + - debugging
3.17 + - javadoc
3.18 + - junit compilation
3.19 + - junit execution
3.20 + - junit debugging
3.21 + - applet
3.22 + - cleanup
3.23 +
3.24 + -->
3.25 +<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="sql-java-prihlasovani-impl">
3.26 + <fail message="Please build using Ant 1.7.1 or higher.">
3.27 + <condition>
3.28 + <not>
3.29 + <antversion atleast="1.7.1"/>
3.30 + </not>
3.31 + </condition>
3.32 + </fail>
3.33 + <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
3.34 + <!--
3.35 + ======================
3.36 + INITIALIZATION SECTION
3.37 + ======================
3.38 + -->
3.39 + <target name="-pre-init">
3.40 + <!-- Empty placeholder for easier customization. -->
3.41 + <!-- You can override this target in the ../build.xml file. -->
3.42 + </target>
3.43 + <target depends="-pre-init" name="-init-private">
3.44 + <property file="nbproject/private/config.properties"/>
3.45 + <property file="nbproject/private/configs/${config}.properties"/>
3.46 + <property file="nbproject/private/private.properties"/>
3.47 + </target>
3.48 + <target depends="-pre-init,-init-private" name="-init-user">
3.49 + <property file="${user.properties.file}"/>
3.50 + <!-- The two properties below are usually overridden -->
3.51 + <!-- by the active platform. Just a fallback. -->
3.52 + <property name="default.javac.source" value="1.4"/>
3.53 + <property name="default.javac.target" value="1.4"/>
3.54 + </target>
3.55 + <target depends="-pre-init,-init-private,-init-user" name="-init-project">
3.56 + <property file="nbproject/configs/${config}.properties"/>
3.57 + <property file="nbproject/project.properties"/>
3.58 + </target>
3.59 + <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
3.60 + <available file="${manifest.file}" property="manifest.available"/>
3.61 + <condition property="splashscreen.available">
3.62 + <and>
3.63 + <not>
3.64 + <equals arg1="${application.splash}" arg2="" trim="true"/>
3.65 + </not>
3.66 + <available file="${application.splash}"/>
3.67 + </and>
3.68 + </condition>
3.69 + <condition property="main.class.available">
3.70 + <and>
3.71 + <isset property="main.class"/>
3.72 + <not>
3.73 + <equals arg1="${main.class}" arg2="" trim="true"/>
3.74 + </not>
3.75 + </and>
3.76 + </condition>
3.77 + <condition property="manifest.available+main.class">
3.78 + <and>
3.79 + <isset property="manifest.available"/>
3.80 + <isset property="main.class.available"/>
3.81 + </and>
3.82 + </condition>
3.83 + <condition property="do.archive">
3.84 + <not>
3.85 + <istrue value="${jar.archive.disabled}"/>
3.86 + </not>
3.87 + </condition>
3.88 + <condition property="do.mkdist">
3.89 + <and>
3.90 + <isset property="do.archive"/>
3.91 + <isset property="libs.CopyLibs.classpath"/>
3.92 + <not>
3.93 + <istrue value="${mkdist.disabled}"/>
3.94 + </not>
3.95 + </and>
3.96 + </condition>
3.97 + <condition property="manifest.available+main.class+mkdist.available">
3.98 + <and>
3.99 + <istrue value="${manifest.available+main.class}"/>
3.100 + <isset property="do.mkdist"/>
3.101 + </and>
3.102 + </condition>
3.103 + <condition property="do.archive+manifest.available">
3.104 + <and>
3.105 + <isset property="manifest.available"/>
3.106 + <istrue value="${do.archive}"/>
3.107 + </and>
3.108 + </condition>
3.109 + <condition property="do.archive+main.class.available">
3.110 + <and>
3.111 + <isset property="main.class.available"/>
3.112 + <istrue value="${do.archive}"/>
3.113 + </and>
3.114 + </condition>
3.115 + <condition property="do.archive+splashscreen.available">
3.116 + <and>
3.117 + <isset property="splashscreen.available"/>
3.118 + <istrue value="${do.archive}"/>
3.119 + </and>
3.120 + </condition>
3.121 + <condition property="do.archive+manifest.available+main.class">
3.122 + <and>
3.123 + <istrue value="${manifest.available+main.class}"/>
3.124 + <istrue value="${do.archive}"/>
3.125 + </and>
3.126 + </condition>
3.127 + <condition property="manifest.available-mkdist.available">
3.128 + <or>
3.129 + <istrue value="${manifest.available}"/>
3.130 + <isset property="do.mkdist"/>
3.131 + </or>
3.132 + </condition>
3.133 + <condition property="manifest.available+main.class-mkdist.available">
3.134 + <or>
3.135 + <istrue value="${manifest.available+main.class}"/>
3.136 + <isset property="do.mkdist"/>
3.137 + </or>
3.138 + </condition>
3.139 + <condition property="have.tests">
3.140 + <or>
3.141 + <available file="${test.src.dir}"/>
3.142 + </or>
3.143 + </condition>
3.144 + <condition property="have.sources">
3.145 + <or>
3.146 + <available file="${src.dir}"/>
3.147 + </or>
3.148 + </condition>
3.149 + <condition property="netbeans.home+have.tests">
3.150 + <and>
3.151 + <isset property="netbeans.home"/>
3.152 + <isset property="have.tests"/>
3.153 + </and>
3.154 + </condition>
3.155 + <condition property="no.javadoc.preview">
3.156 + <and>
3.157 + <isset property="javadoc.preview"/>
3.158 + <isfalse value="${javadoc.preview}"/>
3.159 + </and>
3.160 + </condition>
3.161 + <property name="run.jvmargs" value=""/>
3.162 + <property name="javac.compilerargs" value=""/>
3.163 + <property name="work.dir" value="${basedir}"/>
3.164 + <condition property="no.deps">
3.165 + <and>
3.166 + <istrue value="${no.dependencies}"/>
3.167 + </and>
3.168 + </condition>
3.169 + <property name="javac.debug" value="true"/>
3.170 + <property name="javadoc.preview" value="true"/>
3.171 + <property name="application.args" value=""/>
3.172 + <property name="source.encoding" value="${file.encoding}"/>
3.173 + <property name="runtime.encoding" value="${source.encoding}"/>
3.174 + <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
3.175 + <and>
3.176 + <isset property="javadoc.encoding"/>
3.177 + <not>
3.178 + <equals arg1="${javadoc.encoding}" arg2=""/>
3.179 + </not>
3.180 + </and>
3.181 + </condition>
3.182 + <property name="javadoc.encoding.used" value="${source.encoding}"/>
3.183 + <property name="includes" value="**"/>
3.184 + <property name="excludes" value=""/>
3.185 + <property name="do.depend" value="false"/>
3.186 + <condition property="do.depend.true">
3.187 + <istrue value="${do.depend}"/>
3.188 + </condition>
3.189 + <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
3.190 + <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
3.191 + <length length="0" string="${endorsed.classpath}" when="greater"/>
3.192 + </condition>
3.193 + <condition else="false" property="jdkBug6558476">
3.194 + <and>
3.195 + <matches pattern="1\.[56]" string="${java.specification.version}"/>
3.196 + <not>
3.197 + <os family="unix"/>
3.198 + </not>
3.199 + </and>
3.200 + </condition>
3.201 + <property name="javac.fork" value="${jdkBug6558476}"/>
3.202 + <property name="jar.index" value="false"/>
3.203 + <property name="jar.index.metainf" value="${jar.index}"/>
3.204 + <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
3.205 + </target>
3.206 + <target name="-post-init">
3.207 + <!-- Empty placeholder for easier customization. -->
3.208 + <!-- You can override this target in the ../build.xml file. -->
3.209 + </target>
3.210 + <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
3.211 + <fail unless="src.dir">Must set src.dir</fail>
3.212 + <fail unless="test.src.dir">Must set test.src.dir</fail>
3.213 + <fail unless="build.dir">Must set build.dir</fail>
3.214 + <fail unless="dist.dir">Must set dist.dir</fail>
3.215 + <fail unless="build.classes.dir">Must set build.classes.dir</fail>
3.216 + <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
3.217 + <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
3.218 + <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
3.219 + <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
3.220 + <fail unless="dist.jar">Must set dist.jar</fail>
3.221 + </target>
3.222 + <target name="-init-macrodef-property">
3.223 + <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
3.224 + <attribute name="name"/>
3.225 + <attribute name="value"/>
3.226 + <sequential>
3.227 + <property name="@{name}" value="${@{value}}"/>
3.228 + </sequential>
3.229 + </macrodef>
3.230 + </target>
3.231 + <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
3.232 + <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
3.233 + <attribute default="${src.dir}" name="srcdir"/>
3.234 + <attribute default="${build.classes.dir}" name="destdir"/>
3.235 + <attribute default="${javac.classpath}" name="classpath"/>
3.236 + <attribute default="${javac.processorpath}" name="processorpath"/>
3.237 + <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
3.238 + <attribute default="${includes}" name="includes"/>
3.239 + <attribute default="${excludes}" name="excludes"/>
3.240 + <attribute default="${javac.debug}" name="debug"/>
3.241 + <attribute default="${empty.dir}" name="sourcepath"/>
3.242 + <attribute default="${empty.dir}" name="gensrcdir"/>
3.243 + <element name="customize" optional="true"/>
3.244 + <sequential>
3.245 + <property location="${build.dir}/empty" name="empty.dir"/>
3.246 + <mkdir dir="${empty.dir}"/>
3.247 + <mkdir dir="@{apgeneratedsrcdir}"/>
3.248 + <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
3.249 + <src>
3.250 + <dirset dir="@{gensrcdir}" erroronmissingdir="false">
3.251 + <include name="*"/>
3.252 + </dirset>
3.253 + </src>
3.254 + <classpath>
3.255 + <path path="@{classpath}"/>
3.256 + </classpath>
3.257 + <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
3.258 + <compilerarg line="${javac.compilerargs}"/>
3.259 + <compilerarg value="-processorpath"/>
3.260 + <compilerarg path="@{processorpath}:${empty.dir}"/>
3.261 + <compilerarg line="${ap.processors.internal}"/>
3.262 + <compilerarg line="${annotation.processing.processor.options}"/>
3.263 + <compilerarg value="-s"/>
3.264 + <compilerarg path="@{apgeneratedsrcdir}"/>
3.265 + <compilerarg line="${ap.proc.none.internal}"/>
3.266 + <customize/>
3.267 + </javac>
3.268 + </sequential>
3.269 + </macrodef>
3.270 + </target>
3.271 + <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
3.272 + <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
3.273 + <attribute default="${src.dir}" name="srcdir"/>
3.274 + <attribute default="${build.classes.dir}" name="destdir"/>
3.275 + <attribute default="${javac.classpath}" name="classpath"/>
3.276 + <attribute default="${javac.processorpath}" name="processorpath"/>
3.277 + <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
3.278 + <attribute default="${includes}" name="includes"/>
3.279 + <attribute default="${excludes}" name="excludes"/>
3.280 + <attribute default="${javac.debug}" name="debug"/>
3.281 + <attribute default="${empty.dir}" name="sourcepath"/>
3.282 + <attribute default="${empty.dir}" name="gensrcdir"/>
3.283 + <element name="customize" optional="true"/>
3.284 + <sequential>
3.285 + <property location="${build.dir}/empty" name="empty.dir"/>
3.286 + <mkdir dir="${empty.dir}"/>
3.287 + <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
3.288 + <src>
3.289 + <dirset dir="@{gensrcdir}" erroronmissingdir="false">
3.290 + <include name="*"/>
3.291 + </dirset>
3.292 + </src>
3.293 + <classpath>
3.294 + <path path="@{classpath}"/>
3.295 + </classpath>
3.296 + <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
3.297 + <compilerarg line="${javac.compilerargs}"/>
3.298 + <customize/>
3.299 + </javac>
3.300 + </sequential>
3.301 + </macrodef>
3.302 + </target>
3.303 + <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
3.304 + <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
3.305 + <attribute default="${src.dir}" name="srcdir"/>
3.306 + <attribute default="${build.classes.dir}" name="destdir"/>
3.307 + <attribute default="${javac.classpath}" name="classpath"/>
3.308 + <sequential>
3.309 + <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
3.310 + <classpath>
3.311 + <path path="@{classpath}"/>
3.312 + </classpath>
3.313 + </depend>
3.314 + </sequential>
3.315 + </macrodef>
3.316 + <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
3.317 + <attribute default="${build.classes.dir}" name="destdir"/>
3.318 + <sequential>
3.319 + <fail unless="javac.includes">Must set javac.includes</fail>
3.320 + <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
3.321 + <path>
3.322 + <filelist dir="@{destdir}" files="${javac.includes}"/>
3.323 + </path>
3.324 + <globmapper from="*.java" to="*.class"/>
3.325 + </pathconvert>
3.326 + <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
3.327 + <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
3.328 + <delete>
3.329 + <files includesfile="${javac.includesfile.binary}"/>
3.330 + </delete>
3.331 + <delete>
3.332 + <fileset file="${javac.includesfile.binary}"/>
3.333 + </delete>
3.334 + </sequential>
3.335 + </macrodef>
3.336 + </target>
3.337 + <target name="-init-macrodef-junit">
3.338 + <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
3.339 + <attribute default="${includes}" name="includes"/>
3.340 + <attribute default="${excludes}" name="excludes"/>
3.341 + <attribute default="**" name="testincludes"/>
3.342 + <sequential>
3.343 + <property name="junit.forkmode" value="perTest"/>
3.344 + <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
3.345 + <batchtest todir="${build.test.results.dir}">
3.346 + <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
3.347 + <filename name="@{testincludes}"/>
3.348 + </fileset>
3.349 + </batchtest>
3.350 + <classpath>
3.351 + <path path="${run.test.classpath}"/>
3.352 + </classpath>
3.353 + <syspropertyset>
3.354 + <propertyref prefix="test-sys-prop."/>
3.355 + <mapper from="test-sys-prop.*" to="*" type="glob"/>
3.356 + </syspropertyset>
3.357 + <formatter type="brief" usefile="false"/>
3.358 + <formatter type="xml"/>
3.359 + <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
3.360 + <jvmarg value="-ea"/>
3.361 + <jvmarg line="${run.jvmargs}"/>
3.362 + </junit>
3.363 + </sequential>
3.364 + </macrodef>
3.365 + </target>
3.366 + <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" name="profile-init"/>
3.367 + <target name="-profile-pre-init">
3.368 + <!-- Empty placeholder for easier customization. -->
3.369 + <!-- You can override this target in the ../build.xml file. -->
3.370 + </target>
3.371 + <target name="-profile-post-init">
3.372 + <!-- Empty placeholder for easier customization. -->
3.373 + <!-- You can override this target in the ../build.xml file. -->
3.374 + </target>
3.375 + <target name="-profile-init-macrodef-profile">
3.376 + <macrodef name="resolve">
3.377 + <attribute name="name"/>
3.378 + <attribute name="value"/>
3.379 + <sequential>
3.380 + <property name="@{name}" value="${env.@{value}}"/>
3.381 + </sequential>
3.382 + </macrodef>
3.383 + <macrodef name="profile">
3.384 + <attribute default="${main.class}" name="classname"/>
3.385 + <element name="customize" optional="true"/>
3.386 + <sequential>
3.387 + <property environment="env"/>
3.388 + <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
3.389 + <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
3.390 + <jvmarg value="${profiler.info.jvmargs.agent}"/>
3.391 + <jvmarg line="${profiler.info.jvmargs}"/>
3.392 + <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
3.393 + <arg line="${application.args}"/>
3.394 + <classpath>
3.395 + <path path="${run.classpath}"/>
3.396 + </classpath>
3.397 + <syspropertyset>
3.398 + <propertyref prefix="run-sys-prop."/>
3.399 + <mapper from="run-sys-prop.*" to="*" type="glob"/>
3.400 + </syspropertyset>
3.401 + <customize/>
3.402 + </java>
3.403 + </sequential>
3.404 + </macrodef>
3.405 + </target>
3.406 + <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" name="-profile-init-check">
3.407 + <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
3.408 + <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
3.409 + </target>
3.410 + <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
3.411 + <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
3.412 + <attribute default="${main.class}" name="name"/>
3.413 + <attribute default="${debug.classpath}" name="classpath"/>
3.414 + <attribute default="" name="stopclassname"/>
3.415 + <sequential>
3.416 + <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
3.417 + <classpath>
3.418 + <path path="@{classpath}"/>
3.419 + </classpath>
3.420 + </nbjpdastart>
3.421 + </sequential>
3.422 + </macrodef>
3.423 + <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
3.424 + <attribute default="${build.classes.dir}" name="dir"/>
3.425 + <sequential>
3.426 + <nbjpdareload>
3.427 + <fileset dir="@{dir}" includes="${fix.classes}">
3.428 + <include name="${fix.includes}*.class"/>
3.429 + </fileset>
3.430 + </nbjpdareload>
3.431 + </sequential>
3.432 + </macrodef>
3.433 + </target>
3.434 + <target name="-init-debug-args">
3.435 + <property name="version-output" value="java version "${ant.java.version}"/>
3.436 + <condition property="have-jdk-older-than-1.4">
3.437 + <or>
3.438 + <contains string="${version-output}" substring="java version "1.0"/>
3.439 + <contains string="${version-output}" substring="java version "1.1"/>
3.440 + <contains string="${version-output}" substring="java version "1.2"/>
3.441 + <contains string="${version-output}" substring="java version "1.3"/>
3.442 + </or>
3.443 + </condition>
3.444 + <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
3.445 + <istrue value="${have-jdk-older-than-1.4}"/>
3.446 + </condition>
3.447 + <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
3.448 + <os family="windows"/>
3.449 + </condition>
3.450 + <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
3.451 + <isset property="debug.transport"/>
3.452 + </condition>
3.453 + </target>
3.454 + <target depends="-init-debug-args" name="-init-macrodef-debug">
3.455 + <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
3.456 + <attribute default="${main.class}" name="classname"/>
3.457 + <attribute default="${debug.classpath}" name="classpath"/>
3.458 + <element name="customize" optional="true"/>
3.459 + <sequential>
3.460 + <java classname="@{classname}" dir="${work.dir}" fork="true">
3.461 + <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
3.462 + <jvmarg line="${debug-args-line}"/>
3.463 + <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
3.464 + <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
3.465 + <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
3.466 + <jvmarg line="${run.jvmargs}"/>
3.467 + <classpath>
3.468 + <path path="@{classpath}"/>
3.469 + </classpath>
3.470 + <syspropertyset>
3.471 + <propertyref prefix="run-sys-prop."/>
3.472 + <mapper from="run-sys-prop.*" to="*" type="glob"/>
3.473 + </syspropertyset>
3.474 + <customize/>
3.475 + </java>
3.476 + </sequential>
3.477 + </macrodef>
3.478 + </target>
3.479 + <target name="-init-macrodef-java">
3.480 + <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
3.481 + <attribute default="${main.class}" name="classname"/>
3.482 + <attribute default="${run.classpath}" name="classpath"/>
3.483 + <element name="customize" optional="true"/>
3.484 + <sequential>
3.485 + <java classname="@{classname}" dir="${work.dir}" fork="true">
3.486 + <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
3.487 + <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
3.488 + <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
3.489 + <jvmarg line="${run.jvmargs}"/>
3.490 + <classpath>
3.491 + <path path="@{classpath}"/>
3.492 + </classpath>
3.493 + <syspropertyset>
3.494 + <propertyref prefix="run-sys-prop."/>
3.495 + <mapper from="run-sys-prop.*" to="*" type="glob"/>
3.496 + </syspropertyset>
3.497 + <customize/>
3.498 + </java>
3.499 + </sequential>
3.500 + </macrodef>
3.501 + </target>
3.502 + <target name="-init-macrodef-copylibs">
3.503 + <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
3.504 + <attribute default="${manifest.file}" name="manifest"/>
3.505 + <element name="customize" optional="true"/>
3.506 + <sequential>
3.507 + <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
3.508 + <pathconvert property="run.classpath.without.build.classes.dir">
3.509 + <path path="${run.classpath}"/>
3.510 + <map from="${build.classes.dir.resolved}" to=""/>
3.511 + </pathconvert>
3.512 + <pathconvert pathsep=" " property="jar.classpath">
3.513 + <path path="${run.classpath.without.build.classes.dir}"/>
3.514 + <chainedmapper>
3.515 + <flattenmapper/>
3.516 + <globmapper from="*" to="lib/*"/>
3.517 + </chainedmapper>
3.518 + </pathconvert>
3.519 + <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
3.520 + <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
3.521 + <fileset dir="${build.classes.dir}"/>
3.522 + <manifest>
3.523 + <attribute name="Class-Path" value="${jar.classpath}"/>
3.524 + <customize/>
3.525 + </manifest>
3.526 + </copylibs>
3.527 + </sequential>
3.528 + </macrodef>
3.529 + </target>
3.530 + <target name="-init-presetdef-jar">
3.531 + <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
3.532 + <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
3.533 + <j2seproject1:fileset dir="${build.classes.dir}"/>
3.534 + </jar>
3.535 + </presetdef>
3.536 + </target>
3.537 + <target name="-init-ap-cmdline-properties">
3.538 + <property name="annotation.processing.enabled" value="true"/>
3.539 + <property name="annotation.processing.processors.list" value=""/>
3.540 + <property name="annotation.processing.processor.options" value=""/>
3.541 + <property name="annotation.processing.run.all.processors" value="true"/>
3.542 + <property name="javac.processorpath" value="${javac.classpath}"/>
3.543 + <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
3.544 + <condition property="ap.supported.internal" value="true">
3.545 + <not>
3.546 + <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
3.547 + </not>
3.548 + </condition>
3.549 + </target>
3.550 + <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
3.551 + <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
3.552 + <isfalse value="${annotation.processing.run.all.processors}"/>
3.553 + </condition>
3.554 + <condition else="" property="ap.proc.none.internal" value="-proc:none">
3.555 + <isfalse value="${annotation.processing.enabled}"/>
3.556 + </condition>
3.557 + </target>
3.558 + <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
3.559 + <property name="ap.cmd.line.internal" value=""/>
3.560 + </target>
3.561 + <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
3.562 + <!--
3.563 + ===================
3.564 + COMPILATION SECTION
3.565 + ===================
3.566 + -->
3.567 + <target name="-deps-jar-init" unless="built-jar.properties">
3.568 + <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
3.569 + <delete file="${built-jar.properties}" quiet="true"/>
3.570 + </target>
3.571 + <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
3.572 + <echo level="warn" message="Cycle detected: sql-java-prihlasovani was already built"/>
3.573 + </target>
3.574 + <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
3.575 + <mkdir dir="${build.dir}"/>
3.576 + <touch file="${built-jar.properties}" verbose="false"/>
3.577 + <property file="${built-jar.properties}" prefix="already.built.jar."/>
3.578 + <antcall target="-warn-already-built-jar"/>
3.579 + <propertyfile file="${built-jar.properties}">
3.580 + <entry key="${basedir}" value=""/>
3.581 + </propertyfile>
3.582 + </target>
3.583 + <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
3.584 + <target depends="init" name="-check-automatic-build">
3.585 + <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
3.586 + </target>
3.587 + <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
3.588 + <antcall target="clean"/>
3.589 + </target>
3.590 + <target depends="init,deps-jar" name="-pre-pre-compile">
3.591 + <mkdir dir="${build.classes.dir}"/>
3.592 + </target>
3.593 + <target name="-pre-compile">
3.594 + <!-- Empty placeholder for easier customization. -->
3.595 + <!-- You can override this target in the ../build.xml file. -->
3.596 + </target>
3.597 + <target if="do.depend.true" name="-compile-depend">
3.598 + <pathconvert property="build.generated.subdirs">
3.599 + <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
3.600 + <include name="*"/>
3.601 + </dirset>
3.602 + </pathconvert>
3.603 + <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
3.604 + </target>
3.605 + <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
3.606 + <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
3.607 + <copy todir="${build.classes.dir}">
3.608 + <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
3.609 + </copy>
3.610 + </target>
3.611 + <target if="has.persistence.xml" name="-copy-persistence-xml">
3.612 + <mkdir dir="${build.classes.dir}/META-INF"/>
3.613 + <copy todir="${build.classes.dir}/META-INF">
3.614 + <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
3.615 + </copy>
3.616 + </target>
3.617 + <target name="-post-compile">
3.618 + <!-- Empty placeholder for easier customization. -->
3.619 + <!-- You can override this target in the ../build.xml file. -->
3.620 + </target>
3.621 + <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
3.622 + <target name="-pre-compile-single">
3.623 + <!-- Empty placeholder for easier customization. -->
3.624 + <!-- You can override this target in the ../build.xml file. -->
3.625 + </target>
3.626 + <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
3.627 + <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
3.628 + <j2seproject3:force-recompile/>
3.629 + <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
3.630 + </target>
3.631 + <target name="-post-compile-single">
3.632 + <!-- Empty placeholder for easier customization. -->
3.633 + <!-- You can override this target in the ../build.xml file. -->
3.634 + </target>
3.635 + <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
3.636 + <!--
3.637 + ====================
3.638 + JAR BUILDING SECTION
3.639 + ====================
3.640 + -->
3.641 + <target depends="init" name="-pre-pre-jar">
3.642 + <dirname file="${dist.jar}" property="dist.jar.dir"/>
3.643 + <mkdir dir="${dist.jar.dir}"/>
3.644 + </target>
3.645 + <target name="-pre-jar">
3.646 + <!-- Empty placeholder for easier customization. -->
3.647 + <!-- You can override this target in the ../build.xml file. -->
3.648 + </target>
3.649 + <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
3.650 + <j2seproject1:jar/>
3.651 + </target>
3.652 + <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
3.653 + <j2seproject1:jar manifest="${manifest.file}"/>
3.654 + </target>
3.655 + <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
3.656 + <j2seproject1:jar manifest="${manifest.file}">
3.657 + <j2seproject1:manifest>
3.658 + <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
3.659 + </j2seproject1:manifest>
3.660 + </j2seproject1:jar>
3.661 + <echo level="info">To run this application from the command line without Ant, try:</echo>
3.662 + <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
3.663 + <property location="${dist.jar}" name="dist.jar.resolved"/>
3.664 + <pathconvert property="run.classpath.with.dist.jar">
3.665 + <path path="${run.classpath}"/>
3.666 + <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
3.667 + </pathconvert>
3.668 + <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
3.669 + </target>
3.670 + <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
3.671 + <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
3.672 + <touch file="${tmp.manifest.file}" verbose="false"/>
3.673 + </target>
3.674 + <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
3.675 + <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
3.676 + <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
3.677 + </target>
3.678 + <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+main.class.available" name="-do-jar-with-libraries-set-main">
3.679 + <manifest file="${tmp.manifest.file}" mode="update">
3.680 + <attribute name="Main-Class" value="${main.class}"/>
3.681 + </manifest>
3.682 + </target>
3.683 + <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-with-libraries-set-splashscreen">
3.684 + <basename file="${application.splash}" property="splashscreen.basename"/>
3.685 + <mkdir dir="${build.classes.dir}/META-INF"/>
3.686 + <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
3.687 + <manifest file="${tmp.manifest.file}" mode="update">
3.688 + <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
3.689 + </manifest>
3.690 + </target>
3.691 + <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen" if="do.mkdist" name="-do-jar-with-libraries-pack">
3.692 + <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
3.693 + <echo level="info">To run this application from the command line without Ant, try:</echo>
3.694 + <property location="${dist.jar}" name="dist.jar.resolved"/>
3.695 + <echo level="info">java -jar "${dist.jar.resolved}"</echo>
3.696 + </target>
3.697 + <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
3.698 + <delete>
3.699 + <fileset file="${tmp.manifest.file}"/>
3.700 + </delete>
3.701 + </target>
3.702 + <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-pack,-do-jar-with-libraries-delete-manifest" name="-do-jar-with-libraries"/>
3.703 + <target name="-post-jar">
3.704 + <!-- Empty placeholder for easier customization. -->
3.705 + <!-- You can override this target in the ../build.xml file. -->
3.706 + </target>
3.707 + <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
3.708 + <!--
3.709 + =================
3.710 + EXECUTION SECTION
3.711 + =================
3.712 + -->
3.713 + <target depends="init,compile" description="Run a main class." name="run">
3.714 + <j2seproject1:java>
3.715 + <customize>
3.716 + <arg line="${application.args}"/>
3.717 + </customize>
3.718 + </j2seproject1:java>
3.719 + </target>
3.720 + <target name="-do-not-recompile">
3.721 + <property name="javac.includes.binary" value=""/>
3.722 + </target>
3.723 + <target depends="init,compile-single" name="run-single">
3.724 + <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
3.725 + <j2seproject1:java classname="${run.class}"/>
3.726 + </target>
3.727 + <target depends="init,compile-test-single" name="run-test-with-main">
3.728 + <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
3.729 + <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
3.730 + </target>
3.731 + <!--
3.732 + =================
3.733 + DEBUGGING SECTION
3.734 + =================
3.735 + -->
3.736 + <target depends="init" if="netbeans.home" name="-debug-start-debugger">
3.737 + <j2seproject1:nbjpdastart name="${debug.class}"/>
3.738 + </target>
3.739 + <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
3.740 + <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
3.741 + </target>
3.742 + <target depends="init,compile" name="-debug-start-debuggee">
3.743 + <j2seproject3:debug>
3.744 + <customize>
3.745 + <arg line="${application.args}"/>
3.746 + </customize>
3.747 + </j2seproject3:debug>
3.748 + </target>
3.749 + <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
3.750 + <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
3.751 + <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
3.752 + </target>
3.753 + <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
3.754 + <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
3.755 + <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
3.756 + <j2seproject3:debug classname="${debug.class}"/>
3.757 + </target>
3.758 + <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
3.759 + <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
3.760 + <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
3.761 + <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
3.762 + </target>
3.763 + <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
3.764 + <target depends="init" name="-pre-debug-fix">
3.765 + <fail unless="fix.includes">Must set fix.includes</fail>
3.766 + <property name="javac.includes" value="${fix.includes}.java"/>
3.767 + </target>
3.768 + <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
3.769 + <j2seproject1:nbjpdareload/>
3.770 + </target>
3.771 + <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
3.772 + <!--
3.773 + =================
3.774 + PROFILING SECTION
3.775 + =================
3.776 + -->
3.777 + <target depends="profile-init,compile" description="Profile a project in the IDE." if="netbeans.home" name="profile">
3.778 + <nbprofiledirect>
3.779 + <classpath>
3.780 + <path path="${run.classpath}"/>
3.781 + </classpath>
3.782 + </nbprofiledirect>
3.783 + <profile/>
3.784 + </target>
3.785 + <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="netbeans.home" name="profile-single">
3.786 + <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
3.787 + <nbprofiledirect>
3.788 + <classpath>
3.789 + <path path="${run.classpath}"/>
3.790 + </classpath>
3.791 + </nbprofiledirect>
3.792 + <profile classname="${profile.class}"/>
3.793 + </target>
3.794 + <!--
3.795 + =========================
3.796 + APPLET PROFILING SECTION
3.797 + =========================
3.798 + -->
3.799 + <target depends="profile-init,compile-single" if="netbeans.home" name="profile-applet">
3.800 + <nbprofiledirect>
3.801 + <classpath>
3.802 + <path path="${run.classpath}"/>
3.803 + </classpath>
3.804 + </nbprofiledirect>
3.805 + <profile classname="sun.applet.AppletViewer">
3.806 + <customize>
3.807 + <arg value="${applet.url}"/>
3.808 + </customize>
3.809 + </profile>
3.810 + </target>
3.811 + <!--
3.812 + =========================
3.813 + TESTS PROFILING SECTION
3.814 + =========================
3.815 + -->
3.816 + <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
3.817 + <nbprofiledirect>
3.818 + <classpath>
3.819 + <path path="${run.test.classpath}"/>
3.820 + </classpath>
3.821 + </nbprofiledirect>
3.822 + <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
3.823 + <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
3.824 + <jvmarg value="${profiler.info.jvmargs.agent}"/>
3.825 + <jvmarg line="${profiler.info.jvmargs}"/>
3.826 + <test name="${profile.class}"/>
3.827 + <classpath>
3.828 + <path path="${run.test.classpath}"/>
3.829 + </classpath>
3.830 + <syspropertyset>
3.831 + <propertyref prefix="test-sys-prop."/>
3.832 + <mapper from="test-sys-prop.*" to="*" type="glob"/>
3.833 + </syspropertyset>
3.834 + <formatter type="brief" usefile="false"/>
3.835 + <formatter type="xml"/>
3.836 + </junit>
3.837 + </target>
3.838 + <!--
3.839 + ===============
3.840 + JAVADOC SECTION
3.841 + ===============
3.842 + -->
3.843 + <target depends="init" if="have.sources" name="-javadoc-build">
3.844 + <mkdir dir="${dist.javadoc.dir}"/>
3.845 + <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
3.846 + <classpath>
3.847 + <path path="${javac.classpath}"/>
3.848 + </classpath>
3.849 + <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
3.850 + <filename name="**/*.java"/>
3.851 + </fileset>
3.852 + <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
3.853 + <include name="**/*.java"/>
3.854 + </fileset>
3.855 + </javadoc>
3.856 + <copy todir="${dist.javadoc.dir}">
3.857 + <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
3.858 + <filename name="**/doc-files/**"/>
3.859 + </fileset>
3.860 + <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
3.861 + <include name="**/doc-files/**"/>
3.862 + </fileset>
3.863 + </copy>
3.864 + </target>
3.865 + <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
3.866 + <nbbrowse file="${dist.javadoc.dir}/index.html"/>
3.867 + </target>
3.868 + <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
3.869 + <!--
3.870 + =========================
3.871 + JUNIT COMPILATION SECTION
3.872 + =========================
3.873 + -->
3.874 + <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
3.875 + <mkdir dir="${build.test.classes.dir}"/>
3.876 + </target>
3.877 + <target name="-pre-compile-test">
3.878 + <!-- Empty placeholder for easier customization. -->
3.879 + <!-- You can override this target in the ../build.xml file. -->
3.880 + </target>
3.881 + <target if="do.depend.true" name="-compile-test-depend">
3.882 + <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
3.883 + </target>
3.884 + <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
3.885 + <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>
3.886 + <copy todir="${build.test.classes.dir}">
3.887 + <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
3.888 + </copy>
3.889 + </target>
3.890 + <target name="-post-compile-test">
3.891 + <!-- Empty placeholder for easier customization. -->
3.892 + <!-- You can override this target in the ../build.xml file. -->
3.893 + </target>
3.894 + <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
3.895 + <target name="-pre-compile-test-single">
3.896 + <!-- Empty placeholder for easier customization. -->
3.897 + <!-- You can override this target in the ../build.xml file. -->
3.898 + </target>
3.899 + <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
3.900 + <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
3.901 + <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
3.902 + <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
3.903 + <copy todir="${build.test.classes.dir}">
3.904 + <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
3.905 + </copy>
3.906 + </target>
3.907 + <target name="-post-compile-test-single">
3.908 + <!-- Empty placeholder for easier customization. -->
3.909 + <!-- You can override this target in the ../build.xml file. -->
3.910 + </target>
3.911 + <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
3.912 + <!--
3.913 + =======================
3.914 + JUNIT EXECUTION SECTION
3.915 + =======================
3.916 + -->
3.917 + <target depends="init" if="have.tests" name="-pre-test-run">
3.918 + <mkdir dir="${build.test.results.dir}"/>
3.919 + </target>
3.920 + <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
3.921 + <j2seproject3:junit testincludes="**/*Test.java"/>
3.922 + </target>
3.923 + <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
3.924 + <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
3.925 + </target>
3.926 + <target depends="init" if="have.tests" name="test-report"/>
3.927 + <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
3.928 + <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
3.929 + <target depends="init" if="have.tests" name="-pre-test-run-single">
3.930 + <mkdir dir="${build.test.results.dir}"/>
3.931 + </target>
3.932 + <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
3.933 + <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
3.934 + <j2seproject3:junit excludes="" includes="${test.includes}"/>
3.935 + </target>
3.936 + <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
3.937 + <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
3.938 + </target>
3.939 + <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
3.940 + <!--
3.941 + =======================
3.942 + JUNIT DEBUGGING SECTION
3.943 + =======================
3.944 + -->
3.945 + <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
3.946 + <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
3.947 + <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
3.948 + <delete file="${test.report.file}"/>
3.949 + <mkdir dir="${build.test.results.dir}"/>
3.950 + <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
3.951 + <customize>
3.952 + <syspropertyset>
3.953 + <propertyref prefix="test-sys-prop."/>
3.954 + <mapper from="test-sys-prop.*" to="*" type="glob"/>
3.955 + </syspropertyset>
3.956 + <arg value="${test.class}"/>
3.957 + <arg value="showoutput=true"/>
3.958 + <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
3.959 + <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
3.960 + </customize>
3.961 + </j2seproject3:debug>
3.962 + </target>
3.963 + <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
3.964 + <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
3.965 + </target>
3.966 + <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
3.967 + <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
3.968 + <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
3.969 + </target>
3.970 + <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
3.971 + <!--
3.972 + =========================
3.973 + APPLET EXECUTION SECTION
3.974 + =========================
3.975 + -->
3.976 + <target depends="init,compile-single" name="run-applet">
3.977 + <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
3.978 + <j2seproject1:java classname="sun.applet.AppletViewer">
3.979 + <customize>
3.980 + <arg value="${applet.url}"/>
3.981 + </customize>
3.982 + </j2seproject1:java>
3.983 + </target>
3.984 + <!--
3.985 + =========================
3.986 + APPLET DEBUGGING SECTION
3.987 + =========================
3.988 + -->
3.989 + <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
3.990 + <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
3.991 + <j2seproject3:debug classname="sun.applet.AppletViewer">
3.992 + <customize>
3.993 + <arg value="${applet.url}"/>
3.994 + </customize>
3.995 + </j2seproject3:debug>
3.996 + </target>
3.997 + <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
3.998 + <!--
3.999 + ===============
3.1000 + CLEANUP SECTION
3.1001 + ===============
3.1002 + -->
3.1003 + <target name="-deps-clean-init" unless="built-clean.properties">
3.1004 + <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
3.1005 + <delete file="${built-clean.properties}" quiet="true"/>
3.1006 + </target>
3.1007 + <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
3.1008 + <echo level="warn" message="Cycle detected: sql-java-prihlasovani was already built"/>
3.1009 + </target>
3.1010 + <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
3.1011 + <mkdir dir="${build.dir}"/>
3.1012 + <touch file="${built-clean.properties}" verbose="false"/>
3.1013 + <property file="${built-clean.properties}" prefix="already.built.clean."/>
3.1014 + <antcall target="-warn-already-built-clean"/>
3.1015 + <propertyfile file="${built-clean.properties}">
3.1016 + <entry key="${basedir}" value=""/>
3.1017 + </propertyfile>
3.1018 + </target>
3.1019 + <target depends="init" name="-do-clean">
3.1020 + <delete dir="${build.dir}"/>
3.1021 + <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
3.1022 + </target>
3.1023 + <target name="-post-clean">
3.1024 + <!-- Empty placeholder for easier customization. -->
3.1025 + <!-- You can override this target in the ../build.xml file. -->
3.1026 + </target>
3.1027 + <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
3.1028 + <target name="-check-call-dep">
3.1029 + <property file="${call.built.properties}" prefix="already.built."/>
3.1030 + <condition property="should.call.dep">
3.1031 + <not>
3.1032 + <isset property="already.built.${call.subproject}"/>
3.1033 + </not>
3.1034 + </condition>
3.1035 + </target>
3.1036 + <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
3.1037 + <ant antfile="${call.script}" inheritall="false" target="${call.target}">
3.1038 + <propertyset>
3.1039 + <propertyref prefix="transfer."/>
3.1040 + <mapper from="transfer.*" to="*" type="glob"/>
3.1041 + </propertyset>
3.1042 + </ant>
3.1043 + </target>
3.1044 +</project>
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/java/sql-java-prihlasovani/nbproject/genfiles.properties Thu Jul 21 19:45:02 2011 +0200
4.3 @@ -0,0 +1,8 @@
4.4 +build.xml.data.CRC32=916fc21a
4.5 +build.xml.script.CRC32=6f72d48b
4.6 +build.xml.stylesheet.CRC32=28e38971@1.43.1.45
4.7 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
4.8 +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
4.9 +nbproject/build-impl.xml.data.CRC32=916fc21a
4.10 +nbproject/build-impl.xml.script.CRC32=7e41f0b2
4.11 +nbproject/build-impl.xml.stylesheet.CRC32=0c01fd8e@1.43.1.45
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/java/sql-java-prihlasovani/nbproject/project.properties Thu Jul 21 19:45:02 2011 +0200
5.3 @@ -0,0 +1,71 @@
5.4 +annotation.processing.enabled=true
5.5 +annotation.processing.enabled.in.editor=false
5.6 +annotation.processing.processor.options=
5.7 +annotation.processing.processors.list=
5.8 +annotation.processing.run.all.processors=true
5.9 +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
5.10 +build.classes.dir=${build.dir}/classes
5.11 +build.classes.excludes=**/*.java,**/*.form
5.12 +# This directory is removed when the project is cleaned:
5.13 +build.dir=build
5.14 +build.generated.dir=${build.dir}/generated
5.15 +build.generated.sources.dir=${build.dir}/generated-sources
5.16 +# Only compile against the classpath explicitly listed here:
5.17 +build.sysclasspath=ignore
5.18 +build.test.classes.dir=${build.dir}/test/classes
5.19 +build.test.results.dir=${build.dir}/test/results
5.20 +# Uncomment to specify the preferred debugger connection transport:
5.21 +#debug.transport=dt_socket
5.22 +debug.classpath=\
5.23 + ${run.classpath}
5.24 +debug.test.classpath=\
5.25 + ${run.test.classpath}
5.26 +# This directory is removed when the project is cleaned:
5.27 +dist.dir=dist
5.28 +dist.jar=${dist.dir}/sql-java-prihlasovani.jar
5.29 +dist.javadoc.dir=${dist.dir}/javadoc
5.30 +excludes=
5.31 +includes=**
5.32 +jar.compress=false
5.33 +javac.classpath=
5.34 +# Space-separated list of extra javac options
5.35 +javac.compilerargs=
5.36 +javac.deprecation=false
5.37 +javac.processorpath=\
5.38 + ${javac.classpath}
5.39 +javac.source=1.6
5.40 +javac.target=1.6
5.41 +javac.test.classpath=\
5.42 + ${javac.classpath}:\
5.43 + ${build.classes.dir}
5.44 +javac.test.processorpath=\
5.45 + ${javac.test.classpath}
5.46 +javadoc.additionalparam=
5.47 +javadoc.author=false
5.48 +javadoc.encoding=${source.encoding}
5.49 +javadoc.noindex=false
5.50 +javadoc.nonavbar=false
5.51 +javadoc.notree=false
5.52 +javadoc.private=false
5.53 +javadoc.splitindex=true
5.54 +javadoc.use=true
5.55 +javadoc.version=false
5.56 +javadoc.windowtitle=
5.57 +main.class=
5.58 +manifest.file=manifest.mf
5.59 +meta.inf.dir=${src.dir}/META-INF
5.60 +mkdist.disabled=false
5.61 +platform.active=default_platform
5.62 +run.classpath=\
5.63 + ${javac.classpath}:\
5.64 + ${build.classes.dir}
5.65 +# Space-separated list of JVM arguments used when running the project
5.66 +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
5.67 +# or test-sys-prop.name=value to set system properties for unit tests):
5.68 +run.jvmargs=
5.69 +run.test.classpath=\
5.70 + ${javac.test.classpath}:\
5.71 + ${build.test.classes.dir}
5.72 +source.encoding=UTF-8
5.73 +src.dir=src
5.74 +test.src.dir=test
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/java/sql-java-prihlasovani/nbproject/project.xml Thu Jul 21 19:45:02 2011 +0200
6.3 @@ -0,0 +1,15 @@
6.4 +<?xml version="1.0" encoding="UTF-8"?>
6.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
6.6 + <type>org.netbeans.modules.java.j2seproject</type>
6.7 + <configuration>
6.8 + <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
6.9 + <name>sql-java-prihlasovani</name>
6.10 + <source-roots>
6.11 + <root id="src.dir"/>
6.12 + </source-roots>
6.13 + <test-roots>
6.14 + <root id="test.src.dir"/>
6.15 + </test-roots>
6.16 + </data>
6.17 + </configuration>
6.18 +</project>