Creating A New Component Project; Understanding The Contents Of A Component Project - Lexmark C792 Manual

Lexmark document distributor sdk guide
Hide thumbs Also See for C792:
Table of Contents

Advertisement

Developing components

Creating a new component project

Like solutions, each LDD component is maintained as a project within Eclipse.
1
In Eclipse, click File > New > Project.
2
Expand the Lexmark folder.
3
Select LDD 4.x Component, and then click Next.
4
Type a container name for the project. The container name is the name of the component project in Eclipse IDE.
5
Configure optional settings:
To use a component name different from the container, clear the Use Default check box , and then type a
component name in the Component Name field.
To use a base Java package name different from the default, clear the Use Default check box, and then type a
name for the base Java package in the Component Name field.
To start a component project at a version other than 1.0, type a value in the Initial Version field.
To use a package name different from the default that is based on the solution name, clear the Use Default
check box, and then type a package name.
6
Select the version of the LDD system where to install the solution, and then click Next.
7
Select the template most appropriate for the component you plan to develop from the Available Templates list.
8
Click Next.
9
Type a description for the solution and the name of the author, and then click Finish.
The Lexmark Solution Development perspective is opened if another perspective is open before the new project is
created.

Understanding the contents of a component project

The following folder structure details the contents of a component project. Some folders may not appear in all
components.
ProjectFolder\—This is the container folder, named when creating the project, that contains all contents of the
project.
docs\—This contains documentation files for the component.
lib\—This contains third‑party .jar, .exe, and .dll files used by the component.
src\—This contains the source files of the project.
conf\—This contains the configuration files for the project
images\—This contains images associated with the component.
java\—This contains Java source files.
native\—This contains any non‑Java source files.
platform\—This maps to the target\component\platform folder, which contains the .jar file built from the
component project.
prop\—This contains properties files.
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

C925X792X925Document distributor 4.6.02

Table of Contents