Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-p2-extras-plugin FeaturesAndBundlesPublisher - still no visible installable units?

Did you uncheck group items by category ?[1]
So that you can see them from eclipse
Also did you define a category.xml, so that you'll be able to see them categorized in the ide ?[2]
I am not sure I understand what you are trying to do (compared to the basic use of <packaging>eclipse-repository</packaging>)

HTH
Anthony
[1] attached picture
[2] https://github.com/eclipse/tycho/blob/master/tycho-demo/itp04-rcp/eclipse-repository/category.xml










 
Le contenu de ce courriel s'adresse au destinataire seulement. Il contient de l'information pouvant être confidentielle. Vous ne devez ni le copier ni l'utiliser ni le divulguer à qui que ce soit à moins que vous soyez le destinataire ou une personne désignée autorisée. Si vous le receviez par erreur, veuillez nous aviser immédiatement et le détruire.
 
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
 

De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de motes motes
Envoyé : 9 novembre 2011 15:56
À : Tycho user list
Objet : [tycho-user] tycho-p2-extras-plugin FeaturesAndBundlesPublisher - still no visible installable units?

I am using tycho 0.13 and the tycho-p2-extras-plugin to create a p2
site from a bunch of bundles:

			<plugin>
				<groupId>org.eclipse.tycho.extras</groupId>
				<artifactId>tycho-p2-extras-plugin</artifactId>
				<version>0.12.0</version>
				<executions>
					<execution>
						<phase>prepare-package</phase>
						<goals>
							<goal>publish-features-and-bundles</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<compress>false</compress>
				</configuration>
			</plugin>

			<plugin>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<id>copy-bundles-for-publishing</id>
						<phase>process-resources</phase>
						<goals>
							<goal>copy</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>bla</groupId>
									<artifactId>bla</artifactId>
									<version>1.0</version>
								</artifactItem>
                                                                       ...
							</artifactItems>
							<outputDirectory>${project.basedir}/target/source/plugins</outputDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>

The generated p2 repository can be consumed by tycho just fine. But it
cannot be used inside the eclipse IDE -  eg. added to a target
definition - because it has no "visible" installable units. As I
understand the category publisher needs to be executed to take of
this. One solutions is to add it as a directory but it could be nice
to refer to is as a p2 site.

Are there any plans to make bundles in the p2 repo created by the
tycho-p2-extras-plugin visible inside eclipse?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

Attachment: category.png
Description: category.png


Back to the top