Hi, If a developer could directly open the tsfile-cpp folder to work without the bother of maven, I think is fine.
Maybe what we should do is to improve the README.md 1. What is TsFile 2. How to work with different languages (just open the related folder) 3. Code examples of different languages Jialin Qiao Christofer Dutz <[email protected]> 于2024年5月22日周三 14:19写道: > > HI Colin, > > well … actually the repo is set up so you don’t need java. > > You can simply checkout the repo and if you want to work on the C++ part, all > you need to do, is open the “cpp” in the IDE of your choice. > In PLC4X we have the identical setup and if you open the plc4c directory in > CLion or VSCode, you can start working right away without any need for java. > > I also strongly recommend to not split the project up into multiple > repositories as especially when using submodule, releasing can easily become > a nightmare. > > And believe me … we tried all sorts of setups in PLC4X, and this is what we > came out at the end and haven’t had any complaints in the last few years. > > But if you are having any real issues … I think in most cases these should be > documentation issues. > > Chris > > > Von: Colin_Lee <[email protected]> > Datum: Montag, 20. Mai 2024 um 16:21 > An: [email protected] <[email protected]> > Betreff: Re:AW: IDEA cannot recognize Maven projects in tsfile > 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
