Re: [appfuse-user] JMaki

2007-03-19 Thread VJ22
Hello, Managed to get the whole thing workingI can use DOJO/Scriptaculous/Spry/ but with a common custom-tag library... Very Neat but very cumbersome to setup and slow too for now Advice: Please use JMaki only if you have Netbeans as your primary IDEalso extensions can be anything but .

Re: [appfuse-user] appfuse 2.0 jetty:run-war fails in eclipse

2007-03-19 Thread rjain7
Yes, here is my mistake Using cmd shell, 'mvn jetty:run-war' works well... I was doing 'mvn jetty:run' (guess I need to expand the war in source tree before that ? ) However, I still have a problem running the project in eclispe.. I imported the project in eclipse following the instruc

Re: [appfuse-user] appfuse 1.8.2 on tomcat 6 - transaction manager issue

2007-03-19 Thread Matt Raible
Tomcat 6 has a "lib" directory rather than a "lib/common" directory AFAIK. Are you sure jta.jar is in the proper directory? If everything works fine in Tomcat 5.5, then it's likely due to the context.xml file for 6.0. Matt On 3/19/07, Carlos Orrego <[EMAIL PROTECTED]> wrote: I am having an is

Re: [appfuse-user] Overriding appfuse JSP

2007-03-19 Thread Matt Raible
If you have the JSPs in your project, they won't be overwritten by AppFuse. In other words, run "mvn war:inplace" and modify to your hearts content. Check your changed files into your source control system. Matt On 3/19/07, sarat.pediredla <[EMAIL PROTECTED]> wrote: I love the built in JSP f

Re: [appfuse-user] zh_CN submit ERROR!!!

2007-03-19 Thread hiugong.gwok
Ubuntu installed mysqld with latin1 as default char-set. Run the mysql client (type mysql -u root on a terminal window), type command "status" to see if thats the case. If so, modify "/etc/mysql/my.cnf', and add "default-character-set=utf8" to both the [mysql] and [mysqld] sections. And if you

[appfuse-user] Overriding appfuse JSP

2007-03-19 Thread sarat.pediredla
I love the built in JSP files that come with appfuse but is there any way of editing these? I want to change the layout and customise the actions available from these JSPS and there seems to be no alternative to running mvn war:inplace to modify the JSPs? -- View this message in context: http:/

[appfuse-user] appfuse 1.8.2 on tomcat 6 - transaction manager issue

2007-03-19 Thread Carlos Orrego
I am having an issue portin my appfuse 1.8.2 to tomcat 6 Tomcat 6 does not come with a transaction manager, so i got the first classNotFound error. I added jta.jar to lib/common and now i have the following error: SEVERE: Exception sending context initialized event to listener instance of class

Re: [appfuse-user] Error when running install on core module

2007-03-19 Thread Matt Raible
If you add it as a new dependency, it should override the version from AppFuse. In an ideal world, you could specify an ehcache.version property in pom.xml. Unfortunately, Maven doesn't allow overriding properties in dependencies - except when you use -D or MAVEN_OPTS. Matt On 3/19/07, viggo <[

Re: [appfuse-user] Error when running install on core module

