作業部屋の使い方を試しています。
プロジェクト名変更
| @@ -7,8 +7,8 @@ | ||
| 7 | 7 | <!-- the Compile on Save feature is turned off for the project. --> |
| 8 | 8 | <!-- You can turn off the Compile on Save (or Deploy on Save) setting --> |
| 9 | 9 | <!-- in the project's Project Properties dialog box.--> |
| 10 | -<project name="HtmlTest1" default="default" basedir="."> | |
| 11 | - <description>Builds, tests, and runs the project HtmlTest1.</description> | |
| 10 | +<project name="testHtml1" default="default" basedir="."> | |
| 11 | + <description>Builds, tests, and runs the project testHtml1.</description> | |
| 12 | 12 | <import file="nbproject/build-impl.xml"/> |
| 13 | 13 | <!-- |
| 14 | 14 |
| @@ -58,7 +58,7 @@ | ||
| 58 | 58 | |
| 59 | 59 | An example of overriding the target for project execution could look like this: |
| 60 | 60 | |
| 61 | - <target name="run" depends="HtmlTest1-impl.jar"> | |
| 61 | + <target name="run" depends="testHtml1-impl.jar"> | |
| 62 | 62 | <exec dir="bin" executable="launcher.exe"> |
| 63 | 63 | <arg file="${dist.jar}"/> |
| 64 | 64 | </exec> |
| @@ -19,7 +19,7 @@ | ||
| 19 | 19 | - cleanup |
| 20 | 20 | |
| 21 | 21 | --> |
| 22 | -<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="HtmlTest1-impl"> | |
| 22 | +<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="testHtml1-impl"> | |
| 23 | 23 | <fail message="Please build using Ant 1.8.0 or higher."> |
| 24 | 24 | <condition> |
| 25 | 25 | <not> |
| @@ -443,7 +443,7 @@ | ||
| 443 | 443 | </fileset> |
| 444 | 444 | </union> |
| 445 | 445 | <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/> |
| 446 | - <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="HtmlTest1" testname="TestNG tests" workingDir="${work.dir}"> | |
| 446 | + <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="testHtml1" testname="TestNG tests" workingDir="${work.dir}"> | |
| 447 | 447 | <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/> |
| 448 | 448 | <propertyset> |
| 449 | 449 | <propertyref prefix="test-sys-prop."/> |
| @@ -594,7 +594,7 @@ | ||
| 594 | 594 | <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}"> |
| 595 | 595 | <isset property="test.method"/> |
| 596 | 596 | </condition> |
| 597 | - <condition else="-suitename HtmlTest1 -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}"> | |
| 597 | + <condition else="-suitename testHtml1 -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}"> | |
| 598 | 598 | <matches pattern=".*\.xml" string="@{testClass}"/> |
| 599 | 599 | </condition> |
| 600 | 600 | <delete dir="${build.test.results.dir}" quiet="true"/> |
| @@ -886,7 +886,7 @@ | ||
| 886 | 886 | <delete file="${built-jar.properties}" quiet="true"/> |
| 887 | 887 | </target> |
| 888 | 888 | <target if="already.built.jar.${basedir}" name="-warn-already-built-jar"> |
| 889 | - <echo level="warn" message="Cycle detected: HtmlTest1 was already built"/> | |
| 889 | + <echo level="warn" message="Cycle detected: testHtml1 was already built"/> | |
| 890 | 890 | </target> |
| 891 | 891 | <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps"> |
| 892 | 892 | <mkdir dir="${build.dir}"/> |
| @@ -1379,7 +1379,7 @@ | ||
| 1379 | 1379 | <delete file="${built-clean.properties}" quiet="true"/> |
| 1380 | 1380 | </target> |
| 1381 | 1381 | <target if="already.built.clean.${basedir}" name="-warn-already-built-clean"> |
| 1382 | - <echo level="warn" message="Cycle detected: HtmlTest1 was already built"/> | |
| 1382 | + <echo level="warn" message="Cycle detected: testHtml1 was already built"/> | |
| 1383 | 1383 | </target> |
| 1384 | 1384 | <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps"> |
| 1385 | 1385 | <mkdir dir="${build.dir}"/> |
| @@ -3,7 +3,7 @@ | ||
| 3 | 3 | <type>org.netbeans.modules.java.j2seproject</type> |
| 4 | 4 | <configuration> |
| 5 | 5 | <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> |
| 6 | - <name>HtmlTest1</name> | |
| 6 | + <name>testHtml1</name> | |
| 7 | 7 | <source-roots> |
| 8 | 8 | <root id="src.dir"/> |
| 9 | 9 | </source-roots> |