Open source blog roller2 1. Establishment process of source code project

[keyword]: open source blog roller v2.1 project establishment and release [note]: I use MySQL and Tomcat 5.0 resources that may be helpful: http://www.rollerweblogger.org/ http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuide_2.x http://rollerweblogger.org/wiki/Wiki.jsp?page=RollerWiki_CN I built roller2 here Version 1 of the project can be downloaded from the official website to the source compressed file and release compressed file of roller21, and decompressed respectively. The publishing project mentioned below refers to the directory extracted by publishing the compressed file (roller-2.1.1-importing. Tar. GZ). [step] 1. First, create an empty Java Web project, assuming that the project name is roller21 and the web directory is web. No other special configuration is required. 2. Transfer the SRC directory in the copy source code to the roller21 project. 3. Transfer the web directory in the copy source code to the roller21 project. 4. Other directories in the source code are useless for the separate blog we want to build. Don't worry. 5 Publish all files under WEB-INF / classes / in the project, including the folder copy to roller21 project SRC directory 6 Create an empty resources directory under the web directory of roller21 project (as if it is needed at runtime). 7. Open roller / WEB-INF / lib / rollerweb.jar in the publishing project, unzip the org.roller.presentation.forms package, decompile and copy it to the corresponding position in the SRC directory of roller21 project. The decompilation tool is used [Xiaoying java source code decompilation expert] this is OK. If you don't have it, you can find it online for free. 8. Open roller / WEB-INF / lib / rollerbeans.jar in the publishing project, unzip the org / roller / POJOs / wrapper package, decompile and copy it to the corresponding location in the SRC directory of roller21 project. 9. Open roller / WEB-INF / lib / rollerbeans.jar in the publishing project and expand it to org / ro Ller / POJOs /, all HBM Copy the XML file to the corresponding position in the SRC directory of the roller21 project. 10. Open the roller / WEB-INF / lib / rollerbeans.xml file in the publishing project Jar, expand to org / roller / business /, and all hitcountdata hbm. Copy the XML file to the corresponding position in the SRC directory of the roller21 project. 11. Open the roller / WEB-INF / lib / rollerbeans.xml file in the publishing project Jar, expand to the root directory, and the version. Jar in the root directory Copy the properties file to the roller21 project SRC directory. 12. Open roller / WEB-INF / lib / rollerweb.exe in the publish project Jar, expand to / meta inf / TLDs, and then roll TLD file copy to roller21 project web / WEB-INF / directory 13. Slave address http://www.rollerweblogger.org/wiki/attach/InstallationGuide_120/roller_tomcat_5_0.xml Download the XML file and save it as roller XML, put it in Tomcat 5.0/conf/catalina/localhost, And modify the database configuration (if the database has been established, it will be described below) 14. Copy all jar files except the three starting with roller under roller / WEB-INF / lib / in the release project to the web / WEB-INF / lib / directory of roller21 project. 15. Download a hibernate2.jar file from the Internet and place it in the Web / WEB-INF / lib / directory of roller21 project. 16. Copy the WEB-INF directory of the release project Recorded struts config xml,validation. xml,validator-rules. xml,web. XML to the WEB-INF directory of the project. 17. If you need simplified Chinese internationalization files, you can use applicationresources under the SRC directory of roller21 project_ zh_ CN. Properties, native2ascii - reverse applicationresources_ zh_ CN. properties target. Properties and set target Change the properties to applicationresources_ zh_ CN. properties。 This is because we previously copied the application resources from the release project_ zh_ CN. The properties file is encoded. All you see is Unicode coding. It is possible that we need to modify the Chinese attribute file. In fact, we do. 18. Database: find roller / WEB-INF / dbscripts / MySQL / CREATEDB. From the release project SQL and execute it, and then modify the roller XML file, how to change, needless to say.

[hard coding] theme / footer.jsp

[other knowledge points] http://blog.csdn.net/colinlin/archive/2006/03/19/629360.aspx http://msdn.microsoft.com/msdnmag/issues/04/04/XMLFiles/default.aspx http://blog.csdn.net/freexploit/archive/2006/03/14/624597.aspx http://www.donews.net/amaya/archive/2004/07/03/37275.aspx http://blog.csdn.net/driftingice/archive/2004/09/24/95028.aspx

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>