Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
LeftMenu




JSPWiki v2.2.33

[RSS]


Hide Menu

AppFuseQuickStart_jp


Difference between version 38 and version 23:

At line 1 changed 2 lines.
*This page is under translation. Before the final confirmation, the page will be in the bilingual status.
*このページは翻訳中です。最終の確認終わるまで、バイリンガルの状態のままになります。
<div class="note" style="margin-left: 40px">__NOTE__
*このページはまだ翻訳中です。最終の確認終わるまで、バイリンガルの状態のままになります。翻訳の誤りが山ほどあると思います。是非私宛に([fantastechnol AT yahoo.com|http://360.yahoo.com/fantastechnol])ご意見とご感想を教えて頂きたいと思います。
*This page is under translation. Before the final confirmation, the page will be in the bilingual status. You will be appreciated if you tell me the problems of the translation. [fantastechnol AT yahoo.com|http://360.yahoo.com/fantastechnol])
</div>
At line 4 removed 2 lines.
[AppFuse]'s main purpose is to help you quickly accelerate the start of your webapp. Here are the basic steps to creating a new project with it.
At line 10 changed 3 lines.
# Ant 1.6.5+をインストールし、ANT_HOME環境変数を設定してから、Tomcat 4.1.x+ (recommend 5.0.28) をインストールし、CATALINA_HOME環境変数をTomcatインストールフォルダに設定する。パッケージのリンクと詳しいインストール手順は[開発環境の設定|DevelopmentEnvironment] に参考してください。
# MySQL 3.23.x+ (recommend 5.0+)をインストールする。 <div class="note" style="margin: 10px"> __NOTE:__ MySQL 4.1.7を使う場合, UTF-8 キャラクタセットとInnoDB テーブルタイプを設定して下さい。 [詳しくは|http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseSupport#ref-AppFuseSupport-5].</div>
# [ローカルSMTPサーバを設定|AppFuseSMTP] するかmail.properties (web/WEB-INF/classes フォルダの中に)とbuild.properties (ルートフォルダ -- log4j メッセージのため)を存在する場所に指定してください。 - ディフォルトは''localhost''となってる。
# Ant 1.6.5+をインストールし、ANT_HOME環境変数を設定してから、Tomcat 4.1.x+ (5.0.28推奨) をインストールし、CATALINA_HOME環境変数をTomcatインストールフォルダに設定する。パッケージのリンクと詳しいインストール手順は[開発環境の設定|DevelopmentEnvironment] に参考してください。
# MySQL 3.23.x+ (5.0+推奨)をインストールする。 <div class="note" style="margin: 10px"> __NOTE:__ MySQL 4.1.7を使う場合, UTF-8 キャラクタセットとInnoDB テーブルタイプを設定して下さい。 [詳しくはこちらへ|http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseSupport#ref-AppFuseSupport-5].</div>
# [ローカルSMTPサーバを設定する|AppFuseSMTP] かmail.properties (web/WEB-INF/classes フォルダの中に)とbuild.properties (ルートフォルダ -- log4j メッセージのため)を存在する場所に指定してください。 - ディフォルトは''localhost''となってる。
At line 31 changed 1 line.
* AppFuseプロジェクトの作成、テストを自動化するスクリプトの作成ができます。いくつ私のテストに使ったスクリプトはCVSにあります: [spring+ibatis|https://appfuse.dev.java.net/source/browse/*checkout*/appfuse/Attic/test-spring.sh?content-type=text/plain] と [webwork|https://appfuse.dev.java.net/nonav/source/browse/*checkout*/appfuse/Attic/test-webwork.sh?content-type=text/plain]. 注意:実用の場合"appfuse"をプロジェクト名称にすると検索・リプレース処理は失敗になりますから、使用しないで下さい。
* AppFuseプロジェクトの作成、テストを自動化するスクリプトの作成ができます。いくつ私のテストに使ったスクリプトはCVSにあります: [spring+ibatis|https://appfuse.dev.java.net/source/browse/*checkout*/appfuse/Attic/test-spring.sh?content-type=text/plain] と [webwork|https://appfuse.dev.java.net/nonav/source/browse/*checkout*/appfuse/Attic/test-webwork.sh?content-type=text/plain].
<div class="note" style="margin-left: 40px"> __NOTE:__ "appfuse"をプロジェクト名称に指定すると、検索・リプレース処理は失敗になりますから、使用しないで下さい。</div>
At line 34 changed 1 line.
<div class="note" style="margin-left: 40px"> __NOTE:__ インストーラはEclipseのクラスパスを自動的に修正しますが、IDEAの対応ができていません。手動で行って下さい。</div>
<div class="note" style="margin-left: 40px"> __NOTE:__ インストーラはEclipseのクラスパスを自動的に修正しますが、IDEAの対応ではありません。手動であわせて修正下さい。</div>
----------------------------------------------------------------------------------------------------------------------------------
[AppFuse]'s main purpose is to help you quickly accelerate the start of your webapp. Here are the basic steps to creating a new project with it.
# Install J2SE 1.4.2+ and set a JAVA_HOME environment variable pointing to your installation directory.
# [Download|https://appfuse.dev.java.net/servlets/ProjectDocumentList] the source version or checkout the 1.9.x branch from Subversion (svn co https://appfuse.dev.java.net/svn/appfuse/branches/BRANCH_1-9-x appfuse). <!--div class="note" style="margin: 10px"> __NOTE:__ You can download AppFuse 1.8, Ant 1.6.5, Tomcat 5.0.28 and MySQL 4.1.11 (for Windows) using [the all-in-one installer|https://appfuse.dev.java.net/files/documents/1397/13863/appfuse-installer-1.8.zip]. View this package's [README.txt|https://appfuse.dev.java.net/source/browse/*checkout*/appfuse/extras/myjavapack/README-dist.txt] for more information.</div-->
# Install Ant 1.6.5+ and set an ANT_HOME environment variable. Install Tomcat 4.1.x+ (recommend 5.0.28) and set a CATALINA_HOME environment variable to point to your Tomcat installation. Checkout my [development environment setup|DevelopmentEnvironment] to get links for these packages and to see where I usually install them.
# Install MySQL 3.23.x+ (recommend 5.0+). <div class="note" style="margin: 10px"> __NOTE:__ If you're using MySQL 4.1.7, make sure to use a UTF-8 character set and an InnoDB table type. [Here's how|http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseSupport#ref-AppFuseSupport-5].</div>
# [Setup a local SMTP server|AppFuseSMTP] or change mail.properties (in the web/WEB-INF/classes directory) and build.properties (in the root -- for log4j messages) to point to an existing one - they default to ''localhost''.
# Copy lib/junit3.8.1/junit.jar to $ANT_HOME/lib.<div class="note" style="margin: 10px">__NOTE:__ You may see an ant-junit.jar file already in $ANT_HOME/lib. This jar is not the JUnit library, rather it is for the Ant junit task which will use the junit.jar that you place here.</div>
# If you're planning on using iBATIS (instead of Hibernate) or a web framework other than Struts, install that now using the instructions below.
# Run __ant new__ from the appfuse directory. You will be prompted for an application name, database name and package name. After entering these, a directory containing your new application will be created in the same directory as appfuse. <div class="note" style="margin: 10px; background-color: #fcc"> __WARNING:__ Some application values will not work - don't use "test", anything with "appfuse" in it or anything that starts with numbers. Also, two dashes (-) in a name will mess things up.</div>
# Navigate to your new project's directory and run __ant setup__ (or __ant setup-db setup-tomcat deploy__) to create the database, configure Tomcat and deploy your application. The database setup will only work if your root user has no password. You can change this in build.properties if necessary. Need [assistance with mysql setup|assistance with ant setup]?
# If you want to test and make sure everything works, run __ant test-all__ - make sure Tomcat is stopped when you do this. Next, run __ant test-reports__ - there will be a message after it runs telling you how you can view the generated reports.
After you've confirmed your installation using the above steps - take a look at the [Tutorials|Articles] to see how to develop with AppFuse.
__Optional Installations__
<div class="note" style="margin-left: 40px"> __NOTE:__ If you're developing with AppFuse on Unix, run "ant fixcrlf" before running the installers. You can also download a pre-built version that already has the web framework option you're looking for.</div>
* If you'd like to use [iBATIS|http://ibatis.com] as a persistence framework option, view the README.txt in {{extras/ibatis}}.
* If you'd like to use [Spring|http://www.springframework.org/docs/reference/mvc.html] as the web framework, view the README.txt in {{extras/spring}}.
* If you'd like to use [WebWork|http://www.opensymphony.com/webwork] as the web framework, view the README.txt in {{extras/webwork}}.
* If you'd like to use [JSF|http://myfaces.apache.org/] as the web framework, view the README.txt in {{extras/jsf}}.
* If you'd like to use [Tapestry|http://jakarta.apache.org/tapestry] as the web framework, view the README.txt in {{extras/tapestry}}.
* If you'd like you can write a script to automate the creation and testing of your project from AppFuse. There are a couple in CVS that I use for testing: [spring+ibatis|https://appfuse.dev.java.net/source/browse/*checkout*/appfuse/Attic/test-spring.sh?content-type=text/plain] and [webwork|https://appfuse.dev.java.net/nonav/source/browse/*checkout*/appfuse/Attic/test-webwork.sh?content-type=text/plain]. Note that using "appfuse" in a real-world project name is a bad idea as it'll find/replace things it shouldn't.
* If you don't want to install iBATIS, Spring MVC, WebWork, JSF or Tapestry - you should delete their installers in the {{extras}} folder before checking your project into source control.
<div class="note" style="margin-left: 40px"> __NOTE:__ These installers will modify the Eclipse classpath, but not the IDEA one. You'll need to modify that manually.</div>

Back to AppFuseQuickStart_jp, or to the Page History.