i do : 1. gradle build
2. gradlew clean build cleaneclipse eclipse
3. F5 for refresh in eclipse
And i run Tomcat.
I tried by not putting the required modules. And I still have the same modules installed. I don’t understand.
my setting.gradle is :
rootProject.name = 'erp-axelor'
def requiredModules = [
"axelor-mon-module",
"axelor-account",
"axelor-purchase",
"axelor-sale",
"axelor-production",
"axelor-stock",
"axelor-supplychain",
"axelor-human-resource",
"axelor-crm",
"axelor-admin",
"axelor-base",
"axelor-exception",
"axelor-tool",
"axelor-message",
"axelor-project",
"axelor-bank-payment",
"axelor-bpm", //ajout a partir d'ici inclus
"axelor-business-production",
"axelor-business-project",
"axelor-business-support",
"axelor-cash-management",
"axelor-client-portal",
"axelor-contract",
"axelor-fleet",
"axelor-helpdesk",
"axelor-maintenance",
"axelor-marketing",
"axelor-mobile",
"axelor-project-dms",
"axelor-quality",
"axelor-studio",
"axelor-supplier-management",
"axelor-supplier-portal",
"axelor-talent"
]
def modules = []
file("modules").traverse(type: groovy.io.FileType.DIRECTORIES, maxDepth: 1) { it ->
if(requiredModules.contains(it.getName()) && new File(it, "build.gradle").exists()) { modules.add(it) }
}
gradle.ext.appModules = modules
modules.each { dir ->
include "modules:$dir.name"
project(":modules:$dir.name").projectDir = dir
}