Java9 Modules (Jigsaw)

179 views
Skip to first unread message

rob...@gmail.com

unread,
Sep 13, 2016, 8:45:55 AM9/13/16
to bazel-discuss
Just curious if there are any thoughts about Java 9 modules? It seems like they may be used to express similar information to what's present in BUILD files, so I wonder if module-info.java could take the place of BUILD files if present. (That being said, I'm not really sure if it would make sense to use java modules since Bazel has its own, and maybe it's more a replacement for Bazel).

Description of the module system:
http://openjdk.java.net/projects/jigsaw/spec/sotms/

Ulf Adams

unread,
Sep 15, 2016, 9:08:40 AM9/15/16
to Dmitry Lomov, rob...@gmail.com, bazel-discuss, Irina Iancu, Lukács T. Berki
We're not currently planning to use files other than BUILD files to configure Bazel, though it's not completely out of the question that we might do so in the future. For module-info.java, I'd also rather wait to see how it is received.

On Wed, Sep 14, 2016 at 5:14 PM, Dmitry Lomov <dsl...@google.com> wrote:
I do not think anybody has put any thoughts yet into Jigsaw + Bazel, but adding some folks who might have done so.
If you have any concrete ideas/wishes, feel free to share them :)



--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/35331ef8-a350-4198-9d7f-0278a0fd45eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Google Germany GmbH
Erika-Mann-Straße 33, 80636 München, Germany

Austin Schuh

unread,
Sep 15, 2016, 9:53:07 AM9/15/16
to rob...@gmail.com, bazel-discuss
The bazel approach tends to be to write a tool to autogen BUILD files from other formats.  This is the approach that the golang rules take.  So, it would likely make most sense, if the module-info.java file has all the information required, to parse it and update the BUILD file.

Austin

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.

Dmitry Lomov

unread,
Sep 15, 2016, 9:53:10 AM9/15/16
to rob...@gmail.com, bazel-discuss, Irina Iancu, Lukács T. Berki, Ulf Adams
I do not think anybody has put any thoughts yet into Jigsaw + Bazel, but adding some folks who might have done so.
If you have any concrete ideas/wishes, feel free to share them :)
On Tue, Sep 13, 2016 at 2:45 PM, <rob...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.

Anthony Pratti

unread,
Dec 14, 2022, 5:37:35 PM12/14/22
to bazel-discuss
Hi folks,

  I've been trying to get clarity on the state of Bazel support for Java Modules, and it's not clear to me what blockers exist or where, if at all, they fall on the roadmap. 

Best,
Anthony
On Thursday, September 15, 2016 at 9:53:10 AM UTC-4 Dmitry Lomov wrote:
I do not think anybody has put any thoughts yet into Jigsaw + Bazel, but adding some folks who might have done so.
If you have any concrete ideas/wishes, feel free to share them :)
On Tue, Sep 13, 2016 at 2:45 PM, <rob...@gmail.com> wrote:
Just curious if there are any thoughts about Java 9 modules?  It seems like they may be used to express similar information to what's present in BUILD files, so I wonder if module-info.java could take the place of BUILD files if present. (That being said, I'm not really sure if it would make sense to use java modules since Bazel has its own, and maybe it's more a replacement for Bazel).

Description of the module system:
http://openjdk.java.net/projects/jigsaw/spec/sotms/
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages