|
Set classpath variablesThe project requires several JARs to resolve compile-time
dependencies. Set up the following Eclipse classpath workspace variables
to make these JARs available:
Variable name
|
Path
|
AEP_SDKS
|
Path to the directory containing all ADEP
SDK content
|
THIRD_PARTY
|
Path to the directory containing all third-party
libraries that ICR requires
|
DS_SDK
|
Path to the directory containing the Document
Server SDK.
|
Follow these steps to set the variables: Create a folder
named THIRD_PARTY on your development machine.
Create a folder named DS_SDK on your development machine.
Now, copy the Document Services SDK—typically, C:\Adobe\ADEP\Document Services 10.0\sdk—from
an ADEP server to this folder.
In Eclipse, select Window > Preferences.
In the Preferences dialog, click Java > Build Path > Classpath Variables.
Click New and define the variables listed above.
Click OK.
Add third-party variablesTo satisfy compile-time dependencies, add the following
third-party libraries to the THIRD_PARTY folder:
jackrabbit-spi-commons-2.1.1.jar
jcr-2.0.jar
junit-4.7.jar
org.apache.sling.api-2.1.1-R991494.jar
org.osgi.compendium-1.2.0.jar
spring-beans-3.0.3.RELEASE.jar
spring-context-3.0.3.RELEASE.jar
spring-core-3.0.3.RELEASE.jar
spring-security-core-3.0.3.RELEASE.jar
velocity-1.5.jar
slf4j-api-1.6.0.jar
org.apache.sling.event-3.0.2.jar
commons-lang-2.4.jar
spring-web-3.0.3.RELEASE.jar
biz.aQute.bnd.jar (required to generate the ICR service bundle; not a compile-time dependency)
Import projects into EclipseIn Eclipse, right-click the Package Explorer view
to bring up the context menu. Select Import Wizard.
In the Import dialog, select General > Existing Project into workspace.
Click Next.
In the Select root directory field, enter ICR_SOURCE/integratedcontentreview/adobe_icr_services and
press Enter.
The Projects view gets populated with the portal
project.
Click Finish to import the project into your Eclipse
workspace.
|
|
|