fdb-record-layer icon indicating copy to clipboard operation
fdb-record-layer copied to clipboard

Potential documentation issue

Open hatyo opened this issue 3 years ago • 0 comments

I tried to follow the documentation to build DFB-RL and run some tests on a fresh environment, I noticed that the provided command in step 2 in the documentation: ./gradlew package didn't generate the protobuf files.

I don't have much experience with Gradle, but trying the following command did cause the generation of proto files ./gradlew build -x test.

steps to reproduce:

git clone [email protected]:FoundationDB/fdb-record-layer.git
cd fdb-record-layer
./gradlew package
find . -name "*SampleProto*" | wc -l # 0
./gradlew build -x test
find . -name "*SampleProto*" | wc -l # 20

env:

git log
96a87307eb841dab26faf02e2f885aef6cc93bb3

./gradlew --version
Gradle 6.8.3

javac -version
javac 11.0.12

protoc --version
libprotoc 2.5.0

hatyo avatar Nov 29 '21 16:11 hatyo