Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Notice of change to batch "signing service"

Hi,

On 16.04.15 08:32, David M Williams wrote:
> I assume javax.annotation.jreis a bundle you sign? (And, you don't
> re-sign it, right?) We're learning that does not work reliably.
> And you have rebuild/resigned say, today, to make sure al the Java 6
> transitions were back in place.

javax.annotation.jre is a custom bundle no resigning, ... .

http://download.eclipse.org/efxclipse/runtime-nightly/site/plugins/javax.annotation.jre_1.2.0.201504160629.jar

(don't worry that it is empty - that's expected)

> 
> I assume you use Tycho to build with? If not using Tycho, it could be
> several other things, but Tycho does very well. (IMHO).

Yes the build is done with tycho (i attach the relevant definition at
the end)

> 
> Besides your "local maven repo" do you put your "tmp" directory in your
> workspace, so it is cleaned (deleted) also? (Currently, its that tmp
> directory where p2 "leaves stuff" (be default).

Have not set that yet - I'll try that one one as well.

> 
> Given none of those are issues, sound like a case that "it just can not
> be packed". Not ever bundle can be. And easiest to add that eclipse.inf
> to the META-INF directory with
> jarprocessor.exclude.pack=true
> So, it's signed .. just not packed.
> 
> 

It used to work for weeks and now it suddenly broke. The only maybe
interesting fact is that the bundle is empty (has no .class-Files)

Tycho config:

> 	<profile>
>       <id>build-server</id>
>       <build>
>         <plugins>
>           <plugin>
>             <groupId>org.eclipse.tycho</groupId>
>             <artifactId>target-platform-configuration</artifactId>
>             <version>${tycho-version}</version>
>             <configuration>
>               <includePackedArtifacts>false</includePackedArtifacts>
>             </configuration>
>           </plugin>
>           <plugin>
>             <groupId>org.eclipse.tycho.extras</groupId>
>             <artifactId>tycho-pack200a-plugin</artifactId>
>             <version>${tycho-extras.version}</version>
>             <executions>
>               <execution>
>                 <id>pack200-normalize</id>
>                 <goals>
>                   <goal>normalize</goal>
>                 </goals>
>                 <phase>verify</phase>
>               </execution>
>             </executions>
>           </plugin>
>           <plugin>
>             <groupId>org.eclipse.cbi.maven.plugins</groupId>
>             <artifactId>eclipse-jarsigner-plugin</artifactId>
>             <version>${cbi-plugins.version}</version>
>             <executions>
>               <execution>
>                 <id>sign</id>
>                 <goals>
>                   <goal>sign</goal>
>                 </goals>
>                 <phase>verify</phase>
>               </execution>
>             </executions>
>           </plugin>
>           <plugin>
>             <groupId>org.eclipse.tycho.extras</groupId>
>             <artifactId>tycho-pack200b-plugin</artifactId>
>             <version>${tycho-extras.version}</version>
>             <executions>
>               <execution>
>                 <id>pack200-pack</id>
>                 <goals>
>                   <goal>pack</goal>
>                 </goals>
>                 <phase>verify</phase>
>               </execution>
>             </executions>
>           </plugin>
>           <plugin>
>             <groupId>org.eclipse.tycho</groupId>
>             <artifactId>tycho-p2-plugin</artifactId>
>             <version>${tycho-version}</version>
>             <executions>
>               <execution>
>                 <id>p2-metadata</id>
>                 <goals>
>                   <goal>p2-metadata</goal>
>                 </goals>
>                 <phase>verify</phase>
>               </execution>
>             </executions>
>             <configuration>
>               <defaultP2Metadata>false</defaultP2Metadata>
>             </configuration>
>           </plugin>
>         </plugins>
>       </build>
>     </profile>




-- 
Thomas Schindl, CTO
BestSolution.at EDV Systemhaus GmbH
Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
http://www.bestsolution.at/
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck


Back to the top