2012-02-23 30 views
0

私は最近、RCPアプリケーションのビルドをPDE Buildからtycho(0.14.0)に移しました。これまでのところすべてうまく動作しますが、スプラッシュ画面はもう表示されません。 osgi.splashPathプロパティーが正しく設定され、splash.bmpファイルがエクスポートされたバンドル・ルートに存在します(バンドルは、起動時にバンドルされていても問題ありません)。パッケージングは​​eclipse-repositoryです。探すべきことは他にありますか?タイコに切り替えた後もスプラッシュ画面が表示されない

これはの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> 
    <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> 

* 編集です:*美しいスプラッシュ画面が表示さから、私は私たちのCIサーバと結果にプロジェクトを統合 - あなたに感謝ので、サポート、魔法のように固定された問題...

+0

スプラッシュ・スクリーンを使用してビルド持っているあなたは、私たちに日食-リポジトリのあなたのpom.xmlを表示してくださいすることができますか? –

+0

上記の質問 – CodeSeavers

+0

を編集し、私の答えを元に戻しませんでした:) –

答えて

0

私が見る限り、あなたのポンは大丈夫です。 build.propertiesを確認して、splash.bmpがエクスポート済みとしてマークされているかどうか確認できますか?私はティコを使用しています、これが役立つ場合、私は知りませんが、ここで

<?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> 

を働く鉱山pom.xml
...あなたはプラグインがあなたのスプラッシュが含まれていることを述べたが、知っているだけで確認します0.14.0

+0

あなたのpom.xmlをありがとう - 私は構成部分を追加して、製品IDにティーチョを明示しました。これもスプラッシュ画面には影響しません;-) build.propertiesファイルにはbin.includesのsplash.bmpエントリが含まれています。 – CodeSeavers

1
+0

はい。ビルドをタイコに移行する全面的なチュートリアルに感謝します。私が見る限り、 "splash.bmp"ファイルをバンドルに入れ、そのバンドルを製品設定から参照することは何もありません。とにかくosgi.splashPathプロパティが正しく私のconfig.iniで生成され、splash.bmpファイルはエクスポートされたバンドルに存在しています... – CodeSeavers

+0

私のポイントはチュートリアルの例を構築しようとしましたか?動作しているスプラッシュ画面が必要です。次に、動作するチュートリアルとそうでない例との違いは何かを見てください。 – jsievers

+0

はい、うまくいきました。 – CodeSeavers

関連する問題