Organizing github repository for java 6 and 7
-
30-06-2021 - |
Pregunta
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.
Solución
Unless you need to have source code for both versions available at the same time, you can just put them in separate branches.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow