[appfuse-user] How to run the Junit test case of Appfuse2 in eclipse ?

2007-09-15 Thread Jim Qiu
Hi I have deployed the appfuse-basic into eclipse, and I want to run the DAO test right in the IDE, but I got : org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'dataSource' defined in file [E:\workspace\appfuseExample\target\test-classes\applica

Re: [appfuse-user] How to run the Junit test case of Appfuse2 in eclipse ?

2007-09-15 Thread arief
Hi, Maybe you could find your answer in http://www.nabble.com/execute-junit-tests-in-eclipse-tf3504799s2369.html this thread . I did face this problem before but while using Candy. After I switched to appfuse (using cmd line) and followed the IDE guidelines, it just work :) Hope the thread help

[appfuse-user] Checking if a hibernate collection is Empty on a jsp page

2007-09-15 Thread Nathaniel Rahav
I am trying to execute the following code in JSP but I'm getting errors: , this doesnt work either: , The problem is that the collection ( http://www.hibernate.org/hib_docs/v3/api/org/hibernate/collection/PersistentSortedSet.html) does not expose any bean-style properties (eg getSize() ) ...

Re: [appfuse-user] Checking if a hibernate collection is Empty on a jsp page

2007-09-15 Thread Matt Raible
Use $[empty pojo.property] or $[not empty pojo.property]. Matt On 9/15/07, Nathaniel Rahav <[EMAIL PROTECTED]> wrote: > I am trying to execute the following code in JSP but I'm getting errors: > > , > > this doesnt work either: > > , > > The problem is that the collection ( > http://www.hibernat

Re: [appfuse-user] Checking if a hibernate collection is Empty on a jsp page

2007-09-15 Thread Scott Ryan
I tried using such a construct on my JSF and JPA project with the latest RC1 build and it fails as well. It looks like something in the upgraded libraries is causing the issue but I am trying to track it down. It occurs in all my facelet code. I did not try to change the brackets to [ so

[appfuse-user] Having problems with AMP Full-source on JPA and JSF project

2007-09-15 Thread Scott Ryan
I recently upgraded to 2.0-RC1 with some difficulty and am still tracking down the additional bugs however I need to merge onto my own source tree so I can add some connections between the user table and my own tables. I tried to run the mvn appfuse:full-source mojo and ran into some issues. I no

Re: [appfuse-user] Checking if a hibernate collection is Empty on a jsp page

2007-09-15 Thread Matt Raible
I used the square brackets because my phone doesn't do curly braces. ;) On 9/15/07, Scott Ryan <[EMAIL PROTECTED]> wrote: > I tried using such a construct on my JSF and JPA project with the > latest RC1 build and it fails as well. It looks like something in > the upgraded libraries is causing th

Re: [appfuse-user] Error while downloading Appfuse 2

2007-09-15 Thread ramcis
I download it from the web site, I didn't tried to create a new project since I got error when extracting the file. mraible wrote: > > How did you download it? You should use the QuickStart Guide and "mvn > archetype:create" to create your project: > > http://appfuse.org/display/APF/AppFuse+Qu

Re: [appfuse-user] Error while downloading Appfuse 2

2007-09-15 Thread Matt Raible
What link exactly? If you're trying to download from java.net - you only need to download it from there if you want to download all its dependencies at once and use AppFuse offline. I'll try to fix the download now. Matt On 9/15/07, ramcis <[EMAIL PROTECTED]> wrote: > > > I download it from the w

Re: [appfuse-user] Error while downloading Appfuse 2

2007-09-15 Thread Matt Raible
The zip of dependencies for 2.0 RC1 should be fixed now. https://appfuse.dev.java.net/files/documents/1397/67432/appfuse-2.0-rc1-dependencies.zip Matt On 9/15/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > What link exactly? If you're trying to download from java.net - you only > need to downloa