Re: [appfuse-user] mvn install fails - failed download from codehaus

2011-01-12 Thread Matt Raible
I was able to run this successfully. Are you behind a firewall, using Nexus or have you customized your settings.xml? On Wed, Jan 12, 2011 at 9:03 AM, John wrote: > > installed java 5, maven 2.2.1, confirmed running ok > > ran > > mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetyp

Re: [appfuse-user] AppFuse and JAXWS

2011-01-06 Thread Matt Raible
AppFuse 2.1.x uses CXF which supports JAX-WS. http://cxf.apache.org/docs/jax-ws-configuration.html On Thu, Jan 6, 2011 at 7:25 AM, gmehta wrote: > > Hello, > > Just wanted to know if AppFuse can be used with JAXWS or are we just > limited > to XFire? > > Are there any examples of AppFuse and JAX

Re: [appfuse-user] LDAP Integration with appfuse 2.1.x and Spring Security 3

2011-01-03 Thread Matt Raible
This is great stuff Tomàs! Thanks for updating the wiki, much appreciated. On Sun, Jan 2, 2011 at 2:21 AM, Tomàs Reverter Morelló wrote: > Hi! > > Recently I've added a new part into the wiki to explain how to configure an > LDAP integration with the new version of AppFuse, that uses Spring Secur

Re: [appfuse-user] Failed to start appfuse light 2.1.0-M1

2010-12-14 Thread Matt Raible
Can you try M2 and use mvn jetty:run instead? On Dec 13, 2010, at 11:35 AM, Tony Luo wrote: > Hi All, > > I create one appfuse light project but failed to start the web server. I > found someone raised the same question but no answer evetually. So I have to > raise it again. > > Steps > 1)Cr

Re: [appfuse-user] BaseStrutsTestCase in appfuse?

2010-12-14 Thread Matt Raible
hor mailto:m...@raibledesigns.com";>Matt Raible > */ > public abstract class BaseStrutsTestCase extends MockStrutsTestCase { > > However, in my AppFuse 2.0.2, ActionTests extend BaseActionTestCase. This > lacks the possibility of testing action messages, struts validation, et

Re: [appfuse-user] mvn site hang

2010-12-10 Thread Matt Raible
Can you please enter an issue in JIRA with steps to reproduce? I hope to release 2.1 in the next couple weeks and I'd like to make sure this is fixed beforehand. http://issues.appfuse.org/browse/APF Thanks, Matt On Dec 10, 2010, at 12:49 AM, dan wrote: > 于 2010-12-9 9:13, Matt R

Re: [appfuse-user] mvn site hang

2010-12-09 Thread Matt Raible
On Dec 9, 2010, at 12:04 AM, dan wrote: > 于 2010-12-9 13:32, Matt Raible 写道: >> >> On Dec 8, 2010, at 10:17 PM, dan wrote: >> >>> 于 2010-12-9 9:57, Matt Raible 写道: >>>> On Dec 8, 2010, at 6:47 PM, dan wrote: >>>> >>>>> 于

Re: [appfuse-user] Clover

2010-12-09 Thread Matt Raible
I agree it's worth patching the source. Please enter an issue in JIRA. http://issues.appfuse.org/browse/APF Thanks! On Thu, Dec 9, 2010 at 6:39 AM, Milbourne, Anthony < anthony.milbou...@credit-suisse.com> wrote: > I have found the cause of the Clover problem, and it appears to be an > error i

Re: [appfuse-user] mvn site hang

2010-12-08 Thread Matt Raible
On Dec 8, 2010, at 10:17 PM, dan wrote: > 于 2010-12-9 9:57, Matt Raible 写道: >> >> On Dec 8, 2010, at 6:47 PM, dan wrote: >> >>> 于 2010-12-9 9:13, Matt Raible 写道: >>>> What version of Maven are you using? What version of AppFuse. I need to &g

Re: [appfuse-user] mvn site hang

2010-12-08 Thread Matt Raible
On Dec 8, 2010, at 6:47 PM, dan wrote: > 于 2010-12-9 9:13, Matt Raible 写道: >> What version of Maven are you using? What version of AppFuse. I need to know >> what you're doing so I can try and reproduce. >> >> On Dec 8, 2010, at 5:16 PM, dan wrote: >>

Re: [appfuse-user] mvn site hang

2010-12-08 Thread Matt Raible
What version of Maven are you using? What version of AppFuse. I need to know what you're doing so I can try and reproduce. On Dec 8, 2010, at 5:16 PM, dan wrote: > I meet a problem that when i use mvn site to generate the report,the log > in console below > > [INFO] [dbunit:operation {execution

Re: [appfuse-user] latest appfuse version

