Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getPyFilePath (0.05 seconds)

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

        }
    
        // Test getPyFilePath method
        @Test
        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());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (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()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top