EAR file and configuration

AhmadAsfour
edited February 4, 2009 in Documentum #1

Hello,

I have developed a custom service to generate a login ticket to the logged in user using Eclipse composer, and I added a link to the "etc" folder; the folder which has the "dfc.properties" file that contains the (dfc.docbroker.host and dfc.docbroker.port) information needed to connect to the repository.


And after building the custom service an EAR file is generated to be deployed using Bea for example.

Now; my question is, I want this EAR file to read the information "dfc.properties" that is (dfc.docbroker.host and dfc.docbroker.port) form a config file to avoid biolding EAR for each different deployment.




Regards.

Comments

  • aashishpatil
    edited February 2, 2009 #2

    Hi,

    Moving this thread to the Documentum community on EDN.

    Thanks,

    Aashish

  • Burlacu_Dorin
    edited February 4, 2009 #3

    You may use inside ear's dfc.properties #include clause

    #include path_to_an_external_dfc.properties

    (#include C:\Documentum\resources\dfc.properties)