2010-12-06 Thread Matt Raible
as this is what I > read from one of the posts. 2.7 makes you run into errors > > V > - Original Message - > From: "Matt Raible" > To: users@appfuse.dev.java.net > Sent: Wednesday, November 17, 2010 1:04:08 PM (GMT-0500) America/New_York > Subject: Re: [a

Re: [appfuse-user] AppFuse Tutorial has incorrect spring config?

2010-11-25 Thread Matt Raible
The completed code for this tutorial doesn't seem to have a "formView" property, so I don't think this is necessary. http://www.google.com/codesearch/p?hl=en#WTe62-tihmk/tutorial-spring/src/main/webapp/WEB-INF/dispatcher-servlet.xml&q=PersonFormController%20package:http://appfuse-demos\.googlecod

Re: [appfuse-user] login with soap or web services

2010-11-24 Thread Matt Raible
You might try this: http://www.jroller.com/hexbinary/entry/xfire_as_a_webservice_provider On Nov 24, 2010, at 3:22 PM, tibi wrote: > no pointers? > > thanks > > tibi > > t...@dds.nl wrote: >> >> matt, >> >> i followed the tutorial on >> http://appfuse.org/display/APF/Web+Services >> all wen

Re: [appfuse-user] AppFuse Tutorial missing persistence.xml change

2010-11-24 Thread Matt Raible
Should be fixed in latest release. On Nov 24, 2010, at 11:25 AM, "Milbourne, Anthony" wrote: > That worked :-). > I presume that file will not be there in the next release (or does it serve > some purpose?). > > Thanks for the help, > > Anthony. &

Re: [appfuse-user] maven build goals in appfuse

2010-11-23 Thread Matt Raible
resources:resources processes files in src/main/resources resources:testResources processes files in src/test/resources The reason why things might not be getting replaced properly is because of the native2ascii plugin. Matt On Wed, Nov 17, 2010 at 10:53 AM, Josep García wrote: > Is it normal

Re: [appfuse-user] web server architecture

2010-11-23 Thread Matt Raible
I'd recommend Apache in front of Tomcat so you can do things like gzip compression, expires headers and things of that sort in Apache. You can either front multiple Tomcat instances with one Apache server, or use something like a load balancer in front of Apache to distribute the load across many s

Re: [appfuse-user] AppFuse Tutorial missing persistence.xml change

2010-11-23 Thread Matt Raible
You should delete the persistence.xml file in web/src/main/resources. On Mon, Nov 15, 2010 at 3:25 AM, Milbourne, Anthony < anthony.milbou...@credit-suisse.com> wrote: > Apologies if I have missed something obvious here but I think I have > found an omission in the AppFuse tutorial. > > I am usi

Re: [appfuse-user] Appfuse versions

2010-11-23 Thread Matt Raible
On Mon, Nov 15, 2010 at 1:33 AM, Marian N. Ion wrote: > >From the issues mailing list I read that "Fix Version/s: (was: 2.1.0-M2) > 2.1.0" => but how could I get it? On the quickstart page > (http://appfuse.org/display/APF/AppFuse > +QuickStart#AppFuseQuickStart-create) the versions go up to > 2

Re: [appfuse-user] userFormController onSubmit()

2010-11-17 Thread Matt Raible
.maven.org/maven2), > appfuse-snapshots ( > http://oss.sonatype.org/content/repositories/appfuse-snapsh > ots) > > > > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > -----

Re: [appfuse-user] userFormController onSubmit()

2010-11-17 Thread Matt Raible
ms:SyncPtSpr3:war:1.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > appfuse-snapshots ( > http://oss.sonatype.org/content/repositories/appfuse-snapsh > ots) > > > Vanessa > > - Original Message - > From: &

Re: [appfuse-user] latest appfuse version

2010-11-17 Thread Matt Raible
hnx in advance for all the help > > Vanessa > - Original Message - > From: "Matt Raible" > To: users@appfuse.dev.java.net > Sent: Wednesday, November 17, 2010 12:56:59 PM (GMT-0500) America/New_York > Subject: Re: [appfuse-user] latest appfuse version > &

Re: [appfuse-user] latest appfuse version

2010-11-17 Thread Matt Raible
Do get this error when you create a new project or when you try to upgrade your existing 2.x project to Spring 3? On Wed, Nov 17, 2010 at 6:34 PM, Vanessa Pacheco wrote: > Is anyone running into build problems with latest Appfuse and SPring3. I > run into a test issuesthe spring***test:jar c

Re: [appfuse-user] userFormController onSubmit()

2010-11-17 Thread Matt Raible
On Nov 16, 2010, at 10:19 AM, Vanessa Pacheco wrote: > Is that Appfuse 2.1.0M2? > > I did get it, but it still doesn't have pathVariable. > > I see 2.5.6 in pom.xml. If I replace that > with 3, would 3 be downloaded and be used? Also what repurcussions wud this > have. Yes. No repercussions

[appfuse-user] [ANN] AppFuse 2.1.0 M2 Released

2010-11-15 Thread Matt Raible
The AppFuse team is pleased to announce the release of AppFuse 2.1.0 M2! AppFuse 2.1.0 M2 is available as a Maven archetype. For information on creating a new project using this release, please see the QuickStart Guide: http://appfuse.org/display/APF/AppFuse+QuickStart The 2.x series of AppFuse

Re: [appfuse-user] Re: appfuse hidden id

2010-11-10 Thread Matt Raible
You should be able to do something like the user list JSP does, where you use a different property (e.g. project name) and still link with the id. 2010/11/10 Cody Zhang > Hi,All > > > jsp: > > id="moduleSvnUrlList" export="true" pagesize="25"> > > href="onePrjModuleSvnUrl.html" >

Re: [appfuse-user] Integrating Spring Social with Appfuse

2010-11-09 Thread Matt Raible
le it spring? > > thanks, > SRidhar > > > > On Tue, Nov 9, 2010 at 2:11 PM, Matt Raible wrote: > What errors are you seeing? > > On Nov 9, 2010, at 3:08 PM, sridhar vennela wrote: > >> Hi , >> >> I am trying to integrate Spring Social with a

Re: [appfuse-user] Integrating Spring Social with Appfuse

2010-11-09 Thread Matt Raible
What errors are you seeing? On Nov 9, 2010, at 3:08 PM, sridhar vennela wrote: > Hi , > > I am trying to integrate Spring Social with appfuse. having issue with spring > security. Can someone give some ideas or pointers, how to integrate with > spring secuirty? > > following are the links >

Re: [appfuse-user] Appfuse gen

2010-11-08 Thread Matt Raible
maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:102) >at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:577)

