@cronapp/templates 4.2.18 → 4.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@cronapp/templates",
3
- "version": "4.2.18",
3
+ "version": "4.2.19",
4
4
  "cronapp-ide-minimum-version": "2.5.0"
5
5
  }
@@ -1,18 +1,18 @@
1
- <#-- Verificar se existem parametros -->
2
- <#if (authentication?? && backend?? && frontend??) >
3
- <#if (authentication?lower_case) != "nenhuma" && (frontend?lower_case) == "true" && (backend?lower_case) == "true" >
4
- path.content=/webapp-autenticacao
5
- </#if>
6
- <#if ((authentication?lower_case) == "nenhuma" && (frontend?lower_case) == "true") || ((backend?lower_case) == "false" && (frontend?lower_case) == "true")>
7
- path.content=/webapp-sem-autenticacao
8
- </#if>
9
- <#if (backend?lower_case) == "true">
10
- path=/java
11
- path=/resources
12
- </#if>
13
- <#-- Caso contrario copiar tudo -->
14
- <#else>
15
- path=/java
16
- path=/resources
17
- </#if>
18
- path=/mobileapp
1
+ <#-- Verificar se existem parametros -->
2
+ <#if (authentication?? && backend?? && frontend?? && includeauth??) >
3
+ <#if (((authentication?lower_case) != "nenhuma" && (backend?lower_case) == "true") || (includeauth?lower_case == "true")) && (frontend?lower_case) == "true" >
4
+ path.content=/webapp-autenticacao
5
+ </#if>
6
+ <#if (((authentication?lower_case) == "nenhuma" || (backend?lower_case) == "false") && (includeauth?lower_case == "false")) && (frontend?lower_case) == "true">
7
+ path.content=/webapp-sem-autenticacao
8
+ </#if>
9
+ <#if (backend?lower_case) == "true">
10
+ path=/java
11
+ path=/resources
12
+ </#if>
13
+ <#-- Caso contrario copiar tudo -->
14
+ <#else>
15
+ path=/java
16
+ path=/resources
17
+ </#if>
18
+ path=/mobileapp
@@ -1,14 +1,15 @@
1
- <#-- Verificar se existem parametros -->
2
- <#if (authentication?? && backend?? && frontend??) >
3
- <#if (authentication?lower_case) != "nenhuma" && (frontend?lower_case) == "true" && (backend?lower_case) == "true" >
4
- ../../project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp
5
- </#if>
6
- <#if ((authentication?lower_case) == "nenhuma" && (frontend?lower_case) == "true") || ((backend?lower_case) == "false" && (frontend?lower_case) == "true")>
7
- ../../project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp
8
- </#if>
9
- <#-- Caso contrario copiar tudo -->
10
- <#else>
11
- </#if>
12
- <#if ((backend??) && (backend?lower_case) == "true") >
13
- ../../project/W/cronapp-rad-project/src/main/resources
14
- </#if>
1
+ <#-- Verificar se existem parametros -->
2
+ <#if (authentication?? && backend?? && frontend??) >
3
+ <#assign includeAuthEnabled = ((includeauth!"false")?lower_case == "true")>
4
+ <#if (((authentication?lower_case) != "nenhuma" && (frontend?lower_case) == "true") || includeAuthEnabled) >
5
+ ../../project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp
6
+ </#if>
7
+ <#if (((authentication?lower_case) == "nenhuma" && (frontend?lower_case) == "true") && !includeAuthEnabled)>
8
+ ../../project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp
9
+ </#if>
10
+ <#-- Caso contrario copiar tudo -->
11
+ <#else>
12
+ </#if>
13
+ <#if ((backend??) && (backend?lower_case) == "true") >
14
+ ../../project/W/cronapp-rad-project/src/main/resources
15
+ </#if>
@@ -1,9 +1,10 @@
1
1
  <#-- Verificar se existem parametros -->
2
2
  <#if (authentication?? && backend?? && frontend??) >
3
- <#if ((authentication?lower_case) != "nenhuma" && (frontend?lower_case) == "true" && (backend?lower_case) == "true") && !(service!"false")?boolean >
3
+ <#assign includeAuthEnabled = ((includeauth!"false")?lower_case == "true")>
4
+ <#if (((authentication?lower_case) != "nenhuma" && (frontend?lower_case) == "true") || includeAuthEnabled) && !(service!"false")?boolean >
4
5
  path.content=/webapp-autenticacao
5
6
  </#if>
6
- <#if (((authentication?lower_case) == "nenhuma" && (frontend?lower_case) == "true") || ((backend?lower_case) == "false" && (frontend?lower_case) == "true")) && !(service!"false")?boolean>
7
+ <#if (((authentication?lower_case) == "nenhuma" && (frontend?lower_case) == "true") && !includeAuthEnabled) && !(service!"false")?boolean>
7
8
  path.content=/webapp-sem-autenticacao
8
9
  </#if>
9
10
  <#if (backend?lower_case) == "true" >