Setting up a DFC development environment in eclipse

Source: Internet
Author: User
Description

To setup a DFC development environment you will need at a minimum the DFC. jar and dfcbase. jar files. however, we recommend that you reference all the jar files in the folder that contains the DFC. JAR file. on Windows, this folder typically isC: \ Program Files \ Documentum \ shared. In addition, you will need any classfolders and jars of your custom business objects. another important component is the folder that contains the DFC. properties and the log4j. properties file. this folder needs to be in the classpath too.

Creating a Java project for DFC development in eclipse 3.1

  1. Click on menu itemFile-> New-> Project
  2. From the 'new project' window selectJava-> JAVA ProjectAnd then click on 'Next'

    Fig-New project window

  3. Enter a project name (example-'simple DFC Project'). For sake of keeping things simple, keep the defaults for other options on this screen. Click on 'Next '.

    Fig-Enter project name

  4. Select the 'libraries' tab and click on the 'Add external jars' button.
  5. In the 'jar Selection' dialog navigate to the folder that contains the DFC. jar file. On Windows, this is typicallyC: \ Program Files \ Documentum \ shared. Select All (CTRL + a) the jars in this folder and then click on 'open '.

    Fig-Add DFC jars

  6. Now, click on the 'Add class folder' button and then click on 'create new folder'

    Fig-Add class folder

  7. In the 'new folder' dialog give some name (e.g. 'dmconfig') and click on 'advanced'
  8. Select the 'link to folder in filesystem' checkbox and choose the folder that contains the DFC. properties file. On Windows this is typicallyC: \ Documentum \ config

    Fig-Link to the folder containing the DFC. properties File

  9. Click on 'OK' in both the 'new folder' and 'add class folder' dialogs
  10. Again for the sake of simplicity, keep the default Project Settings and click on 'finish '.
  11. Eclipse will create a project with the default source and output folders. you can now create Java classes that use DFC in the project. to create a new class right-click on the source folder (or package) and selectNew-> class. To execute a Java class right-click on the class and selectRun as-> JAVA application. For more details related to the Java development options, please refer to the eclipse documentation.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.