Project

General

Profile

Actions

Setup Development Environment » History » Revision 5

« Previous | Revision 5/16 (diff) | Next »
chin-yeh, 01/16/2012 01:44 PM


Setup Development Environment

This guide describes how to setup the development environment in which contains the following components:
  • Eclipse IDE (Galileo)
  • Jboss AS 4.0.4 (local deployment only)
  • Jboss AS 4.2.2 (local deployment only)
  • Jetty 7.5.1 (local & remote deployment)

Steps

Note: Refer to the Setup Files section to get all of the required files.

  1. Download and extract the following files to C drive (C:\):
  2. Install the JDK 6.0 Update 23 and install it into c:\program files
  3. Edit eclipse.ini (c:\eclipse_galileo) and confirm if it's pointing to the JDK in which installed in the previous step:
    -vm
    C:/Program Files/Java/jdk1.6.0_23/jre/bin/client/jvm.dll
    
  4. Launch the Eclipse IDE (c:\eclipse_galileo\eclipse.exe) and choose the workspace (c:\eclipse_mcom) that extracted in the previous step
  5. Navigate to [Window -> Preferences -> Java -> Installed JREs] and make sure the workspace is using JDK, not JRE, and it's pointing to the JDK location that installed in the previous step
  6. Click on the CVS Repository view (located at the left bottom of the workspace) and update the user for all of the repositories:
    • right click on the repository -> Properties -> User
  7. Finally, do a CVS Update on all of the project(s)
    • right click on the project -> Team -> Update
  8. done

Setup Files

Filename Description
Eclipse Galileo Eclipse IDE
Eclipse Workspace The Eclipse workspace
Jboss AS 4.0.4 Jboss Application Server 4.0.4
Jboss AS 4.2.2 Jboss Application Server 4.2.2
JDK 5.0 Update 20 JDK 5.0 with Update 20 for Windows
JDK 6.0 Update 23 JDK 6.0 with Update 23 for Windows

How to Deploy

  1. Clean and rebuild the mcom-connector project
  2. [right click on the project] and choose [Debug As -> Run Jetty]
  3. if no error, you can access the application via:

http://127.0.0.1:8080/mcom-connector/

How to Debug

Updated by chin-yeh over 12 years ago · 5 revisions