Re: [appfuse-user] Appfuse gen

2010-11-07 Thread Matt Raible
Have you tried installing the m2eclipse plugin so you can run Maven from w/in Eclipse? On Nov 6, 2010, at 1:02 PM, Ramzi MAALEJ wrote: > Hi all, > > I would like to know how to use appfuse maven plugin from eclipse instead of > using the command line. > > Best regards > > ---

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Matt Raible
On Nov 5, 2010, at 10:34 AM, Vanessa Pacheco wrote: >> C:\>echo %CATALINA_HOME% >> c:\tomcat6 >> This should work. What makes you think Cargo is not using it when running >> tests? To be sure >it's using it, you could remove the following from your >> pom.xml: > > Yeah, the zipUrlInstaller sec

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Matt Raible
On Nov 5, 2010, at 10:13 AM, Vanessa Pacheco wrote: > Matt, > >> My only issue is that with my env CATALINA variable and one other change to >> pom.xml, it >still doesn't depoly to my installed version of tomcat. >> What do you see when run "echo %CATALINA_HOME%" from the command line? > > He

Re: [appfuse-user] warpath and release plugin

2010-11-05 Thread Matt Raible
gt; ${pom.parent.version} > warpath > > > which tries to resolve from the repos, and then fails. All this is just my > assumption. Can I delete the warpath type dependency and still have the > overlaying being done? > > > 2010/11/5 Matt Ra

Re: [appfuse-user] warpath and release plugin

2010-11-05 Thread Matt Raible
The warpath plugin allows you to include a WAR as a JAR and get its dependencies. The war plugin does overlaying, but it doesn't allow you to depend on a WAR as if it's a JAR. Don't know if that helps or not. On Nov 5, 2010, at 9:51 AM, Josep García wrote: > I am trying to use the maven release

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Matt Raible
sample-data.xml,but the md5 password is not the > admin,so the > src/test/resources/login.xml will show the errors because it tests the > login action use admin/admin, > but i don't know when the admin's md5 password changes,the > sample-data.xml keep frozen > > &g

Re: [appfuse-user] Appfuse 2.1 release

2010-11-05 Thread Matt Raible
Yes. There's 40ish open issues left. I hope to fix 10 more or so, then release 2.1.0-M2. 2.1.0 shortly after. On Nov 5, 2010, at 12:54 AM, Kissue Kissue wrote: > Hi Matt, > > Is there any chance that appfuse 2.1 could still be released this year? > > Thanks. -

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-04 Thread Matt Raible
in >> login.xml still didn't change, >> let's see >> so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass >> the test,Good Luck >> >> >> On 2010-11-3 6:06, Matt Raible wrote: >>> The port n

Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-04 Thread Matt Raible
app and freaks out there. > > I've attached 2 txt file, one from running the mvn command, and the other > from placing the war in my tomcat/webapps and starting tomcat (its what came > up in the command prompt) > > Thanks for all your help > Vanessa > - Original

