Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property alfresco.data.location should be configurable to be an absolute path. #171

Closed
mindthegab opened this issue Jul 20, 2014 · 3 comments

Comments

@mindthegab
Copy link
Contributor

From m.swe...@aca-it.be on December 11, 2013 05:04:10

The property "alfresco.data.location" is configured as a relative path today. By default this is "alf_data_dev". We would like to configure this as an absolute path (e.g. "${project.basedir}/alf_data_dev}"), but this is not possible at the moment.

This is caused by 2 flaws in the alfresco-sdk-parent-1.1.1.pom:

• The property "alfresco.db.url" is configured with the prefix "./", which prevents us to specify our absolute path in the "alfresco.data.location" property.

• The configuration of the "purge" profile configures "${project.basedir}/${alfresco.data.location}" to be purged. So no other absolute path is possible. What version of the product are you using? On what operating system? Maven SDK 1.1.1 Please provide any additional information below. I propose to remove the "./" prefix from the "alfresco.db.url" property and remove the "${project.basedir}/" prefix from the "purge" profile.
We should then set the default "alfresco.data.location" value to "${project.basedir}/alf_data_dev".

Original issue: http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=171

@mindthegab
Copy link
Contributor Author

From m.swe...@aca-it.be on February 05, 2014 03:05:13

Better yet to set the default to "${project.parent.basedir}/alf_data_dev".

@mindthegab
Copy link
Contributor Author

From colum...@gmail.com on July 18, 2014 13:23:42

Labels: Milestone-Release-sdk-unscheduled

@jgoldhammer
Copy link
Contributor

The data location is now set to <alfresco.data.location>${session.executionRootDirectory}/alf_data_dev</alfresco.data.location>

And there is no purge profile anymore.
So I will close the ticket for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants