Index: hgignore
===================================================================
--- .hgignore	(revision 79:aa8c8f51b0cc)
+++ 	(revision )
@@ -1,7 +1,0 @@
-java/sql-vyuka/dist/*
-java/sql-vyuka/build/*
-java/sql-vyuka/web/sql-vyuka-src.zip
-java/sql-vyuka/nbproject/private
-java/sql-vyuka/src/conf/MANIFEST.MF
-temp/*
-balíčky/*
Index: tml/formulář.html
===================================================================
--- html/formulář.html	(revision 74:48066e753dd6)
+++ 	(revision )
@@ -1,43 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
-    <head>
-        <meta http-equiv="content-language" content="cs"/>
-        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
-        <title>Objednávka</title>
-    </head>
-    <body>
-        <h1>Objednávka</h1>
-        <form action="/objednavka/" method="post" class="objednavka">
-            <fieldset class="radio">
-                <legend>Zvolte variantu</legend><br />
-                <label><input name="varianta" value="licence" type="radio" />Licence: 1&#160;000 Kč</label><br />
-                <label><input name="varianta" value="licence-instalace" type="radio" />Licence + odborná instalace: 1&#160;500 Kč</label><br />
-                <label><input name="varianta" value="hosting" type="radio" />Hostovaný provoz: 300 Kč za měsíc</label><br />
-            </fieldset>
-            <fieldset>
-                <legend>Zákazník</legend><br />
-                <label>Název školy: <input name="nazev" maxlength="64" type="text" /></label><br />
-                <label>Ulice: <input name="ulice" maxlength="64" type="text" /></label><br />
-                <label>Město: <input name="mesto" maxlength="64" type="text" /></label><br />
-                <label>PSČ: <input name="psc" maxlength="16" type="text" /></label><br />
-                <label>IČO: <input name="ico" maxlength="64" type="text" /></label><br />
-            </fieldset><br />
-            <fieldset>
-                <legend>Kontaktní údaje</legend><br />
-                <label>Komtaktní osoba: <input name="osoba" maxlength="128" type="text" /></label><br />
-                <label>E-mail: <input name="email" maxlength="128" type="text" /></label><br />
-                <textarea name="klic" cols="100" rows="10">pokud chcete šifrovat e-maily, vložte sem svůj veřejný klíč (PGP/GPG nebo X509)</textarea><br />
-            </fieldset>
-            <fieldset>
-                <legend>Doplňkové údaje</legend><br />
-                <label>Předpokládaný počet uživatelů: <input name="pocetUzivatelu" maxlength="128" type="text" /></label><br />
-                <textarea name="komentar" cols="100" rows="10">komentář (pokud nějaký máte)</textarea>
-            </fieldset>
-            <fieldset class="tlacitka">
-                <legend>Zadat objednávku</legend><br />
-                <button type="submit">Odeslat objednávku</button><br />
-            </fieldset>
-        </form>
-    </body>
-</html>
Index: tml/historie.html
===================================================================
--- html/historie.html	(revision 5:71c6de7f0a38)
+++ 	(revision )
@@ -1,26 +1,0 @@
-<div>
-    <table>
-        <thead title="Chceš setřídit výsledek podle nějakého sloupce? Co takhle ORDER BY sloupec.">
-            <tr>
-                <td>Kdy</td>
-                <td>SQL příkaz</td>
-            </tr>
-        </thead>
-        <tbody>
-            <tr>
-                <td>2008-05-24 16:00:08</td>
-                <td>SELECT * FROM tabulka WHERE id = 123;</td>
-            </tr>
-            <tr>
-                <td>2008-05-24 15:55:10</td>
-                <td>SELECT * FROM tabulka WHERE id = 123 ORDER BY datum DESC;</td>
-            </tr>
-            <tr>
-                <td>2008-05-24 15:51:28</td>
-                <td>SELECT * <br/>FROM tabulka <br/>JOIN druha_tabulka USING (email) <br/>WHERE id = 8;</td>
-            </tr>
-        </tbody>
-    </table>
-    <p class="vysledekOK">Toto je historie provedených SQL příkazů.</p>
-    <p class="vysledekTip">„Nějaký pěkný tip, citát, nebo <a href="http://frantovo.cz/blog/">odkaz</a> na stránku.“</p>
-</div>
Index: tml/hlavni.js
===================================================================
--- html/hlavni.js	(revision 6:817ec319b143)
+++ 	(revision )
@@ -1,100 +1,0 @@
-/** ID html prvků */
-const vstupniPole = 'vstupniPole';
-const vystupniPole = 'vystupniPole';
-const napovedniPole = 'napovedniPole';
-
-
-/**
- * Aby to fungovalo i v MSIE 6.
- * @return AJAXový objekt.
- */
-function getXmlHttpRequestObject() {
-    if (window.XMLHttpRequest) {
-        return new XMLHttpRequest();
-    } else if(window.ActiveXObject) {
-        return new ActiveXObject("Microsoft.XMLHTTP");
-    } else {
-        alert("Váš prohlížeč nepodporuje AJAX. Pořiďte si méně zastaralý prohlížeč, nejlépe Firefox.");
-        return null;
-    }
-}
-
-/** Náš AJAXový objekt. */
-var ajax = getXmlHttpRequestObject();
-
-/**
- * Vrací vstup od uživatele.
- * @return SQL příkaz zadaný uživatelem.
- **/
-function getSQL() {
-    return document.getElementById(vstupniPole).innerHTML;
-}
-
-/**
- * Zobrazí text na požadovaném místě.
- * @param text text k zobrazení
- * @param kde id prvku, do kterého se má text vypsat
- **/
-function zobraz(text, kde) {
-    document.getElementById(kde).innerHTML = text + '<p>&nbsp;<!-- Šťastné hackování ;-) --></p>';
-}
-
-/**
- * Zobrazí text ve výstupním poli.
- * @param text text k zobrazení
- **/
-function zobrazVystup(text) {
-    zobraz(text, vystupniPole);
-}
-
-/**
- * Zobrazí text ve vstupním poli.
- * Požijeme pro načtení SQL příkazu z historie.
- * @param text text k zobrazení
- **/
-function zobrazVstup(text) {
-    zobraz(text, vstupniPole);
-}
-
-/**
- * Zobrazí text ve poli pro nápovědu.
- * @param text text k zobrazení
- **/
-function zobrazNapovedu(text) {
-    zobraz(text, napovedniPole);
-}
-
-/** Jednoduchá AJAXová funkce, načte obsah souboru a zobrazí ho ve výstupním okně. */
-function ajaxVykonatSQL() {
-    if (ajax.readyState == 4 || ajax.readyState == 0) {
-        ajax.open("GET", 'vysledek.html', true);
-        ajax.onreadystatechange = vykonatSQLVypis;
-        ajax.send(null);
-    }
-    //zobrazNapovedu('Nějaká nápověda k danému příkazu.');
-    //zobrazNapovedu(escape(getSQL()));
-}
-
-/** Pomocná funkce – postará se o vypsání v pravou chvíli. */
-function vykonatSQLVypis() {
-    if (ajax.readyState == 4) {
-        zobrazVystup(ajax.responseText);
-    }
-}
-
-
-/** Jednoduchá AJAXová funkce, načte obsah souboru a zobrazí ho ve výstupním okně. */
-function ajaxZobrazitHistorii() {
-    if (ajax.readyState == 4 || ajax.readyState == 0) {
-        ajax.open("GET", 'historie.html', true);
-        ajax.onreadystatechange = zobrazitHistoriiVypis;
-        ajax.send(null);
-    }
-}
-
-/** Pomocná funkce – postará se o vypsání v pravou chvíli. */
-function zobrazitHistoriiVypis() {
-    if (ajax.readyState == 4) {
-        zobrazVystup(ajax.responseText);
-    }
-}
Index: html/index.html
===================================================================
--- html/index.html	(revision 34:8a75d9b4f88a)
+++ html/index.html	(revision 0:30215344de7d)
@@ -6,9 +6,8 @@
         <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
         <link href="styl.css" type="text/css" rel="StyleSheet"/>
-        <script type="text/javaScript" src="hlavni.js"></script>
-        <title>SQL: tenhle jazyk tě bude bavit!</title>
+        <title>SQL: pojďte si hrát!</title>
     </head>
     <body>
-        <div id="zahlavi"><h1>SQL: tenhle jazyk tě bude bavit!</h1></div>
+        <div id="zahlavi"><p>SQL: pojďte si hrát!</p></div>
 
         <div id="bloky">
@@ -16,17 +15,5 @@
                 <h2>Nápověda</h2>
                 <div class="vnitrekBloku">
-                    <p id="napovedniPole">lorem ipsum, nějaký text, něco jako latina, ale jiné…</p>
-
-                </div>
-                <div id="navigace">
-                    <form action="###">
-                        <button class="predchozi" title="Předchozí lekce">&nbsp;</button>
-                        <button class="zpet" title="Zpět v historii">&nbsp;</button>
-                        <button class="pruvodce" title="Průvodce">&nbsp;</button>
-                        <button class="model" title="Mode databáze">&nbsp;</button>
-                        <button class="vpred" title="Vpřed v historii">&nbsp;</button>
-                        <button class="nasledujici" title="Následující lekce">&nbsp;</button>
-                    </form>
-
+                    <p>lorem ipsum, nějaký text, něco jako latina, ale jiné…</p>
                 </div>
             </div>
@@ -38,18 +25,6 @@
                     <h2>Zadávání SQL příkazů</h2>
                     <div class="vnitrekBloku">
-                        <form action="#">
-                            <fieldset>
-                                <textarea id="vstupniPole" rows="100" cols="1000">SELECT * FROM tabulka;</textarea>
-                                <button class="zobrazitHistorii"
-                                        name="zobrazitHistorii"
-                                        title="Vypíše historii SQL příkazů."
-                                        type="button"
-                                        onclick="javascript:ajaxZobrazitHistorii();">&nbsp;</button>
-                                <button class="vykonatSQL"
-                                        name="vykonatSQL"
-                                        title="Vykoná zadaný SQL příkaz."
-                                        type="button"
-                                        onclick="javascript:ajaxVykonatSQL();">&nbsp;</button>
-                            </fieldset>
+                        <form>
+                            <textarea>SELECT * FROM tabulka;</textarea>
                         </form>
                     </div>
@@ -62,5 +37,5 @@
                 <div class ="blok" id="vystup">
                     <h2>Výsledek</h2>
-                    <div class="vnitrekBloku" id="vystupniPole">
+                    <div class="vnitrekBloku">
                         <p>
                             lorem ipsum, nějaký text, něco jako latina, ale jiné…
@@ -103,2 +78,4 @@
     </body>
 </html>
+
+
Index: tml/licence.txt
===================================================================
--- html/licence.txt	(revision 5:71c6de7f0a38)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Tento HTML návrh aplikace „SQL Výuka“ není šířen pod žádnou zvláštní licencí.
-Nejste tedy oprávněni ho volně použít.
-Až výsledná aplikace bude svobodný software s jasně určenou licencí.
-
-František Kučera
Index: html/styl.css
===================================================================
--- html/styl.css	(revision 34:8a75d9b4f88a)
+++ html/styl.css	(revision 0:30215344de7d)
@@ -1,29 +1,17 @@
-/** Obrázky s odkazem bez rámečku */
 a img {
     border: none;
 }
 
-/** Pozadí stránky a text */
 html {
     background: #42afdc;
     color:black;
 }
-
-/** Bezpatkové písmo */
 body {
     font-family: sans-serif;
-    font-size: 12px;
 }
 
-/** Prostor pro logo a název programu */
 #zahlavi {
     height: 48px;
-    background-image: url('grafika/logo.png');
-    background-repeat: no-repeat;
-    margin-left: 5px;
-}
 
-#zahlavi h1 {
-    display: none;
 }
 
@@ -47,41 +35,10 @@
 #vstup .vnitrekBloku {
     height: 150px;
-    text-align: right;
 }
 
 #vstup textarea {
     width: 640px;
-    height: 108px;
+    height: 110px;
     padding: 8px;
-    border: 1px solid silver;
-}
-
-fieldset {
-    display: inline;
-    border: none;
-    padding: 0px;
-    margin: 0px;
-}
-
-#vstup button {
-    height: 20px;
-    border: none;
-    margin-right: 0px;
-    margin-top: 5px;
-    padding: 0px;
-    cursor: pointer;
-    background-repeat: no-repeat;
-}
-
-#vstup button.zobrazitHistorii {
-    background-image: url('grafika/historie.png');
-    background-color: transparent;
-    background-position: center;
-    width: 20px;
-}
-
-#vstup button.vykonatSQL {
-    background-image: url('grafika/tlacitko-sql.png');
-    width: 146px;
 }
 
@@ -95,13 +52,10 @@
 }
 
-/** Nadpisy bloků */
 .blok h2 {
-    font-size: 12px;
+    font-size: medium;
     padding: 2px;
-    padding-top: 4px;
     padding-left: 32px;
     margin: 0px;
     color: gray;
-    height: 20px;
 }
 
@@ -110,140 +64,22 @@
 }
 
-#navigace {
-    background-image: url('grafika/navigace-pozadi.png');
-    height: 21px;
-    width: 300px;
-    position: relative;
-    bottom: 32px;
-    left: 10px;
-    text-align: center;
+#io h2 {
+    background-image: url('grafika/blok-nadpis-680.png');
 }
 
-#navigace button {
-    height: 20px;
-    border: none;
-    margin-right: 0px;
-    margin-top: 5px;
-    padding: 0px;
-    cursor: pointer;
-    background-repeat: no-repeat;
-    background-color: transparent;
-    background-position: center;
-    width: 20px;
-    position: relative;
-    top: -4px;
-}
-
-#navigace button.zpet {
-    background-image: url('grafika/navigace-zpet.png');
-    margin-right: 32px;
-}
-
-#navigace button.vpred {
-    background-image: url('grafika/navigace-vpred.png');
-    margin-left: 32px;
-}
-
-#navigace button.nasledujici {
-    background-image: url('grafika/navigace-nasledujici.png');
-    margin-left: 42px;
-}
-
-#navigace button.predchozi {
-    background-image: url('grafika/navigace-predchozi.png');
-    margin-right: 42px;
-}
-
-#navigace button.model {
-    background-image: url('grafika/navigace-model.png');
-}
-
-#navigace button.pruvodce {
-    background-image: url('grafika/navigace-pruvodce.png');
-}
-
-/** Vstupně-výstupní část */
 #io {
     float: left;
 }
 
-#io h2 {
-    background-image: url('grafika/blok-nadpis-680.png');
-}
-
-/** Blok vstupu */
 #vstup {
     width: 680px;
 }
 
-/** Blok výstupu */
 #vystup {
     width: 680px;
 }
 
-/** Blok nápovědy */
 #napoveda {
     float: right;
     width: 320px;
 }
