Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getPyFilePath (0.8 sec)

  1. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        }
    
        // Test getPyFilePath method
        public void test_getPyFilePath() {
            pythonJob.filename("test_script.py");
    
            String expectedPath = "WEB-INF" + File.separator + "env" + File.separator + "python" + File.separator + "resources" + File.separator
                    + "test_script.py";
            assertEquals(expectedPath, pythonJob.getPyFilePath());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/PythonJob.java

            if (StringUtil.isBlank(filename)) {
                throw new JobProcessingException("Python script is not specified.");
            }
    
            cmdList.add(fessConfig.getPythonCommandPath());
    
            cmdList.add(getPyFilePath());
    
            cmdList.addAll(argList);
    
            try {
    
                final File baseDir = new File(servletContext.getRealPath("/WEB-INF")).getParentFile();
    
                if (logger.isInfoEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top