Eclipse rcp 切换到第谷后不再出现闪屏
我最近将RCP应用程序的构建从PDE构建转移到了tycho(0.14.0)。到目前为止,一切正常,但启动屏幕不再显示。osgi.splashPath属性设置正确,splash.bmp文件存在于导出的捆绑根目录中(如果有必要,捆绑甚至在启动时处于活动状态)。打包是eclipse存储库的一部分。还有什么要找的吗 这是pom.xml文件Eclipse rcp 切换到第谷后不再出现闪屏,eclipse-rcp,tycho,Eclipse Rcp,Tycho,我最近将RCP应用程序的构建从PDE构建转移到了tycho(0.14.0)。到目前为止,一切正常,但启动屏幕不再显示。osgi.splashPath属性设置正确,splash.bmp文件存在于导出的捆绑根目录中(如果有必要,捆绑甚至在启动时处于活动状态)。打包是eclipse存储库的一部分。还有什么要找的吗 这是pom.xml文件 <?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http:/
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>com.my.client.parent</artifactId>
<groupId>com.my</groupId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../com.my.client.parent/pom.xml</relativePath>
</parent>
<artifactId>com.my.client.product</artifactId>
<packaging>eclipse-repository</packaging>
<version>2.0.0-SNAPSHOT</version>
<properties>
<product-id>com.my</product-id>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<includeAllDependencies>true</includeAllDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
4.0.0
com.my.client.parent
com.my
2.0.0-SNAPSHOT
../com.my.client.parent/pom.xml
com.my.client.product
eclipse存储库
2.0.0-SNAPSHOT
com.my
org.eclipse.tycho
tycho-p2-repository-plugin
${tycho版本}
真的
org.eclipse.tycho
tycho-p2-director-plugin
${tycho版本}
物化产品
物化产品
档案产品
档案产品
*编辑:*我在我们的CI服务器上集成了这些项目,结果显示了漂亮的启动屏幕-因此感谢您的支持,问题神奇地解决了…据我所知,您的pom还可以。能否检查build.properties以查看
splash.bmp
是否标记为导出?我知道您说过插件包含您的飞溅,但只是为了确认…我不知道这是否会有帮助,但我的
pom.xml
很管用
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>br.com.germantech.parent</groupId>
<artifactId>ws</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../br.com.germantech.parent/pom.xml</relativePath>
</parent>
<groupId>br.com.germantech</groupId>
<artifactId>br.com.germantech</artifactId>
<version>1.8.13</version>
<packaging>eclipse-repository</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<includeAllDependencies>true</includeAllDependencies>
<createArtifactRepository>true</createArtifactRepository>
<compress>true</compress>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>archive-repository</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
<configuration>
<profile>Installer</profile>
</configuration>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
<configuration>
<products>
<product>
<id>br.com.germantech.ecfNfe</id>
<rootFolder>germantechEcfNfe</rootFolder>
<attachId>${project.version}</attachId>
</product>
</products>
<formats>
<win32>zip</win32>
<linux>tar.gz</linux>
<macosx>tar.gz</macosx>
</formats>
</configuration>
</plugin>
</plugins>
</build>
</project>
4.0.0
br.com.germantech.parent
ws
0.0.1-快照
../br.com.germantech.parent/pom.xml
杰曼蒂奇
杰曼蒂奇
1.8.13
eclipse存储库
org.eclipse.tycho
tycho-p2-repository-plugin
${tycho版本}
真的
真的
真的
包裹
档案库
org.eclipse.tycho
tycho-p2-director-plugin
${tycho版本}
物化产品
物化产品
安装工
档案产品
档案产品
br.com.germantech.ecfNfe
germantechEcfNfe
${project.version}
拉链
tar.gz
tar.gz
我正在使用tycho 0.14.0tycho教程有一个带有闪屏的演示版本
您能给我们看一下eclipse存储库的pom.xml吗?当然,编辑了上面的问题,编辑并取消删除了我的答案:)您是否检查过品牌插件是否包含在生成产品的“插件”文件夹中?因此。。。我们从这个问题中学到了什么?是的。感谢伟大的教程,它引导我完成了将构建迁移到第谷的整个过程。就我所见,除了将一个“splash.bmp”文件放入捆绑包中并从产品配置中引用捆绑包之外,没有其他事情可做。无论如何,osgi.splashPath属性在我的config.ini中正确生成,splash.bmp文件存在于导出的捆绑包中……我的问题是,您是否尝试构建教程示例?它应该有一个工作的启动屏幕。然后看看教程有效与示例无效之间有什么区别。感谢您的pom.xml-我添加了配置部分以显式地将tycho指向产品id,这对初始屏幕也没有影响;-)build.properties文件包含bin.includes中的splash.bmp条目。