2007-03-19 Thread viggo
hmm, where do I change the version of EhCache used? It's not defined in any of my pom.xml. mraible wrote: > > This is caused by an issue with EhCache. It's fixed in 1.3.0-beta. > We'll be upgrading AppFuse to 1.3.0 when it's released (est. 2 weeks). > > Matt > > On 3/18/07, viggo <[EMAIL PR

Re: [appfuse-user] Appfuse wont run integration-test

2007-03-19 Thread hiugong.gwok
There is a line in the pom file of your project, something looks like http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.zip sarat.pediredla wrote: > > Apologies as probably this is a RTFM scenario but how do I change the URL? > I know it's somewhere in Cargo but I

RE: [appfuse-user] Debugging with Tomcat 3.2

2007-03-19 Thread Jakobsen, Peder
Since Eclipse WST now comes with a Tomcat plugin, it just seems odd to have to install _another_ Tomcat plugin to make it work. I think all that's required to make it work with the Eclipse 3.2 WST tomcat plugin is to be able to open a appfuse project as a WebProject, which I have not been abl

Re: [appfuse-user] org.appfuse.webapp.form.UserForm missing

2007-03-19 Thread Matt Raible
This class is generated by XDoclet. You need to run "ant war" before you can use your IDE to compile/debug. Matt On 3/19/07, Plant More Tree <[EMAIL PROTECTED]> wrote: Hi guys, I downloaded appfuse 1.9.4 struts version but the org.appfuse.webapp.form.UserForm class is missing as when I ed

Re: [appfuse-user] Debugging with Tomcat 3.2

2007-03-19 Thread Matt Raible
With 1.9.x, I use the Sydeo Tomcat Plugin. http://www.sysdeo.com/eclipse/tomcatplugin Of course, you should be able to do remote debugging w/o using any plugins as well: http://raibledesigns.com/rd/entry/remotely_debug_your_app_in Matt On 3/19/07, Jakobsen, Peder <[EMAIL PROTECTED]> wrote: H

RE: [appfuse-user] Problems with ZipOutputStream

2007-03-19 Thread Jon Loken
Hi, The following is a not solution for you, but is a good tip for anyone wanting to unzip files: Handling Zip files with Java is difficult. Many Specifications are poor and loose (including the 'zip' spec), and implementations will therefore vary, making interoperability difficult. You ca

[appfuse-user] org.appfuse.webapp.form.UserForm missing

2007-03-19 Thread Plant More Tree
Hi guys, I downloaded appfuse 1.9.4 struts version but the org.appfuse.webapp.form.UserForm class is missing as when I edit org.appfuse.webapp.action.SignupAction class eclipse IDE compaint missing! pls help ! thanks, Mark -- Cutting carbon emissions needs global effort -- View this messa

[appfuse-user] Debugging with Tomcat 3.2

2007-03-19 Thread Jakobsen, Peder
Hi, I'm running 1.9.4 with JDK 1.4, and I'm trying to set Eclipse 3.2 up so that I can step through my code using an Eclipse tomcat server runtime. Normally, this involves converting an existing project to a Web project. Has anyone had any luck doing this in Eclipse 3.2? Thanks, Peder :) Th

Re: [appfuse-user] database table names and cobertura

2007-03-19 Thread Rob van Oostrum
The exception is not thrown by cobertura, but by the hibernate3 plugin. The cobertura plugin does some dirty on-the-fly things with the runtime classpath that breaks the hibernate3 plugin when it wants to scan your classes for annotations. The workaround I use is to move it into a profile that's t

Re: [appfuse-user] Problems with ZipOutputStream

2007-03-19 Thread tonylu880042
The decorator.xml is already exclude the action. But the problem still there tonylu880042 wrote: > > This problems is not caused by appfuse. > If someone have been encountered this problem please give me some advice. > I wrote an action let user select some file store in the web site and let >

Re: [appfuse-user] zh_CN submit ERROR!!!

2007-03-19 Thread jason.jiang
yes, I create database with AppFuse! I use AppFuse with follow 3 step: 1. mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-m4-SNAPSHOT -DgroupId=com.kooyue2 -DartifactId=ko

[appfuse-user] Re: Suggestion for plug-in framework

2007-03-19 Thread Ahmed Mohombe
Developing some sort of Plugin mechanism is on our roadmap for AppFuse 2.2. http://appfuse.org/display/APF/Roadmap AFAIK one of the best *existing* plug-in frameworks for webapplications seems to be Tonic (the one that powers JIRA and Confluence): http://wiki.opensymphony.com/display/TON/Docume

Re: [appfuse-user] database table names and cobertura

2007-03-19 Thread tibi
yes i put the core classes (sources) in my project (so i can change them ;) ) i already have coberture version 2.0 thanks, tibi Matt Raible wrote: When you exclude the core classes, are you putting the source for them into your project? If so, it might be because cobertura has issues with t

Re: [appfuse-user] database table names and cobertura

