Comments (11)
@raquelalvarezbanos @LuisGP any recommendation here? Maybe some source code error?
from fast-dds-gen.
It looks like https://github.com/eProsima/Fast-RTPS-Gen/blob/master/build.gradle#L44 is not creating a version
file on build. At least looking at build/resources/main/
I can only find the com
directory.
from fast-dds-gen.
Also, I think I understand as well why is this not setting the version correctly: https://github.com/eProsima/Fast-RTPS/blob/1.7.x/cmake/dev/java_support.cmake#L32. We are not even passing the version of Fast-RTPS here. Should this be automated according to the release of Fast-RTPS installed on ones system, or should this be set automatically according to your release schedule? I don't think it makes sense one having to set -Pcustomversion=
everytime it wants to setup the package version.
Right now I find three different issues:
assemble
doesn't create aversion
file under `resources/main/;-Pcustomversion=
is not setup, which defaults the version property to0.0.0
;- unrelated:
gradle build
gets stuck on 85% forever:
<===========--> 85% EXECUTING [10m 03s]
> :test > 0 tests completed
> :test > Executing test test.com.eprosima.fastrtps.FastRTPSGenTest
from fast-dds-gen.
Note: using gradle assemble -Pcustomversion=x.x.x
creates the version file correctly. But again, we should have a way of automate this according to the release (considering you want to keep the Fast-RTPS-Gen release synced with the Fast-RTPS release).
from fast-dds-gen.
OK, never mind the past two comments regarding the file creation. Seems like it still works but sets it to 0.0.0 if the parameter is not passed on build. Still, we have the issue on the version setup.
from fast-dds-gen.
Hi @TSC21
Thank you for reporting this issue with versioning. We added a version_str
in the build.gradle
file to keep track of the current version.
As fastrtpsgen is no longer part of Fast-RTPS, the versioning is going to be reset to 1.0.0
to be congruent with the GitHub's versioning.
I'm creating a PR solving both issues.
from fast-dds-gen.
#5 Should fix all issues reported here. @TSC21 could you test it?
from fast-dds-gen.
@LuisGP gradle build
gets stuck, but now on 88%.
from fast-dds-gen.
fastrtpsgen -version
does work as it should now:
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)
fastrtpsgen version 1.0.0
from fast-dds-gen.
@LuisGP
gradle build
gets stuck, but now on 88%.
Please, take into account that it downloads and compiles Fast-RTPS and performs testing against a bunch of processed IDL files.
I just tested again and it took 9 minutes and 12 seconds in a i7-8750H processor.
You can speed up the compilation step adding -jX in line 48 of the file FastRTPSGenTest.java, being X the number of cores of your processor (typically 8 or 12).
commands.add(new String[]{"make -j12 install, OUTPUT_PATH + "/Fast-RTPS/build"});
from fast-dds-gen.
I'm closing this issue since #5 and #6 should solve (and improve) it.
Feel free to reopen it if you have any related questions or issues.
from fast-dds-gen.
Related Issues (20)
- How to define enumeration with int value in IDL? HOT 1
- fastddsgen template asks for headers which doesn't exist or which are misplaced in the install process HOT 1
- fastddsgen -d [19844] HOT 2
- undefined reference to `performance_test::msg::FastDDSGen::PointCloud4m::PointCloud4m() HOT 2
- Generated xxxCdrAux.hpp has data type casting issue for large recursive data structure
- fastddsgen.bat .\HelloWorld.idl Error HOT 1
- Cannot generate python bindings for map data type
- allow modern enum class/scoped enums with type specifier and assigning values HOT 1
- fastddsgen generates invalid #ifndef header fence on IDL filename with "-"
- comparing floating point types in generator equality operator
- Include error with CMake example - <fastcdr/cdr/fixed_size_string.hpp> HOT 3
- FastDDSGen detects IDL file changes HOT 1
- Failures with multiple consecutive directory separators
- On Windows, using a GCC preprocessor does not work
- [XTypes/PL_CDR2] Member header issue for sequences with an inner type of 2 bytes length (short, unsigned short)
- Can I convert UMAA IDL files to code using Fast-DDS-Gen?(Windows or Linux) HOT 1
- Why don't 1-byte data types call cdr_alignment for byte alignment? HOT 2
- Question: Is there support for #ifdef and #else directives in FastDDSGen HOT 3
- Cannot generate java binding code HOT 2
- fast-dds-gen-3.3.0 with idl-parser 3.0.0 : idl parse error observed when idl contains a struct which references an array typedef [21343] HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-dds-gen.