-
-/** Formátování (výstupní) tabulky */
-table {
-    border: 1px solid green;
-    border-collapse:collapse;
-    background-color: white;
-    margin: 3px;
-}
-
-td {
-    border: 1px solid black;
-    padding: 4px;
-    padding-left: 8px;
-    padding-right: 8px;
-    vertical-align: top;
-}
-
-td.cislo {
-    text-align: right;
-}
-
-thead {
-    background: gray;
-    font-weight:bold;
-    background-image: url('grafika/tabulka-zahlavi.png');
-    background-repeat: repeat-x;
-    height: 28px;
-}
-
-thead td a {
-    color: black;
-    text-decoration: none;
-}
-
-thead td {
-    vertical-align: middle;
-}
-
-/** Ikonky pro zprávu k výsledku */
-#vystupniPole p {
-    background-repeat: no-repeat;
-    padding-left: 22px;
-}
-
-#vystupniPole p.vysledekOK {
-    background-image: url('grafika/vysledek-ok.png');
-}
-
-#vystupniPole p.vysledekVarovani {
-    background-image: url('grafika/vysledek-varovani.png');
-}
-
-#vystupniPole p.vysledekChyba {
-    background-image: url('grafika/vysledek-chyba.png');
-}
-
-#vystupniPole p.vysledekTip {
-    background-image: url('grafika/vysledek-tip.png');
-    color: gray;
-    font-style: italic;
-}
Index: tml/vysledek.html
===================================================================
--- html/vysledek.html	(revision 5:71c6de7f0a38)
+++ 	(revision )
@@ -1,90 +1,0 @@
-<div>
-    <table>
-        <thead title="Chceš setřídit výsledek podle nějakého sloupce? Co takhle ORDER BY sloupec.">
-            <tr>
-                <td>Sloupeček 1</td>
-                <td>Sloupeček 2</td>
-                <td>Sloupeček 3</td>
-                <td>Sloupeček 4</td>
-            </tr>
-        </thead>
-        <tbody>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-            <tr>
-                <td>Hodnota 1</td>
-                <td>Hodnota 2</td>
-                <td>Hodnota 3</td>
-                <td class="cislo">1234,56</td>
-            </tr>
-        </tbody>
-    </table>
-    <p class="vysledekOK">Ahoj. Právě jsi zmáčknul tlačítko „Vykonat SQL“ :-)</p>
-    <p class="vysledekVarovani">Tohle se zobrazí při varování.</p>
-    <p class="vysledekChyba">A tohle, když se něco nepovede.</p>
-    <p class="vysledekTip">„Nějaký pěkný tip, citát, nebo <a href="http://frantovo.cz/blog/">odkaz</a> na stránku.“</p>
-</div>
Index: tml/web/index.html
===================================================================
--- html/web/index.html	(revision 69:7f6193e5fef3)
+++ 	(revision )
@@ -1,51 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
-    <head>
-        <meta http-equiv="content-language" content="cs"/>
-        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
-        <link href="styl.css" type="text/css" rel="StyleSheet"/>
-        <script type="text/javaScript" src="hlavni.js"></script>
-        <title>SQL Výuka: tenhle jazyk tě bude bavit!</title>
-    </head>
-    <body>
-        <h1 id="logo"><span>SQL Výuka: tenhle jazyk tě bude bavit!</span></h1>
-        <div id="prostredniPruh">
-            <div id="zahlavi">
-                <ul id="nabidka">
-                    <li><a href="#"><span>O programu</span></a></li>
-                    <li><a href="#"><span>Články o SQL</span></a></li>
-                    <li><a href="#"><span>Objednávka</span></a></li>
-                    <li><a href="#"><span>Poradna</span></a></li>
-                </ul>
-            </div>
-            <div id="obalObsahu">
-
-
-                <div id="pravyPruh">
-                    <div class="pravyPruh-vnitrek">
-                        <h3>Ahoj</h3>
-                        <p>Nějaký text.y</p>
-                    </div>
-                </div>
-
-                <div id="obsah">
-                    xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj
-
-
-                    <object data="http://www.dailymotion.com/cdn/OGG-320x240/video/x9euyb?key=a99e7056808342ad0868b4decfe811c814044ec" width="320" height="240" ></object>
-
-                    xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj
-                    xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj xkuxj gfcjh fcj
-                </div>
-
-
-
-
-            </div>
-            <div id="zapati"></div>
-        </div>
-
-
-    </body>
-</html>
Index: tml/web/styl.css
===================================================================
--- html/web/styl.css	(revision 69:7f6193e5fef3)
+++ 	(revision )
@@ -1,105 +1,0 @@
-body {
-    background-color:#2C2C29;
-    font-size: 11px;
-}
-
-#logo {
-    background: url('grafika/logo-web.png') no-repeat;
-    width: 600px;
-    height: 56px;
-    position: absolute;
-    top: -8px;
-    left: 240px;
-}
-
-#logo span {
-    display: none;
-}
-
-#prostredniPruh {
-    color:#2C2C29;
-    margin:0 auto;
-    text-align:left;
-    width:811px;
-}
-
-#zahlavi {
-    background:transparent url('grafika/zahlavi.png') no-repeat scroll 0 0;
-    height:113px;
-    padding:0;
-}
-
-#obalObsahu {
-    background:#FFFFFF url('grafika/obsah.png') repeat-y scroll 0 0;
-    margin-left:7px;
-    padding:0 10px 0 15px;
-    width:769px;    
-}
-
-#obsah {
-    width:547px;
-}
-
-#pravyPruh {
-    float:right;
-    width:209px;
-}
-
-.pravyPruh-vnitrek {
-    margin-left: 15px;
-}
-.pravyPruh-vnitrek h3 {
-    background: white url('grafika/bocniPanel.png');
-    display:block;
-    font-size:11px;
-    font-weight:700;
-    height:22px;
-    padding:9px 0 0 10px;
-    width:181px;
-}
-
-#zapati {
-    background:transparent url('grafika/zapati.png') no-repeat scroll 0 0;
-    height:60px;
-}
-
-#nabidka {
-    float:left;
-    left:0px;
-    overflow:hidden;
-    position:relative;
-    text-transform:uppercase;
-    top:65px;
-    width:548px;
-}
-
-#nabidka li {
-    float:left;
-    list-style-image:none;
-    list-style-position:outside;
-    list-style-type:none;
-    margin-right:4px;
-}
-
-#nabidka li a {
-    background:transparent url('grafika/nabidka.png') no-repeat scroll left top;
-    color:#2C2C29;
-    cursor:pointer;
-    display:block;
-    -x-system-font:none;
-    font-family:Arial,Helvetica,sans-serif;
-    font-size:0.88em;
-    font-style:normal;
-    font-variant:normal;
-    font-weight:700;
-    line-height:26px;
-    padding-left:15px;
-    text-decoration:none;
-}
-
-#nabidka li a span {
-    background:transparent url('grafika/nabidka.png') no-repeat scroll right top;
-    display:block;
-    line-height:24px;
-    padding-right:15px;
-}
Index: ava/sql-vyuka/build.xml
===================================================================
--- java/sql-vyuka/build.xml	(revision 83:6569976087aa)
+++ 	(revision )
@@ -1,93 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- You may freely edit this file. See commented blocks below for -->
-<!-- some examples of how to customize the build. -->
-<!-- (If you delete it and reopen the project it will be recreated.) -->
-<!-- By default, only the Clean and Build commands use this build script. -->
-<!-- Commands such as Run, Debug, and Test only use this build script if -->
-<!-- the Compile on Save feature is turned off for the project. -->
-<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
-<!-- in the project's Project Properties dialog box.-->
-<project name="sql-vyuka" default="default" basedir=".">
-    <description>Builds, tests, and runs the project sql-vyuka.</description>
-    <import file="nbproject/build-impl.xml"/>
-    <!--
-
-    There exist several targets which are by default empty and which can be 
-    used for execution of your tasks. These targets are usually executed 
-    before and after some main targets. They are: 
-
-      -pre-init:                 called before initialization of project properties 
-      -post-init:                called after initialization of project properties 
-      -pre-compile:              called before javac compilation 
-      -post-compile:             called after javac compilation 
-      -pre-compile-single:       called before javac compilation of single file
-      -post-compile-single:      called after javac compilation of single file
-      -pre-compile-test:         called before javac compilation of JUnit tests
-      -post-compile-test:        called after javac compilation of JUnit tests
-      -pre-compile-test-single:  called before javac compilation of single JUnit test
-      -post-compile-test-single: called after javac compilation of single JUunit test
-      -pre-dist:                 called before archive building 
-      -post-dist:                called after archive building 
-      -post-clean:               called after cleaning build products 
-      -pre-run-deploy:           called before deploying
-      -post-run-deploy:          called after deploying
-
-    Example of pluging an obfuscator after the compilation could look like 
-
-        <target name="-post-compile">
-            <obfuscate>
-                <fileset dir="${build.classes.dir}"/>
-            </obfuscate>
-        </target>
-
-    For list of available properties check the imported 
-    nbproject/build-impl.xml file. 
-
-
-    Other way how to customize the build is by overriding existing main targets.
-    The target of interest are: 
-
-      init-macrodef-javac:    defines macro for javac compilation
-      init-macrodef-junit:   defines macro for junit execution
-      init-macrodef-debug:    defines macro for class debugging
-      do-dist:                archive building
-      run:                    execution of project 
-      javadoc-build:          javadoc generation 
-
-    Example of overriding the target for project execution could look like 
-
-        <target name="run" depends="<PROJNAME>-impl.jar">
-            <exec dir="bin" executable="launcher.exe">
-                <arg file="${dist.jar}"/>
-            </exec>
-        </target>
-
-    Notice that overridden target depends on jar target and not only on 
-    compile target as regular run target does. Again, for list of available 
-    properties which you can use check the target you are overriding in 
-    nbproject/build-impl.xml file. 
-
-    -->
-
-    <target name="-post-init">
-        <property name="zdrojaky-archiv-soubor" value="web/sql-vyuka-src.zip"/>
-        <property name="zdrojaky-archiv-komentar" value="Kódování: UTF-8 | Autor: František Kučera | Web: http://frantovo.cz/ | Licence: GNU Affero GPL, verze 3"/>
-        <property name="hashovani" value="SHA-512"/>
-
-        <zip basedir="../../.." excludes="sql-vyuka/html/** sql-vyuka/.hg/** sql-vyuka/.hgignore sql-vyuka/java/sql-vyuka/build/** sql-vyuka/java/sql-vyuka/nbproject/private/** sql-vyuka/java/sql-vyuka/dist/** sql-vyuka/balíčky/** sql-vyuka/temp/** sql-vyuka/java/sql-vyuka/${zdrojaky-archiv-soubor} sql-vyuka/java/sql-vyuka/${zdrojaky-archiv-soubor}.${hashovani} sql-vyuka/licence/agpl-3.0.pdf sql-vyuka/licence/agpl-3.0.tex"  includes="sql-vyuka/**" encoding="UTF-8" comment="${zdrojaky-archiv-komentar}" destfile="${zdrojaky-archiv-soubor}"/>
-        <checksum file="${zdrojaky-archiv-soubor}" algorithm="${hashovani}" pattern="{0}  {1}"/>
-
-        <manifest file="src/conf/MANIFEST.MF" mode="replace">
-            <attribute name="Manifest-Version" value="1.0"/>
-            <section name="Frantovo.cz">
-                <attribute name="Kompiloval" value="${user.name}"/>
-                <attribute name="java-version" value="${java.version}"/>
-                <attribute name="java-vm-version" value="${java.vm.version}"/>
-                <attribute name="os-name" value="${os.name}"/>
-                <attribute name="os-arch" value="${os.arch}"/>
-                <attribute name="os-version" value="${os.version}"/>
-            </section>
-        </manifest>
-    </target>
-
-</project>
Index: ava/sql-vyuka/licence.txt
===================================================================
--- java/sql-vyuka/licence.txt	(revision 23:6bbbd371e813)
+++ 	(revision )
@@ -1,1 +1,0 @@
-../../licence/agpl-3.0.txt
Index: ava/sql-vyuka/nbproject/ant-deploy.xml
===================================================================
--- java/sql-vyuka/nbproject/ant-deploy.xml	(revision 87:5fff85c7f980)
+++ 	(revision )
@@ -1,150 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-
-Copyright (c) 2008, 2016 Oracle and/or its affiliates. All rights reserved.
-
-Oracle and Java are registered trademarks of Oracle and/or its affiliates.
-Other names may be trademarks of their respective owners.
-
-The contents of this file are subject to the terms of either the GNU
-General Public License Version 2 only ("GPL") or the Common
-Development and Distribution License("CDDL") (collectively, the
-"License"). You may not use this file except in compliance with the
-License. You can obtain a copy of the License at
-http://www.netbeans.org/cddl-gplv2.html
-or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
-specific language governing permissions and limitations under the
-License.  When distributing the software, include this License Header
-Notice in each file and include the License file at
-nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
-particular file as subject to the "Classpath" exception as provided
-by Oracle in the GPL Version 2 section of the License file that
-accompanied this code. If applicable, add the following below the
-License Header, with the fields enclosed by brackets [] replaced by
-your own identifying information:
-"Portions Copyrighted [year] [name of copyright owner]"
-
-If you wish your version of this file to be governed by only the CDDL
-or only the GPL Version 2, indicate your decision by adding
-"[Contributor] elects to include this software in this distribution
-under the [CDDL or GPL Version 2] license." If you do not indicate a
-single choice of license, a recipient has the option to distribute
-your version of this file under either the CDDL, the GPL Version 2 or
-to extend the choice of license to its licensees as provided above.
-However, if you add GPL Version 2 code and therefore, elected the GPL
-Version 2 license, then the option applies only if the new code is
-made subject to such option by the copyright holder.
-
-Contributor(s):
--->
-<project default="-deploy-ant" basedir=".">
-    <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
-        <property file="${deploy.ant.properties.file}" />
-        <available file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" property="sun.web.present"/>
-        <available file="${deploy.ant.docbase.dir}/WEB-INF/glassfish-web.xml" property="glassfish.web.present"/>
-        <available file="${deploy.ant.resource.dir}" property="has.setup"/>
-        <tempfile prefix="gfv3" property="gfv3.password.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <echo message="AS_ADMIN_PASSWORD=${gfv3.password}" file="${gfv3.password.file}"/>
-    </target>
-
-    <target name="-parse-sun-web" depends="-init-cl-deployment-env" if="sun.web.present">
-        <tempfile prefix="gfv3" property="temp.sun.web" destdir="${java.io.tmpdir}"/>
-        <copy file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" tofile="${temp.sun.web}"/>
-        <!-- The doctype triggers resolution which can fail -->
-        <replace file="${temp.sun.web}">
-            <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
-            <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
-        </replace>
-        <replace file="${temp.sun.web}">
-            <replacetoken><![CDATA[<sun-web-app]]></replacetoken>
-            <replacevalue><![CDATA[--> <sun-web-app]]></replacevalue>
-        </replace>
-        <xmlproperty file="${temp.sun.web}" validate="false">
-        </xmlproperty>    
-        <delete file="${temp.sun.web}"/>
-        <condition property="deploy.ant.client.url" value="${gfv3.url}${sun-web-app.context-root}" else="${gfv3.url}/${ant.project.name}">
-            <isset property="sun-web-app.context-root"/>
-        </condition>
-        <condition property="deploy.context.root.argument" value="&amp;contextroot=${sun-web-app.context-root}" else="/${ant.project.name}">
-            <isset property="sun-web-app.context-root"/>
-        </condition>
-    </target>
-    <target name="-parse-glassfish-web" depends="-init-cl-deployment-env" if="glassfish.web.present">
-        <tempfile prefix="gfv3" property="temp.gf.web" destdir="${java.io.tmpdir}"/>
-        <copy file="${deploy.ant.docbase.dir}/WEB-INF/glassfish-web.xml" tofile="${temp.gf.web}"/>
-        <!-- The doctype triggers resolution which can fail -->
-        <replace file="${temp.gf.web}">
-            <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
-            <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
-        </replace>
-        <replace file="${temp.gf.web}">
-            <replacetoken><![CDATA[<glassfish-web-app]]></replacetoken>
-            <replacevalue><![CDATA[--> <glassfish-web-app]]></replacevalue>
-        </replace>
-        <xmlproperty file="${temp.gf.web}" validate="false">
-        </xmlproperty>
-        <delete file="${temp.gf.web}"/>
-        <condition property="deploy.ant.client.url" value="${gfv3.url}${glassfish-web-app.context-root}" else="${gfv3.url}/${ant.project.name}">
-            <isset property="glassfish-web-app.context-root"/>
-        </condition>
-        <condition property="deploy.context.root.argument" value="&amp;contextroot=${glassfish-web-app.context-root}" else="/${ant.project.name}">
-            <isset property="glassfish-web-app.context-root"/>
-        </condition>
-    </target>
-    <target name="-no-parse-sun-web" depends="-init-cl-deployment-env" unless="sun.web.present">
-        <property name="deploy.context.root.argument" value=""/>
-    </target>
-    <target name="-add-resources" depends="-init-cl-deployment-env" if="has.setup">
-        <tempfile prefix="gfv3" property="gfv3.resources.dir" destdir="${java.io.tmpdir}"/>
-        <mkdir dir="${gfv3.resources.dir}"/>
-        <mkdir dir="${gfv3.resources.dir}/META-INF"/>
-        <copy todir="${gfv3.resources.dir}/META-INF">
-            <fileset dir="${deploy.ant.resource.dir}"/>
-        </copy>
-        <jar destfile="${deploy.ant.archive}" update="true">
-            <fileset dir="${gfv3.resources.dir}"/>
-        </jar>
-        <delete dir="${gfv3.resources.dir}"/>
-    </target>
-    <target name="-deploy-ant" depends="-parse-glassfish-web, -parse-sun-web, -no-parse-sun-web,-add-resources" if="deploy.ant.enabled">
-        <antcall target="-deploy-without-pw"/>
-        <antcall target="-deploy-with-pw"/>
-    </target>
-
-    <target name="-deploy-without-pw" unless="gfv3.password">
-        <echo message="Deploying ${deploy.ant.archive}"/>
-        <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <property name="full.deploy.ant.archive" location="${deploy.ant.archive}"/>
-        <get src="${gfv3.admin.url}/__asadmin/deploy?path=${full.deploy.ant.archive}${deploy.context.root.argument}&amp;force=true&amp;name=${ant.project.name}"
-            dest="${gfv3.results.file}"/>
-        <delete file="${gfv3.results.file}"/>    
-    </target>
-    <target name="-deploy-with-pw" if="gfv3.password">
-        <echo message="Deploying ${deploy.ant.archive}"/>
-        <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <property name="full.deploy.ant.archive" location="${deploy.ant.archive}"/>
-        <get username="${gfv3.username}" password="${gfv3.password}" src="${gfv3.admin.url}/__asadmin/deploy?path=${full.deploy.ant.archive}${deploy.context.root.argument}&amp;force=true&amp;name=${ant.project.name}"
-            dest="${gfv3.results.file}"/>
-        <delete file="${gfv3.results.file}"/>
-    </target>
-    <target name="-undeploy-ant" depends="-init-cl-deployment-env" if="deploy.ant.enabled">
-        <antcall target="-undeploy-without-pw"/>
-        <antcall target="-undeploy-with-pw"/>
-    </target>
-
-    <target name="-undeploy-without-pw" unless="gfv3.password">
-        <echo message="Undeploying ${deploy.ant.archive}"/>
-        <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <get src="${gfv3.admin.url}/__asadmin/undeploy?name=${ant.project.name}"
-            dest="${gfv3.results.file}"/>
-        <delete file="${gfv3.results.file}"/>    
-    </target>
-    <target name="-undeploy-with-pw" if="gfv3.password">
-        <echo message="Undeploying ${deploy.ant.archive}"/>
-        <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <get username="${gfv3.username}" password="${gfv3.password}" src="${gfv3.admin.url}/__asadmin/undeploy?name=${ant.project.name}"
-            dest="${gfv3.results.file}"/>
-        <delete file="${gfv3.results.file}"/>
-    </target>
-</project>
Index: ava/sql-vyuka/nbproject/build-impl.xml
===================================================================
--- java/sql-vyuka/nbproject/build-impl.xml	(revision 87:5fff85c7f980)
+++ 	(revision )
@@ -1,1454 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-        *** GENERATED FROM project.xml - DO NOT EDIT  ***
-        ***         EDIT ../build.xml INSTEAD         ***
-
-        For the purpose of easier reading the script
-        is divided into following sections:
-        - initialization
-        - compilation
-        - dist
-        - execution
-        - debugging
-        - javadoc
-        - test compilation
-        - test execution
-        - test debugging
-        - cleanup
-
-        -->
-<project xmlns:webproject1="http://www.netbeans.org/ns/web-project/1" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:webproject3="http://www.netbeans.org/ns/web-project/3" basedir=".." default="default" name="sql-vyuka-impl">
-    <import file="ant-deploy.xml"/>
-    <fail message="Please build using Ant 1.7.1 or higher.">
-        <condition>
-            <not>
-                <antversion atleast="1.7.1"/>
-            </not>
-        </condition>
-    </fail>
-    <target depends="dist,javadoc" description="Build whole project." name="default"/>
-    <!--
-                INITIALIZATION SECTION
-            -->
-    <target name="-pre-init">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="-pre-init" name="-init-private">
-        <property file="nbproject/private/private.properties"/>
-    </target>
-    <target depends="-pre-init,-init-private" name="-init-user">
-        <property file="${user.properties.file}"/>
-        <!-- The two properties below are usually overridden -->
-        <!-- by the active platform. Just a fallback. -->
-        <property name="default.javac.source" value="1.4"/>
-        <property name="default.javac.target" value="1.4"/>
-    </target>
-    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
-        <property file="nbproject/project.properties"/>
-    </target>
-    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" if="dist.ear.dir" name="-do-ear-init"/>
-    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
-        <condition property="have.tests">
-            <or>
-                <available file="${test.src.dir}"/>
-            </or>
-        </condition>
-        <condition property="have.sources">
-            <or>
-                <available file="${src.dir}"/>
-            </or>
-        </condition>
-        <condition property="netbeans.home+have.tests">
-            <and>
-                <isset property="netbeans.home"/>
-                <isset property="have.tests"/>
-            </and>
-        </condition>
-        <condition property="no.javadoc.preview">
-            <isfalse value="${javadoc.preview}"/>
-        </condition>
-        <property name="javac.compilerargs" value=""/>
-        <condition property="no.deps">
-            <and>
-                <istrue value="${no.dependencies}"/>
-            </and>
-        </condition>
-        <condition property="no.dist.ear.dir">
-            <not>
-                <isset property="dist.ear.dir"/>
-            </not>
-        </condition>
-        <property name="build.web.excludes" value="${build.classes.excludes}"/>
-        <condition property="do.compile.jsps">
-            <istrue value="${compile.jsps}"/>
-        </condition>
-        <condition property="do.debug.server">
-            <or>
-                <not>
-                    <isset property="debug.server"/>
-                </not>
-                <istrue value="${debug.server}"/>
-                <and>
-                    <not>
-                        <istrue value="${debug.server}"/>
-                    </not>
-                    <not>
-                        <istrue value="${debug.client}"/>
-                    </not>
-                </and>
-            </or>
-        </condition>
-        <condition property="do.debug.client">
-            <istrue value="${debug.client}"/>
-        </condition>
-        <condition property="do.display.browser">
-            <istrue value="${display.browser}"/>
-        </condition>
-        <condition property="do.display.browser.debug.old">
-            <and>
-                <isset property="do.display.browser"/>
-                <not>
-                    <isset property="do.debug.client"/>
-                </not>
-                <not>
-                    <isset property="browser.context"/>
-                </not>
-            </and>
-        </condition>
-        <condition property="do.display.browser.debug">
-            <and>
-                <isset property="do.display.browser"/>
-                <not>
-                    <isset property="do.debug.client"/>
-                </not>
-                <isset property="browser.context"/>
-            </and>
-        </condition>
-        <available file="${conf.dir}/MANIFEST.MF" property="has.custom.manifest"/>
-        <available file="${persistence.xml.dir}/persistence.xml" property="has.persistence.xml"/>
-        <condition property="do.war.package.with.custom.manifest">
-            <isset property="has.custom.manifest"/>
-        </condition>
-        <condition property="do.war.package.without.custom.manifest">
-            <not>
-                <isset property="has.custom.manifest"/>
-            </not>
-        </condition>
-        <condition property="do.tmp.war.package.with.custom.manifest">
-            <and>
-                <isset property="has.custom.manifest"/>
-                <or>
-                    <isfalse value="${directory.deployment.supported}"/>
-                    <isset property="dist.ear.dir"/>
-                </or>
-            </and>
-        </condition>
-        <condition property="do.tmp.war.package.without.custom.manifest">
-            <and>
-                <not>
-                    <isset property="has.custom.manifest"/>
-                </not>
-                <or>
-                    <isfalse value="${directory.deployment.supported}"/>
-                    <isset property="dist.ear.dir"/>
-                </or>
-            </and>
-        </condition>
-        <condition property="do.tmp.war.package">
-            <or>
-                <isfalse value="${directory.deployment.supported}"/>
-                <isset property="dist.ear.dir"/>
-            </or>
-        </condition>
-        <property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/>
-        <condition else="" property="application.args.param" value="${application.args}">
-            <and>
-                <isset property="application.args"/>
-                <not>
-                    <equals arg1="${application.args}" arg2="" trim="true"/>
-                </not>
-            </and>
-        </condition>
-        <property name="source.encoding" value="${file.encoding}"/>
-        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
-            <and>
-                <isset property="javadoc.encoding"/>
-                <not>
-                    <equals arg1="${javadoc.encoding}" arg2=""/>
-                </not>
-            </and>
-        </condition>
-        <property name="javadoc.encoding.used" value="${source.encoding}"/>
-        <property name="includes" value="**"/>
-        <property name="excludes" value=""/>
-        <property name="runmain.jvmargs" value=""/>
-        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
-        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
-            <and>
-                <isset property="endorsed.classpath"/>
-                <length length="0" string="${endorsed.classpath}" when="greater"/>
-            </and>
-        </condition>
-        <condition else="false" property="jdkBug6558476">
-            <and>
-                <matches pattern="1\.[56]" string="${java.specification.version}"/>
-                <not>
-                    <os family="unix"/>
-                </not>
-            </and>
-        </condition>
-        <property name="javac.fork" value="${jdkBug6558476}"/>
-        <condition property="junit.available">
-            <or>
-                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
-                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
-            </or>
-        </condition>
-        <condition property="testng.available">
-            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
-        </condition>
-        <condition property="junit+testng.available">
-            <and>
-                <istrue value="${junit.available}"/>
-                <istrue value="${testng.available}"/>
-            </and>
-        </condition>
-        <condition else="testng" property="testng.mode" value="mixed">
-            <istrue value="${junit+testng.available}"/>
-        </condition>
-        <condition else="" property="testng.debug.mode" value="-mixed">
-            <istrue value="${junit+testng.available}"/>
-        </condition>
-    </target>
-    <target depends="init" name="-init-cos" unless="deploy.on.save">
-        <condition property="deploy.on.save" value="true">
-            <or>
-                <istrue value="${j2ee.deploy.on.save}"/>
-                <istrue value="${j2ee.compile.on.save}"/>
-            </or>
-        </condition>
-    </target>
-    <target name="-post-init">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
-        <fail unless="src.dir">Must set src.dir</fail>
-        <fail unless="test.src.dir">Must set test.src.dir</fail>
-        <fail unless="build.dir">Must set build.dir</fail>
-        <fail unless="build.web.dir">Must set build.web.dir</fail>
-        <fail unless="build.generated.dir">Must set build.generated.dir</fail>
-        <fail unless="dist.dir">Must set dist.dir</fail>
-        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
-        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
-        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
-        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
-        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
-        <fail unless="dist.war">Must set dist.war</fail>
-        <condition property="missing.j2ee.server.home">
-            <and>
-                <matches pattern="j2ee.server.home" string="${j2ee.platform.classpath}"/>
-                <not>
-                    <isset property="j2ee.server.home"/>
-                </not>
-            </and>
-        </condition>
-        <fail if="missing.j2ee.server.home">
-The Java EE server classpath is not correctly set up - server home directory is missing.
-Either open the project in the IDE and assign the server or setup the server classpath manually.
-For example like this:
-   ant -Dj2ee.server.home=&lt;app_server_installation_directory&gt;
-                </fail>
-        <fail unless="j2ee.platform.classpath">
-The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
-Either open the project in the IDE and assign the server or setup the server classpath manually.
-For example like this:
-   ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
-or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
-                </fail>
-    </target>
-    <target name="-init-macrodef-property">
-        <macrodef name="property" uri="http://www.netbeans.org/ns/web-project/1">
-            <attribute name="name"/>
-            <attribute name="value"/>
-            <sequential>
-                <property name="@{name}" value="${@{value}}"/>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
-        <macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${src.dir}" name="srcdir"/>
-            <attribute default="${build.classes.dir}" name="destdir"/>
-            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
-            <attribute default="${javac.processorpath}" name="processorpath"/>
-            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="${javac.debug}" name="debug"/>
-            <attribute default="${empty.dir}" name="gensrcdir"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <property location="${build.dir}/empty" name="empty.dir"/>
-                <mkdir dir="${empty.dir}"/>
-                <mkdir dir="@{apgeneratedsrcdir}"/>
-                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
-                    <src>
-                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
-                            <include name="*"/>
-                        </dirset>
-                    </src>
-                    <classpath>
-                        <path path="@{classpath}"/>
-                    </classpath>
-                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
-                    <compilerarg line="${javac.compilerargs}"/>
-                    <compilerarg value="-processorpath"/>
-                    <compilerarg path="@{processorpath}:${empty.dir}"/>
-                    <compilerarg line="${ap.processors.internal}"/>
-                    <compilerarg value="-s"/>
-                    <compilerarg path="@{apgeneratedsrcdir}"/>
-                    <compilerarg line="${ap.proc.none.internal}"/>
-                    <customize/>
-                </javac>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
-        <macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${src.dir}" name="srcdir"/>
-            <attribute default="${build.classes.dir}" name="destdir"/>
-            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
-            <attribute default="${javac.processorpath}" name="processorpath"/>
-            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="${javac.debug}" name="debug"/>
-            <attribute default="${empty.dir}" name="gensrcdir"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <property location="${build.dir}/empty" name="empty.dir"/>
-                <mkdir dir="${empty.dir}"/>
-                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
-                    <src>
-                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
-                            <include name="*"/>
-                        </dirset>
-                    </src>
-                    <classpath>
-                        <path path="@{classpath}"/>
-                    </classpath>
-                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
-                    <compilerarg line="${javac.compilerargs}"/>
-                    <customize/>
-                </javac>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
-        <macrodef name="depend" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${src.dir}" name="srcdir"/>
-            <attribute default="${build.classes.dir}" name="destdir"/>
-            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
-            <sequential>
-                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
-                    <classpath>
-                        <path path="@{classpath}"/>
-                    </classpath>
-                </depend>
-            </sequential>
-        </macrodef>
-        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${build.classes.dir}" name="destdir"/>
-            <sequential>
-                <fail unless="javac.includes">Must set javac.includes</fail>
-                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
-                    <path>
-                        <filelist dir="@{destdir}" files="${javac.includes}"/>
-                    </path>
-                    <globmapper from="*.java" to="*.class"/>
-                </pathconvert>
-                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
-                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
-                <delete>
-                    <files includesfile="${javac.includesfile.binary}"/>
-                </delete>
-                <delete file="${javac.includesfile.binary}"/>
-            </sequential>
-        </macrodef>
-    </target>
-    <target if="${junit.available}" name="-init-macrodef-junit-init">
-        <condition else="false" property="nb.junit.batch" value="true">
-            <and>
-                <istrue value="${junit.available}"/>
-                <not>
-                    <isset property="test.method"/>
-                </not>
-            </and>
-        </condition>
-        <condition else="false" property="nb.junit.single" value="true">
-            <and>
-                <istrue value="${junit.available}"/>
-                <isset property="test.method"/>
-            </and>
-        </condition>
-    </target>
-    <target name="-init-test-properties">
-        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
-        <property name="test.binarytestincludes" value=""/>
-        <property name="test.binaryexcludes" value=""/>
-    </target>
-    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
-        <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
-                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
-                    <syspropertyset>
-                        <propertyref prefix="test-sys-prop."/>
-                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
-                    </syspropertyset>
-                    <formatter type="brief" usefile="false"/>
-                    <formatter type="xml"/>
-                    <jvmarg value="-ea"/>
-                    <customize/>
-                </junit>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
-        <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <property name="run.jvmargs.ide" value=""/>
-                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
-                    <batchtest todir="${build.test.results.dir}">
-                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
-                            <filename name="@{testincludes}"/>
-                        </fileset>
-                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
-                            <filename name="${test.binarytestincludes}"/>
-                        </fileset>
-                    </batchtest>
-                    <syspropertyset>
-                        <propertyref prefix="test-sys-prop."/>
-                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
-                    </syspropertyset>
-                    <formatter type="brief" usefile="false"/>
-                    <formatter type="xml"/>
-                    <jvmarg value="-ea"/>
-                    <jvmarg line="${run.jvmargs.ide}"/>
-                    <customize/>
-                </junit>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
-    <target if="${testng.available}" name="-init-macrodef-testng">
-        <macrodef name="testng" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
-                    <isset property="test.method"/>
-                </condition>
-                <union id="test.set">
-                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
-                        <filename name="@{testincludes}"/>
-                    </fileset>
-                </union>
-                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
-                <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="sql-vyuka" testname="TestNG tests" workingDir="${basedir}">
-                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
-                    <propertyset>
-                        <propertyref prefix="test-sys-prop."/>
-                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
-                    </propertyset>
-                    <customize/>
-                </testng>
-            </sequential>
-        </macrodef>
-    </target>
-    <target name="-init-macrodef-test-impl">
-        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element implicit="true" name="customize" optional="true"/>
-            <sequential>
-                <echo>No tests executed.</echo>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
-        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element implicit="true" name="customize" optional="true"/>
-            <sequential>
-                <webproject2:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
-                    <customize/>
-                </webproject2:junit>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
-        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element implicit="true" name="customize" optional="true"/>
-            <sequential>
-                <webproject2:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
-                    <customize/>
-                </webproject2:testng>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
-        <macrodef name="test" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <sequential>
-                <webproject2:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
-                    <customize>
-                        <classpath>
-                            <path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
-                        </classpath>
-                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
-                        <jvmarg line="${runmain.jvmargs}"/>
-                    </customize>
-                </webproject2:test-impl>
-            </sequential>
-        </macrodef>
-    </target>
-    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
-        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
-                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
-                    <syspropertyset>
-                        <propertyref prefix="test-sys-prop."/>
-                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
-                    </syspropertyset>
-                    <formatter type="brief" usefile="false"/>
-                    <formatter type="xml"/>
-                    <jvmarg value="-ea"/>
-                    <jvmarg line="${debug-args-line}"/>
-                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
-                    <customize/>
-                </junit>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
-        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <property name="run.jvmargs.ide" value=""/>
-                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
-                    <batchtest todir="${build.test.results.dir}">
-                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
-                            <filename name="@{testincludes}"/>
-                        </fileset>
-                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
-                            <filename name="${test.binarytestincludes}"/>
-                        </fileset>
-                    </batchtest>
-                    <syspropertyset>
-                        <propertyref prefix="test-sys-prop."/>
-                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
-                    </syspropertyset>
-                    <formatter type="brief" usefile="false"/>
-                    <formatter type="xml"/>
-                    <jvmarg value="-ea"/>
-                    <jvmarg line="${run.jvmargs.ide}"/>
-                    <jvmarg line="${debug-args-line}"/>
-                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
-                    <customize/>
-                </junit>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
-        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <element implicit="true" name="customize" optional="true"/>
-            <sequential>
-                <webproject2:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
-                    <customize/>
-                </webproject2:junit-debug>
-            </sequential>
-        </macrodef>
-    </target>
-    <target if="${testng.available}" name="-init-macrodef-testng-debug">
-        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${main.class}" name="testClass"/>
-            <attribute default="" name="testMethod"/>
-            <element name="customize2" optional="true"/>
-            <sequential>
-                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
-                    <isset property="test.method"/>
-                </condition>
-                <condition else="-suitename sql-vyuka -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
-                    <matches pattern=".*\.xml" string="@{testClass}"/>
-                </condition>
-                <delete dir="${build.test.results.dir}" quiet="true"/>
-                <mkdir dir="${build.test.results.dir}"/>
-                <webproject1:debug args="${testng.cmd.args}" classname="org.testng.TestNG" classpath="${debug.test.classpath}:${j2ee.platform.embeddableejb.classpath}">
-                    <customize>
-                        <customize2/>
-                        <jvmarg value="-ea"/>
-                        <arg line="${testng.debug.mode}"/>
-                        <arg line="-d ${build.test.results.dir}"/>
-                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
-                    </customize>
-                </webproject1:debug>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
-        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${main.class}" name="testClass"/>
-            <attribute default="" name="testMethod"/>
-            <element implicit="true" name="customize2" optional="true"/>
-            <sequential>
-                <webproject2:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
-                    <customize2/>
-                </webproject2:testng-debug>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
-        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <attribute default="${main.class}" name="testClass"/>
-            <attribute default="" name="testMethod"/>
-            <sequential>
-                <webproject2:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
-                    <customize>
-                        <classpath>
-                            <path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
-                        </classpath>
-                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
-                        <jvmarg line="${runmain.jvmargs}"/>
-                    </customize>
-                </webproject2:test-debug-impl>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
-        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/web-project/2">
-            <attribute default="${includes}" name="includes"/>
-            <attribute default="${excludes}" name="excludes"/>
-            <attribute default="**" name="testincludes"/>
-            <attribute default="" name="testmethods"/>
-            <attribute default="${main.class}" name="testClass"/>
-            <attribute default="" name="testMethod"/>
-            <sequential>
-                <webproject2:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
-                    <customize2>
-                        <syspropertyset>
-                            <propertyref prefix="test-sys-prop."/>
-                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
-                        </syspropertyset>
-                    </customize2>
-                </webproject2:testng-debug-impl>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
-    <target name="-init-macrodef-java">
-        <macrodef name="java" uri="http://www.netbeans.org/ns/web-project/1">
-            <attribute default="${main.class}" name="classname"/>
-            <attribute default="${debug.classpath}" name="classpath"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <java classname="@{classname}" fork="true">
-                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
-                    <jvmarg line="${runmain.jvmargs}"/>
-                    <classpath>
-                        <path path="@{classpath}:${j2ee.platform.classpath}"/>
-                    </classpath>
-                    <syspropertyset>
-                        <propertyref prefix="run-sys-prop."/>
-                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
-                    </syspropertyset>
-                    <customize/>
-                </java>
-            </sequential>
-        </macrodef>
-    </target>
-    <target name="-init-macrodef-nbjsdebug">
-        <macrodef name="nbjsdebugstart" uri="http://www.netbeans.org/ns/web-project/1">
-            <attribute default="${client.url}" name="webUrl"/>
-            <sequential>
-                <nbjsdebugstart urlPart="${client.urlPart}" webUrl="@{webUrl}"/>
-            </sequential>
-        </macrodef>
-    </target>
-    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
-        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/web-project/1">
-            <attribute default="${main.class}" name="name"/>
-            <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
-            <sequential>
-                <nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
-                    <classpath>
-                        <path path="@{classpath}"/>
-                    </classpath>
-                </nbjpdastart>
-            </sequential>
-        </macrodef>
-        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/web-project/1">
-            <attribute default="${build.classes.dir}" name="dir"/>
-            <sequential>
-                <nbjpdareload>
-                    <fileset dir="@{dir}" includes="${fix.classes}">
-                        <include name="${fix.includes}*.class"/>
-                    </fileset>
-                </nbjpdareload>
-            </sequential>
-        </macrodef>
-        <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
-            <sequential>
-                <nbjpdaappreloaded/>
-            </sequential>
-        </macrodef>
-    </target>
-    <target name="-init-debug-args">
-        <property name="version-output" value="java version &quot;${ant.java.version}"/>
-        <condition property="have-jdk-older-than-1.4">
-            <or>
-                <contains string="${version-output}" substring="java version &quot;1.0"/>
-                <contains string="${version-output}" substring="java version &quot;1.1"/>
-                <contains string="${version-output}" substring="java version &quot;1.2"/>
-                <contains string="${version-output}" substring="java version &quot;1.3"/>
-            </or>
-        </condition>
-        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
-            <istrue value="${have-jdk-older-than-1.4}"/>
-        </condition>
-        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
-            <os family="windows"/>
-        </condition>
-        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
-            <isset property="debug.transport"/>
-        </condition>
-    </target>
-    <target depends="-init-debug-args" name="-init-macrodef-debug">
-        <macrodef name="debug" uri="http://www.netbeans.org/ns/web-project/1">
-            <attribute default="${main.class}" name="classname"/>
-            <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
-            <attribute default="${application.args.param}" name="args"/>
-            <element name="customize" optional="true"/>
-            <sequential>
-                <java classname="@{classname}" fork="true">
-                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
-                    <jvmarg line="${debug-args-line}"/>
-                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
-                    <jvmarg line="${runmain.jvmargs}"/>
-                    <classpath>
-                        <path path="@{classpath}"/>
-                    </classpath>
-                    <syspropertyset>
-                        <propertyref prefix="run-sys-prop."/>
-                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
-                    </syspropertyset>
-                    <arg line="@{args}"/>
-                    <customize/>
-                </java>
-            </sequential>
-        </macrodef>
-    </target>
-    <target name="-init-taskdefs">
-        <fail unless="libs.CopyLibs.classpath">
-The libs.CopyLibs.classpath property is not set up.
-This property must point to 
-org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
-of NetBeans IDE installation and is usually located at 
-&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
-Either open the project in the IDE and make sure CopyLibs library
-exists or setup the property manually. For example like this:
- ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
-                </fail>
-        <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
-    </target>
-    <target name="-init-ap-cmdline-properties">
-        <property name="annotation.processing.enabled" value="true"/>
-        <property name="annotation.processing.processors.list" value=""/>
-        <property name="annotation.processing.run.all.processors" value="true"/>
-        <property name="javac.processorpath" value="${javac.classpath}"/>
-        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
-        <condition property="ap.supported.internal" value="true">
-            <not>
-                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
-            </not>
-        </condition>
-    </target>
-    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
-        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
-            <isfalse value="${annotation.processing.run.all.processors}"/>
-        </condition>
-        <condition else="" property="ap.proc.none.internal" value="-proc:none">
-            <isfalse value="${annotation.processing.enabled}"/>
-        </condition>
-    </target>
-    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
-        <property name="ap.cmd.line.internal" value=""/>
-    </target>
-    <!--
-                pre NB7.2 profiling section; consider it deprecated
-            -->
-    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
-    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="-profile-pre-init, init, -profile-post-init" if="profiler.info.jvmargs.agent" name="-profile-init-check">
-        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
-        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
-    </target>
-    <!--
-                end of pre NB7.2 profiling section
-            -->
-    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-nbjsdebug,-init-macrodef-debug,-init-taskdefs,-init-ap-cmdline" name="init"/>
-    <!--
-                COMPILATION SECTION
-            -->
-    <target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps">
-        <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar">
-            <property name="deploy.on.save" value="false"/>
-        </ant>
-    </target>
-    <target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps">
-        <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar">
-            <property name="deploy.on.save" value="false"/>
-        </ant>
-    </target>
-    <target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/>
-    <target depends="init,deps-jar" name="-pre-pre-compile">
-        <mkdir dir="${build.classes.dir}"/>
-    </target>
-    <target name="-pre-compile">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target name="-copy-webdir">
-        <copy todir="${build.web.dir}">
-            <fileset dir="${web.docbase.dir}" excludes="${build.web.excludes},${excludes}" includes="${includes}"/>
-        </copy>
-        <copy todir="${build.web.dir}/WEB-INF">
-            <fileset dir="${webinf.dir}" excludes="${build.web.excludes}"/>
-        </copy>
-    </target>
-    <target depends="init, deps-jar, -pre-pre-compile, -pre-compile, -copy-manifest, -copy-persistence-xml, -copy-webdir, library-inclusion-in-archive,library-inclusion-in-manifest" if="have.sources" name="-do-compile">
-        <webproject2:javac destdir="${build.classes.dir}" gensrcdir="${build.generated.sources.dir}"/>
-        <copy todir="${build.classes.dir}">
-            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
-        </copy>
-    </target>
-    <target if="has.custom.manifest" name="-copy-manifest">
-        <mkdir dir="${build.meta.inf.dir}"/>
-        <copy todir="${build.meta.inf.dir}">
-            <fileset dir="${conf.dir}" includes="MANIFEST.MF"/>
-        </copy>
-    </target>
-    <target if="has.persistence.xml" name="-copy-persistence-xml">
-        <mkdir dir="${build.web.dir}/WEB-INF/classes/META-INF"/>
-        <copy todir="${build.web.dir}/WEB-INF/classes/META-INF">
-            <fileset dir="${persistence.xml.dir}" includes="persistence.xml orm.xml"/>
-        </copy>
-    </target>
-    <target name="-post-compile">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
-    <target name="-pre-compile-single">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
-        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
-        <webproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/>
-        <copy todir="${build.classes.dir}">
-            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
-        </copy>
-    </target>
-    <target name="-post-compile-single">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
-    <property name="jspc.schemas" value="/resources/schemas/"/>
-    <property name="jspc.dtds" value="/resources/dtds/"/>
-    <target depends="compile" description="Test compile JSP pages to expose compilation errors." if="do.compile.jsps" name="compile-jsps">
-        <mkdir dir="${build.generated.dir}/src"/>
-        <java classname="org.netbeans.modules.web.project.ant.JspC" failonerror="true" fork="true">
-            <arg value="-uriroot"/>
-            <arg file="${basedir}/${build.web.dir}"/>
-            <arg value="-d"/>
-            <arg file="${basedir}/${build.generated.dir}/src"/>
-            <arg value="-die1"/>
-            <arg value="-schemas ${jspc.schemas}"/>
-            <arg value="-dtds ${jspc.dtds}"/>
-            <arg value="-compilerSourceVM ${javac.source}"/>
-            <arg value="-compilerTargetVM ${javac.target}"/>
-            <arg value="-javaEncoding ${source.encoding}"/>
-            <arg value="-sysClasspath ${libs.jsp-compilation-syscp.classpath}"/>
-            <classpath path="${java.home}/../lib/tools.jar:${libs.jsp-compiler.classpath}:${libs.jsp-compilation.classpath}"/>
-        </java>
-        <mkdir dir="${build.generated.dir}/classes"/>
-        <webproject2:javac classpath="${build.classes.dir}:${libs.jsp-compilation.classpath}:${javac.classpath}:${j2ee.platform.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"/>
-    </target>
-    <target depends="compile" if="jsp.includes" name="-do-compile-single-jsp">
-        <fail unless="javac.jsp.includes">Must select some files in the IDE or set javac.jsp.includes</fail>
-        <mkdir dir="${build.generated.dir}/src"/>
-        <java classname="org.netbeans.modules.web.project.ant.JspCSingle" failonerror="true" fork="true">
-            <arg value="-uriroot"/>
-            <arg file="${basedir}/${build.web.dir}"/>
-            <arg value="-d"/>
-            <arg file="${basedir}/${build.generated.dir}/src"/>
-            <arg value="-die1"/>
-            <arg value="-schemas ${jspc.schemas}"/>
-            <arg value="-dtds ${jspc.dtds}"/>
-            <arg value="-sysClasspath ${libs.jsp-compilation-syscp.classpath}"/>
-            <arg value="-jspc.files"/>
-            <arg path="${jsp.includes}"/>
-            <arg value="-compilerSourceVM ${javac.source}"/>
-            <arg value="-compilerTargetVM ${javac.target}"/>
-            <arg value="-javaEncoding ${source.encoding}"/>
-            <classpath path="${java.home}/../lib/tools.jar:${libs.jsp-compiler.classpath}:${libs.jsp-compilation.classpath}"/>
-        </java>
-        <mkdir dir="${build.generated.dir}/classes"/>
-        <webproject2:javac classpath="${build.classes.dir}:${libs.jsp-compilation.classpath}:${javac.classpath}:${j2ee.platform.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src">
-            <customize>
-                <patternset includes="${javac.jsp.includes}"/>
-            </customize>
-        </webproject2:javac>
-    </target>
-    <target name="compile-single-jsp">
-        <fail unless="jsp.includes">Must select a file in the IDE or set jsp.includes</fail>
-        <antcall target="-do-compile-single-jsp"/>
-    </target>
-    <!--
-                DIST BUILDING SECTION
-            -->
-    <target name="-pre-dist">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.without.custom.manifest" name="-do-dist-without-manifest">
-        <dirname file="${dist.war}" property="dist.jar.dir"/>
-        <mkdir dir="${dist.jar.dir}"/>
-        <jar compress="${jar.compress}" jarfile="${dist.war}">
-            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
-        </jar>
-    </target>
-    <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.with.custom.manifest" name="-do-dist-with-manifest">
-        <dirname file="${dist.war}" property="dist.jar.dir"/>
-        <mkdir dir="${dist.jar.dir}"/>
-        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
-            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
-        </jar>
-    </target>
-    <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.without.custom.manifest" name="-do-tmp-dist-without-manifest">
-        <dirname file="${dist.war}" property="dist.jar.dir"/>
-        <mkdir dir="${dist.jar.dir}"/>
-        <jar compress="${jar.compress}" jarfile="${dist.war}">
-            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
-        </jar>
-    </target>
-    <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.with.custom.manifest" name="-do-tmp-dist-with-manifest">
-        <dirname file="${dist.war}" property="dist.jar.dir"/>
-        <mkdir dir="${dist.jar.dir}"/>
-        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
-            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
-        </jar>
-    </target>
-    <target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
-    <target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
-        <copyfiles files="${reference.SuperDAO.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
-        <mkdir dir="${build.web.dir}/META-INF"/>
-        <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
-    </target>
-    <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
-        <copyfiles files="${reference.SuperDAO.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
-    </target>
-    <target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
-        <delete dir="${build.web.dir}/WEB-INF/lib"/>
-    </target>
-    <target depends="init,-clean-webinf-lib,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" if="do.tmp.war.package" name="do-ear-dist">
-        <dirname file="${dist.ear.war}" property="dist.jar.dir"/>
-        <mkdir dir="${dist.jar.dir}"/>
-        <jar compress="${jar.compress}" jarfile="${dist.ear.war}" manifest="${build.web.dir}/META-INF/MANIFEST.MF">
-            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
-        </jar>
-    </target>
-    <target name="-post-dist">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,compile,-pre-dist,do-dist,-post-dist" description="Build distribution (WAR)." name="dist"/>
-    <target depends="init,-clean-webinf-lib,-init-cos,compile,-pre-dist,do-ear-dist,-post-dist" description="Build distribution (WAR) to be packaged into an EAR." name="dist-ear"/>
-    <!--
-                EXECUTION SECTION
-            -->
-    <target depends="run-deploy,run-display-browser" description="Deploy to server and show in browser." name="run"/>
-    <target name="-pre-run-deploy">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target name="-post-run-deploy">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target name="-pre-nbmodule-run-deploy">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
-    </target>
-    <target name="-post-nbmodule-run-deploy">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
-    </target>
-    <target name="-run-deploy-am">
-        <!-- Task to deploy to the Access Manager runtime. -->
-    </target>
-    <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest,-pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,-post-run-deploy,-do-update-breakpoints" name="run-deploy"/>
-    <target if="netbeans.home" name="-run-deploy-nb">
-        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
-    </target>
-    <target name="-init-deploy-ant" unless="netbeans.home">
-        <property name="deploy.ant.archive" value="${dist.war}"/>
-        <property name="deploy.ant.docbase.dir" value="${web.docbase.dir}"/>
-        <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
-        <property name="deploy.ant.enabled" value="true"/>
-    </target>
-    <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
-    <target if="netbeans.home" name="-run-undeploy-nb">
-        <fail message="Undeploy is not supported from within the IDE"/>
-    </target>
-    <target depends="init,-pre-dist,dist,-post-dist" name="verify">
-        <nbverify file="${dist.war}"/>
-    </target>
-    <target depends="run-deploy,-init-display-browser,-display-browser-nb-old,-display-browser-nb,-display-browser-cl" name="run-display-browser"/>
-    <target if="do.display.browser" name="-init-display-browser">
-        <condition property="do.display.browser.nb.old">
-            <and>
-                <isset property="netbeans.home"/>
-                <not>
-                    <isset property="browser.context"/>
-                </not>
-            </and>
-        </condition>
-        <condition property="do.display.browser.nb">
-            <and>
-                <isset property="netbeans.home"/>
-                <isset property="browser.context"/>
-            </and>
-        </condition>
-        <condition property="do.display.browser.cl">
-            <isset property="deploy.ant.enabled"/>
-        </condition>
-    </target>
-    <target if="do.display.browser.nb.old" name="-display-browser-nb-old">
-        <nbbrowse url="${client.url}"/>
-    </target>
-    <target if="do.display.browser.nb" name="-display-browser-nb">
-        <nbbrowse context="${browser.context}" url="${client.url}" urlPath="${client.urlPart}"/>
-    </target>
-    <target if="do.display.browser.cl" name="-get-browser" unless="browser">
-        <condition property="browser" value="rundll32">
-            <os family="windows"/>
-        </condition>
-        <condition else="" property="browser.args" value="url.dll,FileProtocolHandler">
-            <os family="windows"/>
-        </condition>
-        <condition property="browser" value="/usr/bin/open">
-            <os family="mac"/>
-        </condition>
-        <property environment="env"/>
-        <condition property="browser" value="${env.BROWSER}">
-            <isset property="env.BROWSER"/>
-        </condition>
-        <condition property="browser" value="/usr/bin/firefox">
-            <available file="/usr/bin/firefox"/>
-        </condition>
-        <condition property="browser" value="/usr/local/firefox/firefox">
-            <available file="/usr/local/firefox/firefox"/>
-        </condition>
-        <condition property="browser" value="/usr/bin/mozilla">
-            <available file="/usr/bin/mozilla"/>
-        </condition>
-        <condition property="browser" value="/usr/local/mozilla/mozilla">
-            <available file="/usr/local/mozilla/mozilla"/>
-        </condition>
-        <condition property="browser" value="/usr/sfw/lib/firefox/firefox">
-            <available file="/usr/sfw/lib/firefox/firefox"/>
-        </condition>
-        <condition property="browser" value="/opt/csw/bin/firefox">
-            <available file="/opt/csw/bin/firefox"/>
-        </condition>
-        <condition property="browser" value="/usr/sfw/lib/mozilla/mozilla">
-            <available file="/usr/sfw/lib/mozilla/mozilla"/>
-        </condition>
-        <condition property="browser" value="/opt/csw/bin/mozilla">
-            <available file="/opt/csw/bin/mozilla"/>
-        </condition>
-    </target>
-    <target depends="-get-browser" if="do.display.browser.cl" name="-display-browser-cl">
-        <fail unless="browser">
-                    Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
-                </fail>
-        <property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/>
-        <echo>Launching ${browse.url}</echo>
-        <exec executable="${browser}" spawn="true">
-            <arg line="${browser.args} ${browse.url}"/>
-        </exec>
-    </target>
-    <target depends="init,-init-cos,compile-single" name="run-main">
-        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
-        <webproject1:java classname="${run.class}"/>
-    </target>
-    <target depends="init,compile-test-single,-pre-test-run-single" name="run-test-with-main">
-        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
-        <webproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
-    </target>
-    <target depends="init" if="netbeans.home" name="-do-update-breakpoints">
-        <webproject1:nbjpdaappreloaded/>
-    </target>
-    <!--
-                DEBUGGING SECTION
-            -->
-    <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest" description="Debug project in IDE." if="netbeans.home" name="debug">
-        <nbstartserver debugmode="true"/>
-        <antcall target="connect-debugger"/>
-        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/>
-        <antcall target="debug-display-browser-old"/>
-        <antcall target="debug-display-browser"/>
-        <antcall target="connect-client-debugger"/>
-    </target>
-    <target if="do.debug.server" name="connect-debugger" unless="is.debugged">
-        <condition property="listeningcp" value="sourcepath">
-            <istrue value="${j2ee.compile.on.save}"/>
-        </condition>
-        <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" listeningcp="${listeningcp}" name="${name}" transport="${jpda.transport}">
-            <classpath>
-                <path path="${debug.classpath}:${j2ee.platform.classpath}"/>
-            </classpath>
-            <sourcepath>
-                <path path="${web.docbase.dir}"/>
-            </sourcepath>
-        </nbjpdaconnect>
-    </target>
-    <target if="do.display.browser.debug.old" name="debug-display-browser-old">
-        <nbbrowse url="${client.url}"/>
-    </target>
-    <target if="do.display.browser.debug" name="debug-display-browser">
-        <nbbrowse context="${browser.context}" url="${client.url}" urlPath="${client.urlPart}"/>
-    </target>
-    <target if="do.debug.client" name="connect-client-debugger">
-        <webproject1:nbjsdebugstart webUrl="${client.url}"/>
-    </target>
-    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
-        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
-        <webproject1:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
-    </target>
-    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
-    <target depends="init,compile,compile-jsps,-do-compile-single-jsp,debug" if="netbeans.home" name="debug-single"/>
-    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
-        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
-    </target>
-    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
-        <webproject1:nbjpdastart name="${debug.class}"/>
-    </target>
-    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
-        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
-        <webproject1:debug classname="${debug.class}"/>
-    </target>
-    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
-    <target depends="init" name="-pre-debug-fix">
-        <fail unless="fix.includes">Must set fix.includes</fail>
-        <property name="javac.includes" value="${fix.includes}.java"/>
-    </target>
-    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
-        <webproject1:nbjpdareload/>
-    </target>
-    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
-    <!--
-            =================
-            PROFILING SECTION
-            =================
-            -->
-    <!--
-                pre NB7.2 profiling section; consider it deprecated
-            -->
-    <target description="Profile a J2EE project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
-        <condition else="start-profiled-server" property="profiler.startserver.target" value="start-profiled-server-extraargs">
-            <isset property="profiler.info.jvmargs.extra"/>
-        </condition>
-        <antcall target="${profiler.startserver.target}"/>
-        <antcall target="run"/>
-        <antcall target="-profile-start-loadgen"/>
-    </target>
-    <target if="profiler.info.jvmargs.agent" name="start-profiled-server">
-        <nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
-            <jvmarg value="${profiler.info.jvmargs.agent}"/>
-            <jvmarg value="${profiler.j2ee.agentID}"/>
-        </nbstartprofiledserver>
-    </target>
-    <target if="profiler.info.jvmargs.agent" name="start-profiled-server-extraargs">
-        <nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
-            <jvmarg value="${profiler.info.jvmargs.extra}"/>
-            <jvmarg value="${profiler.info.jvmargs.agent}"/>
-            <jvmarg value="${profiler.j2ee.agentID}"/>
-        </nbstartprofiledserver>
-    </target>
-    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
-        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
-        <nbprofiledirect>
-            <classpath>
-                <path path="${run.test.classpath}"/>
-                <path path="${j2ee.platform.classpath}"/>
-            </classpath>
-        </nbprofiledirect>
-        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
-            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
-            <jvmarg value="${profiler.info.jvmargs.agent}"/>
-            <jvmarg line="${profiler.info.jvmargs}"/>
-            <test name="${profile.class}"/>
-            <classpath>
-                <path path="${run.test.classpath}"/>
-                <path path="${j2ee.platform.classpath}"/>
-            </classpath>
-            <syspropertyset>
-                <propertyref prefix="test-sys-prop."/>
-                <mapper from="test-sys-prop.*" to="*" type="glob"/>
-            </syspropertyset>
-            <formatter type="brief" usefile="false"/>
-            <formatter type="xml"/>
-        </junit>
-    </target>
-    <target if="netbeans.home" name="-profile-check">
-        <condition property="profiler.configured">
-            <or>
-                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
-                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
-            </or>
-        </condition>
-    </target>
-    <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest" name="-do-profile">
-        <startprofiler/>
-        <nbstartserver profilemode="true"/>
-        <nbdeploy clientUrlPart="${client.urlPart}" forceRedeploy="true" profilemode="true"/>
-        <antcall target="debug-display-browser-old"/>
-        <antcall target="debug-display-browser"/>
-        <antcall target="-profile-start-loadgen"/>
-    </target>
-    <target depends="-profile-check,-profile-pre72" description="Profile a J2EE project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
-        <antcall target="-do-profile"/>
-    </target>
-    <target depends="-profile-test-single-pre72" name="profile-test-single"/>
-    <target depends="-profile-check" if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs.agent">
-        <startprofiler/>
-        <antcall target="test-single"/>
-    </target>
-    <target if="profiler.loadgen.path" name="-profile-start-loadgen">
-        <loadgenstart path="${profiler.loadgen.path}"/>
-    </target>
-    <!--
-                JAVADOC SECTION
-            -->
-    <target depends="init" if="have.sources" name="javadoc-build">
-        <mkdir dir="${dist.javadoc.dir}"/>
-        <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}">
-            <classpath>
-                <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
-            </classpath>
-            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
-                <filename name="**/*.java"/>
-            </fileset>
-            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
-                <include name="**/*.java"/>
-            </fileset>
-        </javadoc>
-        <copy todir="${dist.javadoc.dir}">
-            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
-                <filename name="**/doc-files/**"/>
-            </fileset>
-            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
-                <include name="**/doc-files/**"/>
-            </fileset>
-        </copy>
-    </target>
-    <target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
-        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
-    </target>
-    <target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
-    <!--
-                
-                TEST COMPILATION SECTION
-            -->
-    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
-        <mkdir dir="${build.test.classes.dir}"/>
-        <property name="j2ee.platform.embeddableejb.classpath" value=""/>
-    </target>
-    <target name="-pre-compile-test">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
-        <webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
-        <copy todir="${build.test.classes.dir}">
-            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
-        </copy>
-    </target>
-    <target name="-post-compile-test">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
-    <target name="-pre-compile-test-single">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
-        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
-        <webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" srcdir="${test.src.dir}"/>
-        <copy todir="${build.test.classes.dir}">
-            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
-        </copy>
-    </target>
-    <target name="-post-compile-test-single">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
-    <!--
-                
-                TEST EXECUTION SECTION
-            -->
-    <target depends="init" if="have.tests" name="-pre-test-run">
-        <mkdir dir="${build.test.results.dir}"/>
-    </target>
-    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
-        <webproject2:test includes="${includes}" testincludes="**/*Test.java"/>
-    </target>
-    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
-        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
-    </target>
-    <target depends="init" if="have.tests" name="test-report"/>
-    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
-    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
-    <target depends="init" if="have.tests" name="-pre-test-run-single">
-        <mkdir dir="${build.test.results.dir}"/>
-    </target>
-    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
-        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
-        <webproject2:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
-    </target>
-    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
-        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
-    </target>
-    <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"/>
-    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
-        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
-        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
-        <webproject2:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
-    </target>
-    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
-        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
-    </target>
-    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>
-    <!--
-                
-                TEST DEBUGGING SECTION
-            -->
-    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
-        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
-        <webproject2:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
-    </target>
-    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
-        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
-        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
-        <webproject2:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
-    </target>
-    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
-        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
-    </target>
-    <target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
-    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
-    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
-        <webproject1:nbjpdareload dir="${build.test.classes.dir}"/>
-    </target>
-    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
-    <!--
-                
-                CLEANUP SECTION
-            -->
-    <target depends="init" name="deps-clean" unless="no.deps">
-        <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="clean"/>
-    </target>
-    <target depends="init" name="do-clean">
-        <condition property="build.dir.to.clean" value="${build.web.dir}">
-            <isset property="dist.ear.dir"/>
-        </condition>
-        <property name="build.dir.to.clean" value="${build.web.dir}"/>
-        <delete includeEmptyDirs="true" quiet="true">
-            <fileset dir="${build.dir.to.clean}/WEB-INF/lib"/>
-        </delete>
-        <delete dir="${build.dir}"/>
-        <available file="${build.dir.to.clean}/WEB-INF/lib" property="status.clean-failed" type="dir"/>
-        <delete dir="${dist.dir}"/>
-    </target>
-    <target depends="do-clean" if="status.clean-failed" name="check-clean">
-        <echo message="Warning: unable to delete some files in ${build.web.dir}/WEB-INF/lib - they are probably locked by the J2EE server. "/>
-        <echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/>
-    </target>
-    <target depends="init" if="netbeans.home" name="undeploy-clean">
-        <nbundeploy failOnError="false" startServer="false"/>
-    </target>
-    <target name="-post-clean">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,undeploy-clean,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
-    <target depends="clean" description="Clean build products." name="clean-ear"/>
-</project>
Index: ava/sql-vyuka/nbproject/genfiles.properties
===================================================================
--- java/sql-vyuka/nbproject/genfiles.properties	(revision 87:5fff85c7f980)
+++ 	(revision )
@@ -1,8 +1,0 @@
-build.xml.data.CRC32=eb6453d4
-build.xml.script.CRC32=0f264e43
-build.xml.stylesheet.CRC32=c0ebde35
-# 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=3f9299bb
-nbproject/build-impl.xml.script.CRC32=55a3d669
-nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.68.1.1
Index: ava/sql-vyuka/nbproject/project.properties
===================================================================
--- java/sql-vyuka/nbproject/project.properties	(revision 87:5fff85c7f980)
+++ 	(revision )
@@ -1,89 +1,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=true
-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.web.dir}/WEB-INF/classes
-build.classes.excludes=**/*.java,**/*.form
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-build.web.dir=${build.dir}/web
-build.web.excludes=${build.classes.excludes}
-client.urlPart=
-compile.jsps=false
-conf.dir=${source.root}/conf
-debug.classpath=${build.classes.dir}:${javac.classpath}
-debug.test.classpath=\
-    ${run.test.classpath}
-display.browser=false
-dist.dir=dist
-dist.ear.war=${dist.dir}/${war.ear.name}
-dist.javadoc.dir=${dist.dir}/javadoc
-dist.war=${dist.dir}/${war.name}
-endorsed.classpath=
-excludes=
-includes=**
-j2ee.compile.on.save=false
-j2ee.copy.static.files.on.save=false
-j2ee.deploy.on.save=false
-j2ee.platform=1.5
-j2ee.platform.classpath=${j2ee.server.home}/modules/endorsed/jaxb-api.jar:${j2ee.server.home}/modules/endorsed/javax.annotation-api.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/weld-osgi-bundle.jar:${j2ee.server.home}/modules/javax.ws.rs-api.jar:${j2ee.server.home}/modules/javax.xml.rpc-api.jar:${j2ee.server.home}/modules/javax.mail.jar:${j2ee.server.home}/modules/javax.xml.registry-api.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/javax.websocket-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl-api.jar:${j2ee.server.home}/modules/javax.json.jar:${j2ee.server.home}/modules/cdi-api.jar:${j2ee.server.home}/modules/javax.servlet-api.jar:${j2ee.server.home}/modules/javax.persistence.jar:${j2ee.server.home}/modules/javax.inject.jar:${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/javax.batch-api.jar:${j2ee.server.home}/modules/javax.el.jar:${j2ee.server.home}/modules/javax.management.j2ee-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl.jar:${j2ee.server.home}/modules/javax.security.jacc-api.jar:${j2ee.server.home}/modules/javax.enterprise.concurrent.jar:${j2ee.server.home}/modules/javax.ejb-api.jar:${j2ee.server.home}/modules/javax.faces.jar:${j2ee.server.home}/modules/javax.enterprise.concurrent-api.jar:${j2ee.server.home}/modules/javax.resource-api.jar:${j2ee.server.home}/modules/javax.interceptor-api.jar:${j2ee.server.home}/modules/javax.security.auth.message-api.jar:${j2ee.server.home}/modules/javax.transaction-api.jar:${j2ee.server.home}/modules/bean-validator.jar:${j2ee.server.home}/modules/javax.enterprise.deploy-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jar:${j2ee.server.home}/modules/javax.jms-api.jar:${j2ee.server.middleware}/mq/lib/jaxm-api.jar
-j2ee.platform.embeddableejb.classpath=${j2ee.server.home}/lib/embedded/glassfish-embedded-static-shell.jar
-j2ee.platform.wscompile.classpath=${j2ee.server.home}/modules/webservices-osgi.jar
-j2ee.platform.wsgen.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar
-j2ee.platform.wsimport.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar
-j2ee.platform.wsit.classpath=
-j2ee.server.type=gfv3ee6
-jar.compress=false
-javac.classpath=\
-    ${reference.SuperDAO.jar}
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.debug=true
-javac.deprecation=false
-javac.processorpath=\
-    ${javac.classpath}
-javac.source=1.5
-javac.target=1.5
-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.preview=true
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-jaxbwiz.endorsed.dirs="${netbeans.home}/../ide12/modules/ext/jaxb/api"
-jspcompilation.classpath=${jspc.classpath}:${javac.classpath}
-lib.dir=${web.docbase.dir}/WEB-INF/lib
-persistence.xml.dir=${conf.dir}
-platform.active=default_platform
-project.SuperDAO=../../../SuperDAO/java/SuperDAO
-reference.SuperDAO.jar=${project.SuperDAO}/dist/SuperDAO.jar
-resource.dir=setup
-run.test.classpath=\
-    ${javac.test.classpath}:\
-    ${build.test.classes.dir}
-# Space-separated list of JVM arguments used when running a class with a main method or a unit test
-# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value):
-runmain.jvmargs=
-source.encoding=UTF-8
-source.root=src
-src.dir=${source.root}/java
-test.src.dir=test
-war.content.additional=
-war.ear.name=sql-vyuka.war
-war.name=sql-vyuka.war
-web.docbase.dir=web
-webinf.dir=web/WEB-INF
Index: ava/sql-vyuka/nbproject/project.xml
===================================================================
--- java/sql-vyuka/nbproject/project.xml	(revision 74:48066e753dd6)
+++ 	(revision )
@@ -1,33 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://www.netbeans.org/ns/project/1">
-    <type>org.netbeans.modules.web.project</type>
-    <configuration>
-        <data xmlns="http://www.netbeans.org/ns/web-project/3">
-            <name>sql-vyuka</name>
-            <minimum-ant-version>1.6.5</minimum-ant-version>
-            <web-module-libraries>
-                <library dirs="200">
-                    <file>${reference.SuperDAO.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-            </web-module-libraries>
-            <web-module-additional-libraries/>
-            <source-roots>
-                <root id="src.dir"/>
-            </source-roots>
-            <test-roots>
-                <root id="test.src.dir"/>
-            </test-roots>
-        </data>
-        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
-            <reference>
-                <foreign-project>SuperDAO</foreign-project>
-                <artifact-type>jar</artifact-type>
-                <script>build.xml</script>
-                <target>jar</target>
-                <clean-target>clean</clean-target>
-                <id>jar</id>
-            </reference>
-        </references>
-    </configuration>
-</project>
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/HistorieDAO.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/HistorieDAO.java	(revision 26:5844d64930de)
+++ 	(revision )
@@ -1,101 +1,0 @@
-package cz.frantovo.sql.vyuka.dao;
-
-import cz.frantovo.sql.vyuka.dto.Hlaska;
-import cz.frantovo.sql.vyuka.dto.Hlaska.Typ;
-import cz.frantovo.sql.vyuka.dto.Tabulka;
-import cz.frantovo.sql.vyuka.dto.Uzivatel;
-import cz.frantovo.sql.vyuka.dto.VysledekSQL;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.Timestamp;
-import java.util.logging.Level;
-
-/**
- * Ukládání a načítání uživatelské historie.
- * @author fiki
- */
-public class HistorieDAO extends VyukaSuperDAO {
-
-    TipyDAO tipy = new TipyDAO();
-
-    private enum SQL {
-
-        NACTI,
-        ULOZ
-    }
-
-    /**
-     * @param sql uživatelský SQL příkaz k uložení
-     * @param uzivatel idSezení a IP adresa uživatele
-     * @return zda se podařilo historii uložit
-     */
-    public boolean ulozPrikaz(String sql, Uzivatel uzivatel) {
-        Connection db = getSpojeni(DATABAZE.APLIKACE);
-        if (db == null) {
-            return false;
-        } else {
-            PreparedStatement ps = null;
-            ResultSet rs = null;
-            try {
-                ps = db.prepareStatement(getSQL(SQL.ULOZ));
-                ps.setString(1, sql);
-                ps.setString(2, uzivatel.getIdSezeni());
-                ps.setString(3, uzivatel.getIpAdresa());
-                ps.executeUpdate();
-                return true;
-            } catch (Exception e) {
-                log.log(Level.SEVERE, "Chyba při ukládání historie.", e);
-                return false;
-            } finally {
-                zavri(db, ps, rs);
-            }
-        }
-    }
-
-    public VysledekSQL nactiHistorii(Uzivatel uzivatel) {
-        VysledekSQL v = new VysledekSQL();
-
-
-        Tabulka t = new Tabulka();
-        String[] zahlavi = {"historie.kdy", "historie.prikaz"};
-        t.setZahlavi(zahlavi);
-        t.setZahlaviTip("historie.zahlaviTip");
-        t.setLokalizovat(true);
-
-        Connection db = getSpojeni(DATABAZE.APLIKACE);
-        if (db == null) {
-            v.getHlasky().add(new Hlaska("Došlo k chybě spojení.", Typ.Chyba));
-        } else {
-            PreparedStatement ps = null;
-            ResultSet rs = null;
-            try {
-                ps = db.prepareStatement(getSQL(SQL.NACTI));
-                ps.setString(1, uzivatel.getIdSezeni());
-                rs = ps.executeQuery();
-
-                while (rs.next()) {
-                    Timestamp datum = rs.getTimestamp("datum");
-                    String sql = rs.getString("sql");
-                    Object[] hodnoty = {datum, sql};
-                    t.getHodnoty().add(hodnoty);
-                }
-
-                if (t.getHodnoty().size() < 1) {
-                    v.getHlasky().add(new Hlaska("Historie SQL příkazů nenalezena.", Typ.Varovani));
-                } else {
-                    v.getTabulky().add(t);
-                }
-
-            } catch (Exception e) {
-                log.log(Level.SEVERE, "Chyba při ukládání historie.", e);
-                v.getHlasky().add(new Hlaska("Došlo k chybě dotazu.", Typ.Chyba));
-            } finally {
-                zavri(db, ps, rs);
-            }
-        }
-
-        v.getHlasky().add(new Hlaska(tipy.getTip(), Typ.Tip, false));
-        return v;
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/HistorieDAO.sql.xml
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/HistorieDAO.sql.xml	(revision 18:e7a5763c789c)
+++ 	(revision )
@@ -1,20 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
-<properties>
-    <entry key="NACTI">
-        <![CDATA[
-        SELECT *
-        FROM historie
-        WHERE   id_sezeni = ?
-                AND sql IS NOT NULL
-                AND sql <> ''
-        ORDER BY id DESC
-        LIMIT 20
-        ]]>
-    </entry>
-    <entry key="ULOZ">
-        <![CDATA[
-        INSERT INTO historie (sql, id_sezeni, ip_adresa) VALUES (?,?,?)
-        ]]>
-    </entry>
-</properties>
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/PiskovisteDAO.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/PiskovisteDAO.java	(revision 78:3b4abb1ec5a3)
+++ 	(revision )
@@ -1,162 +1,0 @@
-package cz.frantovo.sql.vyuka.dao;
-
-import cz.frantovo.sql.vyuka.dao.VyukaSuperDAO.DATABAZE;
-import cz.frantovo.sql.vyuka.dto.Hlaska;
-import cz.frantovo.sql.vyuka.dto.Hlaska.Typ;
-import cz.frantovo.sql.vyuka.dto.Tabulka;
-import cz.frantovo.sql.vyuka.dto.Uzivatel;
-import cz.frantovo.sql.vyuka.dto.VysledekSQL;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.util.logging.Level;
-
-/**
- * Pro spouštění uživatelových příkazů.
- *
- * @author fiki
- */
-public class PiskovisteDAO extends VyukaSuperDAO {
-
-	/** maximální doba trvání SQL dotazu – vteřiny */
-	private static final int LIMIT_ČASU = 3;
-	/** maximální počet řádků */
-	private static final int LIMIT_POČTU = 10000;
-
-	private enum VLASTNOSTI {
-
-		VYCHOZI_CESTA,
-		LIMIT_ČASU
-	}
-	TipyDAO tipy = new TipyDAO();
-	HistorieDAO historie = new HistorieDAO();
-
-	public VysledekSQL vykonejSQL(String sql, Uzivatel uzivatel) {
-		VysledekSQL v = new VysledekSQL();
-		if (historie.ulozPrikaz(sql, uzivatel)) {
-
-			Connection db = getSpojeni(DATABAZE.PISKOVISTE);
-			if (db == null) {
-				v.getHlasky().add(new Hlaska("Došlo k chybě spojení.", Typ.Chyba));
-			} else {
-				PreparedStatement ps = null;
-				ResultSet rs = null;
-				try {
-					/**
-					 * Uživatelskému SQL příkazu předřadíme výchozí cestu (search_path).
-					 * Protože uživatelé si ji mohou měnit a kvůli recyklaci databázových zdrojů
-					 * by jeden uživatel mohl ovlivnit jiného.
-					 */
-					if (getVlastnost(VLASTNOSTI.VYCHOZI_CESTA) != null) {
-						sql = orizni(getVlastnost(VLASTNOSTI.VYCHOZI_CESTA)) + sql;
-					}
-					
-					/**
-					 * TODO:
-					 * použít ps.setQueryTimeout(LIMIT_ČASU);
-					 * až ho bude podporovat JDBC ovladač,
-					 * viz níže.
-					 * Uživatel ale stejně může zadat:
-					 * SET statement_timeout 0;
-					 * do svého SQL dotazu.
-					 */
-					if (getVlastnost(VLASTNOSTI.LIMIT_ČASU) != null) {
-						sql = orizni(getVlastnost(VLASTNOSTI.LIMIT_ČASU)) + sql;
-					}
-
-					long casPred = System.currentTimeMillis();
-					ps = db.prepareStatement(sql);
-					/**
-					 * Limit času bohužel není podporován JDBC ovladačem.
-					 * Alespoň ne v postgresql-9.1-901.jdbc4.jar
-					 * http://jdbc.postgresql.org/todo.html
-					 * 
-					 * TODO:
-					 * ps.setQueryTimeout(LIMIT_ČASU);
-					 */
-					ps.setMaxRows(LIMIT_POČTU);
-					boolean isRS = ps.execute();
-
-					if (isRS) {
-						rs = ps.getResultSet();
-						v.getTabulky().add(zpracujVysledek(rs));
-					}
-
-					/**
-					 * Ošetříme případ, kdy uživatel zadá SQL příkaz, který nevrací výsledkovou
-					 * sadu.
-					 * Typicky nastavení výchozího schématu: SET search_path = '…';
-					 * Poznámka: jeden „SET search_path TO "…"“ se obvykle předřazuje uživatelskému
-					 * SQL (viz PiskovisteDAO.xml).
-					 */
-					while (ps.getMoreResults() || ps.getUpdateCount() > -1) {
-						rs = ps.getResultSet();
-						if (rs == null) {
-							/** Jedná se o „update count“. */
-						} else {
-							v.getTabulky().add(zpracujVysledek(rs));
-						}
-					}
-					long dobaProvadeni = System.currentTimeMillis() - casPred;
-
-					/** Varování */
-					if (v.getHlasky().size() < 1 && v.getTabulky().size() < 1) {
-						v.getHlasky().add(new Hlaska("SQL příkaz proběhl, ale nevrátil žádná data.", Typ.Varovani));
-					}
-
-					/** Varování */
-					int pocitadloTabulek = 1;
-					for (Tabulka t : v.getTabulky()) {
-						if (t.getHodnoty().size() < 1) {
-							v.getHlasky().add(new Hlaska("Tabulka " + pocitadloTabulek + "  je prázdná.", Typ.Varovani));
-						}
-						pocitadloTabulek++;
-					}
-
-					v.getHlasky().add(new Hlaska("SQL příkaz byl proveden úspěšně, během " + dobaProvadeni + " ms.", Typ.OK));
-
-				} catch (SQLException e) {
-					log.log(Level.SEVERE, "SQL chyba při vykonávání uživatelského dotazu.", e);
-					v.getHlasky().add(new Hlaska("Chybné SQL: " + e.getMessage(), Typ.Chyba));
-				} catch (Exception e) {
-					log.log(Level.SEVERE, "Chyba při vykonávání uživatelského dotazu.", e);
-					v.getHlasky().add(new Hlaska("Došlo k chybě dotazu.", Typ.Chyba));
-				} finally {
-					zavri(db, ps, rs);
-				}
-			}
-
-			/** Tip pro uživatele */
-			String tip = tipy.getTip();
-			if (tip != null) {
-				v.getHlasky().add(new Hlaska(tip, Typ.Tip, false));
-			}
-
-		} else {
-			v.getHlasky().add(new Hlaska("Došlo k chybě historie.", Typ.Chyba));
-		}
-		return v;
-	}
-
-	private Tabulka zpracujVysledek(ResultSet rs) throws SQLException {
-		Tabulka t = new Tabulka();
-
-		int pocetSloupecku = rs.getMetaData().getColumnCount();
-		String[] zahlavi = new String[pocetSloupecku];
-		t.setZahlavi(zahlavi);
-		for (int i = 0; i < pocetSloupecku; i++) {
-			zahlavi[i] = rs.getMetaData().getColumnName(i + 1);
-		}
-
-		while (rs.next()) {
-			Object[] hodnoty = new Object[pocetSloupecku];
-			for (int i = 0; i < pocetSloupecku; i++) {
-				hodnoty[i] = rs.getObject(i + 1);
-			}
-			t.getHodnoty().add(hodnoty);
-		}
-
-		return t;
-	}
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/PiskovisteDAO.xml
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/PiskovisteDAO.xml	(revision 78:3b4abb1ec5a3)
+++ 	(revision )
@@ -1,24 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
-<properties>    
-    <!--
-		PostgreSQL proměnná „search_path“ – nastavíme ji před každým uživatelským SQL dotazem,
-		aby se uživatelé vzájemně neovlivňovali.
-    -->
-	<entry key="VYCHOZI_CESTA">
-        <![CDATA[
-        SET search_path TO "$user",public;
-        ]]>
-	</entry>
-	<!--
-		Limit (vteřiny) pro vykonání jednoho SQL příkazu.
-		TODO:
-			použít ps.setQueryTimeout(LIMIT_ČASU);
-			až ho bude podporovat JDBC ovladač.
-	-->
-	<entry key="LIMIT_ČASU">
-        <![CDATA[
-        SET statement_timeout TO 3;
-        ]]>
-	</entry>
-</properties>
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/PruvodceDAO.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/PruvodceDAO.java	(revision 37:e32867db5487)
+++ 	(revision )
@@ -1,71 +1,0 @@
-package cz.frantovo.sql.vyuka.dao;
-
-import cz.frantovo.sql.vyuka.dto.Pruvodce;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.util.logging.Level;
-
-/**
- * Načítá průvodce (nápovědu) z databáze.
- * @author fiki
- */
-public class PruvodceDAO extends VyukaSuperDAO {
-
-    private enum SQL {
-
-        PODLE_KODU,
-        PODLE_ID,
-        PODLE_ID_PREDCHOZI,
-        PODLE_ID_NASLEDUJICI
-    }
-
-    public Pruvodce getPruvodce(long id) {
-        return getPruvodce(getSQL(SQL.PODLE_ID), id);
-    }
-
-    public Pruvodce getPruvodce(String kod) {
-        return getPruvodce(getSQL(SQL.PODLE_KODU), kod);
-    }
-
-    public Pruvodce getPruvodcePredchozi(long id) {
-        return getPruvodce(getSQL(SQL.PODLE_ID_PREDCHOZI), id);
-    }
-
-    public Pruvodce getPruvodceNasledujici(long id) {
-        return getPruvodce(getSQL(SQL.PODLE_ID_NASLEDUJICI), id);
-    }
-
-    private Pruvodce getPruvodce(String selekt, Object... parametry) {
-        Connection db = getSpojeni(DATABAZE.APLIKACE);
-        if (db == null) {
-            log.log(Level.SEVERE, "Databáze je null.");
-            return null;
-        } else {
-            PreparedStatement ps = null;
-            ResultSet rs = null;
-            try {
-                ps = db.prepareStatement(selekt);
-                for (int i = 0; i < parametry.length; i++) {
-                    ps.setObject(i + 1, parametry[i]);
-                }
-                rs = ps.executeQuery();
-                if (rs.next()) {
-                    Pruvodce p = new Pruvodce();
-                    p.setId(rs.getLong("id"));
-                    p.setKod(rs.getString("kod"));
-                    p.setNadpis(rs.getString("nadpis"));
-                    p.setObsah(rs.getString("obsah"));
-                    return p;
-                } else {
-                    return null;
-                }
-            } catch (Exception e) {
-                log.log(Level.SEVERE, "Chyba při hledání průvodce.", e);
-                return null;
-            } finally {
-                zavri(db, ps, rs);
-            }
-        }
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/PruvodceDAO.sql.xml
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/PruvodceDAO.sql.xml	(revision 56:a26e7b7a86d9)
+++ 	(revision )
@@ -1,36 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
-<properties>
-    <entry key="PODLE_KODU">
-        <![CDATA[
-        SELECT  *
-        FROM pruvodce
-        WHERE kod = ?;
-        ]]>
-    </entry>
-    <entry key="PODLE_ID">
-        <![CDATA[
-        SELECT  *
-        FROM pruvodce
-        WHERE id = ?;
-        ]]>
-    </entry>
-    <entry key="PODLE_ID_PREDCHOZI">
-        <![CDATA[
-        SELECT  *
-        FROM pruvodce
-        WHERE id < ?
-        ORDER BY id DESC
-        LIMIT 1;
-        ]]>
-    </entry>
-    <entry key="PODLE_ID_NASLEDUJICI">
-        <![CDATA[
-        SELECT  *
-        FROM pruvodce
-        WHERE id > ?
-        ORDER BY id
-        LIMIT 1;
-        ]]>
-    </entry>
-</properties>
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/TipyDAO.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/TipyDAO.java	(revision 29:4b6ab4ba1a95)
+++ 	(revision )
@@ -1,43 +1,0 @@
-package cz.frantovo.sql.vyuka.dao;
-
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.util.logging.Level;
-
-/**
- * Rady, tipy, odkazy, citáty… pro zobrazování uživatelům.
- * @author fiki
- */
-public class TipyDAO extends VyukaSuperDAO {
-
-    private enum SQL {
-
-        NAHODNY_TIP
-    }
-
-    /**
-     * @return Náhodný tip načtený z databáze
-     */
-    public String getTip() {
-        Connection db = getSpojeni(DATABAZE.APLIKACE);
-        if (db == null) {
-            log.log(Level.SEVERE, "Databáze je null.");
-            return null;
-        } else {
-            PreparedStatement ps = null;
-            ResultSet rs = null;
-            try {
-                ps = db.prepareStatement(getSQL(SQL.NAHODNY_TIP));
-                rs = ps.executeQuery();
-                rs.next();
-                return rs.getString("text");
-            } catch (Exception e) {
-                log.log(Level.SEVERE, "Chyba při hledání náhodného tipu.", e);
-                return null;
-            } finally {
-                zavri(db, ps, rs);
-            }
-        }
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/TipyDAO.sql.xml
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/TipyDAO.sql.xml	(revision 29:4b6ab4ba1a95)
+++ 	(revision )
@@ -1,12 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
-<properties>
-    <entry key="NAHODNY_TIP">
-        <![CDATA[
-        SELECT  *
-        FROM tip
-        ORDER BY random()
-        LIMIT 1;
-        ]]>
-    </entry>
-</properties>
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/VyukaSuperDAO.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/VyukaSuperDAO.java	(revision 86:a51bbc91a4cb)
+++ 	(revision )
@@ -1,62 +1,0 @@
-package cz.frantovo.sql.vyuka.dao;
-
-import cz.frantovo.superDAO.SuperDAO;
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.util.logging.Level;
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-import javax.sql.DataSource;
-
-/**
- *
- * @author fiki
- */
-public class VyukaSuperDAO extends SuperDAO {
-
-    protected Context kontext = null;
-
-    protected enum DATABAZE {
-
-        /** Databáze aplikace – historie, nastavení. */
-        APLIKACE,
-        /** Databáze, na které se spouštějí příkazy uživatelů. */
-        PISKOVISTE
-    }
-
-    public VyukaSuperDAO() {
-        try {
-            // v GlassFishi stačil InitialContext
-            // v Tomcatu / TomEE nešlo v InitialContextu DB spojení najít:
-            // javax.naming.NameNotFoundException: Name [jdbc/sqlVyuka/aplikace] is not bound in this Context. Unable to find [jdbc].)
-            // Po přidání lookup("java:comp/env") funguje v TomEE.
-            kontext = new InitialContext();
-            kontext = (Context) kontext.lookup("java:comp/env"); 
-        } catch (NamingException ex) {
-            log.log(Level.SEVERE, "Chyba při inicializaci kontextu", ex);
-        }
-    }
-
-    /**
-     * @param databaze Která databáze (aplikace = historie a nastavení | pískoviště = příkazy uživatele)
-     * @return Databázové spojení
-     */
-    protected Connection getSpojeni(DATABAZE databaze) {
-        if (databaze == null) {
-            databaze = DATABAZE.PISKOVISTE;
-        }
-        String jndi = orizni(getVlastnost(databaze, VyukaSuperDAO.class));
-        DataSource zdroj = null;
-        try {
-            zdroj = (DataSource) kontext.lookup(jndi);
-            return zdroj.getConnection();
-        } catch (NamingException ex) {
-            log.log(Level.SEVERE, "getSpojeni: lookup", ex);
-            return null;
-        } catch (SQLException ex) {
-            log.log(Level.SEVERE, "getSpojeni: sql", ex);
-            return null;
-        }
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/VyukaSuperDAO.xml
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dao/VyukaSuperDAO.xml	(revision 16:9acb74ac7346)
+++ 	(revision )
@@ -1,6 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
-<properties>
-    <entry key="APLIKACE">jdbc/sqlVyuka/aplikace</entry>
-    <entry key="PISKOVISTE">jdbc/sqlVyuka/piskoviste</entry>
-</properties>
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Hlaska.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Hlaska.java	(revision 25:97bb16063d9e)
+++ 	(revision )
@@ -1,66 +1,0 @@
-package cz.frantovo.sql.vyuka.dto;
-
-/**
- * Hláška úspěšného provedení.
- * @author fiki
- */
-public class Hlaska {
-
-    public enum Typ {
-
-        OK,
-        Tip,
-        Varovani,
-        Chyba
-    }
-    private String text;
-    private Typ typ;
-    private boolean escapovat = true;
-
-    /**
-     * SQL hláška
-     * @param text text hlášky
-     * @param typ ovlivňuje ikonku
-     * @param escapovat zda máme escapovat text kvůli HTML značkám
-     */
-    public Hlaska(String text, Typ typ, boolean escapovat) {
-        this.text = text;
-        this.typ = typ;
-        this.escapovat = escapovat;
-    }
-
-    /**
-     * SQL hláška
-     * @param text text hlášky
-     * @param typ ovlivňuje ikonku
-     */
-    public Hlaska(String text, Typ typ) {
-        this.text = text;
-        this.typ = typ;
-        this.escapovat = true;
-    }
-
-    public String getText() {
-        return text;
-    }
-
-    public void setText(String hodnota) {
-        this.text = hodnota;
-    }
-
-    public Typ getTyp() {
-        return typ;
-    }
-
-    public void setTyp(Typ typ) {
-        this.typ = typ;
-    }
-
-    public boolean isEscapovat() {
-        return escapovat;
-    }
-
-    public void setEscapovat(boolean escapovat) {
-        this.escapovat = escapovat;
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Pruvodce.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Pruvodce.java	(revision 37:e32867db5487)
+++ 	(revision )
@@ -1,60 +1,0 @@
-package cz.frantovo.sql.vyuka.dto;
-
-/**
- * Jedna stránka průvodce: kapitola (lekce)
- * @author fiki
- */
-public class Pruvodce {
-
-    private long id;
-    private String kod;
-    private String nadpis;
-    private String obsah;
-    private boolean lokalizovat = false;
-
-    public long getId() {
-        return id;
-    }
-
-    public void setId(long id) {
-        this.id = id;
-    }
-
-    public String getKod() {
-        return kod;
-    }
-
-    public void setKod(String kod) {
-        this.kod = kod;
-    }
-
-    public String getNadpis() {
-        return nadpis;
-    }
-
-    public void setNadpis(String nadpis) {
-        this.nadpis = nadpis;
-    }
-
-    public String getObsah() {
-        return obsah;
-    }
-
-    public void setObsah(String obsah) {
-        this.obsah = obsah;
-    }
-
-    /**
-     * @return the lokalizovat
-     */
-    public boolean isLokalizovat() {
-        return lokalizovat;
-    }
-
-    /**
-     * @param lokalizovat the lokalizovat to set
-     */
-    public void setLokalizovat(boolean lokalizovat) {
-        this.lokalizovat = lokalizovat;
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Tabulka.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Tabulka.java	(revision 26:5844d64930de)
+++ 	(revision )
@@ -1,53 +1,0 @@
-package cz.frantovo.sql.vyuka.dto;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-/**
- * Tabulka, která je výsledkem SQL dotazu.
- * @author fiki
- */
-public class Tabulka {
-
-    private String[] zahlavi;
-    private String zahlaviTip;
-    private Collection<Object[]> hodnoty = new ArrayList<Object[]>();
-    /** Zda se má lokalizovat záhlaví tabulky a její tip. */
-    private boolean lokalizovat = false;
-
-    public String[] getZahlavi() {
-        return zahlavi;
-    }
-
-    public void setZahlavi(String[] zahlavi) {
-        this.zahlavi = zahlavi;
-    }
-
-    public String getZahlaviTip() {
-        return zahlaviTip;
-    }
-
-    public void setZahlaviTip(String zahlaviTip) {
-        this.zahlaviTip = zahlaviTip;
-    }
-
-    public Collection<Object[]> getHodnoty() {
-        return hodnoty;
-    }
-
-    /**
-     * Zda se má lokalizovat záhlaví tabulky a její tip.
-     * @return the lokalizovat
-     */
-    public boolean isLokalizovat() {
-        return lokalizovat;
-    }
-
-    /**
-     * Zda se má lokalizovat záhlaví tabulky a její tip.
-     * @param lokalizovat the lokalizovat to set
-     */
-    public void setLokalizovat(boolean lokalizovat) {
-        this.lokalizovat = lokalizovat;
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Uzivatel.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Uzivatel.java	(revision 24:dceaaefb1946)
+++ 	(revision )
@@ -1,35 +1,0 @@
-package cz.frantovo.sql.vyuka.dto;
-
-/**
- * Uživatel u webu.
- * @author fiki
- */
-public class Uzivatel {
-
-    private String idSezeni;
-    private String ipAdresa;
-
-    public Uzivatel(String idSezeni, String ipAdresa) {
-        this.idSezeni = idSezeni;
-        this.ipAdresa = ipAdresa;
-    }
-
-    public Uzivatel() {
-    }
-
-    public String getIdSezeni() {
-        return idSezeni;
-    }
-
-    public void setIdSezeni(String idSezeni) {
-        this.idSezeni = idSezeni;
-    }
-
-    public String getIpAdresa() {
-        return ipAdresa;
-    }
-
-    public void setIpAdresa(String ipAdresa) {
-        this.ipAdresa = ipAdresa;
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/VysledekSQL.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/VysledekSQL.java	(revision 25:97bb16063d9e)
+++ 	(revision )
@@ -1,23 +1,0 @@
-package cz.frantovo.sql.vyuka.dto;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-/**
- * Výsledek SQL dotazu.
- * Obsahuje tabulky a hlášky.
- * @author fiki
- */
-public class VysledekSQL {
-
-    private Collection<Tabulka> tabulky = new ArrayList<Tabulka>();
-    private Collection<Hlaska> hlasky = new ArrayList<Hlaska>();
-
-    public Collection<Tabulka> getTabulky() {
-        return tabulky;
-    }
-
-    public Collection<Hlaska> getHlasky() {
-        return hlasky;
-    }
-}
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/preklady.properties
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/preklady.properties	(revision 9:5f523042baae)
+++ 	(revision )
@@ -1,1 +1,0 @@
-preklady_cs.properties
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/preklady_cs.properties
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/preklady_cs.properties	(revision 65:bd516f2d7ded)
+++ 	(revision )
@@ -1,43 +1,0 @@
-jazyk=\u010De\u0161tina
-
-nazev=SQL: tenhle jazyk t\u011B bude bavit!
-
-blok.zadavani=Zad\u00E1v\u00E1n\u00ED SQL p\u0159\u00EDkaz\u016F
-blok.vysledek=V\u00FDsledek
-blok.napoveda=N\u00E1pov\u011Bda
-
-tlacitko.historie.tip=Vyp\u00ED\u0161e historii SQL p\u0159\u00EDkaz\u016F (Ctrl+H).
-tlacitko.vykonat.tip=Vykon\u00E1 zadan\u00FD SQL p\u0159\u00EDkaz (Ctrl+Enter).
-
-vychozi.sql=SELECT * FROM tabulka;
-vychozi.napoveda=Tady bude n\u00E1pov\u011Bda
-
-js.nepodporovany=V\u00E1\u0161 prohl\u00ED\u017Ee\u010D nepodporuje AJAX. Po\u0159i\u010Fte si m\u00E9n\u011B zastaral\u00FD prohl\u00ED\u017Ee\u010D, nejl\u00E9pe Firefox.
-js.probihaSQL=Prob\u00EDh\u00E1 zpracov\u00E1n\u00ED SQL p\u0159\u00EDkazu\u2026
-js.probihaHistorie=Na\u010D\u00EDt\u00E1 se historie\u2026
-js.klikniProNacteniPrikladu=Klikn\u011Bte pro na\u010Dten\u00ED p\u0159\u00EDkaldu.
-js.klikniProNacteniHistorie=Klikn\u011Bte pro na\u010Dten\u00ED p\u0159\u00EDkazu z historie.
-
-licence.program=Program je vyd\u00E1n pod licenc\u00ED:
-licence.agpl=GNU Affero GPL
-licence.zdrojaky=Zdrojov\u00E9 k\u00F3dy ke sta\u017Een\u00ED:
-
-vysledek.razeniTip=Chcete set\u0159\u00EDdit v\u00FDsledek podle n\u011Bjak\u00E9ho sloupce? Pou\u017Eijte ORDER BY sloupec.
-historie.kdy=Kdy
-historie.prikaz=SQL p\u0159\u00EDkaz
-historie.zahlaviTip=Posledn\u00ED proveden\u00E9 SQL p\u0159\u00EDkazy.
-
-boolean.pravda=true
-boolean.nepravda=false
-boolean.pravda.tip=pravda (ano)
-boolean.nepravda.tip=nepravda (ne)
-
-navigace.predchozi=P\u0159edchoz\u00ED str\u00E1nka (kapitola)
-navigace.zpet=Zp\u011Bt v historii
-navigace.pruvodce=Pr\u016Fvodce SQL
-navigace.model=Model datab\u00E1ze
-navigace.vpred=Vp\u0159ed v historii
-navigace.nasledujici=N\u00E1sleduj\u00EDc\u00ED str\u00E1nka (kapitola)
-
-pruvodce.chyba.nadpis=Nenalezeno
-pruvodce.chyba.obsah=<p>Takov\u00E1 kapitola tu nen\u00ED.</p>
Index: ava/sql-vyuka/src/java/cz/frantovo/sql/vyuka/web/Ajax.java
===================================================================
--- java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/web/Ajax.java	(revision 77:fdeb54809e23)
+++ 	(revision )
@@ -1,129 +1,0 @@
-package cz.frantovo.sql.vyuka.web;
-
-import cz.frantovo.sql.vyuka.dao.HistorieDAO;
-import cz.frantovo.sql.vyuka.dao.PiskovisteDAO;
-import cz.frantovo.sql.vyuka.dao.PruvodceDAO;
-import cz.frantovo.sql.vyuka.dto.Pruvodce;
-import cz.frantovo.sql.vyuka.dto.Uzivatel;
-import cz.frantovo.sql.vyuka.dto.VysledekSQL;
-
-/**
- * Webová beana, která poskytuje data Ajaxovému JSPčku.
- *
- * @author fiki
- */
-public class Ajax {
-
-	private final Uzivatel uzivatel = new Uzivatel();
-	private String sqlPrikaz;
-	private long idPruvodce;
-	private String kodPruvodce;
-
-	/**
-	 * Nastaví informace o klientovi (uživateli).
-	 *
-	 * @param ipAdresa IP adresa, ze které přišel HTTP požadavek
-	 * @param ipPresmerovano HTTP hlavička x-forwarded-for (přidává proxy).
-	 * @param idSezeni javovská HTTP relace
-	 */
-	public void setKlient(String ipAdresa, String ipPresmerovano, String idSezeni) {
-		if (("127.0.0.1".equals(ipAdresa) || "10.0.0.31".equals(ipAdresa)) && ipPresmerovano != null) {
-			uzivatel.setIpAdresa(ipPresmerovano);
-		} else {
-			uzivatel.setIpAdresa(ipAdresa);
-		}
-		uzivatel.setIdSezeni(idSezeni);
-	}
-
-	public void setSqlPrikaz(String sqlPrikaz) {
-		this.sqlPrikaz = sqlPrikaz;
-	}
-
-	public void setIdPruvodce(long idPruvodce) {
-		this.idPruvodce = idPruvodce;
-	}
-
-	public void setKodPruvodce(String kodPruvodce) {
-		this.kodPruvodce = kodPruvodce;
-	}
-
-	/**
-	 * @return Historie SQL příkazů daného uživatele.
-	 */
-	public VysledekSQL getHistorie() {
-		HistorieDAO h = new HistorieDAO();
-		return h.nactiHistorii(uzivatel);
-	}
-
-	/**
-	 * Vykoná zadaný SQL příkaz v databázi.
-	 *
-	 * @return Výsledek dotazu – tabulka, hláška nebo chyba.
-	 */
-	public VysledekSQL getSQLVysledek() {
-		PiskovisteDAO p = new PiskovisteDAO();
-		return p.vykonejSQL(sqlPrikaz, uzivatel);
-	}
-
-	/**
-	 * Načte stránku průvodce – podle ID.
-	 *
-	 * @return průvodce nebo chybová hláška.
-	 */
-	public Pruvodce getPruvodcePodleId() {
-		PruvodceDAO dao = new PruvodceDAO();
-		Pruvodce p = dao.getPruvodce(idPruvodce);
-		return osetriChybuPruvodce(p);
-	}
-
-	/**
-	 * Načte stránku průvodce – podle kódu.
-	 *
-	 * @param kod kód průvodce, kterého hledáme.
-	 * @return průvodce nebo chybová hláška.
-	 */
-	public Pruvodce getPruvodcePodleKodu() {
-		PruvodceDAO dao = new PruvodceDAO();
-		Pruvodce p = dao.getPruvodce(kodPruvodce);
-		return osetriChybuPruvodce(p);
-	}
-
-	/**
-	 * Načte stránku průvodce.
-	 * idPruvodce = id, ke kterému hledáme předchozí stránku (záznam před).
-	 *
-	 * @return průvodce nebo chybová hláška.
-	 */
-	public Pruvodce getPruvodcePredchozi() {
-		PruvodceDAO dao = new PruvodceDAO();
-		Pruvodce p = dao.getPruvodcePredchozi(idPruvodce);
-		return osetriChybuPruvodce(p);
-	}
-
-	/**
-	 * Načte stránku průvodce.
-	 * idPruvodce = id, ke kterému hledáme následující stránku (záznam po).
-	 *
-	 * @return průvodce nebo chybová hláška.
-	 */
-	public Pruvodce getPruvodceNasledujici() {
-		PruvodceDAO dao = new PruvodceDAO();
-		Pruvodce p = dao.getPruvodceNasledujici(idPruvodce);
-		return osetriChybuPruvodce(p);
-	}
-
-	/**
-	 * @param p Stránka průvodce načtená z databáze.
-	 * @return zadaná stránka, nebo chybová hláška, pokud bylo načteno „null“
-	 */
-	private static Pruvodce osetriChybuPruvodce(Pruvodce p) {
-		if (p == null) {
-			p = new Pruvodce();
-			p.setKod("chyba");
-			p.setNadpis("pruvodce.chyba.nadpis");
-			p.setObsah("pruvodce.chyba.obsah");
-			p.setLokalizovat(true);
-		}
-		return p;
-	}
-}
Index: ava/sql-vyuka/web/WEB-INF/casti/aplikace.jspx
===================================================================
--- java/sql-vyuka/web/WEB-INF/casti/aplikace.jspx	(revision 79:aa8c8f51b0cc)
+++ 	(revision )
@@ -1,114 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
-          xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
-          version="2.0">
-
-    <fmt:setBundle basename="cz.frantovo.sql.vyuka.preklady" scope="application"/>
-
-    <!-- Logo programu -->
-    <div id="zahlavi"><h1><fmt:message key="nazev"/></h1></div>
-
-    <div id="bloky">
-        <!-- Nápověda -->
-        <div class ="blok" id="napoveda">
-            <h2><fmt:message key="blok.napoveda"/></h2>
-            <div class="vnitrekBloku" >
-                <div id="napovedniPole"><!-- Sem se bude načítat nápověda – průvodce. --></div>
-            </div>
-            <!-- <Navigace> -->
-            <div id="navigace">
-                <form action="#">
-                    <fieldset>
-                        <fmt:message key="navigace.predchozi" var="navigacePredchozi" />
-                        <button class="predchozi"
-                                name="predchozi"
-                                title="${navigacePredchozi}"
-                                type="button"
-                                onclick="javascript:ajaxPruvodcePredchozi();">&amp;#160;</button>
-                        <fmt:message key="navigace.zpet" var="navigaceZpet" />
-                        <button class="zpet"
-                                name="zpet"
-                                title="${navigaceZpet}"
-                                type="button"
-                                onclick="javascript:ajaxPruvodceZpet();">&amp;#160;</button>
-                        <fmt:message key="navigace.pruvodce" var="navigacePruvodce" />
-                        <button class="pruvodce"
-                                name="pruvodce"
-                                title="${navigacePruvodce}"
-                                type="button"
-                                onclick="javascript:ajaxPruvodceKod('pruvodce');">&amp;#160;</button>
-                        <fmt:message key="navigace.model" var="navigaceModel" />
-                        <button class="model"
-                                name="model"
-                                title="${navigaceModel}"
-                                type="button"
-                                onclick="javascript:ajaxPruvodceKod('model');">&amp;#160;</button>
-                        <fmt:message key="navigace.vpred" var="navigaceVpred" />
-                        <button class="vpred"
-                                name="vpred"
-                                title="${navigaceVpred}"
-                                type="button"
-                                onclick="javascript:ajaxPruvodceVpred();">&amp;#160;</button>
-                        <fmt:message key="navigace.nasledujici" var="navigaceNasledujici" />
-                        <button class="nasledujici"
-                                title="${navigaceNasledujici}"
-                                type="button"
-                                onclick="javascript:ajaxPruvodceNasledujici();">&amp;#160;</button>
-                    </fieldset>
-                </form>
-            </div>
-            <!-- </Navigace> -->
-        </div>
-        <div id="io">
-            <!-- Zadávání SQL příkazů -->
-            <div class ="blok" id="vstup">
-                <h2><fmt:message key="blok.zadavani"/></h2>
-                <div class="vnitrekBloku">
-                    <form action="#" id="aplikace">
-                        <fieldset>
-                            <textarea id="vstupniPole"
-                                      name="vstupniPole"
-                                      rows="100"
-                                      cols="1000"
-                                      onkeypress="javascript:zpracujTabulatory(event);"><fmt:message key="vychozi.sql"/></textarea>
-                            <input  id="stavovePole"
-                                    name="stavovePole"
-                                    disabled="disabled"
-                                    type="text" />
-                            <fmt:message key="tlacitko.historie.tip" var="zobrazitHistoriiTip" />
-                            <button class="zobrazitHistorii"
-                                    name="zobrazitHistorii"
-                                    title="${zobrazitHistoriiTip}"
-                                    type="button"
-                                    onclick="javascript:ajaxZobrazitHistorii();">&amp;#160;</button>
-                            <fmt:message key="tlacitko.vykonat.tip" var="vykonatSQLTip" />
-                            <button class="vykonatSQL"
-                                    name="vykonatSQL"
-                                    title="${vykonatSQLTip}"
-                                    type="button"
-                                    onclick="javascript:ajaxVykonatSQL();">&amp;#160;</button>
-                        </fieldset>
-                    </form>
-                </div>
-            </div>
-            <!-- Zobrazování výstupu -->
-            <div class ="blok" id="vystup">
-                <h2><fmt:message key="blok.vysledek"/></h2>
-                <div class="vnitrekBloku" id="vystupniPole">
-                    <!-- Sem se bude vypisovat výsledek SQL dotazů. -->
-                </div>
-            </div>
-        </div>
-    </div>
-
-    <!-- Načteme si lokalizované texty do skrytého formuláře, aby je mohl používat JavaScript -->
-    <form action="#" id="lokalizace">
-        <fieldset>
-            <textarea name="nepodporovany" cols="128" rows="1"><fmt:message key="js.nepodporovany"/></textarea>
-            <textarea name="probihaSQL" cols="128" rows="1"><fmt:message key="js.probihaSQL"/></textarea>
-            <textarea name="probihaHistorie" cols="128" rows="1"><fmt:message key="js.probihaHistorie"/></textarea>
-            <textarea name="klikniProNacteniPrikladu" cols="128" rows="1"><fmt:message key="js.klikniProNacteniPrikladu"/></textarea>
-            <textarea name="klikniProNacteniHistorie" cols="128" rows="1"><fmt:message key="js.klikniProNacteniHistorie"/></textarea>
-        </fieldset>
-    </form>
-</jsp:root>
Index: ava/sql-vyuka/web/WEB-INF/chyby/404.jsp
===================================================================
--- java/sql-vyuka/web/WEB-INF/chyby/404.jsp	(revision 74:48066e753dd6)
+++ 	(revision )
@@ -1,20 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
-	  xmlns:c="http://java.sun.com/jsp/jstl/core"
-	  version="2.0">
-    <jsp:directive.page contentType="application/xhtml+xml" isErrorPage="true"/>
-    <jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
-		doctype-root-element="html"
-		omit-xml-declaration="false"/>
-
-    <html xmlns="http://www.w3.org/1999/xhtml">
-	<head>
-	    <title>404 Stránka nenalezena</title>
-	</head>
-	<body>
-	    <h1>404 Stránka nenalezena</h1>
-	    <p>Takovou stránku tu bohužel nemáme.</p>
-	</body>
-    </html>
-
-</jsp:root>
Index: ava/sql-vyuka/web/WEB-INF/chyby/500.jsp
===================================================================
--- java/sql-vyuka/web/WEB-INF/chyby/500.jsp	(revision 74:48066e753dd6)
+++ 	(revision )
@@ -1,20 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
-	  xmlns:c="http://java.sun.com/jsp/jstl/core"
-	  version="2.0">
-    <jsp:directive.page contentType="application/xhtml+xml" isErrorPage="true"/>
-    <jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
-		doctype-root-element="html"
-		omit-xml-declaration="false"/>
-
-    <html xmlns="http://www.w3.org/1999/xhtml">
-	<head>
-	    <title>500 Interní chyba serveru</title>
-	</head>
-	<body>
-	    <h1>500 Interní chyba serveru</h1>
-	    <p>Něco se nám nepovedlo.</p>
-	</body>
-    </html>
-
-</jsp:root>
Index: ava/sql-vyuka/web/WEB-INF/glassfish-web.xml
===================================================================
--- java/sql-vyuka/web/WEB-INF/glassfish-web.xml	(revision 79:aa8c8f51b0cc)
+++ 	(revision )
@@ -1,10 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
-<glassfish-web-app error-url="">
-  <class-loader delegate="true"/>
-  <jsp-config>
-    <property name="keepgenerated" value="true">
-      <description>Keep a copy of the generated servlet class' java code.</description>
-    </property>
-  </jsp-config>
-</glassfish-web-app>
Index: ava/sql-vyuka/web/WEB-INF/sun-web.xml
===================================================================
--- java/sql-vyuka/web/WEB-INF/sun-web.xml	(revision 8:4795d9bf6827)
+++ 	(revision )
@@ -1,11 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
-<sun-web-app error-url="">
-  <context-root>/sql-vyuka</context-root>
-  <class-loader delegate="true"/>
-  <jsp-config>
-    <property name="keepgenerated" value="true">
-      <description>Keep a copy of the generated servlet class' java code.</description>
-    </property>
-  </jsp-config>
-</sun-web-app>
Index: ava/sql-vyuka/web/WEB-INF/web.xml
===================================================================
--- java/sql-vyuka/web/WEB-INF/web.xml	(revision 86:a51bbc91a4cb)
+++ 	(revision )
@@ -1,31 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
-    <session-config>
-        <session-timeout>
-            60
-        </session-timeout>
-    </session-config>
-    <welcome-file-list>
-        <welcome-file>index.jsp</welcome-file>
-    </welcome-file-list>
-    <error-page>
-        <error-code>404</error-code>
-        <location>/WEB-INF/chyby/404.jsp</location>
-    </error-page>
-    <error-page>
-        <error-code>500</error-code>
-        <location>/WEB-INF/chyby/500.jsp</location>
-    </error-page>
-    <resource-ref>
-        <description>DB spojení: aplikace</description>
-        <res-ref-name>jdbc/sqlVyuka/aplikace</res-ref-name>
-        <res-type>javax.sql.DataSource</res-type>
-        <res-auth>Container</res-auth>
-    </resource-ref>
-    <resource-ref>
-        <description>DB spojení: pískoviště</description>
-        <res-ref-name>jdbc/sqlVyuka/piskoviste</res-ref-name>
-        <res-type>javax.sql.DataSource</res-type>
-        <res-auth>Container</res-auth>
-    </resource-ref>
-</web-app>
Index: ava/sql-vyuka/web/ajax.jspx
===================================================================
--- java/sql-vyuka/web/ajax.jspx	(revision 73:7252f80b39de)
+++ 	(revision )
@@ -1,172 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
-          xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
-          xmlns:fn="http://java.sun.com/jsp/jstl/functions"
-          xmlns:c="http://java.sun.com/jsp/jstl/core"
-          version="2.0">
-    <jsp:directive.page contentType="text/html" pageEncoding="UTF-8"/>
-    <fmt:setBundle basename="cz.frantovo.sql.vyuka.preklady" scope="application"/>
-    <jsp:useBean id="ajax" class="cz.frantovo.sql.vyuka.web.Ajax" scope="request"/>
-
-    <jsp:scriptlet>
-	    request.setCharacterEncoding("UTF-8");
-	    ajax.setKlient(request.getRemoteAddr(), request.getHeader("x-forwarded-for"), request.getRequestedSessionId());
-    </jsp:scriptlet>
-
-    <c:choose>
-        <!-- <Akce: Historie a vykonání SQL příkazu> -->
-        <c:when test="${param.akce == 'historie' || param.akce == 'vykonat'}">
-            <!-- <Načteme výsledek z beany>  -->
-            <c:choose>
-                <c:when test="${param.akce == 'historie'}">
-                    <c:set var="vysledek" value="${ajax.historie}" scope="request"/>
-                </c:when>
-                <c:when test="${param.akce == 'vykonat'}">
-                    <jsp:setProperty name="ajax" property="sqlPrikaz" value="${param.sql}"/>
-                    <c:set var="vysledek" value="${ajax.SQLVysledek}" scope="request"/>
-                </c:when>
-            </c:choose>
-            <!-- </Načteme výsledek z beany>  -->
-
-            <!-- <Tabulky> -->
-            <c:forEach var="tabulka" items="${vysledek.tabulky}">
-                <!-- <lokalizace> -->
-                <c:choose>
-                    <c:when test="${tabulka.lokalizovat}">
-                        <fmt:message key="${tabulka.zahlaviTip}" var="zahlaviTip"/>
-                    </c:when>
-                    <c:otherwise>
-                        <c:set value="${tabulka.zahlaviTip}" var="zahlaviTip"/>
-                    </c:otherwise>
-                </c:choose>
-                <!-- </lokalizace> -->
-		<c:choose>
-                    <c:when test="${fn:length(tabulka.zahlavi) == 1 &amp;&amp; tabulka.zahlavi[0] == 'pouze_xml'}">
-			<!-- <XML tabulka> -->
-                        <pre><c:out value="${tabulka.hodnoty[0][0]}" /></pre>
-			<!-- </XML tabulka> -->
-                    </c:when>
-                    <c:otherwise>
-			<!-- <bežná tabulka> -->
-			<table>
-			    <thead title="${zahlaviTip}">
-				<tr>
-				    <c:forEach var="zahlavi" items="${tabulka.zahlavi}">
-					<td>
-					    <!-- <lokalizace> -->
-					    <c:if test="${tabulka.lokalizovat}">
-						<fmt:message key="${zahlavi}" var="zahlavi"/>
-					    </c:if>
-					    <!-- </lokalizace> -->
-					    <c:out value="${zahlavi}"/>
-					</td>
-				    </c:forEach>
-				</tr>
-			    </thead>
-			    <tbody>
-				<c:forEach var="radek" items="${tabulka.hodnoty}">
-				    <tr>
-					<c:forEach var="bunka" items="${radek}">
-					    <!-- <formátováníPodleDatovýchTypů> -->
-					    <c:choose>
-						<c:when test="${bunka.class == 'class java.sql.Timestamp'}">
-						    <td>
-							<fmt:formatDate value="${bunka}" pattern="dd.MM.yyyy HH:mm:ss"/>
-							<!-- uvnitř vzoru je nedělitelná mezera -->
-						    </td>
-						</c:when>
-						<c:when test="${bunka.class == 'class java.sql.Date'}">
-						    <td>
-							<fmt:formatDate value="${bunka}" pattern="dd.MM.yyyy"/>
-						    </td>
-						</c:when>
-						<c:when test="${bunka.class == 'class java.lang.Integer' || bunka.class == 'class java.math.BigDecimal'}">
-						    <td class="cislo">
-							<fmt:formatNumber value="${bunka}" pattern="###,###.###"/>
-						    </td>
-						</c:when>
-						<c:when test="${bunka.class == 'class java.lang.Boolean'}">
-						    <td>
-							<c:choose>
-							    <c:when test="${bunka}">
-								<fmt:message key="boolean.pravda.tip" var="pravda"/>
-								<abbr title="${pravda}"><fmt:message key="boolean.pravda"/></abbr>
-							    </c:when>
-							    <c:otherwise>
-								<fmt:message key="boolean.nepravda.tip" var="nepravda"/>
-								<abbr title="${nepravda}"><fmt:message key="boolean.nepravda"/></abbr>
-							    </c:otherwise>
-							</c:choose>
-						    </td>
-						</c:when>
-						<c:otherwise>
-						    <td>
-							<c:out value="${bunka}" />
-						    </td>
-						</c:otherwise>
-					    </c:choose>
-					    <!-- </formátováníPodleDatovýchTypů> -->
-					</c:forEach>
-				    </tr>
-				</c:forEach>
-			    </tbody>
-			</table>
-			<!-- </bežná tabulka> -->
-		    </c:otherwise>
-                </c:choose>
-            </c:forEach>
-            <!-- </Tabulky> -->
-
-            <!-- <Hlášky> -->
-            <c:forEach var="hlaska" items="${vysledek.hlasky}">
-                <p class="vysledek${hlaska.typ}">
-                    <c:out value="${hlaska.text}" escapeXml="${hlaska.escapovat}" />
-                </p>
-            </c:forEach>
-            <!-- </Hlášky> -->
-        </c:when>
-        <!-- </Akce: Historie a vykonání SQL příkazu> -->
-
-
-        <!-- <Akce: Nápověda> -->
-        <c:when test="${param.akce == 'napoveda'}">
-            <!-- <VolbaMetody> -->
-            <c:choose>
-                <c:when test="${param.pruvodce == 'podleId'}">
-                    <jsp:setProperty name="ajax" property="idPruvodce" value="${param.idPruvodce}"/>
-                    <c:set var="pruvodce" value="${ajax.pruvodcePodleId}" scope="request"/>
-                </c:when>
-                <c:when test="${param.pruvodce == 'podleKodu'}">
-                    <jsp:setProperty name="ajax" property="kodPruvodce" value="${param.kodPruvodce}"/>
-                    <c:set var="pruvodce" value="${ajax.pruvodcePodleKodu}" scope="request"/>
-                </c:when>
-                <c:when test="${param.pruvodce == 'predchozi'}">
-                    <jsp:setProperty name="ajax" property="idPruvodce" value="${param.idPruvodce}"/>
-                    <c:set var="pruvodce" value="${ajax.pruvodcePredchozi}" scope="request"/>
-                </c:when>
-                <c:when test="${param.pruvodce == 'nasledujici'}">
-                    <jsp:setProperty name="ajax" property="idPruvodce" value="${param.idPruvodce}"/>
-                    <c:set var="pruvodce" value="${ajax.pruvodceNasledujici}" scope="request"/>
-                </c:when>
-            </c:choose>
-            <!-- </VolbaMetody> -->
-
-            <!-- <Výpis> -->
-            <c:choose>
-                <c:when test="${pruvodce.lokalizovat}">
-                    <h1><fmt:message key="${pruvodce.nadpis}"/></h1>
-                    <fmt:message key="${pruvodce.obsah}"/>
-                </c:when>
-                <c:otherwise>
-                    <h1><c:out value="${pruvodce.nadpis}"/></h1>
-                    <c:out value="${pruvodce.obsah}" escapeXml="false"/>
-                </c:otherwise>
-            </c:choose>
-            <form action="#" id="pruvodceData">
-                <textarea name="id" cols="100" rows="1">${pruvodce.id}</textarea>
-            </form>
-            <!-- </Výpis> -->
-        </c:when>
-        <!-- </Akce: Nápověda> -->
-    </c:choose>
-</jsp:root>
Index: ava/sql-vyuka/web/hlavni.js
===================================================================
--- java/sql-vyuka/web/hlavni.js	(revision 84:ee75bd007626)
+++ 	(revision )
@@ -1,281 +1,0 @@
-/** ID html prvků */
-var vstupniPole = 'vstupniPole';
-var vystupniPole = 'vystupniPole';
-var napovedniPole = 'napovedniPole';
-var stavovePole = 'stavovePole';
-
-
-/**
- * Aby to fungovalo i v MSIE 6.
- * @return AJAXový objekt.
- */
-function getXmlHttpRequestObject() {
-	if (window.XMLHttpRequest) {
-		return new XMLHttpRequest();
-	} else if(window.ActiveXObject) {
-		return new ActiveXObject("Microsoft.XMLHTTP");
-	} else {
-		alert(document.getElementById('lokalizace').nepodporovany.value);
-		return null;
-	}
-}
-
-
-/** Náš AJAXový objekt. */
-var ajax = getXmlHttpRequestObject();
-
-
-/**
- * Vrací vstup od uživatele.
- * @return SQL příkaz zadaný uživatelem.
- **/
-function getSQL() {
-	return document.getElementById('aplikace').vstupniPole.value;
-}
-
-
-/**
- * Zobrazí text na požadovaném místě.
- * @param text text k zobrazení. V případě formulářů prostý text, v ostatních případech HTML text.
- * @param kde id prvku, do kterého se má text vypsat.
- **/
-function zobraz(text, kde) {
-	if (kde == vstupniPole) {
-		document.getElementById('aplikace').vstupniPole.value = vratEntity(text);
-	} else if (kde == stavovePole)  {
-		document.getElementById('aplikace').stavovePole.value = vratEntity(text);
-	} else {
-		document.getElementById(kde).innerHTML = text + '<p>&nbsp;<!-- Šťastné hackování ;-) --></p>';
-	}
-}
-
-
-/** Jednoduchá AJAXová funkce, načte obsah souboru a zobrazí ho ve výstupním okně. */
-function ajaxVykonatSQL() {
-	if (ajax.readyState == 4 || ajax.readyState == 0) {
-		zobraz(document.getElementById('lokalizace').probihaSQL.value, stavovePole);
-		ajax.open("POST", 'ajax.jspx?akce=vykonat&sql=' + encodeURIComponent(getSQL()), true);
-		ajax.onreadystatechange = function() {
-			if (ajax.readyState == 4) {
-				zobraz(ajax.responseText, vystupniPole);
-				zobraz('', stavovePole);
-			}
-		};
-		ajax.send(null);
-	}
-	ulozURL();
-}
-
-
-/** Jednoduchá AJAXová funkce, načte obsah souboru a zobrazí ho ve výstupním okně. */
-function ajaxZobrazitHistorii() {
-	if (ajax.readyState == 4 || ajax.readyState == 0) {
-		zobraz(document.getElementById('lokalizace').probihaHistorie.value, stavovePole);
-		ajax.open("POST", 'ajax.jspx?akce=historie', true);
-		ajax.onreadystatechange = function() {
-			if (ajax.readyState == 4) {
-				zobraz(ajax.responseText, vystupniPole);
-				zobraz('', stavovePole);
-				aktivujHistorii();
-			}
-		};
-	ajax.send(null);
-	}
-}
-
-var pruvodceAktualniId = 0;
-var urlOdkaz = new Array();
-urlOdkaz['pruvodce'] = null;
-
-function ajaxPruvodcePredchozi() {
-	ajaxPruvodceNaviguj('predchozi', pruvodceAktualniId, null);
-}
-
-function ajaxPruvodceZpet() {
-	try {
-		history.back();
-		//window.back();
-		nactiURL();
-	} catch (e) {
-		alert(e);
-		// není historie
-	}
-}
-
-function ajaxPruvodceVpred() {
-	try {
-		history.forward();
-		//window.forward();
-		nactiURL();
-	} catch (e) {
-		alert(e);
-		// není historie
-	}
-}
-
-function ajaxPruvodceNasledujici() {
-	ajaxPruvodceNaviguj('nasledujici', pruvodceAktualniId, null);
-}
-
-function ajaxPruvodceKod(kod) {
-	ajaxPruvodceNaviguj('podleKodu', 0, kod);
-}
-
-function ajaxPruvodceId(id) {
-	ajaxPruvodceNaviguj('podleId', id, null);
-
-}
-
-function ajaxPruvodceNaviguj(akcePruvodce, id, kod) {
-	if (ajax.readyState == 4 || ajax.readyState == 0) {
-		ajax.open("POST", 'ajax.jspx?akce=napoveda&pruvodce=' + encodeURIComponent(akcePruvodce) + '&idPruvodce=' + encodeURIComponent(id) + '&kodPruvodce=' + encodeURIComponent(kod), true);
-		ajax.onreadystatechange = function() {
-			if (ajax.readyState == 4) {
-				zobraz(ajax.responseText, napovedniPole);
-				/** Uložíme si do paměti ID aktuální stránky */
-				if (document.getElementById('pruvodceData')) {
-					pruvodceAktualniId = document.getElementById('pruvodceData').id.value;
-				} else {
-					pruvodceAktualniId = 0;
-				}
-				/** Změníme URL v prohlížeči */
-				urlOdkaz['pruvodce']  = 'pruvodce=' + encodeURIComponent(pruvodceAktualniId);
-				ulozURL();
-				sestavStromy();
-				aktivujPruvodce();
-			}
-		};
-	ajax.send(null);
-	}
-}
-
-/**
- * Parametry si ukládáme za # do URL (window.location.hash)
- * Můžeme měnit URL, aniž by prohlížeč obnovoval stránku.
- * Uživatel si může URL zkopírovat a obnovit si příště stav aplikace.
- * @param parametr jméno parametru, který hledáme
- * @return hodnota parametr
- */
-function getParametr(parametr) {
-	parametr = parametr.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
-	//var regexS = "[\\?&]"+parametr+"=([^&#]*)";
-	var regexS = "[\\#&]"+parametr+"=([^&]*)";
-	var regex = new RegExp( regexS );
-	var results = regex.exec(window.location.hash);
-	if ( results == null ) {
-		return "";
-	} else {
-		return decodeURIComponent(results[1]);
-	}
-}
-
-/**
- * Uloží parametry (jako je SQL příkaz a stránka průvodce) do URL (za #),
- * aby si uživatel mohl URL zkopírovat a příště si obnovit stav aplikace.
- */
-function ulozURL() {
-	if (urlOdkaz['pruvodce']) {
-		window.location.hash = urlOdkaz['pruvodce'] + '&sql=' + encodeURIComponent(getSQL());
-	} else {
-		window.location.hash = 'sql=' + encodeURIComponent(getSQL());
-	}
-}
-/**
- * Načte uložený stav aplikace z URL (SQL příkaz, průvodce).
- */
-function nactiURL() {
-	/** Načteme uživatelův SQL příkaz z URL do vstupního pole */
-	if (getParametr('sql')) {
-		zobraz(getParametr('sql'), vstupniPole);
-	}
-
-	/** Načteme pozici v nápovědě */
-	if (getParametr('pruvodce')) {
-		ajaxPruvodceId(getParametr('pruvodce'));
-	} else {
-		ajaxPruvodceKod('vitejte');
-	}
-}
-
-window.onload = function() {
-	nactiURL();
-	document.getElementById("zahlavi").addEventListener('click', function () {
-		ajaxPruvodceKod('vitejte');
-	}, false);
-}
-
-/**
- * Přidá <pre> elementům v průvodci akci onclick,
- * která se postará o načtení obsahu daného elementu do vstupního pole,
- * aby uživatel tento kód nemusel opisovat.
- *
- * Zpracuje odkazy na průvodce:
- * převede href="@klíč" na správný javascriptový odkaz.
- */
-function aktivujPruvodce() {
-	/** Ukázky SQL kódu */
-	elementy = document.getElementsByTagName("pre");
-	for (var i = 0; i < elementy.length; i++) {
-		if (elementy[i].parentNode.id == napovedniPole) {
-			elementy[i].title = document.getElementById('lokalizace').klikniProNacteniPrikladu.value;
-			elementy[i].onclick = function() {
-				zobraz(this.innerHTML, 'vstupniPole');
-				return true;
-			};
-		}
-	}
-
-	/** Aktivace interních odkazů na průvodce */
-	elementy = document.getElementsByTagName("a");
-	for (var j = 0; j < elementy.length; j++) {
-		var odkaz = elementy[j].getAttribute("href");
-		if (odkaz.substring(0, 1) == '@') {
-			elementy[j].href = "javascript:ajaxPruvodceKod('" + odkaz.substring(1, odkaz.length) + "');";
-		}
-	}
-}
-
-/**
- * Přidá <td> elementům v historii akci onclick,
- * která se postará o načtení obsahu daného elementu do vstupního pole,
- * aby uživatel tento kód nemusel opisovat.
- */
-function aktivujHistorii() {
-	radky = document.getElementsByTagName("tr");
-	for (var i = 1; i < radky.length; i++) {
-		if (radky[i].parentNode.parentNode.parentNode.id == vystupniPole) {
-			radky[i].childNodes[1].title = document.getElementById('lokalizace').klikniProNacteniHistorie.value;
-			radky[i].childNodes[1].style.cursor = 'pointer';
-			radky[i].childNodes[1].onclick = function() {
-				zobraz(this.innerHTML, 'vstupniPole');
-				return true;
-			};
-		}
-	}
-}
-
-/**
- * Převede HTML entity zpět na znaky,
- * aby se správně zobrazily ve vstupním nebo stavovém poli.
- */
-function vratEntity (text) {
-	var vysledek = text;
-	vysledek = vysledek.replace(new RegExp('&lt;', 'g'), '<');
-	vysledek = vysledek.replace(new RegExp('&gt;', 'g'), '>');
-	vysledek = vysledek.replace(new RegExp('&amp;', 'g'), '&');
-	vysledek = vysledek.replace(new RegExp('&nbsp;', 'g'), ' ');
-	vysledek = vysledek.replace(new RegExp('&#160;', 'g'), ' ');
-	return vysledek;
-}
-
-/**
- * Načte dynamicky soubor se skriptem.
- * url = název souboru.js
- */
-function nactiJavaScript (url) {
-	var element = document.createElement("script");
-	element.src = url;
-	element.type = "text/javascript";
-	document.getElementsByTagName("head")[0].appendChild(element);
-}
-
Index: ava/sql-vyuka/web/index.jsp
===================================================================
--- java/sql-vyuka/web/index.jsp	(revision 79:aa8c8f51b0cc)
+++ 	(revision )
@@ -1,26 +1,0 @@
-<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<%@page contentType="text/html" pageEncoding="UTF-8"%>
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-
-<fmt:setBundle basename="cz.frantovo.sql.vyuka.preklady" scope="application"/>
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
-    <head>
-	<meta http-equiv="content-language" content="cs"/>
-	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
-	<link href="styl.css" type="text/css" rel="StyleSheet"/>
-	<link href="strom.css" type="text/css" rel="StyleSheet"/>
-	<link rel="shortcut icon" href="grafika/navigace-model.png" type="image/x-icon" />
-	<script type="text/javaScript" src="hlavni.js"></script>
-	<script type="text/javaScript" src="vstupniPole.js"></script>
-	<script type="text/javaScript" src="klavesoveZkratky.js"></script>
-	<script type="text/javaScript" src="strom.js"></script>
-	<title><fmt:message key="nazev"/></title>
-    </head>
-    <body>
-
-	<jsp:include page="WEB-INF/casti/aplikace.jspx" flush="false"/>
-
-    </body>
-</html>
Index: ava/sql-vyuka/web/klavesoveZkratky.js
===================================================================
--- java/sql-vyuka/web/klavesoveZkratky.js	(revision 80:d900e5a112cc)
+++ 	(revision )
@@ -1,38 +1,0 @@
-/** Klávesové zkratky pro celou stránku */
-
-var isCtrl = false;
-
-document.onkeyup = function(e) {
-	if(e.which == 17) {
-		isCtrl = false;
-	}
-}
-
-document.onkeydown = function(e) {
-	if(e.which == 17) {
-		isCtrl = true;
-	}
-
-	if (isCtrl) {
-		if (e.which == 13) {
-			/** ctrl+enter → vykonáme SQL */
-			ajaxVykonatSQL();
-			return false;
-		} else if (e.which == 72) {
-			/** ctrl+h → uobrazíme historii */
-			ajaxZobrazitHistorii();
-			return false;
-		} else if (e.which == 39) {
-			/** doprava → následující kapitola */
-			ajaxPruvodceNasledujici();
-			return false;
-		} else if (e.which == 37) {
-			/** doleva → předchozí kapitola */
-			ajaxPruvodcePredchozi();
-			return false;
-		}
-		return true;
-	} else {
-		return true;
-	}
-}
Index: ava/sql-vyuka/web/licence.txt
===================================================================
--- java/sql-vyuka/web/licence.txt	(revision 23:6bbbd371e813)
+++ 	(revision )
@@ -1,1 +1,0 @@
-../../../licence/agpl-3.0.txt
Index: ava/sql-vyuka/web/strom.css
===================================================================
--- java/sql-vyuka/web/strom.css	(revision 68:261fa1211b78)
+++ 	(revision )
@@ -1,57 +1,0 @@
-ul.strom {
-    display: none;
-}
-
-ul.strom  li {
-    list-style: none;
-    margin: 3px;
-}
-
-ul.strom, ul.strom ul , ul.strom li {
-    margin-left: 10px;
-    padding: 0px;
-}
-
-ul.strom li .bullet {
-    padding-left: 16px;
-}
-
-ul.strom li.liOpen .bullet {
-    cursor: pointer;
-    background: url('grafika/strom-minus.gif') center left no-repeat;
-}
-
-ul.strom li.liClosed .bullet {
-    cursor: pointer;
-    background: url('grafika/strom-plus.gif') center left no-repeat;
-}
-
-ul.strom li.liBullet .bullet {
-    cursor: default;
-    background: url('grafika/strom-konec.png') center left no-repeat;
-}
-
-ul.strom li.liOpen ul {
-    display: block;
-}
-
-ul.strom li.liClosed ul {
-    display: none;
-}
-
-ul.strom .schema {
-    padding-left: 22px;
-    background: url('grafika/strom-schema.png') center left no-repeat;
-}
-
-ul.strom .tabulka {
-    padding-left: 22px;
-    background: url('grafika/strom-tabulka.png') center left no-repeat;
-    cursor: pointer;
-}
-
-ul.strom .pohled {
-    padding-left: 22px;
-    background: url('grafika/strom-pohled.png') center left no-repeat;
-    cursor: pointer;
-}
Index: ava/sql-vyuka/web/strom.js
===================================================================
--- java/sql-vyuka/web/strom.js	(revision 80:d900e5a112cc)
+++ 	(revision )
@@ -1,146 +1,0 @@
-/** Strom je načítaný AJAXem až po načtení stránky, takže je potřeba funkci zavolat ručně */
-//pridejUdalost(window,"load",sestavStromy);
-
-function pridejUdalost(o, e, f) {
-	if (o.addEventListener) {
-		o.addEventListener(e,f,true);
-		return true;
-	} else if (o.attachEvent) {
-		return o.attachEvent("on" + e, f);
-	} else {
-		return false;
-	}
-}
-
-function nastavKonstantu(name, val) {
-	if (typeof(window[name]) == "undefined" || window[name] == null) {
-		window[name] = val;
-	}
-}
-
-function rozbalStrom(treeId) {
-	var ul = document.getElementById(treeId);
-	if (ul == null) {
-		return false;
-	}
-	rozbalSbalSeznam(ul, nodeOpenClass);
-}
-
-function sbalStrom(treeId) {
-	var ul = document.getElementById(treeId);
-	if (ul == null) {
-		return false;
-	}
-	rozbalSbalSeznam(ul, nodeClosedClass);
-}
-
-function rozbalAzNaPolozku(treeId, itemId) {
-	var ul = document.getElementById(treeId);
-	if (ul == null) {
-		return false;
-	}
-	var ret = rozbalSbalSeznam(ul, nodeOpenClass, itemId);
-	if (ret) {
-		var o = document.getElementById(itemId);
-		if (o.scrollIntoView) {
-			o.scrollIntoView(false);
-		}
-	}
-}
-
-function rozbalSbalSeznam(ul, cName, itemId) {
-	if(!ul.childNodes || ul.childNodes.length==0) {
-		return false;
-	}
-	for (var itemi = 0; itemi < ul.childNodes.length; itemi++) {
-		var item = ul.childNodes[itemi];
-
-		if (itemId != null && item.id == itemId) {
-			return true;
-		}
-
-		if (item.nodeName == "LI") {
-			var subLists = false;
-			for (var sitemi = 0; sitemi<item.childNodes.length; sitemi++) {
-				var sitem = item.childNodes[sitemi];
-				if (sitem.nodeName=="UL") {
-					subLists = true;
-					var ret = rozbalSbalSeznam(sitem, cName, itemId);
-					if (itemId != null && ret) {
-						item.className = cName;
-						return true;
-					}
-				}
-			}
-
-			if (subLists && itemId == null) {
-				item.className = cName;
-			}
-		}
-	}
-}
-
-function sestavStromy() {
-	nastavKonstantu("treeClass", "strom");
-	nastavKonstantu("nodeClosedClass", "liClosed");
-	nastavKonstantu("nodeOpenClass", "liOpen");
-	nastavKonstantu("nodeBulletClass", "liBullet");
-	nastavKonstantu("nodeLinkClass", "bullet");
-	nastavKonstantu("preProcessTrees", true);
-	if (preProcessTrees) {
-		if (!document.createElement) {
-			return;
-		}
-		uls = document.getElementsByTagName("ul");
-		for (var uli = 0; uli < uls.length; uli++) {
-			var ul = uls[uli];
-			if (ul.nodeName == "UL" && ul.className == treeClass) {
-				zpracujStrom(ul);
-				ul.style.display = "block";
-			}
-		}
-	}
-}
-
-function zpracujStrom(ul) {
-	if (!ul.childNodes || ul.childNodes.length==0) {
-		return;
-	}
-	for (var itemi = 0; itemi < ul.childNodes.length; itemi++) {
-		var item = ul.childNodes[itemi];
-		if (item.nodeName == "LI") {
-			var subLists = false;
-			for (var sitemi = 0; sitemi < item.childNodes.length; sitemi++) {
-				var sitem = item.childNodes[sitemi];
-				if (sitem.nodeName == "UL") {
-					subLists = true;
-					zpracujStrom(sitem);
-				}
-			}
-			var s = document.createElement("span");
-			var t = '\u00A0';
-			s.className = nodeLinkClass;
-			if (subLists) {
-				if (item.className == null || item.className == "") {
-					item.className = nodeClosedClass;
-				}
-				if (item.firstChild.nodeName == "#text") {
-					t = t + item.firstChild.nodeValue;
-					item.removeChild(item.firstChild);
-				}
-				s.onclick = function() {
-					this.parentNode.className = (this.parentNode.className==nodeOpenClass) ? nodeClosedClass : nodeOpenClass;
-					return false;
-				}
-			} else {
-				item.className = nodeBulletClass;
-				s.onclick = function() {
-					return false;
-				}
-			}
-			s.appendChild(document.createTextNode(t));
-			item.insertBefore(s, item.firstChild);
-		}
-	}
-}
-
Index: ava/sql-vyuka/web/styl.css
===================================================================
--- java/sql-vyuka/web/styl.css	(revision 67:d1d39e07d65b)
+++ 	(revision )
@@ -1,320 +1,0 @@
-/** Obrázky s odkazem bez rámečku */
-a img {
-    border: none;
-}
-
-/** Pozadí stránky a text */
-html {
-    background: #42afdc;
-    color:black;
-}
-
-/** Bezpatkové písmo */
-body {
-    font-family: sans-serif;
-    font-size: 12px;
-}
-
-/** České uvozovky: „ */
-q:before {
-    content: "\201E";
-}
-
-/** České uvozovky: “ */
-q:after {
-    content: "\201C";
-}
-
-/** Prostor pro logo a název programu */
-#zahlavi {
-    height: 48px;
-    width: 400px;
-    background-image: url('grafika/logo.png');
-    background-repeat: no-repeat;
-    margin-left: 5px;
-    cursor: pointer;
-}
-
-#zahlavi h1 {
-    display: none;
-}
-
-/** Obal kolem bloků */
-#bloky {
-    width: 1040px;
-    text-align: justify;
-}
-
-.blok {
-    margin: 10px;
-}
-
-/** Vstup, výstup nebo nápověda */
-.vnitrekBloku {
-    background-image: url('grafika/blok-pozadi.gif');
-    margin: 0px;
-    padding: 10px;
-}
-
-#vstup .vnitrekBloku {
-    height: 150px;
-    text-align: right;
-}
-
-#stavovePole {
-    width: 300px;
-    border: none;
-    background-color: transparent;
-    color: gray;
-    font-size: 11px;
-}
-
-#vstup textarea {
-    width: 640px;
-    height: 108px;
-    padding: 8px;
-    border: 1px solid silver;
-}
-
-fieldset {
-    display: inline;
-    border: none;
-    padding: 0px;
-    margin: 0px;
-}
-
-#vstup button {
-    height: 20px;
-    border: none;
-    margin-right: 0px;
-    margin-top: 5px;
-    padding: 0px;
-    cursor: pointer;
-    background-repeat: no-repeat;
-}
-
-#vstup button.zobrazitHistorii {
-    background-image: url('grafika/tlacitko-historie.png');
-    background-color: transparent;
-    background-position: center;
-    width: 20px;
-}
-
-#vstup button.vykonatSQL {
-    background-image: url('grafika/tlacitko-sql.png');
-    width: 146px;
-}
-
-#vystup .vnitrekBloku {
-    overflow: auto;
-    height: 280px;
-}
-
-#napoveda .vnitrekBloku {
-    height: 484px;
-}
-
-#napovedniPole {
-    overflow: auto;
-    margin: 0px;
-    padding: 0px;
-    height: 460px;
-}
-
-#napoveda h1 {
-    font-size: 18px;
-    font-weight: bold;
-}
-
-/** Nadpisy bloků */
-.blok h2 {
-    font-size: 12px;
-    padding: 2px;
-    padding-top: 4px;
-    padding-left: 32px;
-    margin: 0px;
-    color: gray;
-    height: 20px;
-}
-
-#napoveda h2 {
-    background-image: url('grafika/blok-nadpis-320.png');
-}
-
-#napoveda #napovedniPole h2 {
-    background-image: none;
-    font-size: 14px;
-    padding: 0px;
-    margin: 0px;
-    color: black;
-    height: auto;
-}
-
-#napoveda pre {
-    color: gray;
-    cursor: pointer;
-}
-
-#napoveda ol.obsah {
-    margin-top: -4px;
-    margin-bottom: -16px;
-
-}
-
-#napoveda a {
-    text-decoration: none;
-}
-
-#napoveda a:hover {
-    text-decoration: underline;
-}
-
-#navigace {
-    background-image: url('grafika/navigace-pozadi.png');
-    height: 21px;
-    width: 300px;
-    position: relative;
-    bottom: 32px;
-    left: 10px;
-    text-align: center;
-}
-
-#navigace button {
-    height: 20px;
-    border: none;
-    margin-right: 0px;
-    margin-top: 5px;
-    padding: 0px;
-    cursor: pointer;
-    background-repeat: no-repeat;
-    background-color: transparent;
-    background-position: center;
-    width: 20px;
-    position: relative;
-    top: -4px;
-}
-
-#navigace button.zpet {
-    background-image: url('grafika/navigace-zpet.png');
-    margin-right: 32px;
-}
-
-#navigace button.vpred {
-    background-image: url('grafika/navigace-vpred.png');
-    margin-left: 32px;
-}
-
-#navigace button.nasledujici {
-    background-image: url('grafika/navigace-nasledujici.png');
-    margin-left: 42px;
-}
-
-#navigace button.predchozi {
-    background-image: url('grafika/navigace-predchozi.png');
-    margin-right: 42px;
-}
-
-#navigace button.model {
-    background-image: url('grafika/navigace-model.png');
-}
-
-#navigace button.pruvodce {
-    background-image: url('grafika/navigace-pruvodce.png');
-}
-
-/** Vstupně-výstupní část */
-#io {
-    float: left;
-}
-
-#io h2 {
-    background-image: url('grafika/blok-nadpis-680.png');
-}
-
-/** Blok vstupu */
-#vstup {
-    width: 680px;
-}
-
-/** Blok výstupu */
-#vystup {
-    width: 680px;
-}
-
-/** Blok nápovědy */
-#napoveda {
-    float: right;
-    width: 320px;
-}
-
-/** Formátování (výstupní) tabulky */
-table {
-    border: 1px solid green;
-    border-collapse:collapse;
-    background-color: white;
-    margin: 3px;
-}
-
-td {
-    border: 1px solid black;
-    padding: 4px;
-    padding-left: 8px;
-    padding-right: 8px;
-    vertical-align: top;
-    text-align: left;
-}
-
-td.cislo {
-    text-align: right;
-}
-
-thead {
-    background: gray;
-    font-weight:bold;
-    background-image: url('grafika/tabulka-zahlavi.png');
-    background-repeat: repeat-x;
-    height: 28px;
-}
-
-thead td a {
-    color: black;
-    text-decoration: none;
-}
-
-thead td {
-    vertical-align: middle;
-}
-
-/** Ikonky pro zprávu k výsledku */
-#vystupniPole p {
-    background-repeat: no-repeat;
-    padding-left: 22px;
-}
-
-#vystupniPole p.vysledekOK {
-    background-image: url('grafika/vysledek-ok.png');
-}
-
-#vystupniPole p.vysledekVarovani {
-    background-image: url('grafika/vysledek-varovani.png');
-}
-
-#vystupniPole p.vysledekChyba {
-    background-image: url('grafika/vysledek-chyba.png');
-}
-
-#vystupniPole p.vysledekTip {
-    background-image: url('grafika/vysledek-tip.png');
-    color: gray;
-    font-style: italic;
-}
-
-/** Skrytý formulář sloužící pro lokalizaci JavaScriptu */
-#lokalizace {
-    display: none;
-}
-
-/** Skrytý formulář sloužící pro uchování ID průvodce z databáze */
-#pruvodceData {
-    display: none;
-}
Index: ava/sql-vyuka/web/vstupniPole.js
===================================================================
--- java/sql-vyuka/web/vstupniPole.js	(revision 80:d900e5a112cc)
+++ 	(revision )
@@ -1,66 +1,0 @@
-/** Umožní zadávat tabulátor */
-
-var tab = "\t";
-
-function zpracujTabulatory(evt) {
-
-	var t = evt.target;
-	var ss = t.selectionStart;
-	var se = t.selectionEnd;
-
-
-	// Tabulátor
-	if (evt.keyCode == 9) {
-		evt.preventDefault();
-
-		// Víceřádkový výběr
-		if (ss != se && t.value.slice(ss,se).indexOf("\n") != -1) {
-			var pre = t.value.slice(0,ss);
-			var sel = t.value.slice(ss,se).replace(/\n/g,"\n"+tab);
-			var post = t.value.slice(se,t.value.length);
-			t.value = pre.concat(tab).concat(sel).concat(post);
-			t.selectionStart = ss + tab.length;
-			t.selectionEnd = se + tab.length;
-		}
-
-		// Jednořádkový nebo žádný výběr
-		else {
-			t.value = t.value.slice(0,ss).concat(tab).concat(t.value.slice(ss,t.value.length));
-			if (ss == se) {
-				t.selectionStart = t.selectionEnd = ss + tab.length;
-			}
-			else {
-				t.selectionStart = ss + tab.length;
-				t.selectionEnd = se + tab.length;
-			}
-		}
-	}
-
-	// Backspace
-	else if (evt.keyCode==8 && t.value.slice(ss - 4,ss) == tab) {
-		evt.preventDefault();
-		t.value = t.value.slice(0,ss - 4).concat(t.value.slice(ss,t.value.length));
-		t.selectionStart = t.selectionEnd = ss - tab.length;
-	}
-
-	// Delete
-	else if (evt.keyCode==46 && t.value.slice(se,se + 4) == tab) {
-		evt.preventDefault();
-		t.value = t.value.slice(0,ss).concat(t.value.slice(ss + 4,t.value.length));
-		t.selectionStart = t.selectionEnd = ss;
-	}
-
-	// Doleva
-	else if (evt.keyCode == 37 && t.value.slice(ss - 4,ss) == tab) {
-		alert("levá");
-		evt.preventDefault();
-		t.selectionStart = t.selectionEnd = ss - 4;
-	}
-
-	// Doprava
-	else if (evt.keyCode == 39 && t.value.slice(ss,ss + 4) == tab) {
-		alert("pravá");
-		evt.preventDefault();
-		t.selectionStart = t.selectionEnd = ss + 4;
-	}
-}
Index: onfigurace/jetty/sql-vyuka.xml
===================================================================
--- konfigurace/jetty/sql-vyuka.xml	(revision 76:48d0c0d0da21)
+++ 	(revision )
@@ -1,36 +1,0 @@
-<?xml version="1.0"  encoding="ISO-8859-1"?>
-<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
-<Configure class="org.eclipse.jetty.webapp.WebAppContext">
-	
-	<Set name="contextPath">/</Set>
-	<Set name="war">
-		<SystemProperty name="jetty.home" default="."/>/webapps/sql-vyuka.war</Set>
-	
-	<New id="sqlvyukaaplikaceDS" class="org.eclipse.jetty.plus.jndi.Resource">
-		<Arg>jdbc/sqlVyuka/aplikace</Arg>
-		<Arg>
-			<New class="org.postgresql.ds.PGSimpleDataSource">
-				<Set name="User">sqlvyukaaplikace</Set>
-				<Set name="Password"></Set>
-				<Set name="DatabaseName">sqlvyukaaplikace</Set>
-				<Set name="ServerName">localhost</Set>
-				<Set name="PortNumber">5432</Set>
-			</New>
-		</Arg>
-	</New>
-	
-	<New id="sqlvyukapiskovisteDS" class="org.eclipse.jetty.plus.jndi.Resource">
-		<Arg>jdbc/sqlVyuka/piskoviste</Arg>
-		<Arg>
-			<New class="org.postgresql.ds.PGSimpleDataSource">
-				<Set name="User">sqlvyukapiskoviste</Set>
-				<Set name="Password"></Set>
-				<Set name="DatabaseName">piskoviste</Set>
-				<Set name="ServerName">localhost</Set>
-				<Set name="PortNumber">5432</Set>
-			</New>
-		</Arg>
-	</New>
-	
-</Configure>
-
Index: icence/agpl-3.0.tex
===================================================================
--- licence/agpl-3.0.tex	(revision 23:6bbbd371e813)
+++ 	(revision )
@@ -1,705 +1,0 @@
-\documentclass[11pt]{article}
-
-\title{GNU AFFERO GENERAL PUBLIC LICENSE}
-\date{Version 3, 19 November 2007}
-
-\begin{document}
-\maketitle
-
-\begin{center}
-{\parindent 0in
-
-Copyright \copyright\  2007 Free Software Foundation, Inc. \texttt{http://fsf.org/}
-
-\bigskip
-Everyone is permitted to copy and distribute verbatim copies of this
-
-license document, but changing it is not allowed.}
-
-\end{center}
-
-\renewcommand{\abstractname}{Preamble}
-\begin{abstract}
-The GNU Affero General Public License is a free, copyleft license
-for software and other kinds of works, specifically designed to ensure
-cooperation with the community in the case of network server software.
-
-The licenses for most software and other practical works are
-designed to take away your freedom to share and change the works.  By
-contrast, our General Public Licenses are intended to guarantee your
-freedom to share and change all versions of a program--to make sure it
-remains free software for all its users.
-
-When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
-Developers that use our General Public Licenses protect your rights
-with two steps: (1) assert copyright on the software, and (2) offer
-you this License which gives you legal permission to copy, distribute
-and/or modify the software.
-
-A secondary benefit of defending all users' freedom is that
-improvements made in alternate versions of the program, if they
-receive widespread use, become available for other developers to
-incorporate.  Many developers of free software are heartened and
-encouraged by the resulting cooperation.  However, in the case of
-software used on network servers, this result may fail to come about.
-The GNU General Public License permits making a modified version and
-letting the public access it on a server without ever releasing its
-source code to the public.
-
-The GNU Affero General Public License is designed specifically to
-ensure that, in such cases, the modified source code becomes available
-to the community.  It requires the operator of a network server to
-provide the source code of the modified version running there to the
-users of that server.  Therefore, public use of a modified version, on
-a publicly accessible server, gives the public access to the source
-code of the modified version.
-
-An older license, called the Affero General Public License and
-published by Affero, was designed to accomplish similar goals.  This is
-a different license, not a version of the Affero GPL, but Affero has
-released a new version of the Affero GPL which permits relicensing under
-this license.
-
-The precise terms and conditions for copying, distribution and
-modification follow.
-\end{abstract}
-
-\begin{center}
-{\Large \sc Terms and Conditions}
-\end{center}
-
-
-\begin{enumerate}
-
-\addtocounter{enumi}{-1}
-
-\item Definitions.
-
-``This License'' refers to version 3 of the GNU Affero General Public License.
-
-``Copyright'' also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
-``The Program'' refers to any copyrightable work licensed under this
-License.  Each licensee is addressed as ``you''.  ``Licensees'' and
-``recipients'' may be individuals or organizations.
-
-To ``modify'' a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy.  The resulting work is called a ``modified version'' of the
-earlier work or a work ``based on'' the earlier work.
-
-A ``covered work'' means either the unmodified Program or a work based
-on the Program.
-
-To ``propagate'' a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy.  Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
-To ``convey'' a work means any kind of propagation that enables other
-parties to make or receive copies.  Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
-An interactive user interface displays ``Appropriate Legal Notices''
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License.  If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
-\item Source Code.
-
-The ``source code'' for a work means the preferred form of the work
-for making modifications to it.  ``Object code'' means any non-source
-form of a work.
-
-A ``Standard Interface'' means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
-The ``System Libraries'' of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form.  A
-``Major Component'', in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
-The ``Corresponding Source'' for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities.  However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work.  For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
-The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
-The Corresponding Source for a work in source code form is that
-same work.
-
-\item Basic Permissions.
-
-All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met.  This License explicitly affirms your unlimited
-permission to run the unmodified Program.  The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work.  This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
-You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force.  You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright.  Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
-Conveying under any other circumstances is permitted solely under
-the conditions stated below.  Sublicensing is not allowed; section 10
-makes it unnecessary.
-
-\item Protecting Users' Legal Rights From Anti-Circumvention Law.
-
-No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
-When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
-\item Conveying Verbatim Copies.
-
-You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
-You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
-\item Conveying Modified Source Versions.
-
-You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-  \begin{enumerate}
-  \item The work must carry prominent notices stating that you modified
-  it, and giving a relevant date.
-
-  \item The work must carry prominent notices stating that it is
-  released under this License and any conditions added under section
-  7.  This requirement modifies the requirement in section 4 to
-  ``keep intact all notices''.
-
-  \item You must license the entire work, as a whole, under this
-  License to anyone who comes into possession of a copy.  This
-  License will therefore apply, along with any applicable section 7
-  additional terms, to the whole of the work, and all its parts,
-  regardless of how they are packaged.  This License gives no
-  permission to license the work in any other way, but it does not
-  invalidate such permission if you have separately received it.
-
-  \item If the work has interactive user interfaces, each must display
-  Appropriate Legal Notices; however, if the Program has interactive
-  interfaces that do not display Appropriate Legal Notices, your
-  work need not make them do so.
-\end{enumerate}
-A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-``aggregate'' if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit.  Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
-\item Conveying Non-Source Forms.
-
-You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-  \begin{enumerate}
-  \item Convey the object code in, or embodied in, a physical product
-  (including a physical distribution medium), accompanied by the
-  Corresponding Source fixed on a durable physical medium
-  customarily used for software interchange.
-
-  \item Convey the object code in, or embodied in, a physical product
-  (including a physical distribution medium), accompanied by a
-  written offer, valid for at least three years and valid for as
-  long as you offer spare parts or customer support for that product
-  model, to give anyone who possesses the object code either (1) a
-  copy of the Corresponding Source for all the software in the
-  product that is covered by this License, on a durable physical
-  medium customarily used for software interchange, for a price no
-  more than your reasonable cost of physically performing this
-  conveying of source, or (2) access to copy the
-  Corresponding Source from a network server at no charge.
-
-  \item Convey individual copies of the object code with a copy of the
-  written offer to provide the Corresponding Source.  This
-  alternative is allowed only occasionally and noncommercially, and
-  only if you received the object code with such an offer, in accord
-  with subsection 6b.
-
-  \item Convey the object code by offering access from a designated
-  place (gratis or for a charge), and offer equivalent access to the
-  Corresponding Source in the same way through the same place at no
-  further charge.  You need not require recipients to copy the
-  Corresponding Source along with the object code.  If the place to
-  copy the object code is a network server, the Corresponding Source
-  may be on a different server (operated by you or a third party)
-  that supports equivalent copying facilities, provided you maintain
-  clear directions next to the object code saying where to find the
-  Corresponding Source.  Regardless of what server hosts the
-  Corresponding Source, you remain obligated to ensure that it is
-  available for as long as needed to satisfy these requirements.
-
-  \item Convey the object code using peer-to-peer transmission, provided
-  you inform other peers where the object code and Corresponding
-  Source of the work are being offered to the general public at no
-  charge under subsection 6d.
-  \end{enumerate}
-
-A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
-A ``User Product'' is either (1) a ``consumer product'', which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling.  In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage.  For a particular
-product received by a particular user, ``normally used'' refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product.  A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
-``Installation Information'' for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source.  The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
-If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information.  But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
-The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed.  Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
-Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
-\item Additional Terms.
-
-``Additional permissions'' are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law.  If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
-When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it.  (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.)  You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
-Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-  \begin{enumerate}
-  \item Disclaiming warranty or limiting liability differently from the
-  terms of sections 15 and 16 of this License; or
-
-  \item Requiring preservation of specified reasonable legal notices or
-  author attributions in that material or in the Appropriate Legal
-  Notices displayed by works containing it; or
-
-  \item Prohibiting misrepresentation of the origin of that material, or
-  requiring that modified versions of such material be marked in
-  reasonable ways as different from the original version; or
-
-  \item Limiting the use for publicity purposes of names of licensors or
-  authors of the material; or
-
-  \item Declining to grant rights under trademark law for use of some
-  trade names, trademarks, or service marks; or
-
-  \item Requiring indemnification of licensors and authors of that
-  material by anyone who conveys the material (or modified versions of
-  it) with contractual assumptions of liability to the recipient, for
-  any liability that these contractual assumptions directly impose on
-  those licensors and authors.
-  \end{enumerate}
-
-All other non-permissive additional terms are considered ``further
-restrictions'' within the meaning of section 10.  If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term.  If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
-If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
-Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
-\item Termination.
-
-You may not propagate or modify a covered work except as expressly
-provided under this License.  Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
-However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
-Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
-Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License.  If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
-\item Acceptance Not Required for Having Copies.
-
-You are not required to accept this License in order to receive or
-run a copy of the Program.  Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance.  However,
-nothing other than this License grants you permission to propagate or
-modify any covered work.  These actions infringe copyright if you do
-not accept this License.  Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
-\item Automatic Licensing of Downstream Recipients.
-
-Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License.  You are not responsible
-for enforcing compliance by third parties with this License.
-
-An ``entity transaction'' is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations.  If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
-You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License.  For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
-\item Patents.
-
-A ``contributor'' is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based.  The
-work thus licensed is called the contributor's ``contributor version''.
-
-A contributor's ``essential patent claims'' are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version.  For
-purposes of this definition, ``control'' includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
-Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
-In the following three paragraphs, a ``patent license'' is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement).  To ``grant'' such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
-If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients.  ``Knowingly relying'' means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
-If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
-A patent license is ``discriminatory'' if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License.  You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
-Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
-\item No Surrender of Others' Freedom.
-
-If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all.  For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
-\item Remote Network Interaction; Use with the GNU General Public License.
-
-Notwithstanding any other provision of this License, if you modify the
-Program, your modified version must prominently offer all users interacting
-with it remotely through a computer network (if your version supports such
-interaction) an opportunity to receive the Corresponding Source of your
-version by providing access to the Corresponding Source from a network
-server at no charge, through some standard or customary means of
-facilitating copying of software.  This Corresponding Source shall include
-the Corresponding Source for any work covered by version 3 of the GNU
-General Public License that is incorporated pursuant to the following
-paragraph.
-
-Notwithstanding any other provision of this License, you have permission to
-link or combine any covered work with a work licensed under version 3 of
-the GNU General Public License into a single combined work, and to convey
-the resulting work.  The terms of this License will continue to apply to
-the part which is the covered work, but the work with which it is combined
-will remain governed by version 3 of the GNU General Public License.
-
-\item Revised Versions of this License.
-
-The Free Software Foundation may publish revised and/or new versions of
-the GNU Affero General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the
-Program specifies that a certain numbered version of the GNU Affero General
-Public License ``or any later version'' applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation.  If the Program does not specify a version number of the
-GNU Affero General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
-If the Program specifies that a proxy can decide which future
-versions of the GNU Affero General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
-Later license versions may give you additional or different
-permissions.  However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
-\item Disclaimer of Warranty.
-
-\begin{sloppypar}
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
- APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE
- COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ``AS IS''
- WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE
- RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
- SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
- NECESSARY SERVICING, REPAIR OR CORRECTION.
-\end{sloppypar}
-
-\item Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
- WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES
- AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
- DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
- DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
- (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
- INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE
- OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
- HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
- DAMAGES.
-
-\item Interpretation of Sections 15 and 16.
-
-If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
-\begin{center}
-{\Large\sc End of Terms and Conditions}
-
-\bigskip
-How to Apply These Terms to Your New Programs
-\end{center}
-
-If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the ``copyright'' line and a pointer to where the full notice is found.
-
-{\footnotesize
-\begin{verbatim}
-<one line to give the program's name and a brief idea of what it does.>
-
-Copyright (C) <textyear>  <name of author>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.
-\end{verbatim}
-}
-
-Also add information on how to contact you by electronic and paper mail.
-
-If your software can interact with users remotely through a computer
-network, you should also make sure that it provides a way for users to
-get its source.  For example, if your program is a web application, its
-interface could display a ``Source'' link that leads users to an archive
-of the code.  There are many ways you could offer source, and different
-solutions will be better for different programs; see section 13 for the
-specific requirements.
-
-You should also get your employer (if you work as a programmer) or
-school, if any, to sign a ``copyright disclaimer'' for the program, if
-necessary.  For more information on this, and how to apply and follow
-the GNU AGPL, see \texttt{http://www.gnu.org/licenses/}.
-
-\end{enumerate}
-
-\end{document}
-
-%%% Local Variables:
-%%% mode: latex
-%%% TeX-master: t
-%%% End:
-
Index: icence/agpl-3.0.txt
===================================================================
--- licence/agpl-3.0.txt	(revision 23:6bbbd371e813)
+++ 	(revision )
@@ -1,661 +1,0 @@
-                    GNU AFFERO GENERAL PUBLIC LICENSE
-                       Version 3, 19 November 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                            Preamble
-
-  The GNU Affero General Public License is a free, copyleft license for
-software and other kinds of works, specifically designed to ensure
-cooperation with the community in the case of network server software.
-
-  The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works.  By contrast,
-our General Public Licenses are intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
-  Developers that use our General Public Licenses protect your rights
-with two steps: (1) assert copyright on the software, and (2) offer
-you this License which gives you legal permission to copy, distribute
-and/or modify the software.
-
-  A secondary benefit of defending all users' freedom is that
-improvements made in alternate versions of the program, if they
-receive widespread use, become available for other developers to
-incorporate.  Many developers of free software are heartened and
-encouraged by the resulting cooperation.  However, in the case of
-software used on network servers, this result may fail to come about.
-The GNU General Public License permits making a modified version and
-letting the public access it on a server without ever releasing its
-source code to the public.
-
-  The GNU Affero General Public License is designed specifically to
-ensure that, in such cases, the modified source code becomes available
-to the community.  It requires the operator of a network server to
-provide the source code of the modified version running there to the
-users of that server.  Therefore, public use of a modified version, on
-a publicly accessible server, gives the public access to the source
-code of the modified version.
-
-  An older license, called the Affero General Public License and
-published by Affero, was designed to accomplish similar goals.  This is
-a different license, not a version of the Affero GPL, but Affero has
-released a new version of the Affero GPL which permits relicensing under
-this license.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-                       TERMS AND CONDITIONS
-
-  0. Definitions.
-
-  "This License" refers to version 3 of the GNU Affero General Public License.
-
-  "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
-  "The Program" refers to any copyrightable work licensed under this
-License.  Each licensee is addressed as "you".  "Licensees" and
-"recipients" may be individuals or organizations.
-
-  To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy.  The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
-  A "covered work" means either the unmodified Program or a work based
-on the Program.
-
-  To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy.  Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
-  To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies.  Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
-  An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License.  If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
-  1. Source Code.
-
-  The "source code" for a work means the preferred form of the work
-for making modifications to it.  "Object code" means any non-source
-form of a work.
-
-  A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
-  The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form.  A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
-  The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities.  However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work.  For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
-  The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
-  The Corresponding Source for a work in source code form is that
-same work.
-
-  2. Basic Permissions.
-
-  All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met.  This License explicitly affirms your unlimited
-permission to run the unmodified Program.  The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work.  This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
-  You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force.  You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright.  Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
-  Conveying under any other circumstances is permitted solely under
-the conditions stated below.  Sublicensing is not allowed; section 10
-makes it unnecessary.
-
-  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
-  No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
-  When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
-  4. Conveying Verbatim Copies.
-
-  You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
-  You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
-  5. Conveying Modified Source Versions.
-
-  You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
-    a) The work must carry prominent notices stating that you modified
-    it, and giving a relevant date.
-
-    b) The work must carry prominent notices stating that it is
-    released under this License and any conditions added under section
-    7.  This requirement modifies the requirement in section 4 to
-    "keep intact all notices".
-
-    c) You must license the entire work, as a whole, under this
-    License to anyone who comes into possession of a copy.  This
-    License will therefore apply, along with any applicable section 7
-    additional terms, to the whole of the work, and all its parts,
-    regardless of how they are packaged.  This License gives no
-    permission to license the work in any other way, but it does not
-    invalidate such permission if you have separately received it.
-
-    d) If the work has interactive user interfaces, each must display
-    Appropriate Legal Notices; however, if the Program has interactive
-    interfaces that do not display Appropriate Legal Notices, your
-    work need not make them do so.
-
-  A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit.  Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
-  6. Conveying Non-Source Forms.
-
-  You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
-    a) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by the
-    Corresponding Source fixed on a durable physical medium
-    customarily used for software interchange.
-
-    b) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by a
-    written offer, valid for at least three years and valid for as
-    long as you offer spare parts or customer support for that product
-    model, to give anyone who possesses the object code either (1) a
-    copy of the Corresponding Source for all the software in the
-    product that is covered by this License, on a durable physical
-    medium customarily used for software interchange, for a price no
-    more than your reasonable cost of physically performing this
-    conveying of source, or (2) access to copy the
-    Corresponding Source from a network server at no charge.
-
-    c) Convey individual copies of the object code with a copy of the
-    written offer to provide the Corresponding Source.  This
-    alternative is allowed only occasionally and noncommercially, and
-    only if you received the object code with such an offer, in accord
-    with subsection 6b.
-
-    d) Convey the object code by offering access from a designated
-    place (gratis or for a charge), and offer equivalent access to the
-    Corresponding Source in the same way through the same place at no
-    further charge.  You need not require recipients to copy the
-    Corresponding Source along with the object code.  If the place to
-    copy the object code is a network server, the Corresponding Source
-    may be on a different server (operated by you or a third party)
-    that supports equivalent copying facilities, provided you maintain
-    clear directions next to the object code saying where to find the
-    Corresponding Source.  Regardless of what server hosts the
-    Corresponding Source, you remain obligated to ensure that it is
-    available for as long as needed to satisfy these requirements.
-
-    e) Convey the object code using peer-to-peer transmission, provided
-    you inform other peers where the object code and Corresponding
-    Source of the work are being offered to the general public at no
-    charge under subsection 6d.
-
-  A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
-  A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling.  In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage.  For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product.  A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
-  "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source.  The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
-  If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information.  But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
-  The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed.  Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
-  Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
-  7. Additional Terms.
-
-  "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law.  If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
-  When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it.  (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.)  You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
-  Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
-    a) Disclaiming warranty or limiting liability differently from the
-    terms of sections 15 and 16 of this License; or
-
-    b) Requiring preservation of specified reasonable legal notices or
-    author attributions in that material or in the Appropriate Legal
-    Notices displayed by works containing it; or
-
-    c) Prohibiting misrepresentation of the origin of that material, or
-    requiring that modified versions of such material be marked in
-    reasonable ways as different from the original version; or
-
-    d) Limiting the use for publicity purposes of names of licensors or
-    authors of the material; or
-
-    e) Declining to grant rights under trademark law for use of some
-    trade names, trademarks, or service marks; or
-
-    f) Requiring indemnification of licensors and authors of that
-    material by anyone who conveys the material (or modified versions of
-    it) with contractual assumptions of liability to the recipient, for
-    any liability that these contractual assumptions directly impose on
-    those licensors and authors.
-
-  All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10.  If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term.  If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
-  If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
-  Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
-  8. Termination.
-
-  You may not propagate or modify a covered work except as expressly
-provided under this License.  Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
-  However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
-  Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
-  Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License.  If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
-  9. Acceptance Not Required for Having Copies.
-
-  You are not required to accept this License in order to receive or
-run a copy of the Program.  Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance.  However,
-nothing other than this License grants you permission to propagate or
-modify any covered work.  These actions infringe copyright if you do
-not accept this License.  Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
-  10. Automatic Licensing of Downstream Recipients.
-
-  Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License.  You are not responsible
-for enforcing compliance by third parties with this License.
-
-  An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations.  If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
-  You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License.  For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
-  11. Patents.
-
-  A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based.  The
-work thus licensed is called the contributor's "contributor version".
-
-  A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version.  For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
-  Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
-  In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement).  To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
-  If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients.  "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
-  If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
-  A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License.  You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
-  Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
-  12. No Surrender of Others' Freedom.
-
-  If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all.  For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
-  13. Remote Network Interaction; Use with the GNU General Public License.
-
-  Notwithstanding any other provision of this License, if you modify the
-Program, your modified version must prominently offer all users
-interacting with it remotely through a computer network (if your version
-supports such interaction) an opportunity to receive the Corresponding
-Source of your version by providing access to the Corresponding Source
-from a network server at no charge, through some standard or customary
-means of facilitating copying of software.  This Corresponding Source
-shall include the Corresponding Source for any work covered by version 3
-of the GNU General Public License that is incorporated pursuant to the
-following paragraph.
-
-  Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU General Public License into a single
-combined work, and to convey the resulting work.  The terms of this
-License will continue to apply to the part which is the covered work,
-but the work with which it is combined will remain governed by version
-3 of the GNU General Public License.
-
-  14. Revised Versions of this License.
-
-  The Free Software Foundation may publish revised and/or new versions of
-the GNU Affero General Public License from time to time.  Such new versions
-will be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-  Each version is given a distinguishing version number.  If the
-Program specifies that a certain numbered version of the GNU Affero General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation.  If the Program does not specify a version number of the
-GNU Affero General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
-  If the Program specifies that a proxy can decide which future
-versions of the GNU Affero General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
-  Later license versions may give you additional or different
-permissions.  However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
-  15. Disclaimer of Warranty.
-
-  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-  16. Limitation of Liability.
-
-  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
-  17. Interpretation of Sections 15 and 16.
-
-  If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
-                     END OF TERMS AND CONDITIONS
-
-            How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU Affero General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU Affero General Public License for more details.
-
-    You should have received a copy of the GNU Affero General Public License
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
-  If your software can interact with users remotely through a computer
-network, you should also make sure that it provides a way for users to
-get its source.  For example, if your program is a web application, its
-interface could display a "Source" link that leads users to an archive
-of the code.  There are many ways you could offer source, and different
-solutions will be better for different programs; see section 13 for the
-specific requirements.
-
-  You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU AGPL, see
-<http://www.gnu.org/licenses/>.
Index: icence/licence.txt
===================================================================
--- licence/licence.txt	(revision 75:e0c23170f359)
+++ 	(revision )
@@ -1,12 +1,0 @@
-Program sql-vyuka (SQL Výuka) vydávám pod licencí:
-GNU Affero General Public License, verze 3
-
-  viz agpl-3.0.txt
-  viz http://www.fsf.org/licensing/licenses/agpl-3.0.html
-
-
-František Kučera
-
-  http://frantovo.cz/blog
-  http://frantovo.cz/
-  franta-hg@frantovo.cz
Index: ql/schéma.sql
===================================================================
--- sql/schéma.sql	(revision 43:8d1a92f64110)
+++ 	(revision )
@@ -1,225 +1,0 @@
---
--- PostgreSQL database dump
---
-
--- Started on 2009-06-06 23:39:14 CEST
-
-SET client_encoding = 'UTF8';
-SET standard_conforming_strings = off;
-SET check_function_bodies = false;
-SET client_min_messages = warning;
-SET escape_string_warning = off;
-
---
--- TOC entry 10 (class 2615 OID 16788)
--- Name: sqlvyukaaplikace; Type: SCHEMA; Schema: -; Owner: -
---
-
-CREATE SCHEMA sqlvyukaaplikace;
-
-
-SET search_path = sqlvyukaaplikace, pg_catalog;
-
---
--- TOC entry 1583 (class 1259 OID 16797)
--- Dependencies: 10
--- Name: historie_seq; Type: SEQUENCE; Schema: sqlvyukaaplikace; Owner: -
---
-
-CREATE SEQUENCE historie_seq
-    INCREMENT BY 1
-    NO MAXVALUE
-    NO MINVALUE
-    CACHE 1;
-
-
-SET default_tablespace = '';
-
-SET default_with_oids = false;
-
---
--- TOC entry 1582 (class 1259 OID 16789)
--- Dependencies: 1854 1855 10
--- Name: historie; Type: TABLE; Schema: sqlvyukaaplikace; Owner: -; Tablespace: 
---
-
-CREATE TABLE historie (
-    id numeric DEFAULT nextval('historie_seq'::regclass) NOT NULL,
-    datum timestamp with time zone DEFAULT now(),
-    sql text,
-    id_sezeni character varying(255),
-    ip_adresa character varying(255)
-);
-
-
---
--- TOC entry 1586 (class 1259 OID 16826)
--- Dependencies: 10
--- Name: pruvodce_seq; Type: SEQUENCE; Schema: sqlvyukaaplikace; Owner: -
---
-
-CREATE SEQUENCE pruvodce_seq
-    INCREMENT BY 10
-    NO MAXVALUE
-    NO MINVALUE
-    CACHE 1;
-
-
---
--- TOC entry 1587 (class 1259 OID 16828)
--- Dependencies: 1857 10
--- Name: pruvodce; Type: TABLE; Schema: sqlvyukaaplikace; Owner: -; Tablespace: 
---
-
-CREATE TABLE pruvodce (
-    id numeric DEFAULT nextval('pruvodce_seq'::regclass) NOT NULL,
-    kod character varying(32),
-    nadpis character varying(255) NOT NULL,
-    obsah text NOT NULL
-);
-
-
---
--- TOC entry 1870 (class 0 OID 0)
--- Dependencies: 1587
--- Name: TABLE pruvodce; Type: COMMENT; Schema: sqlvyukaaplikace; Owner: -
---
-
-COMMENT ON TABLE pruvodce IS 'Nápověda, průvodce';
-
-
---
--- TOC entry 1871 (class 0 OID 0)
--- Dependencies: 1587
--- Name: COLUMN pruvodce.id; Type: COMMENT; Schema: sqlvyukaaplikace; Owner: -
---
-
-COMMENT ON COLUMN pruvodce.id IS 'Pořadí kapitoly/lekce';
-
-
---
--- TOC entry 1872 (class 0 OID 0)
--- Dependencies: 1587
--- Name: COLUMN pruvodce.kod; Type: COMMENT; Schema: sqlvyukaaplikace; Owner: -
---
-
-COMMENT ON COLUMN pruvodce.kod IS 'kód, na který se můžeme odkazovat';
-
-
---
--- TOC entry 1873 (class 0 OID 0)
--- Dependencies: 1587
--- Name: COLUMN pruvodce.nadpis; Type: COMMENT; Schema: sqlvyukaaplikace; Owner: -
---
-
-COMMENT ON COLUMN pruvodce.nadpis IS 'Název kapitoly';
-
-
---
--- TOC entry 1874 (class 0 OID 0)
--- Dependencies: 1587
--- Name: COLUMN pruvodce.obsah; Type: COMMENT; Schema: sqlvyukaaplikace; Owner: -
---
-
-COMMENT ON COLUMN pruvodce.obsah IS 'Vlastní text kapitoly';
-
-
---
--- TOC entry 1584 (class 1259 OID 16813)
--- Dependencies: 10
--- Name: tip_seq; Type: SEQUENCE; Schema: sqlvyukaaplikace; Owner: -
---
-
-CREATE SEQUENCE tip_seq
-    INCREMENT BY 1
-    NO MAXVALUE
-    NO MINVALUE
-    CACHE 1;
-
-
---
--- TOC entry 1585 (class 1259 OID 16815)
--- Dependencies: 1856 10
--- Name: tip; Type: TABLE; Schema: sqlvyukaaplikace; Owner: -; Tablespace: 
---
-
-CREATE TABLE tip (
-    id numeric DEFAULT nextval('tip_seq'::regclass) NOT NULL,
-    text character varying(512) NOT NULL
-);
-
-
---
--- TOC entry 1875 (class 0 OID 0)
--- Dependencies: 1585
--- Name: TABLE tip; Type: COMMENT; Schema: sqlvyukaaplikace; Owner: -
---
-
-COMMENT ON TABLE tip IS 'Rady, tipy, odkazy a citáty… které budeme zobrazovat uživateli v náhodném pořadí.';
-
-
---
--- TOC entry 1876 (class 0 OID 0)
--- Dependencies: 1585
--- Name: COLUMN tip.text; Type: COMMENT; Schema: sqlvyukaaplikace; Owner: -
---
-
-COMMENT ON COLUMN tip.text IS 'HTML text. Bude vložen do <p>odstavce</p>. → Pozor na validitu.';
-
-
---
--- TOC entry 1859 (class 2606 OID 16796)
--- Dependencies: 1582 1582
--- Name: historie_pk; Type: CONSTRAINT; Schema: sqlvyukaaplikace; Owner: -; Tablespace: 
---
-
-ALTER TABLE ONLY historie
-    ADD CONSTRAINT historie_pk PRIMARY KEY (id);
-
-
---
--- TOC entry 1865 (class 2606 OID 16838)
--- Dependencies: 1587 1587
--- Name: pruvodce_kod_uq; Type: CONSTRAINT; Schema: sqlvyukaaplikace; Owner: -; Tablespace: 
---
-
-ALTER TABLE ONLY pruvodce
-    ADD CONSTRAINT pruvodce_kod_uq UNIQUE (kod);
-
-
---
--- TOC entry 1867 (class 2606 OID 16836)
--- Dependencies: 1587 1587
--- Name: pruvodce_pk; Type: CONSTRAINT; Schema: sqlvyukaaplikace; Owner: -; Tablespace: 
---
-
-ALTER TABLE ONLY pruvodce
-    ADD CONSTRAINT pruvodce_pk PRIMARY KEY (id);
-
-
---
--- TOC entry 1861 (class 2606 OID 16823)
--- Dependencies: 1585 1585
--- Name: tip_pk; Type: CONSTRAINT; Schema: sqlvyukaaplikace; Owner: -; Tablespace: 
---
-
-ALTER TABLE ONLY tip
-    ADD CONSTRAINT tip_pk PRIMARY KEY (id);
-
-
---
--- TOC entry 1863 (class 2606 OID 16825)
--- Dependencies: 1585 1585
--- Name: tip_uq; Type: CONSTRAINT; Schema: sqlvyukaaplikace; Owner: -; Tablespace: 
---
-
-ALTER TABLE ONLY tip
-    ADD CONSTRAINT tip_uq UNIQUE (text);
-
-
--- Completed on 2009-06-06 23:39:14 CEST
-
---
--- PostgreSQL database dump complete
---
-
