cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find the Alfresco's variables list (dir.root, etc)

Not applicable
Hi everybody Smiley Tongue
It's been a while since I post my last topic Smiley Surprised

Here's my problem…I've been using the custom-repository.properties in every project I created to specify where to find the dir.root, which db.driver to use, etc. My question is : where can I find the list of all these variables ? because so far I managed to found them searching on the forum (such as the ooo.exe, ooo.user, img.exe…) but where the hell are they listed Smiley Very Happy

If you can help me that would be a so greaaaaaaaat help…Because I'm tired of spending 2 or 3 days looking for a variable (true story) that I could have find in 2mn…

Thanks a lot !

Have a good day Smiley Tongue
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
Alfresco is configured via spring and Alfresco's spring configuration files are stored within the WEB-INF/classes/alfresco folder.     The properties files are used to reduce the need for the average user to wade through xml files.  

For example if you look in bootstrap-context.xml you will see       
<property name="dirRoot">
           <value>${dir.root}</value>
</property>

Which is where your property file is used to inject the value of dir.root.

Not applicable
OK so what you are telling me is that there are no static "variable's list" for Alfresco : we have to find the one that interest us in the configuration files ? and also we can create our own, etc. -> ?

Thanks a lot ! It helps Smiley Very Happy

premium93
Champ in-the-making
Champ in-the-making
Here's what I have in my repository.properties file:

spaces.store=workspace://SpacesStore
spaces.company_home.childname=app:company_home
spaces.guest_home.childname=app:guest_home
spaces.dictionary.childname=app:dictionary
spaces.templates.childname=app:space_templates
spaces.imapConfig.childname=app:imap_configs
spaces.imap_templates.childname=app:imap_templates
spaces.emailActions.childname=app:email_actions
spaces.searchAction.childname=cm:search
spaces.templates.content.childname=app:content_templates
spaces.templates.email.childname=app:email_templates
spaces.templates.email.invite1.childname=app:invite_email_templates
spaces.templates.email.notify.childname=app:notify_email_templates
spaces.templates.rss.childname=app:rss_templates
spaces.savedsearches.childname=app:saved_searches
spaces.scripts.childname=app:scripts
spaces.wcm.childname=app:wcm
spaces.wcm_content_forms.childname=app:wcm_forms
spaces.content_forms.childname=app:forms
spaces.user_homes.childname=app:user_homes
spaces.sites.childname=st:sites
spaces.templates.email.invite.childname=cm:invite
spaces.rendition.rendering_actions.childname=app:rendering_actions
spaces.wcm_deployed.childname=cm:wcm_deployed
spaces.transfers.childname=app:transfers
spaces.transfer_groups.childname=app:transfer_groups
spaces.transfer_temp.childname=app:temp
spaces.inbound_transfer_records.childname=app:inbound_transfer_records
spaces.outbound_transfer_records.childname=appSmiley Surprisedutbound_transfer_records

I was looking for one for Web Script Extensions