Show
Ignore:
Timestamp:
11/09/20 19:00:45 (3 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Tags:
tip
Message:

nové netbeans

Files:
1 modified

Legend:

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

    r82 r87  
    106106            <istrue value="${display.browser}"/> 
    107107        </condition> 
    108         <condition property="do.display.browser.debug"> 
     108        <condition property="do.display.browser.debug.old"> 
    109109            <and> 
    110110                <isset property="do.display.browser"/> 
     
    112112                    <isset property="do.debug.client"/> 
    113113                </not> 
     114                <not> 
     115                    <isset property="browser.context"/> 
     116                </not> 
     117            </and> 
     118        </condition> 
     119        <condition property="do.display.browser.debug"> 
     120            <and> 
     121                <isset property="do.display.browser"/> 
     122                <not> 
     123                    <isset property="do.debug.client"/> 
     124                </not> 
     125                <isset property="browser.context"/> 
    114126            </and> 
    115127        </condition> 
     
    459471                </union> 
    460472                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/> 
    461                 <testng classfilesetref="test.set" failureProperty="tests.failed" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="sql-vyuka" testname="TestNG tests" workingDir="${basedir}"> 
     473                <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}"> 
    462474                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/> 
    463475                    <propertyset> 
     
    968980        <mkdir dir="${dist.jar.dir}"/> 
    969981        <jar compress="${jar.compress}" jarfile="${dist.war}"> 
    970             <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*"/> 
     982            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/> 
    971983        </jar> 
    972984    </target> 
     
    975987        <mkdir dir="${dist.jar.dir}"/> 
    976988        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF"> 
    977             <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*"/> 
     989            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/> 
    978990        </jar> 
    979991    </target> 
     
    982994        <mkdir dir="${dist.jar.dir}"/> 
    983995        <jar compress="${jar.compress}" jarfile="${dist.war}"> 
    984             <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*"/> 
     996            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/> 
    985997        </jar> 
    986998    </target> 
     
    9891001        <mkdir dir="${dist.jar.dir}"/> 
    9901002        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF"> 
    991             <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*"/> 
     1003            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/> 
    9921004        </jar> 
    9931005    </target> 
     
    10081020        <mkdir dir="${dist.jar.dir}"/> 
    10091021        <jar compress="${jar.compress}" jarfile="${dist.ear.war}" manifest="${build.web.dir}/META-INF/MANIFEST.MF"> 
    1010             <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*"/> 
     1022            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/> 
    10111023        </jar> 
    10121024    </target> 
     
    10571069        <nbverify file="${dist.war}"/> 
    10581070    </target> 
    1059     <target depends="run-deploy,-init-display-browser,-display-browser-nb,-display-browser-cl" name="run-display-browser"/> 
     1071    <target depends="run-deploy,-init-display-browser,-display-browser-nb-old,-display-browser-nb,-display-browser-cl" name="run-display-browser"/> 
    10601072    <target if="do.display.browser" name="-init-display-browser"> 
     1073        <condition property="do.display.browser.nb.old"> 
     1074            <and> 
     1075                <isset property="netbeans.home"/> 
     1076                <not> 
     1077                    <isset property="browser.context"/> 
     1078                </not> 
     1079            </and> 
     1080        </condition> 
    10611081        <condition property="do.display.browser.nb"> 
    1062             <isset property="netbeans.home"/> 
     1082            <and> 
     1083                <isset property="netbeans.home"/> 
     1084                <isset property="browser.context"/> 
     1085            </and> 
    10631086        </condition> 
    10641087        <condition property="do.display.browser.cl"> 
     
    10661089        </condition> 
    10671090    </target> 
     1091    <target if="do.display.browser.nb.old" name="-display-browser-nb-old"> 
     1092        <nbbrowse url="${client.url}"/> 
     1093    </target> 
    10681094    <target if="do.display.browser.nb" name="-display-browser-nb"> 
    1069         <nbbrowse url="${client.url}"/> 
     1095        <nbbrowse context="${browser.context}" url="${client.url}" urlPath="${client.urlPart}"/> 
    10701096    </target> 
    10711097    <target if="do.display.browser.cl" name="-get-browser" unless="browser"> 
     
    11361162        <antcall target="connect-debugger"/> 
    11371163        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/> 
     1164        <antcall target="debug-display-browser-old"/> 
    11381165        <antcall target="debug-display-browser"/> 
    11391166        <antcall target="connect-client-debugger"/> 
     
    11521179        </nbjpdaconnect> 
    11531180    </target> 
     1181    <target if="do.display.browser.debug.old" name="debug-display-browser-old"> 
     1182        <nbbrowse url="${client.url}"/> 
     1183    </target> 
    11541184    <target if="do.display.browser.debug" name="debug-display-browser"> 
    1155         <nbbrowse url="${client.url}"/> 
     1185        <nbbrowse context="${browser.context}" url="${client.url}" urlPath="${client.urlPart}"/> 
    11561186    </target> 
    11571187    <target if="do.debug.client" name="connect-client-debugger"> 
     
    12491279        <nbstartserver profilemode="true"/> 
    12501280        <nbdeploy clientUrlPart="${client.urlPart}" forceRedeploy="true" profilemode="true"/> 
     1281        <antcall target="debug-display-browser-old"/> 
    12511282        <antcall target="debug-display-browser"/> 
    12521283        <antcall target="-profile-start-loadgen"/> 
     
    13391370    </target> 
    13401371    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run"> 
    1341         <webproject2:test testincludes="**/*Test.java"/> 
     1372        <webproject2:test includes="${includes}" testincludes="**/*Test.java"/> 
    13421373    </target> 
    13431374    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">