This is an issue. In practice, developers of different languages work on completely different file paths, and they rarely have any overlap, yet they share a single repository. In this repository, C/C++ developers might not have a background in Java, nor might they have a Java environment, making it potentially challenging for them to get started. I noticed that some widely used software with multi-language support manage different languages in separate repositories, such asProtocol Buffers (github.com) and grpc (github.com).
Firstly, I want to thank Chris for the adjustments made to the current repository file structure. I think we can work on this by considering the Java repository as our main repository, named tsfile, while the other repositories include the language name, for example, tsfile_cpp, tsfile_c, tsfile_py, etc. To maintain a unified release check, we could design a separate repository for release testing, or maintain a git submodule within the tsfile repository, pulling code from all repositories for comparison and verification before release or in any need.(Currently, the tsfile_cpp is still in a separate repository.) Colin At 2024-05-16 14:52:01, "Christofer Dutz" <[email protected]> wrote: >Well > >As we’re adding more languages (c++ for now but more to come) the setup >requirements for each language will make it more complicated to build. >Even if for Java this is trivially true, if you are able to run Maven. > >In other projects people working on the other languages had complained that >they always need to run the Java build and tests, even if they are working on >C++. > >So I thought putting each language in it’s own “with-{language-code}” profile >makes sense. > >Chris > >Von: Yuan Tian <[email protected]> >Datum: Montag, 13. Mai 2024 um 09:56 >An: [email protected] <[email protected]> >Betreff: IDEA cannot recognize Maven projects in tsfile >Hi all, > >I found that after this pr() merged, IDEA cannot automatically recognize >java implementation in tsfile project. >This is because we add with-java profile for java implementation, so we >need to manually change the configurations in IDEA(more details can be seen >in [1]). That doc is in Chinese, but feishu doc can be translated to any >supported languages automatically(definitely including English). > > > >[1] >https://apache-iotdb.feishu.cn/docx/M4uZdOxbXo9aLYx1hEccOfk6nJh?from=from_copylink > > > >Best regards, >------------------------- >Yuan Tian