Re: [appfuse-user] integrating webtest-maven-plugin in AppFuse

2010-11-03 Thread Matt Raible
Thanks Josep! If there's a new release of the webtest-maven-plugin before AppFuse's next release (this month), I'll make sure and switch to the plugin. On Fri, Oct 29, 2010 at 11:07 AM, Josep García wrote: > Hello, > I have succeded in the integration of webtest-maven-plugin into AppFuse > 2.0.2

Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Matt Raible
see 2.0.2-M2-SNAPSHOT in the > drop-down to generate the archtype > > I'm looking at instructions on this page > http://appfuse.org/display/APF/AppFuse+QuickStart > > Thanks for all your help. Sorry to bother so much > Vanessa > > > - Original Message - >

Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Matt Raible
; since my tables have -ve values for primary key IDs. > > Vanessa > - Original Message - > From: "Matt Raible" > To: users@appfuse.dev.java.net > Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York > Subject: Re: [appfuse-user] change

Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Matt Raible
You should at least use 2.0.2. If that doesn't work, try 2.1.0-M2-SNAPSHOT. On Wed, Nov 3, 2010 at 1:30 PM, Vanessa Pacheco wrote: > I created a brand new project. I'm using Appfuse 2.0 > > Vanessa > - Original Message - > From: "Matt Raible" >

Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Matt Raible
When you say "changed to use struts", did you create a new project or try to switch your own? Which version of AppFuse are you using? On Nov 3, 2010, at 12:43 PM, Vanessa Pacheco wrote: > I've changed to use struts now > > When I run mvn, all of my 17 tests fail. In one of the reports I see thi

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-02 Thread Matt Raible
o I need to make some changes somewhere. I see localhost:8081 in there. My > tomcat isn't running (should it be running for the tests?). Also when I run > any of my tomcat apps I use localhost:8080, so I changed it to 8080 in > pom.xml. However, no luck still. What should I do he

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-02 Thread Matt Raible
heco wrote: > Matt, > > Did you mean "mvn eclipse:eclipse -Ppostgres"? > > I've added the following to pom.xml for the postgres profile > > true > > > > Vanessa > - Original Message - > From: "Matt Raible

Re: [appfuse-user] invalid repository url

2010-10-29 Thread Matt Raible
I'm not sure which artifact has this hard-coded in it. You might grep through *.pom in your local repository. On Fri, Oct 29, 2010 at 3:51 AM, Josep García wrote: > While generating my project site, it gets to a point where it kind of > freezes waiting for a timeout of an invalid repository url.

Re: [appfuse-user] overriding default maven-reporting version?

2010-10-28 Thread Matt Raible
To override the version used in the super pom, add the dependency in your pom with the version you'd like to use. On Oct 28, 2010, at 6:21 AM, Josep García wrote: > Hey, > I'm having problem in my AppFuse 2.0.2 project at generating the site: > > [INFO] Generating "Project Team" report. > [WARN

Re: [appfuse-user] Re: Will There Be Some JEE-Spring Appfuse Projects?

2010-10-17 Thread Matt Raible
http://raibledesigns.com/rd/entry/re_moving_from_spring_to On Sun, Oct 17, 2010 at 5:38 PM, markwen wrote: > > Ok, I got the picture. Thanks for all the opinions. > > BTW, I think Seam is doing excellent job in simplifying enterprise Java > programming. If I use JSF, I'd like to use Seam, instea

Re: [appfuse-user] How to Roll Tomcat stdout log file

2010-10-11 Thread Matt Raible
First Google result: http://www.minaret.biz/tips/log4j.html On Fri, Oct 8, 2010 at 5:15 AM, Babu wrote: > > Hi, > > I need to roll-out or rotate tomcat stdout log when its size exceeds.Any > one > can help me how to do with tomcat logging configuration.Am using Tomcat 6 > and windows 2008 server

Re: [appfuse-user] making hit in two different database

2010-10-11 Thread Matt Raible
Do you need to the core classes to hit different databases or just new classes you create? It should be as easy as creating another datasource bean (in applicationContext-resources.xml) and referencing it accordingly. You might have to import the core classes into your project if you get an error

Re: [appfuse-user] appfuse gen with different resource bundle

2010-10-06 Thread Matt Raible
Currently, it's not possible to change this as a configuration mechanism. If you'd like to see it changed, please enter an issue in JIRA. On Wed, Oct 6, 2010 at 8:27 AM, Josep García wrote: > I am running appfuse:gen but get an error because I changed the default > ApplicationResources.propertie

Re: [appfuse-user] Re: appfuse:full-source failed

2010-10-06 Thread Matt Raible
Can you try removing local AppFuse artifacts (rm -r ~/.m2/repository/org/appfuse) and trying again. This should be fixed with the latest snapshot build. On Wed, Oct 6, 2010 at 12:24 AM, m_aliyar wrote: > > Version of appfuse is 2.1.0-M2-SNAPSHOT > -- > View this message in context: > http://appf

Re: [appfuse-user] Re: Out of memory error !!! Is this is a reason?

2010-10-05 Thread Matt Raible
What version of Maven are you using? I'd suggest 2.2.1. On Oct 5, 2010, at 12:32 PM, itsdipak wrote: > > thanks for the reply... i always wait for your valuable reply.. :-) > > > i already set those as environment variables. > > Whether my procedure is right for updating the another model? or

Re: [appfuse-user] Re: appfuse:full-source failed

2010-10-05 Thread Matt Raible
Which version of AppFuse are you using? I fixed this a few nights ago in 2.1.0-M2-SNAPSHOT. On Oct 5, 2010, at 11:39 AM, m_aliyar wrote: > > I tried with Maven 2.2.1 and project created successfully , but when I try to > compile it shows 7 required artifacts are missing. full log is given below

Re: [appfuse-user] Out of memory error !!! Is this is a reason?

2010-10-05 Thread Matt Raible
You should make sure your JAVA_OPTS or MAVEN_OPTS are set appropriately. I'd set your JAVA_OPTS to -Xmx512M. Matt On Tue, Oct 5, 2010 at 2:49 AM, itsdipak wrote: > > Hi, > my application is giving out of memory error. > i m using two models... E2work and Workdata. > and i want to add/update wo

Re: [appfuse-user] invinite loop ;)