2007-03-19 Thread Matt Raible
When you exclude the core classes, are you putting the source for them into your project? If so, it might be because cobertura has issues with the two different package structures. You might also try downgrading cobertura to version 2.0. Matt On 3/19/07, tibi <[EMAIL PROTECTED]> wrote: ok tri

Re: [appfuse-user] database table names and cobertura

2007-03-19 Thread tibi
ok tried a couple of things. remove core classes and exclusions from pom. than cobertura works fine put only exclusions back cobertura fails with same error put only core classes back cobertura fails with same error put exclusions on both war and on warpath cobertura fails with same error in t

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
michael i tried it but it did not work. so my conclusion is that when i add the core classes and the exclusions bit than the cobertura reports will fail. again this is the error: [INFO] Instrumentation was successful. [INFO] [resources:testResources] [INFO] Using default encoding to copy filt

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
you are right i have 2... now i understand what you mean and i will try to set the exclusions on the warpath bit. thanks and i'm sorry for missing that... tibi Michael Horwitz wrote: Just to be absolutely clear, you should have two dependencies in the pom.xml file on org.appfuse:appfuse-${

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
oeps that was a bit too fast. i did an extra mvn clean and now i can get cobertura report. so it seems to be influenced by the inclusion of the core classes in my project... tibi tibi wrote: ok i removed the core classes from my project removed the exclusions part and now i still can't make

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
ok i removed the core classes from my project removed the exclusions part and now i still can't make a cobertura report. so i think it doesn't have anything to doe with me changing the table names by including the core classes in my project. so i will start a new thread... tibi tibi wrote:

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
i does... but not if i put warpath in here (type): >> > >> >org.appfuse >> >appfuse-${web.framework} >> >${appfuse.version} >> >war >> > >> > >> >org.appfuse >>

Re: [appfuse-user] database table names

