Re: [appfuse-user] about appfuse:gen

2007-07-12 Thread chino fish
I tried to config many2one in the entity. I found appfuse:gen just ignore it ;-) isn't it ? -邮件原件- 发件人: chinofish [mailto:[EMAIL PROTECTED] 发送时间: 2007年7月11日 1:02 收件人: users@appfuse.dev.java.net 主题: Re: Re: [appfuse-user] about appfuse:gen in my sample-data.xml 1

答复: [appfuse-user] Appfuse with Sysdeo

2007-07-09 Thread chino fish
I don't use tomcat project but a common java project I just configure a context file for my app server. -邮件原件- 发件人: Emam Hossain [mailto:[EMAIL PROTECTED] 发送时间: 2007年7月10日 13:23 收件人: users@appfuse.dev.java.net 主题: Re: [appfuse-user] Appfuse with Sysdeo i could not run it , thats my prob

[appfuse-user] new version of "Seven simple reasons to use AppFuse" ?

2007-07-06 Thread chino fish
I saw Seven simple reasons to use AppFuse at http://www.ibm.com/developerworks/java/library/j-appfuse/index.html?S_TACT=1 05AGX52 &S_CMP=cn-a-j but the article is mainly based on appfuse1.x,

[appfuse-user] how to config more than one hibernate.cfg.xml ?

2007-07-01 Thread chino fish
May I user more than one hibernate.cfg.xml in my project ? just like more than one spring config files . coz I need to generate my entity, I also wish to generate the hibernate.cfg.xml, and config the generated filename into applicationContext-dao.xml, like this: However, when

答复: [appfuse-user] Re: 答复: [appfuse- user] an test error when execute "mvn packag e -Poracle"

2007-05-22 Thread chino fish
could try changing the default data (in sample-data.xml) to use negative keys - i.e. -1 and -2 instead of 1 and 2. Matt On 5/22/07, chino fish <[EMAIL PROTECTED]> wrote: > What we can do ? waiting for oracle to do something ? > > Maybe we can try uuid to be the primary key ! > &g

答复: [appfuse-user] an test error when execute "mvn package -Poracle"

2007-05-22 Thread chino fish
What we can do ? waiting for oracle to do something ? Maybe we can try uuid to be the primary key ! -邮件原件- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 Matt Raible 发送时间: 2007年5月23日 1:24 收件人: users@appfuse.dev.java.net 主题: Re: [appfuse-user] an test error when execute "mvn package -

答复: [appfuse-user] Two questions about PersonActionTest

2007-05-16 Thread chino fish
On 5/16/07, chino fish <[EMAIL PROTECTED]> wrote: > > > > > 1. the test is function test, not unit test. Isn't it ? b/c it uses > real service object, but mock objects. Yes. > > 2. the method followed is a bit of useless..b/c personManager andd

[appfuse-user] Two questions about PersonActionTest

2007-05-16 Thread chino fish
1. the test is function test, not unit test. Isn't it ? b/c it uses real service object, but mock objects. 2. the method followed is a bit of useless..b/c personManager andd person are not used by other test at all. protected void onSetUpBeforeTransaction() throws Exception {

[appfuse-user] one jmock question: no need for dao.verify() ?

2007-05-16 Thread chino fish
In every method of PersonManagerImplTest, there is a line dao.verify(); but it seems that the line is not necessary, super class MockObjectTestCase will do the verify job automatically ! chinofish

[appfuse-user] How to remove the dependency of appfuse-hibernate-2.0-m4.jar & appfuse-service-2.0-m4.jar

2007-05-12 Thread chino fish
Because I want to copy src of them into src/main/java/ and do the compile by myself ,so how to remove the dependency just through modification of pom.xml ? chinofish

答复: [appfuse-user] Problems with package s tructure

2007-05-11 Thread chino fish
But in some situation, It's inevitable to do some enhancement into something such as user, authority. So we need "full source", and we need to change them But when we change them, we will find it hard to upgrade them. Maybe we need to implement our own User, login, role, and so on. -邮件原件---

[appfuse-user] the status of 2.0m5 ?still in progress ?

2007-05-11 Thread chino fish
I see the page: Release Notes 2.0 M5 And from the page, I got info about how to upgrade to m5, But fail when execute Mvn package The log is as follows: [INFO] Scanning for projects... [INFO] [INFO] Buildi

答复: [appfuse-user] 答复: jetty-run bui ld-error

2007-05-10 Thread chino fish
They are two different goal. The difference is described in the following link http://www.mortbay.org/maven-plugin/index.html -邮件原件- 发件人: GBSGBSGBS [mailto:[EMAIL PROTECTED] 发送时间: 2007年5月11日 13:16 收件人: users@appfuse.dev.java.net 主题: Re: [appfuse-user] 答复: jetty-run build-error thank

答复: [appfuse-user] jetty-run build-error

2007-05-10 Thread chino fish
You can try Mvn jetty:run-war -邮件原件- 发件人: GBSGBSGBS [mailto:[EMAIL PROTECTED] 发送时间: 2007年5月11日 12:07 收件人: users@appfuse.dev.java.net 主题: [appfuse-user] jetty-run build-error yesterday, everything is ok, i made some crud pages, and well ran with no problem but today, errors has occur

答复: [appfuse-user] how to control mave n.test.skip ?

2007-05-10 Thread chino fish
it is false and all tests run. Mike. On 5/10/07, chino fish <[EMAIL PROTECTED]> wrote: In the pom.xml, following line appears twice. ${maven.test.skip} >From the definition of plugin dbunit & hibernate3, it's easy to know ${maven.test.skip}

[appfuse-user] how to control maven.test.skip ?

2007-05-10 Thread chino fish
In the pom.xml, following line appears twice. ${maven.test.skip} >From the definition of plugin dbunit & hibernate3, it's easy to know ${maven.test.skip} is a Boolean value. But where does it come from ? how to change the value ? Maybe it's a runtime property in ma

答复: [appfuse-user] the definition of - -- the time or the order to execute a ma ven goal ?

2007-05-09 Thread chino fish
I found following line generate-sources In the self-contain file maven-warpath-plugin-1.0-m4.jar ;-) _ 发件人: chino fish [mailto:[EMAIL PROTECTED] 发送时间: 2007年5月10日 13:41 收件人: users@appfuse.dev.java.net 主题: [appfuse-user] the definition of --- the time or the order to

[appfuse-user] the definition of --- the time or the order to execute a maven goal ?

2007-05-09 Thread chino fish
In pom.xml, I found a paragraph as follows: org.appfuse maven-warpath-plugin 1.0-m4 true add-classes