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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git


The following commit(s) were added to refs/heads/master by this push:
     new 2184518f Trying to find Windows examples issue
2184518f is described below

commit 2184518f453820052ef5efd8aa94fde7aff99f03
Author: Sebb <s...@apache.org>
AuthorDate: Mon Aug 22 23:59:19 2022 +0100

    Trying to find Windows examples issue
    
    [skip actions]
---
 .github/workflows/maven_adhoc.yml                           | 2 +-
 src/test/java/org/apache/commons/net/examples/MainTest.java | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven_adhoc.yml 
b/.github/workflows/maven_adhoc.yml
index 8bb9bc6a..d4aaa54c 100644
--- a/.github/workflows/maven_adhoc.yml
+++ b/.github/workflows/maven_adhoc.yml
@@ -29,4 +29,4 @@ jobs:
         distribution: 'temurin'
         java-version: 8
     - name: Build with Maven
-      run: mvn -V --batch-mode --file pom.xml --no-transfer-progress 
-dtest=MainTest
+      run: mvn -V --batch-mode --file pom.xml --no-transfer-progress 
-Dtest=MainTest
diff --git a/src/test/java/org/apache/commons/net/examples/MainTest.java 
b/src/test/java/org/apache/commons/net/examples/MainTest.java
index 6dc8de60..321d15f4 100644
--- a/src/test/java/org/apache/commons/net/examples/MainTest.java
+++ b/src/test/java/org/apache/commons/net/examples/MainTest.java
@@ -123,7 +123,8 @@ public class MainTest {
         } else {
             final File examples = new File(sourceFile, 
"org/apache/commons/net/examples"); // must match top level examples package 
name
             if (examples.exists()) {
-                System.out.println(sourceFile);
+                System.out.println("sf="+sourceFile);
+                System.out.println("cp="+new 
File(sourceFile).getCanonicalPath());
                 scanForClasses(sourceFile.length(), examples, p);
             } else {
                 fail("Could not find examples classes: " + 
examples.getCanonicalPath());

Reply via email to