This is an automated email from the ASF dual-hosted git repository.

mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c1cb18aa Developing General Java Applications tutorial: a)  Added 
text to Project Setup section to note that Ant is used for project build        
                                            b)  Modified text to Creating JUnit 
Tests section to specify that jars should be added to classpath and also needed 
to be added to the Run Tests tab
     new ae4f75d61 Merge pull request #676 from 
stroudcuster/stroudcuster-add-test-libraries
3c1cb18aa is described below

commit 3c1cb18aac758345488447d93a5efcf8f4a862a7
Author: Stroud Custer <[email protected]>
AuthorDate: Sun Aug 27 17:42:36 2023 -0400

    Developing General Java Applications tutorial: a)  Added text to Project 
Setup section to note that Ant is used for project build
                                                       b)  Modified text to 
Creating JUnit Tests section to specify that jars should be added to classpath 
and also needed to be added to the Run Tests tab
---
 netbeans.apache.org/src/content/kb/docs/java/javase-intro.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/java/javase-intro.adoc 
b/netbeans.apache.org/src/content/kb/docs/java/javase-intro.adoc
index ce2ffc7b5..6adb9b008 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/javase-intro.adoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/javase-intro.adoc
@@ -49,7 +49,7 @@ This tutorial takes approximately 30 minutes to complete. If 
you would like to d
 
 == Project Setup
 
-The application you create will contain two projects:
+The application you create will contain two projects that will use Ant to 
handle the build process:
 
 * A Java Class Library project, *MyLib*, in which you will create a utility 
class.
 * A Java Application project, *MyApp*, with a main class that implements a 
method from the library project's utility class.
@@ -274,7 +274,7 @@ In the *Create/Update Tests* dialog box, click *OK* to run 
the command with the
 
 In the *Projects* window you will see that the IDE has created the 
`org.me.mylib` package, the `LibClassTest.java` file in the *MyLib > Test 
Packages*  folder and, created the *MyLib > Test Libraries* folder. Finally the 
file `LibClassTest.java` is opened in the editor.
 
-In the *Projects* window, right-click the *Test Libraries* node and select 
*Properties*.  In the *Project Properties - MyLib* window, select *Categories: 
Libraries*. In the right-hand pane select the *Compile Tests* tab and click the 
` *+* ` button. From the pop-up list select *Add Library*, from the *Global 
Libraries* folder select `JUnit 4.x` and click *Add Library* repeat, this time 
selecting the `Hamcrest 1.x` library.
+In the *Projects* window, right-click the *Test Libraries* node and select 
*Properties*.  In the *Project Properties - MyLib* window, select *Categories: 
Libraries*. In the right-hand pane select the *Compile Tests* tab and click the 
` *+* ` button to the right of the *Classpath* heading. From the pop-up list 
select *Add Library*, from the *Global Libraries* folder select `JUnit 4.x` and 
click *Add Library* repeat, this time selecting the `Hamcrest 1.x` library.  
Select the *Run Tests* t [...]
 
 In `LibClassTest.java`, delete the body of the `public void testAcrostic()` 
method and, in place of the deleted lines, type or paste in the following:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to