Comments (5)
In order to temporarily fix this I replaced the xtend version with a newer one:
...
<xtend-version>2.15.0</xtend-version>
...
in the capicxx-core-tools/org.genivi.commonapi.releng/pom.xml
file and ran the build again from the org.genivi.commonapi.core.releng folder.
from capicxx-core-tools.
@razvan-ciochina
Thank you! works as well :-) 👍
from capicxx-core-tools.
Same problem here, however, @razvan-ciochina 's fix isn't working for me...
I was able to build after additionally adding <xtext-version>2.15.0</xtext-version>
and implementing this fix.
Also, this issue arises on Ubuntu 18.04_64 as well.
However, I didn't appear to have this issue earlier this month. My assumption is the yocto GDP build I did, or the upgrade of the Boost Libs to 1.73.0 might have had something to do with it.
Potential Patch:
diff --git a/org.genivi.commonapi.releng/pom.xml b/org.genivi.commonapi.releng/pom.xml
index 53e762b..d356af7 100644
--- a/org.genivi.commonapi.releng/pom.xml
+++ b/org.genivi.commonapi.releng/pom.xml
@@ -10,7 +10,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<forceContextQualifier>v${maven.build.timestamp}</forceContextQualifier>
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
- <xtend-version>2.7.3</xtend-version>
+ <xtend-version>2.15.0</xtend-version>
+ <xtext-version>2.15.0</xtext-version>
</properties>
<pluginRepositories>
@@ -85,28 +86,49 @@
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
- <plugin>
- <groupId>org.eclipse.xtend</groupId>
- <artifactId>xtend-maven-plugin</artifactId>
- <version>${xtend-version}</version>
- <dependencies>
- <dependency>
- <groupId>org.eclipse.platform</groupId>
- <artifactId>org.eclipse.equinox.common</artifactId>
- <version>3.10.0</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <goals>
- <goal>compile</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/xtend-gen</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
+<plugin>
+ <groupId>org.eclipse.xtend</groupId>
+ <artifactId>xtend-maven-plugin</artifactId>
+ <version>${xtext-version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>compile</goal>
+ <goal>xtend-install-debug-info</goal>
+ <goal>testCompile</goal>
+ <goal>xtend-test-install-debug-info</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <outputDirectory>${basedir}/xtend-gen</outputDirectory>
+ <testOutputDirectory>${basedir}/xtend-gen</testOutputDirectory>
+ </configuration>
+ <!-- Workaround for https://github.com/eclipse/xtext/issues/1231 -->
+ <!-- Remove with upgrade to Xtext 2.15 -->
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>org.eclipse.jdt.core</artifactId>
+ <version>3.13.102</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>org.eclipse.jdt.compiler.apt</artifactId>
+ <version>1.3.110</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>org.eclipse.jdt.compiler.tool</artifactId>
+ <version>1.2.101</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>org.eclipse.emf.codegen</artifactId>
+ <version>2.11.0</version>
+ </dependency>
+ </dependencies>
+</plugin>
</plugins>
</build>
</project>
from capicxx-core-tools.
Hello,
I have been having the same problem on Ubuntu 20.04 (64 bit System) with Eclipse version 4.16. I changed the Xtend version to 2.22.0 and then Tycho version to 1.7.0, but I got the following error:
Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:1.5.0:materialize-products (materialize-products) on project org.genivi.commonapi.core.cli.product: Installation of product org.genivi.commonapi.core.cli.product for environment win32/win32/x86 failed: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, file:/root/capicxx-core-tools/org.genivi.commonapi.core.cli.product/target/,file:/root/capicxx-core-tools/org.genivi.commonapi.core.cli.product/target/targetPlatformRepository/, -artifactRepository, file:/root/capicxx-core-tools/org.genivi.commonapi.core.cli.product/target/,file:/resolution-context-artifacts@%252Froot%252Fcapicxx-core-tools%252Forg.genivi.commonapi.core.cli.product,file:/root/capicxx-core-tools/org.genivi.commonapi.console/target/,file:/root/capicxx-core-tools/org.genivi.commonapi.console.feature/target/,file:/root/capicxx-core-tools/org.genivi.commonapi.console.franca.feature/target/,file:/root/capicxx-core-tools/org.genivi.commonapi.core/target/,file:/root/capicxx-core-tools/org.genivi.commonapi.core.cli/target/,file:/root/capicxx-core-tools/org.genivi.commonapi.core.cli.feature/target/,file:/root/capicxx-core-tools/org.genivi.commonapi.core.cli.product/target/,file:/root/.m2/repository/, -installIU, org.genivi.commonapi.core.cli.product, -destination, /root/capicxx-core-tools/org.genivi.commonapi.core.cli.product/target/products/org.genivi.commonapi.core.cli.product/win32/win32/x86, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, win32, -p2.ws, win32, -p2.arch, x86]. -> [Help 1]
Could this error be related to 64 bit systems of eclipse and Ubuntu? Are these generators available only for 32 bit versions of Ubuntu and Eclipse ?
Also, I tried installing CommonApI generators through the given update sites in the user guide. However, the .fidl file was not transformed to C++ code? Please let me know what could have gone wrong!
from capicxx-core-tools.
Ubuntu 20.04 / x64 is fine. The xtend version was updated for v3.2.0
from capicxx-core-tools.
Related Issues (20)
- can build capicxx-core-tools successfully but can not run it successfully HOT 2
- mvn -Dtarget.id=org.genivi.commonapi.core.target clean verify HOT 1
- Unknown OSGi execution environment: 'JavaSE-11 HOT 4
- update c++ deployment to support constants/references HOT 1
- stubeventhelper (someip): serialization failed HOT 3
- Build fails under macOS HOT 4
- Does Common API implement tagging as extensible communication if yes where can i find an example HOT 1
- Linking Dependency Build Error HOT 1
- does the generator support aarch64 linux? HOT 3
- how to unregister proxy, service in c++? HOT 1
- How to configure Eclipse IDE? HOT 1
- log4j:WARN No appenders could be found for logger (org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser). HOT 1
- The latest i.e 3.2.0.1 and 3.2.14 core tools is not generating the "StubDefault.cpp". Creating only "StubDefault.hpp" HOT 2
- Generator binary files are missing in release capicxx-core-tools 3.2.14 HOT 2
- The latest i.e 3.2.0.1 and 3.2.14 core tools is not generating the "StubDefault.cpp". Creating only "StubDefault.hpp" file HOT 1
- Is it possible to have "reliable/TCP" attribute Changed Event Notifiers?
- Unable to Establish Connection Between Common API SOME/IP Server and Client using TCP
- Example E03Methods - suspicious error enumeration HOT 1
- Enums generate code with uint8_t type even if enumerated values are greater than 255
- CommonAPI::Struct issue when using uint8_t datatype HOT 1
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 capicxx-core-tools.