2010-10-05 Thread Matt Raible
I'm not sure I understand the question and/or problem. Can you explain it in simpler terms? On Tue, Oct 5, 2010 at 3:54 AM, wrote: > > i had an infinite loop and could find why. after some debugging a found > this very unexpectedly. > matt did you know?? > jsp file: > list="stadsverwarmingOptie

Re: [appfuse-user] Re: Incorporate a search region & handling tables with foreign keys

2010-10-02 Thread Matt Raible
AMP is not able to properly generate a UI for relationships such as one-to-many. If you comment out the relationship for the generation, it should work. You can also copy the FreeMarker templates into your project if you want to try and modify things so it can generate a UI for relationships. M

Re: [appfuse-user] Re: Incorporate a search region & handling tables with foreign keys

2010-10-01 Thread Matt Raible
What is the failure message? On Oct 1, 2010, at 6:57 AM, webmeiker wrote: > > It doesn’t matters Mr. Raible ;-) > I have started doing the work: > > 1. > CREATE TABLE localidades( > id int NOT NULL AUTO_INCREMENT , > nombre varchar( 100 ) NOT NULL , > fk_provincia int NOT NULL , > PRIMARY KEY (

Re: [appfuse-user] powered by AppFuse

2010-09-30 Thread Matt Raible
Looks like the last time I updated our "Powered By" page was 2007. If you've put an AppFuse application in production since then, please reply to this thread or update the following wiki page. http://appfuse.org/display/APF/Powered+By+AppFuse Thanks! On Wed, Jun 23, 2010 at 9:34

[appfuse-user] New Tutorial: Clustering with Terracotta

2010-09-30 Thread Matt Raible
This tutorial describes how to integrate Terracotta(TC) into AppFuse using the TC Maven Plugin. We hence assume that you have a general understanding of what these applications can do. At

Re: [appfuse-user] Will There Be Some JEE-Spring Appfuse Projects?

2010-09-30 Thread Matt Raible
AppFuse uses Spring because back in the day (2003) when I started it, people were using EJB and it was clunky and cumbersome. Spring came along in 2004 and changed everything. When I integrated it into AppFuse, I was able to reduce a lot of code and make things a fair amount simpler. Fast forward

Re: [appfuse-user] Incorporate a search region & handling tables with foreign keys

2010-09-30 Thread Matt Raible
If you haven't gotten an answer by now, it sounds like no one has an answer. Sorry about that. On Sun, Sep 26, 2010 at 4:37 AM, webmeiker wrote: > > Hi, > > While I continue learning AppFuse and playing with it (Spring MVC basic > archetype) I have completed the first steps which consisted in: >

Re: [appfuse-user] Re: Get id of newly inserted record

2010-09-29 Thread Matt Raible
Try calling super.flush() to get the object persisted. On Sep 30, 2010, at 12:43 AM, itsdipak wrote: > > I m using Hibernate.. > but the id value is null if i try to get id as you said.. > please help me out > :-( > -- > View this message in context: > http://appfuse.547863.n4.nabble.com

Re: [appfuse-user] Get id of newly inserted record

2010-09-29 Thread Matt Raible
If you're using Hibernate or JPA, it's as simple as calling the following after a save: Long newId = e8workReport.getId(); Hope this helps, Matt On Wed, Sep 29, 2010 at 9:58 PM, itsdipak wrote: > > Hi, > How to get id for the newly inserted record? I want to save that id in > another table. >

Re: [appfuse-user] Re: appfuse:full-source failed

2010-09-29 Thread Matt Raible
This looks like a Maven 3 issue. Can you try with Maven 2.2.1? On Wed, Sep 29, 2010 at 2:50 AM, m_aliyar wrote: > > Here is the command I used to create the project: > > > mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-modular-spring-archetype

Re: [appfuse-user] Re: mapping List

2010-09-28 Thread Matt Raible
I'm not sure when persistence 2.0 will show up in the repo. You might try asking the Hibernate folks or the Maven guys. I'd track it down, but I have enough to do trying to get 2.1.0 out the door. ;-) On Tue, Sep 28, 2010 at 5:08 PM, jackalista wrote: > > Thanks, yeah, I was afraid it would tur

Re: [appfuse-user] Re: canoo webtest report for maven site?

2010-09-28 Thread Matt Raible
Here's the response I received from Siegfried: Hi Josep, +) I actually have an integration test using external entity references (it9) +) what Maven version are you using (for the records) - I'm on Maven 2.2.1 +) I found an old email where this problem was solved - I changed the code accor

Re: [appfuse-user] hibernate id

2010-09-23 Thread Matt Raible
I'm not against using it. Do you want to try and make it work and create a patch in JIRA if you succeed? On Thu, Sep 23, 2010 at 7:04 AM, wrote: > > hi matt, > > just came accross this in the hibernate documentation: > > Important > > We recommend all new projects to use > hibernate.id.new_gener

Re: [appfuse-user] Re: mapping List

2010-09-23 Thread Matt Raible
The persistence dependencies are in appfuse-data-common's pom.xml. The hardest part of upgrading is it doesn't seem like there's a 2.0 version of the dependencies in Maven's repo. In an ideal world, you could simply do the following in your core/pom.xml: javax.persistence

Re: [appfuse-user] Re: mapping List

2010-09-22 Thread Matt Raible
AFAICT, it looks like this annotation is part of the JPA 2.0 API. http://grepcode.com/search?query=javax+persistence+CollectionTable&start=0&entity=type&n= On Wed, Sep 22, 2010 at 5:50 PM, jackalista wrote: > > No, I had found some other reference, but this one is better, thanks. I am > trying

Re: [appfuse-user] Re: restarting Jetty to take the changes in the app on the fly

2010-09-20 Thread Matt Raible
If you use jetty:run-war, Jetty is looking at your WAR and when you change things, it won't see them. I'd recommend using jetty:run and only jetty:run. On Sep 20, 2010, at 2:26 PM, webmeiker wrote: > > I’ am working with the appfuse-basic-spring-archetype (2.1.0-M1). > > I use Eclipse Helios

Re: [appfuse-user] Re: problem with hibernate tutorial imports for annotations

2010-09-20 Thread Matt Raible
I don't think it needs to be documented because your project is the first one I've seen with this attribute. Folks should be able to search the archives for the error if they see a similar issue. On Sep 20, 2010, at 1:17 PM, jackalista wrote: > > Hey, while it's fresh in my mind, should I put

Re: [appfuse-user] canoo webtest report for maven site?

2010-09-17 Thread Matt Raible
ke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

Re: [appfuse-user] canoo webtest report for maven site?

2010-09-17 Thread Matt Raible
I've been meaning to integrate the webtest-maven-plugin for quite some time, just haven't got around to it. You might try it. http://mojo.codehaus.org/webtest-maven-plugin/ Please let me know if you get it to work. Matt On Sep 17, 2010, at 10:09 AM, Josep García wrote: > We currently use Appf

Re: [appfuse-user] 'oversubscribed literal/length tree' error message

2010-09-17 Thread Matt Raible
I haven't seen this error before. I'd suggest trying "mvn clean" and if that doesn't work, try using a newer version of the plugin. On Sep 17, 2010, at 3:57 AM, webmeiker wrote: > > Yesterday my AppFuse installation works, today doesn´t. > > When I launch the mvn jetty:run-war it complains wit

Re: [appfuse-user] add new class error

2010-09-17 Thread Matt Raible
wrote: > Hi,Matt > I will add something on xml file when new project class? > applicationContext-struts.xml > hibernate.cfg.xml > > How do it? > > Best Regards, > --Cody.Zhang > > > 2010/9/17 Matt Raible > Did you create a PersonDao

Re: [appfuse-user] Re: problem with hibernate tutorial imports for annotations

2010-09-16 Thread Matt Raible
In your hibernate.cfg.xml, remove the "name" attribute from the element. http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> I also removed the personDao bean definition from the XML. Result: --- T E S T S ---

Re: [appfuse-user] add new class error

2010-09-16 Thread Matt Raible
Did you create a PersonDao interface and implementation in your project? If so, did you register them in an XML file or with annotations? If so, what version of AppFuse are you using? 2010/9/16 Cody Zhang > Hi,All >Can you help me? > error: > > > > Unable to instantiate Action, projectActi

Re: [appfuse-user] Re: problem with hibernate tutorial imports for annotations

2010-09-16 Thread Matt Raible
XML is only needed if you don't write Java code and want to use the GenericDAOs. Annotations can be used if you write Java code, but they're not required. You can still use XML like you have below. Hope this helps clarify. On Sep 16, 2010, at 12:25 PM, jackalista wrote: > > OK, I tried using t

Re: [appfuse-user] Re: problem with hibernate tutorial imports for annotations

2010-09-16 Thread Matt Raible
m...@raibledesigns.com On Thu, Sep 16, 2010 at 10:55 AM, jackalista wrote: > > Thanks, what's your email address? [or how do you want me to get it to you, > it's been a while since I've done this so I've lost your coordinates]. > > I will run through the rest of the dao test stuff and see if I c

