See
https://community.jboss.org/wiki/HowToBuildJBossTools41FAQ ... "How
do I clean out artifacts I might have installed to my ~/.m2/repo ?"
What if I've already built something locally, but I want to build
against the server version instead of my local repo?
There are two approaches that work here:
* override temporarily when building, using
-Dtycho.localArtifacts=ignore, or
* delete ~/.m2/repository/.meta/p2-local-metadata.properties
N
On 04/30/2013 12:41 PM, Max Andersen wrote:
On Tue, Apr 30, 2013 at 11:26:49AM -0400, Nick Boldt wrote:
> Rob:
>
> You can also go into your ~/.m2/repository/org/jboss/tools/ folder and
> delete anything you don't want in there anymore, and Tycho will once
> again look to the internet to resolve deps.
You'll need to nuke ~/.m2/repository/p2 in that case too don't you?
or is that only cache for target platform and thus "never" stale ?
/max
> N
>
> On 04/30/2013 10:25 AM, Max Andersen wrote:
>> On Tue, Apr 30, 2013 at 05:50:15PM +0800, Rob Stryker wrote:
>>>
>>> On 04/30/2013 05:05 PM, Max Andersen wrote:
>>>> cd jbosstools-base
>>>> mvn clean install
>>>>
>>>> cd ../jbosstools-central
>>>> mvn verify
>>>>
>>>> tycho should by default use your locally built artifacts before using
>>>> remote ones.
>>>>
>>>
>>> How would I then remove the installed base to make sure it doesn't pull
>>> there from the future? I had an error once where I spent a few hours
>>> trying to figure out why my local build of just AS wasn't pulling in
>>> other changes to common, and the reason was I had an outdated common
>>> 'installed' locally which was overriding the remote.
>>
>>
http://wiki.eclipse.org/Tycho/Target_Platform#Locally_built_artifacts
>>
>> mvn -Dtycho.localArtifacts=ignore clean verify
>>
>> will make it get stuff from targetplatform instead for anything
>> outside you
>> mvn module reactor.
>>
>>
>> /max
>>
>>>
>>>
>>>> /max
>>>
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> jbosstools-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>
>
> --
> Nick Boldt :: JBoss by Red Hat
> Productization Lead :: JBoss Tools & Dev Studio
>
http://nick.divbyzero.com
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com