was able to run debugger on test in env_test in IntelliJ IDEA
authorThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Wed, 4 Dec 2024 16:01:39 +0000 (16:01 +0000)
committerThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Wed, 4 Dec 2024 16:01:39 +0000 (16:01 +0000)
developer/developer.iml [new file with mode: 0644]
document/Eclipse.txt
document/IntelliJ_IDEA.txt
document/see_also.txt
test_log.txt [new file with mode: 0644]
tester/javac/Test_Graph_0.java
tester/jvm/Test_Ariadne.jar
tester/shell-leaf/TF0 [new file with mode: 0755]
tester/shell/test_log.txt [deleted file]
tester/test_log.txt
tool_shared/bespoke/env

diff --git a/developer/developer.iml b/developer/developer.iml
new file mode 100644 (file)
index 0000000..95d9398
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4">
+  <component name="NewModuleRootManager">
+    <output url="file://$MODULE_DIR$/scratchpad" />
+    <output-test url="file://$MODULE_DIR$/test" />
+    <exclude-output />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/javac" isTestSource="false" />
+    </content>
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
\ No newline at end of file
index bbeb388..167d14e 100644 (file)
@@ -1,18 +1,20 @@
 
-The project is originally configured to be used with emacs as an IDE.  I have
-added an IntelliJ IDEA configuration, so if you want a modern IDE it is probably best
-to go with this.
+The project is originally configured to be used with Emacs as an IDE. The tools
+can all be run from a shell inside of emacs. Even when using an IDE what the
+shell environment scripts and tools do should be understood.
 
-I've not run Eclipse on the project, if you do perhaps you can update the notes here.
-These things will probably increase your odds of making it work:
+I have added a working IntelliJ IDEA configuration, so if you want a modern IDE
+it is probably best to go with this. See ItelliJ_IDEA.txt in this directory.
+
+I've not run Eclipse on the project, if you do, perhaps you can update the notes
+here.  These things will probably increase your odds of making it work:
   1. open a shell
   2. cd to Ariadne, and source the env_developer
   3. run the tool 'distribute_source'
   3. run eclipse from the command line
   4. give eclipse the 'scratchpad' directory as its source
 
-Be sure to run `release` after development, to update what the
-tester sees.
+Be sure to run `release` after development to update what the tester sees.
 
 Do the analogous steps if you contribute as a 'tester'.  I.e. from
 the shell source env_tester instead. Also, you will need to add
index 7218e1d..82b21cc 100644 (file)
@@ -2,6 +2,10 @@
 This file describes the local install and configuration of IntelliJ_IDEA for
 the Ariadne project.
 
+The project was/is originally configured to be used with Emacs as an IDE. The tools
+can all be run from a shell inside of emacs. Even when using an IDE what the
+shell environment scripts and tools do should be understood.
+
 --------------------------------------------------------------------------------
 Some notes
 
@@ -45,8 +49,8 @@ The [OK] button at the bottom of dialogs:
 
    To apply changes hit [Apply].
 
-   Will [OK] apply changes before closing?  Not sure. It does at least
-   sometimes.
+   [OK] will not save what is on the dialog if [Apply] would fail, but
+   it still closes it.
 
 --------------------------------------------------------------------------------
 To install ItelliJ
index 3e953e3..9c57879 100644 (file)
@@ -1,10 +1,6 @@
-See also these important documents at the single point
-of maintenance: Mosaic/developer/document:
+See also these important documents at the resource project, a single point
+of maintenance for documents and scripts shared among the projects:
 
+  https://github.com/Thomas-Walker-Lynch/resource/tree/core_developer_branch/document
 
-  https://git.reasoningtechnology.com/proem/home/?p=Mosaic;a=tree;f=document;h=81c6bc00c1b9ecfe41bd1b896908351ba0f49f85;hb=refs/heads/core_developer_branch
-
-  https://github.com/Thomas-Walker-Lynch/Mosaic/blob/release_v1.0/document
-    bash_name_of_script.txt - about the functions to get the current bash script name
-    directory_naming.html - how to name directories in the project
-    work_flow.txt - definition of roles, directions for making a release
+  https://git.reasoningtechnology.com/?p=resource;a=tree;f=document;h=098de7aa481fa7950bd56a7a7858c616c6be9ea5;hb=refs/heads/core_developer_branch
diff --git a/test_log.txt b/test_log.txt
new file mode 100644 (file)
index 0000000..694dfc7
--- /dev/null
@@ -0,0 +1,24 @@
+
+2024-12-03T11:02:34.830889Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Message:
+Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
+
+2024-12-03T11:02:34.843587Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Stream: stdout
+Output:
+path_find_cycle_0 method called
+
+
+2024-12-03T11:06:06.439552Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Message:
+Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
+
+2024-12-03T11:06:06.451980Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Stream: stdout
+Output:
+path_find_cycle_0 method called
+
index 0f32ce2..cfab110 100644 (file)
@@ -59,23 +59,7 @@ public class Test_Graph_0 {
       Boolean[] conditions = new Boolean[1];
       Mosaic_Util.all_set_false( conditions );
       int i = 0;
-      /*
-      try {
-        Ariadne_Label label = new Ariadne_Label( "nonexistent" );
-        Ariadne_Node node = (Ariadne_Node) GraphDirectedAcyclic_proxy.getClass().getMethod(
-          "lookup"
-         ,Ariadne_Label.class
-        ).invoke( GraphDirectedAcyclic_proxy ,label );
-
-        conditions[i++] = node == null;
-      } catch (Exception e) {
-        Mosaic_Util.log_message("lookup_0", "Test logic error: " + e.getMessage());
-        return false;
-      }
-
-      return Mosaic_Util.all( conditions );
-      */
-      return true;
+        return true;
     }
   }
 
