mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-30 11:27:52 +00:00
93087e0b3a
* lisp/ob-java.el(org-babel-default-header-args:java): Add :dir default. (org-babel-execute:java): Check for existence of :dir in params using alist-get instead of assq because we want a nil cdr to be false. * testing/lisp/test-ob-java.el (ob-java/simple, ob-java/simple-with-bracket) (ob-java/simple-with-quote, ob-java/simple-return-int) (ob-java/simple-return-float, ob-java/simple-return-string) (ob-java/simple-with-main, ob-java/simple-with-two-methods) (ob-java/simple-with-no-main, ob-java/simple-with-main-args-array) (ob-java/simple-with-main-whitespace, ob-java/simple-with-class) (ob-java/simple-with-non-public-class) (ob-java/simple-with-class-and-package) (ob-java/simple-with-class-attr) (ob-java/simple-with-class-attr-with-package, ob-java/one-arg) (ob-java/args-quoted-string, ob-java/integer-var) (ob-java/var-with-main, ob-java/var-with-class) (ob-java/var-with-class-and-package) (ob-java/var-with-class-and-hanging-curlies, ob-java/two-vars) (ob-java/string-var, ob-java/multiline-string-var) (ob-java/return-vector-using-list, ob-java/return-vector-using-array) (ob-java/read-return-list, ob-java/read-list-return-array) (ob-java/read-return-list-with-package) (ob-java/output-list-with-spaces, ob-java/list-var, ob-java/vector-var) (ob-java/matrix-var, ob-java/matrix-var-with-header) (ob-java/output-table-with-header, ob-java/inhomogeneous_table) (ob-java/import_library, ob-java/import_library_inline) (ob-java/tangle): Set :dir to nil to prevent tests from writing files outside of temporary directory. (ob-java/tangle-with-package, ob-java/simple-dir): (ob-java/simple-dir-with-package): Move :dir param to be consistent with other tests. Most languages write tempfiles to babel's temporary directory, but ob-java originally had to write them to the current directory instead. I suspect this is because java puts the source file in package directories, and babel doesn't expect subdirectories in the babel temporary directory. This change brings back the original behavior. Reported-by: Jarmo Hurri <jarmo.hurri@iki.fi> Ref: https://orgmode.org/list/87mtzk9n30.fsf@iki.fi |
||
---|---|---|
.. | ||
test-ob-awk.el | ||
test-ob-C.el | ||
test-ob-clojure.el | ||
test-ob-emacs-lisp.el | ||
test-ob-eshell.el | ||
test-ob-exp.el | ||
test-ob-fortran.el | ||
test-ob-header-arg-defaults.el | ||
test-ob-java.el | ||
test-ob-lilypond.el | ||
test-ob-lob.el | ||
test-ob-lua.el | ||
test-ob-maxima.el | ||
test-ob-octave.el | ||
test-ob-perl.el | ||
test-ob-plantuml.el | ||
test-ob-python.el | ||
test-ob-R.el | ||
test-ob-ruby.el | ||
test-ob-scheme.el | ||
test-ob-sed.el | ||
test-ob-shell.el | ||
test-ob-sqlite.el | ||
test-ob-table.el | ||
test-ob-tangle.el | ||
test-ob-vala.el | ||
test-ob.el | ||
test-ol-bbdb.el | ||
test-ol.el | ||
test-org-agenda.el | ||
test-org-archive.el | ||
test-org-attach-git.el | ||
test-org-attach.el | ||
test-org-capture.el | ||
test-org-clock.el | ||
test-org-colview.el | ||
test-org-datetree.el | ||
test-org-duration.el | ||
test-org-element.el | ||
test-org-feed.el | ||
test-org-footnote.el | ||
test-org-info.el | ||
test-org-inlinetask.el | ||
test-org-lint.el | ||
test-org-list.el | ||
test-org-macro.el | ||
test-org-macs.el | ||
test-org-num.el | ||
test-org-pcomplete.el | ||
test-org-protocol.el | ||
test-org-src.el | ||
test-org-table.el | ||
test-org-tempo.el | ||
test-org-timer.el | ||
test-org.el | ||
test-ox-publish.el | ||
test-ox.el | ||
test-property-inheritance.el |