Installing and Configuring the Eclipse IDE to Create Applications with Adobe ® LiveCycle TM Overview This document provides instructions to install and configure the Eclipse Integrated Development Environment (IDE) 3.0.1 and Java TM  plug-ins. It can be used to build applications that interact with Adobe® LiveCycle TM  software.To build LiveCycle applications using Eclipse, you need to:➤ Install a Java SDK ➤ Install Eclipse and plug-ins ➤ Configure Java preferences ➤ Configure server definitions
➤ Configure the build path
➤ Configure code templates
➤ Create a J2EE TM  project
➤ Create a J2EE module (web application)
➤ Add external libraries
➤ Create Web application components
eclipse开发手机appBefore you begin
Before installing the Eclipse IDE, you must install a Java Software Development Kit
(SDK) and configure it for your system.
The Java SDK is available from Sun at: java.sun/j2se/index.jsp
Important: Use version J2SEE version 1.4.2 or higher because Adobe LiveCycle 6.0 software was developed and tested with version 1.4.2.
Installing a Java SDK
The following steps assume that the SDK is installed in the C:\ root directory.
1. Create an environment variable:
JAVA_HOME=c:\j2sdk1.4.2_06
2. Edit the Path variable:
Append c:\j2sdk1.4.2_06\bin to the path statement
TABLE OF CONTENTS
1 Overview
1 Before you begin
2 Accessing the Eclipse IDE software
2 Installing the Eclipse IDE and plug-ins
3 Configuring the Eclipse IDE
6 Getting started
11 Compiling
12 Deployment
13 Debugging
16 Other resources
Accessing the Eclipse IDE software
The Eclipse IDE and most of the plug-ins can be downloaded from /. Important: Do not run Eclipse until you finish all the installations.
1. From the Eclipse web site, / download:
➤Eclipse Platform SDK
➤EMF
➤XSD
➤GEF
➤VE – Visual Editor
2. From Object Learning’s web site, / download the
Lomboz IDE plug-in.
Installing the Eclipse IDE and plug-ins
1. Extract the eclipse-SDK-3.0.1-win3
2.zip file to your C:\ directory.
Note: There is no installer for this application. Eclipse runs from the folder where you extracted the files.
2. Install the additional Eclipse plug-ins you downloaded. Extract:
a) emf-sdo-runtime-2.0.1.zip to C:\
b) xsd-runtime-2.0.1.zip to C:\
c) GEF-runtime-3.0.1.zip to C:\
d) VE-runtime-1.0.1.1.zip to C:\
e) lomboz.301.zip to C:\Eclipse\
3. Double-click file or the shortcut that you created to start Eclipse. Eclipse uses the PATH statement to locate the JAVA_HOME environment variable and Java SDK components.
4. In the Workspace Launcher dialog, select the path where you want to store project files. Click OK.
5. Refer to the following screen capture. Click the arrow in the top right corner to access
the workbench.
Figure 1
Configuring the Eclipse IDE
Configuring Java preferences
1. In the Window menu, select Open Perspective >Java.
2. From the Window menu, select the Customize Perspective option to see the following dialog:
3. Check the Lomboz J2EE Wizards and click OK.
4. From the Window menu, click the Preferences option.
5. Select the Lomboz category from the left panel to see the following dialog
6. Click the … button beside the entry for the JDK Tools.jar. Browse your hard drive and
select the tools.jar file located in the SUN SDK downloaded in Installing a Java SDK  (c:\j2sdk1.4.2\lib\tools.jar).
7.
Click Apply.
Figure 2
Figure 3
1. Expand the Lomboz category in the Preferences window and select the Server Definitions option. The following dialog is displayed:
Figure 4
2. In the Server Types field: select the application server you will be using.
3. In the Properties tab, enter your information in the text boxes.
For JBoss TM 3.2.x:
Application Server Directory C:\jboss-3.2.2
Address127.0.0.1
Port8080
Server Configuration all
Classpath Variable Name JBoss32x
Classpath Variable C:\jboss-3.2.2
For WebSphere TM 5.1 (WebSphere 5.0 in the Server list):
WebSphere Directory C:/Program Files/WebSphere
Cell Name<Your Server name>
Node Name<You Server name>
Server Name Server1
User Name admin
Password<Password if security is activated>
Address127.0.0.1
Port8090
JNDI Port2809
Classpath Variable Name WAS50
Classpath Variable C:/Program Files/WebSphere
4. Click Apply.
1. In the Preferences window, expand the Java category and select the Build Path.
The following dialog box is displayed:
Figure 5
2. Select the Folders option.
This enables Eclipse to automatically create an src folder in the Java projects you create. It keeps the source files out of the deployment folder.
3.  Click Apply.
Configuring code templates
1. In the Java category, expand the Code Style option, and select Code Templates.
2. Expand the Code category in the top right panel, and select New Java Files.
The Pattern window displays text that is automatically inserted into new .java files.
Figure 6
3. To change the existing text, click the Edit button and replace the text. You can use copy and
paste commands to change the text in the window.

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。