I have downloaded the ProjectForge-src-3.6.1,now I need to re-develop it.Now I want to know if the folder is a complete maven project,If I can switch it to normal eclipse project,thank you very much!
Yes, it's a complete maven project. Please refer the new Developer Quickstart from www.projectforge.org. It's recommended to use the new 4.0 version (available from SourceForge via SVN check-out). The 4.0 release packages is coming soon.
Thanks for your quick reply.I want to ask more questions that if the maven project has included wicket plugin and jquery plugin,when i switch it to normal eclipse project,there are some errors(syntax error).I don not know,please help me,thank you very much!
ProjectForge is designed as a Eclipse project (a lot of developers use Eclipse for its development). Please refer the quickstart too:
After calling mvn eclipse:eclipse the class path and everything is set (Wicket etc. should work).
Keep on hacking
I have done mvn eclipse:eclipse.But one thing I can't understand is that the projectforge is a maven project so that the directory structure is maven.When I deploy it in eclipse,how to run it!Besides,I feel strange that .java file and .html file must be in the same folder in wicket framework,but the directory structure is not like that,what's wrong,please tell me!We are in urgent,thank you very much!
1. if you use the 4.0 version (from svn as described in the developer quickstart) you only have to run MyStart.java in eclipse.
2. If you have a previous version you need the WTP plugin (which starts a Tomcat web server). ProjectForge version 3.* is a WTP enabled application. This is described in ProjectForge's DeveloperGuide, section 2.3.
3. Or you can build ProjectForge via mvn install as war file and you can deploy it in your Tomcat server.
the Wicket files are in a separate source folder, that's correct. It's easier to work together with web designer when they're in a normal web directory with all web stuff (images, js, css etc.).
When I switch the ProjectForge-src-3.6.1 to eclipse project,and I import it to myeclipse.However,there are some syntax error such as the client-side javascipt errors,besides,there are some syntax errors in juery-1.5.min.js and juery.mobile-1.0a3.min.js,I don't know how to modify.Please Help us,thank you very much！
sorry, I haven't enough information to help you with that. Do you mean there are errors in your browser (e. g. FireFox)? If so, please note, that jquery* are third party java-script used in a lot of projects. Please refer the related home pages of jquery and jquery mobile.
And again, I recommend to use the new version 4.0 from the svn for development. At the moment we test to publish a beta 1 of 4.0 including all the files. It was planned as an Easter beta…
Regarding Wicket, may-be it's a good idea to start with LoginPage.html, LoginPage.java and LoginForm.java, search for them first and you will find plenty of other Wicket pages. Please note: Some edit and list pages have no html file, because they are extended from AbstractEditPage or AbstractListPage and they share the html code with the super page.
Because of the network of our company,I can not download the 4.0 version through SVN.Now I have deployed ProjectForge-src-3.6.1 in MyEclipse successfully,but when I want to run it in Tomcat,there are always some errors.I want to ask if the projectforge can run in Tomcat and If it need a maven-tomcat-plugin.Besides,If it can run in Jetty.Thank you very much,we need to redevelop it!
When I want to visit the database in develop mode,there are always errors about can not load hsqldb.jdbcDriver.If I need to install hsqldb on my PC.Besides,If I want to change it to postgresql,how could I do,I haven't found the connection sentence of database.Please help me,thank you very much!
please have a look at the documentation: www.projectforge.org - Installation, AdministrationGuide and DeveloperGuide. HSQLDB is built-in. For sure, ProjectForge runs under both Tomcat and Jetty. On www.projectforge.org it runs for example under Tomcat and the standalone-version under Jetty.
Log in to post a comment.