Turns out I put the appfuse-data-common exclude in the wrong section of the
pom.xml. There are several "dependencies" nodes and it has to be in
project/dependencies. I put it for a plugin. Duh!

Secondly I removed appfuse-data-common from Project -> Preferences -> Java
Build Path (for eclipse).

Thanks for the "mvn clean" hint, that's useful too.

Anyway, works like a charm now, thanks.

Philip



mraible wrote:
> 
> Make sure you run "mvn clean" and exclude the appfuse-data-common
> module in your source tree. If you're using an IDE, you should
> probably regenerate your project files as well.
> 
> Matt
> 
> On 5/12/07, pcberg <[EMAIL PROTECTED]> wrote:
>>
>> hi,
>>
>> Per http://appfuse.org/display/APF/AppFuse+Core+Classes I customized the
>> User core class to rename the table and some of the fields in order to
>> match
>> the naming standard for the project I'm working on. In general this
>> doesn't
>> seem to be a problem (mvn integration-test succeeds) except now that I'm
>> trying to use UserDao. I get SQL exceptions that it's referring to the
>> original core User names. Odd thing is if I run the same tests (utilizing
>> UserDao) from within eclipse these exceptions don't occur.
>>
>> Hence I suspect that Maven is referring to the original core User class
>> instead of the one that I put into my src tree per the above
>> instructions.
>> Note: Per the instructions I did follow the "Exclude the AppFuse Data
>> Common
>> Package" step (for basic archetype).
>>
>> Any suggestion how to force Maven to refer to the correct class?
>>
>> Thanks!
>> Philip
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Overwriting-User-core-class--tf3733242s2369.html#a10450015
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Overwriting-User-core-class--tf3733242s2369.html#a10457846
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to