Re: [appfuse-user] Re: problem with hibernate tutorial imports for annotations

2010-09-16 Thread Matt Raible
What's the "strange new exception" you're referring to? The Hibernate JNDI error, the can't fine class error or uncaught exception issue? Feel free to zip up your project and send to me and I can try to reproduce. On Sep 16, 2010, at 10:26 AM, jackalista wrote: > > Yes, I saw that, it's set to

Re: [appfuse-user] Re: problem with hibernate tutorial imports for annotations

2010-09-16 Thread Matt Raible
If you look in the Spring XML files, there's a component-scan tag that tells Spring what packages to look in. On Sep 16, 2010, at 10:01 AM, jackalista wrote: > > OK, I'm *not* going to use the package from the tutorial code... Since the > archetype creation went and created the folders for my

Re: [appfuse-user] problem with hibernate tutorial imports for annotations

2010-09-16 Thread Matt Raible
Comments inline below... On Sep 15, 2010, at 6:34 PM, jackalista wrote: > > Hi, > > I'm using the modular struts archetype, this is my command for creating the > project: > > mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-modular-struts-arch

Re: [appfuse-user] first steps with appFuse in Eclipse

2010-09-15 Thread Matt Raible
The tables are populated by dbunit when you run tests. Are you able to run "mvn test" successfully? On Sep 15, 2010, at 1:05 PM, webmeiker wrote: > > Hi, > I’ am new to AppFuse (and almost to Spring, Hibernate, Maven, etc)… so I’ am > looking instructions for dummies. > > I’ve installed m2ecli

