简体   繁体   中英

Organizing github repository for java 6 and 7

I am wanting to create a gihub repository that offers benchmarking code that works for concurrent features available only in JDK 1.7 (Fork/Join) as well as for older ones found in JDK 1.6.

Offering both options is important for what I need.

Does anyone have a recommendation how should I structure the repository.

I was planning on having a repo called and under it:

jdk17
   build
   src
     mycode ...
jdk16
   build
   src
     mycode

Please suggest any alternatives, possibly use of Maven or other more practical approaches, if any.

除非您需要同时提供两个版本的源代码,否则可以将它们放在单独的分支中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM