Changeset 46:da0e675db1cf

Show
Ignore:
Timestamp:
07/01/09 20:58:36 (15 years ago)
Author:
fiki@…
Branch:
default
Message:

Správné české uvozovky u „citátů“.
Přechod na Netbeans 6.7

Location:
java/sql-vyuka
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • java/sql-vyuka/nbproject/build-impl.xml

    r15 r46  
    2020<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"> 
    2121    <import file="ant-deploy.xml"/> 
     22    <fail message="Please build using Ant 1.7.1 or higher."> 
     23        <condition> 
     24            <not> 
     25                <antversion atleast="1.7.1"/> 
     26            </not> 
     27        </condition> 
     28    </fail> 
    2229    <target depends="dist,javadoc" description="Build whole project." name="default"/> 
    2330    <!-- 
     
    130137                <isfalse value="${directory.deployment.supported}"/> 
    131138            </and> 
     139        </condition> 
     140        <condition property="do.tmp.war.package"> 
     141            <isfalse value="${directory.deployment.supported}"/> 
    132142        </condition> 
    133143        <property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/> 
     
    207217            <attribute default="${excludes}" name="excludes"/> 
    208218            <attribute default="${javac.debug}" name="debug"/> 
     219            <attribute default="${empty.dir}" name="gensrcdir"/> 
    209220            <element name="customize" optional="true"/> 
    210221            <sequential> 
     222                <property location="${build.dir}/empty" name="empty.dir"/> 
     223                <mkdir dir="${empty.dir}"/> 
    211224                <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}"> 
     225                    <src> 
     226                        <dirset dir="@{gensrcdir}" erroronmissingdir="false"> 
     227                            <include name="*"/> 
     228                        </dirset> 
     229                    </src> 
    212230                    <classpath> 
    213231                        <path path="@{classpath}"/> 
     
    248266        <macrodef name="java" uri="http://www.netbeans.org/ns/web-project/1"> 
    249267            <attribute default="${main.class}" name="classname"/> 
     268            <attribute default="${debug.classpath}" name="classpath"/> 
    250269            <element name="customize" optional="true"/> 
    251270            <sequential> 
     
    253272                    <jvmarg line="${runmain.jvmargs}"/> 
    254273                    <classpath> 
    255                         <path path="${debug.classpath}:${j2ee.platform.classpath}"/> 
     274                        <path path="@{classpath}:${j2ee.platform.classpath}"/> 
    256275                    </classpath> 
    257276                    <syspropertyset> 
     
    362381            --> 
    363382    <target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps"> 
    364         <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar"/> 
     383        <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar"> 
     384            <property name="deploy.on.save" value="false"/> 
     385        </ant> 
    365386    </target> 
    366387    <target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps"> 
    367         <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar"/> 
     388        <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar"> 
     389            <property name="deploy.on.save" value="false"/> 
     390        </ant> 
    368391    </target> 
    369392    <target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/> 
     
    383406        </copy> 
    384407    </target> 
    385     <target name="-do-ws-compile"/> 
    386     <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,-do-ws-compile" if="have.sources" name="-do-compile"> 
    387         <webproject2:javac destdir="${build.classes.dir}"/> 
     408    <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"> 
     409        <webproject2:javac destdir="${build.classes.dir}" gensrcdir="${build.generated.sources.dir}"/> 
    388410        <copy todir="${build.classes.dir}"> 
    389411            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> 
     
    413435    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single"> 
    414436        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> 
    415         <webproject2:javac excludes="" includes="${javac.includes}"/> 
     437        <webproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/> 
    416438        <copy todir="${build.classes.dir}"> 
    417439            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> 
     
    512534        <copyfiles files="${reference.SuperDAO.jar}" todir="${build.web.dir}/WEB-INF/lib"/> 
    513535    </target> 
    514     <target depends="init,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" name="do-ear-dist"> 
     536    <target depends="init,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" if="do.tmp.war.package" name="do-ear-dist"> 
    515537        <dirname file="${dist.ear.war}" property="dist.jar.dir"/> 
    516538        <mkdir dir="${dist.jar.dir}"/> 
     
    632654        <webproject1:java classname="${run.class}"/> 
    633655    </target> 
     656    <target depends="init,compile-test-single,-pre-test-run-single" name="run-test-with-main"> 
     657        <fail unless="run.class">Must select one file in the IDE or set run.class</fail> 
     658        <webproject1:java classname="${run.class}" classpath="${run.test.classpath}"/> 
     659    </target> 
    634660    <!-- 
    635661                DEBUGGING SECTION 
    636662            --> 
    637663    <target depends="init,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"> 
    638         <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true"/> 
     664        <nbstartserver debugmode="true"/> 
    639665        <antcall target="connect-debugger"/> 
     666        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/> 
    640667        <antcall target="debug-display-browser"/> 
    641668        <antcall target="connect-client-debugger"/> 
     
    657684        <webproject1:nbjsdebugstart webUrl="${client.url}"/> 
    658685    </target> 
     686    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test"> 
     687        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail> 
     688        <webproject1:debug classname="${debug.class}" classpath="${debug.test.classpath}"/> 
     689    </target> 
     690    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/> 
    659691    <target depends="init,compile,compile-jsps,-do-compile-single-jsp,debug" if="netbeans.home" name="debug-single"/> 
     692    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test"> 
     693        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/> 
     694    </target> 
    660695    <target depends="init" if="netbeans.home" name="-debug-start-debugger"> 
    661696        <webproject1:nbjpdastart name="${debug.class}"/> 
     
    686721                <filename name="**/*.java"/> 
    687722            </fileset> 
     723            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false"> 
     724                <include name="**/*.java"/> 
     725            </fileset> 
    688726        </javadoc> 
    689727    </target> 
     
    741779    </target> 
    742780    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run"> 
    743         <fail if="tests.failed">Some tests failed; see details above.</fail> 
     781        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail> 
    744782    </target> 
    745783    <target depends="init" if="have.tests" name="test-report"/> 
     
    754792    </target> 
    755793    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single"> 
    756         <fail if="tests.failed">Some tests failed; see details above.</fail> 
     794        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail> 
    757795    </target> 
    758796    <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"/> 
  • java/sql-vyuka/nbproject/genfiles.properties

    r15 r46  
    55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 
    66nbproject/build-impl.xml.data.CRC32=eb6453d4 
    7 nbproject/build-impl.xml.script.CRC32=7bef4ff2 
    8 nbproject/build-impl.xml.stylesheet.CRC32=174458fc 
     7nbproject/build-impl.xml.script.CRC32=857df3c0 
     8nbproject/build-impl.xml.stylesheet.CRC32=8ab4467e@1.15.1.1 
  • java/sql-vyuka/nbproject/project.properties

    r15 r46  
    33build.dir=build 
    44build.generated.dir=${build.dir}/generated 
     5build.generated.sources.dir=${build.dir}/generated-sources 
    56build.test.classes.dir=${build.dir}/test/classes 
    67build.test.results.dir=${build.dir}/test/results 
  • java/sql-vyuka/web/styl.css

    r44 r46  
    1414    font-family: sans-serif; 
    1515    font-size: 12px; 
     16} 
     17 
     18/** České uvozovky: „ */ 
     19q:before { 
     20    content: "\201E"; 
     21} 
     22 
     23/** České uvozovky: “ */ 
     24q:after { 
     25    content: "\201C"; 
    1626} 
    1727