Choose alfresco-global*.properties on dev.

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member II

Choose alfresco-global*.properties on dev.

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?

3 Replies
Advanced II

Re: Choose alfresco-global*.properties on dev.

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.

Active Member II

Re: Choose alfresco-global*.properties on dev.

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.)

Advanced II

Re: Choose alfresco-global*.properties on dev.

I guess Alfresco SDK does not offer different profiles.