Thanks Tobias, I don’t show the p2 UI in my app, I just do an update if necessary so am not sure if they show up. I’m going to assume no. If this is not indicative of misconfiguration on my part I’m fine w/it, just wanted to double check. Jon ------------------------------------------- Date: Thu, 31 Jan 2013 08:01:42 +0000 From: "Oberlies, Tobias" <tobias.oberlies@xxxxxxx> To: Tycho user list <tycho-user@xxxxxxxxxxx> Subject: Re: [tycho-user] Local directories in generated p2 repository.prefs Message-ID: <D9B0E18147535141AFBBA24DCD46D8F5070AE82A@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Content-Type: text/plain; charset="us-ascii" Jon, is this repository shown in the p2 UI when you start the installed distribution? If not, I don't think that this is a big deal. Obviously it would be nicer if these entries were not there. You could open a bug for this, but I'm not aware of an easy way to tell p2 to not create this entry. If we need a change in p2 for this, the fix will probably be too much effort
to happen any time soon. Regards Tobias From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Bass, Jonathan Sent: Mittwoch, 30. Januar 2013 22:14 Subject: [tycho-user] Local directories in generated p2 repository.prefs I am building a product using the tycho-p2-director-plugin and noticed that in the built product, my m2 repository and the target directories of my plugin and feature bundles are included in the p2 repository preferences (p2/org.eclipse.equinox.p2.engine/.settings/org.eclpse.equinox.p2.[artifact|metadata].repository.prefs). I just think its weird to see these in the product I'm going to distribute and am wondering if I configured something wrong that is including them and if I can/should disable these from getting generated. I do have an actual repository URL configured in a p2.inf file, which also shows up in the list w/o issue. Example: repositories/file\:_D\:_Users_jbass_.m2_repository/description= repositories/file\:_D\:_Users_jbass_.m2_repository/enabled=true repositories/file\:_D\:_Users_jbass_.m2_repository/isSystem=false repositories/file\:_D\:_Users_jbass_.m2_repository/name=Maven Local Repository repositories/file\:_D\:_Users_jbass_.m2_repository/provider= repositories/file\:_D\:_Users_jbass_.m2_repository/suffix=.meta/p2-artifacts.properties repositories/file\:_D\:_Users_jbass_.m2_repository/type=org.eclipse.tycho.p2.maven.repository.AbstractMavenArtifactRepository repositories/file\:_D\:_Users_jbass_.m2_repository/uri=file\:/D\:/Users/jbass/.m2/repository/ repositories/file\:_D\:_Users_jbass_.m2_repository/version=1.0.0 Thanks! Jon |
↧
Re: [tycho-user] Local directories in generated p2
↧