Changeset 46:da0e675db1cf
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
r15
|
r46
|
|
20 | 20 | <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"> |
21 | 21 | <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> |
22 | 29 | <target depends="dist,javadoc" description="Build whole project." name="default"/> |
23 | 30 | <!-- |
… |
… |
|
130 | 137 | <isfalse value="${directory.deployment.supported}"/> |
131 | 138 | </and> |
| 139 | </condition> |
| 140 | <condition property="do.tmp.war.package"> |
| 141 | <isfalse value="${directory.deployment.supported}"/> |
132 | 142 | </condition> |
133 | 143 | <property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/> |
… |
… |
|
207 | 217 | <attribute default="${excludes}" name="excludes"/> |
208 | 218 | <attribute default="${javac.debug}" name="debug"/> |
| 219 | <attribute default="${empty.dir}" name="gensrcdir"/> |
209 | 220 | <element name="customize" optional="true"/> |
210 | 221 | <sequential> |
| 222 | <property location="${build.dir}/empty" name="empty.dir"/> |
| 223 | <mkdir dir="${empty.dir}"/> |
211 | 224 | <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> |
212 | 230 | <classpath> |
213 | 231 | <path path="@{classpath}"/> |
… |
… |
|
248 | 266 | <macrodef name="java" uri="http://www.netbeans.org/ns/web-project/1"> |
249 | 267 | <attribute default="${main.class}" name="classname"/> |
| 268 | <attribute default="${debug.classpath}" name="classpath"/> |
250 | 269 | <element name="customize" optional="true"/> |
251 | 270 | <sequential> |
… |
… |
|
253 | 272 | <jvmarg line="${runmain.jvmargs}"/> |
254 | 273 | <classpath> |
255 | | <path path="${debug.classpath}:${j2ee.platform.classpath}"/> |
| 274 | <path path="@{classpath}:${j2ee.platform.classpath}"/> |
256 | 275 | </classpath> |
257 | 276 | <syspropertyset> |
… |
… |
|
362 | 381 | --> |
363 | 382 | <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> |
365 | 386 | </target> |
366 | 387 | <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> |
368 | 391 | </target> |
369 | 392 | <target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/> |
… |
… |
|
383 | 406 | </copy> |
384 | 407 | </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}"/> |
388 | 410 | <copy todir="${build.classes.dir}"> |
389 | 411 | <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
… |
… |
|
413 | 435 | <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single"> |
414 | 436 | <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}"/> |
416 | 438 | <copy todir="${build.classes.dir}"> |
417 | 439 | <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
… |
… |
|
512 | 534 | <copyfiles files="${reference.SuperDAO.jar}" todir="${build.web.dir}/WEB-INF/lib"/> |
513 | 535 | </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"> |
515 | 537 | <dirname file="${dist.ear.war}" property="dist.jar.dir"/> |
516 | 538 | <mkdir dir="${dist.jar.dir}"/> |
… |
… |
|
632 | 654 | <webproject1:java classname="${run.class}"/> |
633 | 655 | </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> |
634 | 660 | <!-- |
635 | 661 | DEBUGGING SECTION |
636 | 662 | --> |
637 | 663 | <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"/> |
639 | 665 | <antcall target="connect-debugger"/> |
| 666 | <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/> |
640 | 667 | <antcall target="debug-display-browser"/> |
641 | 668 | <antcall target="connect-client-debugger"/> |
… |
… |
|
657 | 684 | <webproject1:nbjsdebugstart webUrl="${client.url}"/> |
658 | 685 | </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"/> |
659 | 691 | <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> |
660 | 695 | <target depends="init" if="netbeans.home" name="-debug-start-debugger"> |
661 | 696 | <webproject1:nbjpdastart name="${debug.class}"/> |
… |
… |
|
686 | 721 | <filename name="**/*.java"/> |
687 | 722 | </fileset> |
| 723 | <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false"> |
| 724 | <include name="**/*.java"/> |
| 725 | </fileset> |
688 | 726 | </javadoc> |
689 | 727 | </target> |
… |
… |
|
741 | 779 | </target> |
742 | 780 | <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> |
744 | 782 | </target> |
745 | 783 | <target depends="init" if="have.tests" name="test-report"/> |
… |
… |
|
754 | 792 | </target> |
755 | 793 | <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> |
757 | 795 | </target> |
758 | 796 | <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"/> |
-
r15
|
r46
|
|
5 | 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. |
6 | 6 | nbproject/build-impl.xml.data.CRC32=eb6453d4 |
7 | | nbproject/build-impl.xml.script.CRC32=7bef4ff2 |
8 | | nbproject/build-impl.xml.stylesheet.CRC32=174458fc |
| 7 | nbproject/build-impl.xml.script.CRC32=857df3c0 |
| 8 | nbproject/build-impl.xml.stylesheet.CRC32=8ab4467e@1.15.1.1 |
-
r15
|
r46
|
|
3 | 3 | build.dir=build |
4 | 4 | build.generated.dir=${build.dir}/generated |
| 5 | build.generated.sources.dir=${build.dir}/generated-sources |
5 | 6 | build.test.classes.dir=${build.dir}/test/classes |
6 | 7 | build.test.results.dir=${build.dir}/test/results |
-
r44
|
r46
|
|
14 | 14 | font-family: sans-serif; |
15 | 15 | font-size: 12px; |
| 16 | } |
| 17 | |
| 18 | /** České uvozovky: „ */ |
| 19 | q:before { |
| 20 | content: "\201E"; |
| 21 | } |
| 22 | |
| 23 | /** České uvozovky: “ */ |
| 24 | q:after { |
| 25 | content: "\201C"; |
16 | 26 | } |
17 | 27 | |