ok for others below part works to change the user classes i added a field just fine.

the only problem i have is turning fields to not mandatory. fields like address is not useful for us.

-----------------change user object-------------------------------------------------------------- i needed to import all model classes (addres, baseObject, labelValue, role, user) and the constants class
i got these classe by using this:

svn export --force 
https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M5/data/common/src 
--username guest

and added this to my pom file:

<dependency> <groupId>org.appfuse</groupId> <artifactId>appfuse-${web.framework}</artifactId> <version>${appfuse.version}</version> <type>warpath</type> <exclusions> <exclusion> <groupId>org.appfuse</groupId> <artifactId>appfuse-data-common</artifactId> </exclusion> </exclusions> </dependency>


tibi wrote:
thanks,

as i understand it i can only exclude the full jar/war and not only one or two classes.

this is what i think i need:
<dependency> <groupId>org.appfuse</groupId> <artifactId>appfuse-${web.framework}</artifactId> <version>${appfuse.version}</version> <type>warpath</type> <exclusions> <exclusion> <groupId>org.appfuse</groupId> <artifactId>appfuse-data-common</artifactId> </exclusion> </exclusions> </dependency>


thanks,

tibi

tibi wrote:
thanks
i did a clean so i think i need to do the excluding
is there an example or howto?

again thanks,

tibi

Matt Raible wrote:
I'd make sure you run "mvn clean" so the old User object is not
getting picked up from your classpath. If that doesn't work, it's
likely you need to do some exclusions on appfuse-hibernate or
appfuse-service for appfuse-data-common.

Matt

On 7/20/07, tibi <[EMAIL PROTECTED]> wrote:
hi list,

i want to make some minor changes to the user object.
(add one field 'department' and make some fields not mandatory)

i added the user source in my project.
i added the  department field with getters and setters but it is not
added to the database.
i have a feeling my changed user is not used and the default user is used.

when i do the same with the userAction (i added some logging) my
userAction is used (i see my logging ;) )

thanks,

tibi

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





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



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



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

Reply via email to