2007-03-19 Thread Matt Raible
You should be able to do: mvn war:inplace rm -r src/main/webapp/WEB-INF/lib rm -r src/main/webapp/WEB-INF/classes/struts.xml (if you're using Struts) Then mvn jetty:run should work. Matt On 3/19/07, tibi <[EMAIL PROTECTED]> wrote: ok so warpath does not work clear. tibi Matt Raible wrote:

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
ok so warpath does not work clear. tibi Matt Raible wrote: You need webapp/WEB-INF/classes because the Jetty Plugin currently isn't aware of warpath dependencies. http://issues.appfuse.org/browse/APF-686 Matt On 3/19/07, tibi <[EMAIL PROTECTED]> wrote: that warpath is kind of strange. whe

Re: [appfuse-user] database table names

2007-03-19 Thread Matt Raible
You need webapp/WEB-INF/classes because the Jetty Plugin currently isn't aware of warpath dependencies. http://issues.appfuse.org/browse/APF-686 Matt On 3/19/07, tibi <[EMAIL PROTECTED]> wrote: that warpath is kind of strange. when i change it from war to warpath and i delete my classes dir in

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
that warpath is kind of strange. when i change it from war to warpath and i delete my classes dir in main/webapp/WIN-INF run war:inplace i can't start mvn jetty:run it complains about missing "nested exception is java.lang.NoClassDefFoundError: org/appfuse/webapp/action/BaseAction" when i cha

Re: [appfuse-user] Suggestion for plug-in framework

2007-03-19 Thread Matt Raible
Developing some sort of Plugin mechanism is on our roadmap for AppFuse 2.2. http://appfuse.org/display/APF/Roadmap Matt On 3/19/07, sarat.pediredla <[EMAIL PROTECTED]> wrote: I am new to appfuse but wondering if there is an integrated plug-in framework that we could use? I have looked at JPF

[appfuse-user] Suggestion for plug-in framework

2007-03-19 Thread sarat.pediredla
I am new to appfuse but wondering if there is an integrated plug-in framework that we could use? I have looked at JPF http://jpf.sourceforge.net/ and is this something that would be nice to be integrated into appfuse? I think it would be great if we wanted to kickstart the development of an appl

Re: [appfuse-user] Error when running install on core module

2007-03-19 Thread viggo
Thanks Matt, I will use the beta until the final release. mraible wrote: > > This is caused by an issue with EhCache. It's fixed in 1.3.0-beta. > We'll be upgrading AppFuse to 1.3.0 when it's released (est. 2 weeks). > > Matt > > On 3/18/07, viggo <[EMAIL PROTECTED]> wrote: >> >> I have a sp

Re: [appfuse-user] Error on integration-test

2007-03-19 Thread Matt Raible
I've seen issues with using the embedded databases if you're not running from the top-level directory. This is because the databases are created in your current directory. So if you run "mvn test" in the core module and then cd into the "web" module and run "mvn test" - it won't create the datab

Re: [appfuse-user] Error when running install on core module

2007-03-19 Thread Matt Raible
This is caused by an issue with EhCache. It's fixed in 1.3.0-beta. We'll be upgrading AppFuse to 1.3.0 when it's released (est. 2 weeks). Matt On 3/18/07, viggo <[EMAIL PROTECTED]> wrote: I have a spring modular project (2.0-m4-SNAPSHOT), and when I run mvn install on the core module the log

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
removing the coberture plugin works... but now i miss my coberture... :( i will dive in tibi Matt Raible wrote: That's a strange error, but I recall seeing similar issues with the cobertura-maven-plugin. Can you try removing it from your pom.xml? If that doesn't work, try "mvn site -Dmav

Re: [appfuse-user] zh_CN submit ERROR!!!

2007-03-19 Thread Matt Raible
Did you create the database with AppFuse, or by hand? Looking at your SQL, I believe this: DEFAULT CHARSET=latin1; Should be: DEFAULT CHARSET=utf8; Matt On 3/19/07, jason.jiang <[EMAIL PROTECTED]> wrote: http://demo.appfuse.org/appfuse-jsf is OK! But I don't edit pom.xml this is my pom.x

Re: [appfuse-user] database table names

2007-03-19 Thread Michael Horwitz
I'm not sure if this will make too much of a difference, but the exclude should be on the dependency of type warpath as opposed to the dependency of type war. Mike. On 3/19/07, tibi <[EMAIL PROTECTED]> wrote: problem: mvn site i now have moved the org.appfuse.model.* into my own project and

Re: [appfuse-user] zh_CN submit ERROR!!!

2007-03-19 Thread jason.jiang
http://demo.appfuse.org/appfuse-jsf is OK! But I don't edit pom.xml this is my pom.xml and mysql.sql http://www.nabble.com/file/7263/kooyue2.sql kooyue2.sql http://www.nabble.com/file/7264/pom.xml pom.xml mraible wrote: > > Can you check and make sure your MySQL installation supports UTF

Re: [appfuse-user] database table names

2007-03-19 Thread Matt Raible
That's a strange error, but I recall seeing similar issues with the cobertura-maven-plugin. Can you try removing it from your pom.xml? If that doesn't work, try "mvn site -Dmaven.test.skip=true". Matt On 3/19/07, tibi <[EMAIL PROTECTED]> wrote: problem: mvn site i now have moved the org.appfu

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
problem: mvn site i now have moved the org.appfuse.model.* into my own project and changed my pom to: org.appfuse appfuse-${web.framework} ${appfuse.version} war org.appfuse app

Re: [appfuse-user] zh_CN submit ERROR!!!

2007-03-19 Thread Matt Raible
Can you check and make sure your MySQL installation supports UTF-8? Does this issue happen on the demo? http://demo.appfuse.org/appfuse-jsf Matt On 3/19/07, jason.jiang <[EMAIL PROTECTED]> wrote: i work with Appfuse2 M4 (JSF) I get the following error when I try to submit signup with chines

[appfuse-user] zh_CN submit ERROR!!!

2007-03-19 Thread jason.jiang
i work with Appfuse2 M4 (JSF) I get the following error when I try to submit signup with chinese(zh_CN) "first_name" and "last_name" ! "Caused by: java.sql.SQLException: Incorrect string value: '\xE6\x97\xAD' for column 'first_name' at row 1" http://www.nabble.com/file/7259/saveError.gif save