Lexmark X925 Lexmark Document Distributor - Page 72

Including a component in a workflow solution project, web\WEB, target, component, platform, install

Page 72 highlights

Developing components 72 test\-This contains source files for unit and integration tests. web\WEB‑INF\-This contains applicationContext*.xml class configuration files for Spring Framework. Note: To be recognized by Spring Framework, class configuration file names must begin with applicationContext. The default class configuration file is named applicationContext‑ContainerName.xml. target\-This contains the compiled component after a project build, in addition to associated class files, XML descriptor files, and copies of script files from the time of the build. This folder only appears in a new project after the first build. Note: This folder may be deleted to ensure a clean build. component\-This contains the XML descriptor of the component project. platform\-This contains the .jar file built from the component project. install\-This contains the compiled component solution, with the extension .solution. Note: File and folder names within a component project cannot contain double‑byte characters. However, files themselves may contain double‑byte characters. Including a component in a workflow solution project 1 Make sure the component project has been built. If Build Automatically is not enabled on the Project menu, then do the following: a Select the component project in Package Explorer. b Click Project > Build Project. The src\platform folder should contain a .jar file after a successful build. 2 Determine whether to include or reference the component: • An included component does not update with changes made to the original component project. Do the following to include a component: a Make sure the workflow solution project appears in Package Explorer. b Click and drag the .jar file from the src\platform folder of the component project to the root folder of the workflow solution project. • A referenced component updates if the original component project is changed and rebuilt. Do the following to reference a component: a Right‑click the workflow solution project folder in the Package Explorer pane, and then click Properties. b Select Project References from the list. c Select the check box beside the component project you want to reference in the workflow solution project. Note: A project must appear in Package Explorer to appear in the Project References list. d Click OK.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

test\
—This contains source files for unit and integration tests.
web\WEB
INF\
—This contains applicationContext*.xml class configuration files for Spring Framework.
Note:
To be recognized by Spring Framework, class configuration file names must begin with
applicationContext
. The default class configuration file is named
applicationContext
ContainerName
.xml
.
target\
—This contains the compiled component after a project build, in addition to associated class files, XML
descriptor files, and copies of script files from the time of the build. This folder only appears in a new project
after the first build.
Note:
This folder may be deleted to ensure a clean build.
component\
—This contains the XML descriptor of the component project.
platform\
—This contains the .jar file built from the component project.
install\
—This contains the compiled component solution, with the extension
.solution
.
Note:
File and folder names within a component project cannot contain double
byte characters. However, files
themselves may contain double
byte characters.
Including a component in a workflow solution project
1
Make sure the component project has been built. If Build Automatically is not enabled on the Project menu, then
do the following:
a
Select the component project in Package Explorer.
b
Click
Project
>
Build Project
.
The src\platform folder should contain a .jar file after a successful build.
2
Determine whether to include or reference the component:
An included component does not update with changes made to the original component project. Do the following
to include a component:
a
Make sure the workflow solution project appears in Package Explorer.
b
Click and drag the .jar file from the src\platform folder of the component project to the root folder of the
workflow solution project.
A referenced component updates if the original component project is changed and rebuilt. Do the following to
reference a component:
a
Right
click the workflow solution project folder in the Package Explorer pane, and then click
Properties
.
b
Select
Project References
from the list.
c
Select the check box beside the component project you want to reference in the workflow solution project.
Note:
A project must appear in Package Explorer to appear in the Project References list.
d
Click
OK
.
Developing components
72