From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Org-babel Java imports Date: Tue, 19 Sep 2017 10:10:10 +0100 Message-ID: <87377jdpfx.fsf@pinto.chemeng.ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duEXo-0001PD-M3 for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 05:10:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duEXl-00063C-IN for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 05:10:16 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:43800) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duEXl-000631-BZ for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 05:10:13 -0400 Received: by mail-wm0-x232.google.com with SMTP id a137so17260653wma.0 for ; Tue, 19 Sep 2017 02:10:13 -0700 (PDT) In-Reply-To: (Tim Jones's message of "Fri, 15 Sep 2017 14:56:13 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Tim Jones Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Friday, 15 Sep 2017 at 14:56, Tim Jones wrote: > Hi > Want to create org docs with embedded java blocks which will generate > testing data > > I have seen > http://ehneilsen.net/notebook/orgExamples/org-examples.html#sec-19 > but have not been able to find an example where there are any import > statements e.g. > import java.time.*; Can you not simply put this line as the first line of the actual source block, i.e. after the #+begin_src? (untested) =2D-=20 : Eric S Fraga via Emacs 26.0.50, Org release_9.0.10-729-gb792e2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWcDe8gAKCRDIkZPY//z2 fYdvAJ9WcwpuTgPtgFrLWmA7fstm9MWBkQCfVz1UNsF2Mp5ava1y9PlyC8J1znY= =Tulb -----END PGP SIGNATURE----- --=-=-=--