You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jduo (via GitHub)" <gi...@apache.org> on 2023/11/28 08:27:03 UTC

[I] [Java] Build Arrow as JPMS modules [arrow]

jduo opened a new issue, #38915:
URL: https://github.com/apache/arrow/issues/38915

   ### Describe the enhancement requested
   
   Allow Arrow to be referenced as JPMS modules when run in Java 9 and higher
   
   ### Component(s)
   
   Java


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Java] Build Arrow as JPMS modules [arrow]

Posted by "jduo (via GitHub)" <gi...@apache.org>.
jduo commented on issue #38915:
URL: https://github.com/apache/arrow/issues/38915#issuecomment-2039471229

   If I remember correctly, after you run the tests once in the IDE they'll appear in a list with results and you can run specific ones repeatedly afterwards.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Java] Build Arrow as JPMS modules [arrow]

Posted by "FiV0 (via GitHub)" <gi...@apache.org>.
FiV0 commented on issue #38915:
URL: https://github.com/apache/arrow/issues/38915#issuecomment-2039378305

   @jduo Could you maybe explain how this new plugin of https://github.com/apache/arrow/issues/39134 is supposed to be used. Since a couple of these changes have gone in, I am unable to test in Intellij. I normally went through the process described at https://arrow.apache.org/docs/developers/java/building.html#intellij, but that doesn't work anymore.
   
   I am currently getting:
   ```
   java: modules are not supported in -source 8
     (use -source 9 or higher to enable modules)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Java] Build Arrow as JPMS modules [arrow]

Posted by "FiV0 (via GitHub)" <gi...@apache.org>.
FiV0 commented on issue #38915:
URL: https://github.com/apache/arrow/issues/38915#issuecomment-2039467517

   Thanks for the quick turnaround @jduo . That seems then to create a rather long feedback cycle (as it tests all of java/vector for example). Do you then create specific tests goals for every test you want to run alone or do you have some other setup which doesn't need a setup for every test? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Java] Build Arrow as JPMS modules [arrow]

Posted by "vibhatha (via GitHub)" <gi...@apache.org>.
vibhatha commented on issue #38915:
URL: https://github.com/apache/arrow/issues/38915#issuecomment-2039470612

   @FiV0 what @jduo mentioned is the most convenient option. There is an alternative I use but when we use that we cannot compile the code using the IDE. By enabling `Do not build before run` and `Do not use --module-path option` in `Modify Options` under Run configs could also allow running test cases. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Java] Build Arrow as JPMS modules [arrow]

Posted by "jduo (via GitHub)" <gi...@apache.org>.
jduo commented on issue #38915:
URL: https://github.com/apache/arrow/issues/38915#issuecomment-2039384744

   > @jduo Could you maybe explain how this new plugin of https://github.com/apache/arrow/issues/39134 is supposed to be used. Since a couple of these changes have gone in, I am unable to test in Intellij. I normally went through the process described at https://arrow.apache.org/docs/developers/java/building.html#intellij, but that doesn't work anymore.
   > 
   > I am currently getting:
   > ```
   > java: modules are not supported in -source 8
   >   (use -source 9 or higher to enable modules)
   > ```
   
   Hi @FiV0 . I've been able to get IntelliJ working by setting it to use maven for build and test rather than using it's built-in build system.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org