Showing posts with label Appfuse. Show all posts
Showing posts with label Appfuse. Show all posts

Friday, August 10, 2007

Fix the chinese encoding problem in the AppFuse generated application

Using the AppFuse on Mac OSX, you will find the default generation of an application couldn't display the Traditional Chinese / Simplified Chinese as normal like this.

Sunday, May 13, 2007

Fix AppFuse generated application that couldn't connect HSQLDB database

Step 1: Enable the hibernate show sql features. This for tracing which SQL have problem to execute. If the 1st one has problem, we can going on.

Step 2: Since, the original AppFuse 1.9.x is not well prepare for the HSQLDB. We need to prepare the table creation script for the HSQLDB. i.e., hsql-create.sql, in the metadata folder of the project generated by the AppFuse.


Step 3: Using command "ant db-prepare" or click it the "db-prepare" to execute it in the Ant view of the Eclipse.


Step 4: Using command "ant compile" or click the "compile" in the Ant view of Eclipse.

Step 5: Using command "and deploy-war" or click the "deploy-war" in the Ant view of Eclipse.

Sunday, April 22, 2007

Setup environment variable for the AppFuse on MacOSX

Edit the ".bash_login" file and add these environment variables before use start to use 'ant new' with Appfuse.

export CATALINA_HOME=/usr/local/apache-tomcat-5.5.20
export ANT_HOME=/Developer/Java/Ant

And then, copy the "junit.jar" file from the "lib/junit3.8.1/" folder inside the AppFuse directory to the ANT home "lib" folder.

And then, you can start to new a project with the "ant new" command. Just enter 3-4 simple information. Your application is created.

Using AppFuse in Mac OSX

Software development, Java programming ... etc. are keeping evolution and growth. Inside there, it has many compartively dummy and repeadly works. Why it is comparively dummy? It is simple under a condition, that is "You have experince to use it".

I always thinks how to avoid this kinid of works. Now, i'm trying a framework + tool, Appfuse 1.9.4. It seems can help to start a java web-based application in a short time. This is some of my experince of using it on Mac OSX.

XML Master Cert Group

Google Groups
XML Master Certification
Visit this group