Re: [appfuse-user] struts2 + aop

2010-09-10 Thread Matt Raible
It's unlikely you can use Spring AOP to intercept Struts Actions since they're not managed by Spring. On Fri, Sep 10, 2010 at 7:41 AM, Josep García wrote: > Hi all, > > I am trying to apply an interceptor to a Struts2 action, via an xml > configured spring aop, without luck. > Does anyone know h

Re: [appfuse-user] appfuse:full-source failed

2010-09-07 Thread Matt Raible
Which version of AppFuse are you using? In other words, what was the command you used to create your project? On Mon, Sep 6, 2010 at 11:29 PM, m_aliyar wrote: > > Hi all, > > after creating new project successfully(modular with spring MVC) I ran mvn > appfuse:full-source command but i got error

Re: [appfuse-user] Minor question on applicationContext.xml

2010-09-01 Thread Matt Raible
Good idea. Fixed. http://source.appfuse.org/changelog/appfuse/?cs=3379 On Sep 1, 2010, at 11:42 PM, Malix Ren wrote: > Hi Matt, > In applicationContext.xml it's specifying spring-beans-2.0.xsd, shall we > revise it to spring-beans-3.0.xsd? > xsi:schemaLocation="http://www.springframework.org/s

Re: [appfuse-user] Why 'UniversalDaoHibernate' is disappered?

2010-08-31 Thread Matt Raible
Because you can do pretty much anything with GenericDaoHibernate that you could with UniversalDaoHibernate. Also, it seemed to cause confusion for users that there were two classes that did the same thing. Of course, you're free to grab the UniversalDaoHibernate class from before we deleted it

Re: [appfuse-user] Re: Failed to build AppFuse 2.1-SNAPSHOT

