Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho Filter

Let me guess: the JDT plugins in your product all have a version between 3 and 4? Because this is what you specified.

You probably wanted to use  

	<filter>
		<type>eclipse-plugin</type>
		<id>org.eclipse.jdt.core</id>
     	  	<removeAll />
	</filter>


BTW. this question is a duplicate of http://stackoverflow.com/questions/12372269/eclipse-rcp-built-by-tycho-includes-unwanted-optional-dependencies

Regards
Tobias



> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Igor Zapletnev
> Sent: Freitag, 8. Februar 2013 04:23
> To: Tycho user list
> Subject: [tycho-user] Tycho Filter
> 
> Hi all,
> 
> One of my dependent plug-in (org.eclipse.emf.mwe2.launch) has next
> dependencies:
> 
> Require-Bundle:
> org.eclipse.jdt.launching;bundle-version="3.5.0";resolution:="optional";x-
> installation:="greedy"
> org.eclipse.jdt.core;bundle-version="3.5.0";resolution:="optional";x-
> installation:="greedy"
> org.eclipse.jdt.debug.ui;bundle-version="3.4.1";resolution:="optional";x-
> installation:="greedy"
> 
> And I want exclude this JDT  from my product artifact.
> I am trying to use target platform in my rcp to resolve artifacts
> (with one update site <repository
> location="http://download.eclipse.org/releases/juno/"/>) and looks
> like tycho filters is the best way to hide this plug-ins.
> 
> I have added filters in my target platform conf:
> 
> 				<artifactId>target-platform-
> configuration</artifactId>
> 				<version>${tycho-version}</version>
> 				<configuration>
> 					<resolver>p2</resolver>
> 					<environments>
> 						<environment>
> 							<os>win32</os>
> 							<ws>win32</ws>
> 							<arch>x86</arch>
> 						</environment>
> 					</environments>
> 				     <filters>
> 				         <filter>
> 			                 <type>eclipse-plugin</type>
> 			                 <id>org.eclipse.jdt.core</id>
> 			                 <restrictTo>
> 
> <versionRange>[3.0,4.0]</versionRange>
> 			         	  	</restrictTo>
> 				         </filter>
> 				         <filter>
> 			                 <type>eclipse-plugin</type>
> 			                 <id>org.eclipse.jdt.debug.ui</id>
> 			                 <restrictTo>
> 
> <versionRange>[3.0,4.0]</versionRange>
> 			         	  	</restrictTo>
> 				         </filter>
> 				         <filter>
> 			                 <type>eclipse-plugin</type>
> 			                 <id>org.eclipse.jdt.launching</id>
> 			                 <restrictTo>
> 
> <versionRange>[3.0,4.0]</versionRange>
> 			         	  	</restrictTo>
> 				         </filter>
> 				      </filters>
> 
> But I still able to see JDT plug-ins in my produce.
> 
> 
> Thanks,
> Igor
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top