index cdb336f..c787ef3 100644 (file)
Binary files a/tester/jvm/Test_Ariadne.jar and b/tester/jvm/Test_Ariadne.jar differ
diff --git a/tester/shell-leaf/TF0 b/tester/shell-leaf/TF0
new file mode 100755 (executable)
index 0000000..af784e6
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/env bash
+
+echo $ENV
+
+vl echo "CLASSPATH: $CLASSPATH"
+
+set -x
+java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 Test_File_0
+     
+
diff --git a/tester/shell/test_log.txt b/tester/shell/test_log.txt
deleted file mode 100644 (file)
index 58c80bc..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-
-2024-12-02T14:07:27.503122Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Message:
-Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
-
-2024-12-02T14:07:27.518989Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Stream: stdout
-Output:
-path_find_cycle_0 method called
-
-
-2024-12-03T02:55:02.549923Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Message:
-Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
-
-2024-12-03T02:55:02.563364Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Stream: stdout
-Output:
-path_find_cycle_0 method called
-
-
-2024-12-03T02:57:35.562470Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Message:
-Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
-
-2024-12-03T02:57:35.574133Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Stream: stdout
-Output:
-path_find_cycle_0 method called
-
-
-2024-12-03T09:10:19.185333Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Message:
-Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
-
-2024-12-03T09:10:19.199590Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Stream: stdout
-Output:
-path_find_cycle_0 method called
-
-
-2024-12-03T09:10:28.123334Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Message:
-Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
-
-2024-12-03T09:10:28.135289Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Stream: stdout
-Output:
-path_find_cycle_0 method called
-
-
-2024-12-03T09:19:22.696482Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Message:
-Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
-
-2024-12-03T09:19:22.708353Z -----------------------------------------------------------
-Test: path_find_cycle_0
-Stream: stdout
-Output:
-path_find_cycle_0 method called
-
index a300473..ce967e9 100644 (file)
@@ -136,3 +136,63 @@ Stream: stdout
 Output:
 path_find_cycle_0 method called
 
+
+2024-12-03T11:14:06.700856Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Message:
+Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
+
+2024-12-03T11:14:06.713717Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Stream: stdout
+Output:
+path_find_cycle_0 method called
+
+
+2024-12-03T11:15:02.833069Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Message:
+Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
+
+2024-12-03T11:15:02.845364Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Stream: stdout
+Output:
+path_find_cycle_0 method called
+
+
+2024-12-03T11:16:50.971751Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Message:
+Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
+
+2024-12-03T11:16:50.983957Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Stream: stdout
+Output:
+path_find_cycle_0 method called
+
+
+2024-12-03T11:22:09.342877Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Message:
+Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
+
+2024-12-03T11:22:09.354854Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Stream: stdout
+Output:
+path_find_cycle_0 method called
+
+
+2024-12-03T11:27:07.988412Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Message:
+Test logic error: com.sun.proxy.$Proxy0.path_find_cycle(com.ReasoningTechnology.Ariadne.Ariadne_LabelList)
+
+2024-12-03T11:27:08.001723Z -----------------------------------------------------------
+Test: path_find_cycle_0
+Stream: stdout
+Output:
+path_find_cycle_0 method called
+
index 2c99986..3951697 100644 (file)
@@ -29,8 +29,9 @@ fi
 # --------------------------------------------------------------------------------
 # The project administrator sets up the following tools for all roles to use:
 #
-  export JAVA_HOME="$REPO_HOME/tool_shared/third_party/jdk-11"
-  export MOSAIC_HOME="$REPO_HOME/tool_shared/third_party/Mosaic/release"
+#  export JAVA_HOME="$REPO_HOME/tool_shared/third_party/jdk-11"
+ export JAVA_HOME="$REPO_HOME/tool_shared/third_party/jdk-23.0.1"
+ export MOSAIC_HOME="$REPO_HOME/tool_shared/third_party/Mosaic/release"
 
 # --------------------------------------------------------------------------------
 # the following functions are provided for other scripts to use.