2010-08-31 Thread Matt Raible
Rename your "eclipse 3.5.2" directory to "eclipse" and try again. ;-) On Aug 31, 2010, at 7:58 PM, sunny wrote: > > No, I have't. I don't know how can I do that. :( > -- > View this message in context: > http://appfuse.547863.n4.nabble.com/Failed-to-build-AppFuse-2-1-SNAPSHOT-tp574782p2402520.

Re: [appfuse-user] Re: Failed to build AppFuse 2.1-SNAPSHOT

2010-08-30 Thread Matt Raible
Have you tried building it in a source directory with no spaces in it? It builds fine on my machine and in Bamboo. Matt On Aug 29, 2010, at 9:39 PM, sunny wrote: > > Do you mean this issue would be solved in next snapshot version? > -- > View this message in context: > http://appfuse.547863.

Re: [appfuse-user] Re: Failed to build AppFuse 2.1-SNAPSHOT

2010-08-27 Thread Matt Raible
I would try putting your source in a directory with no spaces. That should solve this issue. On Thu, Aug 26, 2010 at 10:30 PM, sunny wrote: > > Originally, I just want to fix some code in > > '/appfuse-plugins/appfuse-maven-plugin/src/main/java/org/appfuse/tool/ArtifactInstaller.java'. > I knew

Re: [appfuse-user] Re: Failed to build AppFuse 2.1-SNAPSHOT

2010-08-26 Thread Matt Raible
Just curious, why are you trying to build the AppFuse project itself instead of working with one of its archetypes? On Thu, Aug 26, 2010 at 1:09 AM, sunny wrote: > > I have the same problem, I found the problem is > appfuse\archetypes\build.xml > line 33 not working: > > command="org.apa

Re: [appfuse-user] Spring Roo AND Appfuse side by side?

2010-08-19 Thread Matt Raible
I'd recommend using one or the other rather than trying to use them both. I think you'll find that Spring MVC is just as easy to use as Struts 2. On Thu, Aug 19, 2010 at 11:33 AM, MB wrote: > Some newcomer questions: > > Is it possible to use Spring Roo, side by side with any kind of useful > me

Re: [appfuse-user] Update/Back to where I was the other day/How do you want project?

2010-08-17 Thread Matt Raible
If you're run war:in-place, you'll need to delete somethings to get back to a good point. rm -r src/main/webapp/WEB-INF/classes If you'd still like me to look at your project, run "mvn clean" before zipping it up. On Tue, Aug 17, 2010 at 8:50 AM, Jeremy Flowers < jeremy_g_flow...@yahoo.co.uk> wr

Re: Fw: [appfuse-user] Fw: This was the related thread from back in 2006. Is it still the same issue 4 years later?

2010-08-17 Thread Matt Raible
the attached pom.xml to see if there is a missing repository > or something of this nature for org.appfuse.webapp.action.BaseAction, as I > think this is at the root of the issues. > > I did see a thread somewhere that pointed me down this path, but when I > tried lo

Re: [appfuse-user] This was the related thread from back in 2006. Is it still the same issue 4 years later?

2010-08-17 Thread Matt Raible
I couldn't track it down! Too many permutations > from Googling either of: > "package org.appfuse.webapp.action does not exist" > "The import org.appfuse.webapp cannot be resolved" > > Regards, Jeremy > > > --- On Tue, 17/8/10, Matt Raible wrote: &

Re: [appfuse-user] Having issues with 'package org.appfuse.webapp.action does not exist'

2010-08-17 Thread Matt Raible
Do you have a BaseAction in your project? If so, is it in com.mycompany.crud.action? If so, simply change the imports. On Aug 17, 2010, at 4:10 AM, Jeremy Flowers wrote: > Hi. > I browsed some of the old Appfuse mailing lists from back in 2006 and it > looks like my issue is down to the pom.xml

Re: [appfuse-user] Related to Appfuse2.X

2010-08-15 Thread Matt Raible
Yes, it's called the AppFuse Maven Plugin in AppFuse 2. http://static.appfuse.org/plugins/appfuse-maven-plugin/ On Sun, Aug 15, 2010 at 12:55 PM, bhushan kadam wrote: > Hi, > > > > We are currently using Appfuse 1.6+ in our company. Using Appgen and > Middlegen we can generate POJO, DAO, Hibern

Re: [appfuse-user] Richfaces Integration

2010-08-10 Thread Matt Raible
I have no plans to integrate richfaces myself, but would welcome the contribution. I'd probably lean more towards Spring Faces since AppFuse is already fairly Spring heavy. On Aug 10, 2010, at 4:13 AM, Kissue Kissue wrote: > Hi, > > I can see that the ajax4jsf library included in appfuse is an

Re: [appfuse-user] store and serve images in appfuse

2010-08-09 Thread Matt Raible
You could store images in a database, but that's likely to be the least scalable solution. I'd recommend storing them on the filesystem, hopefully one that's backed up as it will become a critical part of your application. On Mon, Aug 9, 2010 at 6:37 PM, Amit Goyal wrote: > Hi, > > I am using Ap

  1   2   3   4   5   6   7   8   9   10   >