[jbosstools-dev] whats the magic trick to get tycho to use latest available IU ?

Max Rydahl Andersen max.andersen at redhat.com
Fri Feb 8 18:14:50 EST 2013


Thats interesting and a bit surprising...

> Tested this key in relation to https://issues.jboss.org/browse/JBIDE-13411 and it looks like adding to buuld command makes build (w/o running tests) twice faster for me.
> 
> Denis
> 
> On 02/01/2013 07:12 AM, Fred Bricon wrote:
>> From http://wiki.eclipse.org/Tycho/Target_Platform#Locally_built_artifacts
>> 
>> Locally built artifacts
>> Just like in a normal Maven build, a Tycho build can use artifacts that have been built locally and installed (e.g. with mvn clean install) into the local Maven repository. In terms of the target platform, this means that these artifacts are implicitly added to the target platform. This is for example useful if you want to rebuild a part of a Tycho reactor, or if you want to build against a locally built, newer version of an upstream project.
>> 
>> There are the following options to disable this feature:
>> 
>> 	• Setting the CLI option -Dtycho.localArtifacts=ignore excludes locally built artifacts in one build. (tycho.localArtifacts=ignore may also be configured in the settings.xml; in this case, the default behaviour can be temporarily re-enabled with the CLI option -Dtycho.localArtifacts=default. Since Tycho 0.16.0.)
>> 	• Deleting ~/.m2/repository/.meta/p2-local-metadata.properties resets Tycho's list of locally build artifacts, and therefore these artifacts will not be added to target platforms (unless, of course, the artifacts are installed again).
>> 
>> 
>> Le 01/02/2013 16:01, Max Rydahl Andersen a écrit :
>>> Hey,
>>> 
>>> We talked about this 'sideeffect' in tycho where you see things like:
>>> 
>>> [WARNING] The following locally built units have been used to resolve project dependencies:
>>> [WARNING]   org.jboss.tools.common.text.ext/3.4.0.Beta2-v20121028-1355
>>> [WARNING]   org.jboss.tools.usage/1.2.0.Beta2-v20121028-1355
>>> [WARNING]   org.jboss.tools.common.el.ui/3.4.0.Beta2-v20121028-1355
>>> [WARNING]   org.jboss.tools.common.el.core/3.4.0.Beta2-v20121028-1355
>>> 
>>> Even when I got a repository with even newer bits on it.
>>> 
>>> Was there a flag for tycho to make it choose the latest instead or somehow ignore my local built ones ?
>>> 
>>> (even better I would like to just remove all local built stuff without having to guess/list all the names)
>>> 
>>> /max
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> 
>>> jbosstools-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>> 
>> 
>> 
>> _______________________________________________
>> jbosstools-dev mailing list
>> 
>> jbosstools-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
> 




More information about the jbosstools-dev mailing list