Closed kenjiWuJian closed 1 year ago
Hi @kenjiWuJian,
I'm afraid the ZIP files in the release are put there by GitHub and are not the proper way to install Fast DDS Gen. The following commands are the proper way to achieve what you want:
git clone -b v2.5.1 https://github.com/eProsima/Fast-DDS-Gen.git
cd Fast-DDS-Gen/
./gradlew assemble
./scripts/fastddsgen -version
This for me outputs:
openjdk version "17.0.8" 2023-07-18
OpenJDK Runtime Environment (build 17.0.8+7-Ubuntu-122.04)
OpenJDK 64-Bit Server VM (build 17.0.8+7-Ubuntu-122.04, mixed mode, sharing)
fastddsgen version 2.5.1
I'm closing this issue for now. Please feel free to reopen should the above not work for you.
Steps to reproduce:
The result is : sgen -version openjdk version "11.0.20" 2023-07-18 OpenJDK Runtime Environment (build 11.0.20+8-post-Ubuntu-1ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.20+8-post-Ubuntu-1ubuntu120.04, mixed mode, sharing) fastddsgen version 2.3.0
Why v2.5.1 shows version 2.3.0? Is it only a wrong message? How to get the correct latest version?