dev@glassfish.java.net

Re: Maven Expert?

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Wed, 23 Apr 2008 10:48:38 -0700

I did the svn copy and then did a normal OS delete of the original
file. Then I ran maven w/o running svn again.
So the java file was not on disk -- but the class file keeps getting
pulled in from somewhere.
It just seems too mysterious...


Craig L Russell wrote:

> Hi Byron,
>
> I thought I saw the answer to your previous post on the subject.
>
> If you want to move x from package a to package a/b, instead of svn
> copy, use svn move.
>
> Now that you've copied it, though, you need to svn rm a/x.java.
>
> Craig
>
> On Apr 21, 2008, at 12:55 PM, Byron Nevins wrote:
>
>> I don't get it. Let's say I have a class, a.x
>> I did a 'svn copy x.java b/x.java'
>>
>> It worked. Now there is an "x.java" in /a/b, but not in /a
>>
>> I rebuild the module.
>> Inside the brand new module jar are both: a.x and a.b.x
>> !!!
>>
>> So now I delete the module from the maven repository.
>> I delete the target directory
>> I run mvn -o
>>
>> Inside the jar is, again, a.x and a.b.x
>>
>> How can I make a.x go away?!?
>> Where is it getting a.x from?!?
>>
>> --
>> Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123
>> - 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
>>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell_at_sun.com
> P.S. A good JDO? O, Gasp!
>

-- 
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.