If you're using 1.9.x, you'll need to run "ant war" and then refresh your project in your IDE to run the tests.
Matt On 6/21/07, nityan <[EMAIL PROTECTED]> wrote:
If I run the PersonDAOTestCase as JUnit Test case from IDE, this is what I am getting: [appfuse] INFO [main] PersonDAOTest.loadContextLocations(119) | Loading config for: classpath*:/**/dao/applicationContext-*.xml,classpath*:META-INF/applicationContext-*.xml Michael Horwitz wrote: > > It all depends on your requirements. If you are more comfortable with Ant, > then AppFuse 1.9.4 is the latest stable version. Is there any particular > reason you are using 1.8.2? > > There are numerous ways to create AppFuse based applications. Candy is > designed to make life easier for those who want to use AppFuse 2.0 and are > not all that comfortable with Maven. But in all cases there is always a > command line alternative - for AppFuse 1.x it is all Ant based. > > Mike. > > On 6/20/07, nityan <[EMAIL PROTECTED]> wrote: >> >> >> Thanks Mike. >> I am not working with AppFuse 2.0. >> In fact I have downloaded the source of AppFuse 1.8.2...the very basic >> one. >> I could run the Sample App and could create user and user roles in MySQL >> DB. >> If we dont have Candy for AppFuse for versions less than 2, then we >> cannot >> create any application using eclipse and AppFuse for these versions? In >> such >> a case what should be done. Or should I download things for AppFuse 2.0? >> >> >> Michael Horwitz wrote: >> > >> > It sounds as if your project is based on AppFuse 1.9.4? If this is the >> > case, >> > then Candy for AppFuse will not be of use - the Candy Eclipse plugin is >> > designed for AppFuse 2.0. >> > >> > In order to get started I would recommend you work your way through the >> > tutorials: for AppFuse 1.9.4 start here: >> > http://raibledesigns.com/wiki/Wiki.jsp?page=Articles and for AppFuse >> > 2.0start here: >> > http://appfuse.org/display/APF/Tutorials >> > >> > Mike. >> > >> > >> > On 6/20/07, nityan <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> Hi, >> >> >> >> I am very new to AppFuse. I have downloaded MySQL 4.1.22, tomcat >> 5.0.28 >> , >> >> and >> >> all other requirements. I have run the Sample Application as per step >> by >> >> step instructions provided in AppFuse Quickstart. Still I am not very >> >> clear >> >> with the functionality of what it is doing. If you could develop a >> sample >> >> app using AppFuse and Eclipse IDE, pls share the info. I could not get >> to >> >> use Candy for AppFuse plugin for eclipse. If you could use that pls >> tell. >> >> Any kind of help is highly appreciated. >> >> >> >> Thanks. >> >> >> >> >> >> Franco wrote: >> >> > >> >> > Hi All >> >> > >> >> > First of all my thanks to Matt. I came to know about Appfuse when I >> >> > bought his book Spring Live. At that time, I thought it was a silly >> >> idea, >> >> > that once I got a hang of all the "lightweight" technologies like >> >> Spring >> >> > and Hibernate I could design write my own code. Not so easy, I got >> >> light >> >> > headed :-/ along the way. >> >> > >> >> > Anyhows, before I go further my appfuse dev setup is >> >> > Exadel Studio Pro 4 (Eclipe 3.2.1) >> >> > Mysql 5.0.2.7 >> >> > Tomcat 5.5.23 >> >> > >> >> > >> >> > I have successfully completed the following steps >> >> > -downloaded and installed appfuse-basic-jsf archetypeVersion=2.0-m5 >> >> > -ran mvn appfuse-full-source >> >> > -deployed to jetty >> >> > -removed gzipfilter >> >> > -deployed to tomcat with mvn:tomcat:run which looks like it is >> 5.5.15 >> >> > -imported project into eclipse >> >> > >> >> > >> >> > I tried to deploy to local Tomcat 5.5.23 (C:\Tomcat) in Eclipse, I >> got >> >> a >> >> > 404, don't see anything in logs :( >> >> > Is it possible to know to deploy/test inside the Eclipse IDE? >> >> > >> >> > >> >> > Is there a guideline for appfuse development? >> >> > >> >> > Do I write code in Eclipse, then deploy/test with mvn ? >> >> > How do I create a war or ear using mvn? >> >> > >> >> > Thanks >> >> > Franco >> >> > >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/Appfuse-New-user-tf3891845s2369.html#a11209531 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Appfuse-New-user-tf3891845s2369.html#a11209968 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Appfuse-New-user-tf3891845s2369.html#a11227811 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]
