dev@glassfish.java.net

Re: hours spent trying to debug OSGI failure (maybe a worthwhile read for developers)

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 13 Jun 2008 10:28:11 -0700

Well, that's the problem-if you always remember to clean first, you're
golden. If you forget to clean first, you're lead.

Lloyd

On Jun 13, 2008, at 10:21 AM, Marina Vatkina wrote:

> 'mvn clean' *before* 'svn update' should indeed remove all pre-
> existing target directories. Thanks Sahoo for the idea!
>
> -marina
>
> Lloyd L Chambers wrote:
>> That apparently doesn't work if the directory was moved; I had run
>> 'mvn clean' a dozen times with this issue. That is what "got" me;
>> the target dir with its stale jars was left behind.
>> On Jun 13, 2008, at 5:20 AM, Sahoo wrote:
>>>
>>> Marina Vatkina wrote:
>>>
>>>> I also noticed that old target directories are left behind. 'svn
>>>> status' shows them with the '?'.
>>>
>>> To remove old target directories, run 'mvn clean' at top level
>>> before running 'svn update'.
>>>
>>> Sahoo
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>> ---
>> Lloyd L Chambers
>> lloyd.chambers_at_sun.com
>> Sun Microsystems, Inc
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc