Choose alfresco-global*.properties on dev.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 11:54 AM
Hi,
On Alfresco SDK 3 there are some defaults alfresco-global*.properties on artifact (.\src\test\properties\local)
Nice ! What's the best practice to choose this file on startup (tomcat Embedded with run.bat) ?
There are some maven profil to choose this file?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 02:05 PM
I am afraid I didn't understand your question, but what I know is that, by default, SDK 3.0 will use the alfresco-global-h2.properties file, as by default, the h2 database is used in order to execute the project.
The other files will be used if you change the database.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2017 08:08 AM
Hi,
My question is : What is the best way for choose Alfresco profil on developpement?
For starutup developpement environnement you can do :
mvn install alfresco:run
So, Can we run some things like :
mvn install alfresco:run -Pmysql
For choose :
* Maven profil
* Custom alfresco-global*.properties
* etc.. etc..
as all frameworks in fact.. (spring boot, jhipster etc. etc.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2017 08:10 AM
I guess Alfresco SDK does not offer different profiles.
