cancel
Showing results for 
Search instead for 
Did you mean: 

Choose alfresco-global*.properties on dev.

gawel
Confirmed Champ
Confirmed Champ

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 3

douglascrp
World-Class Innovator
World-Class Innovator

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.

gawel
Confirmed Champ
Confirmed Champ

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

douglascrp
World-Class Innovator
World-Class Innovator

I guess Alfresco SDK does not offer different profiles.