This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public WOActionResults onEntrepriseSupprimer() { | |
EOEditingContext edForGroupe = editingContext(); | |
if (getRepartStructure() == null) { | |
return null; | |
} | |
try { | |
if (getRepartStructure() != null) { | |
edForGroupe.deleteObject(getRepartStructure()); | |
edForGroupe.saveChanges(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pom.whenConfigured { pom -> | |
// dep is a native Maven dependency object (With properties artifactId, groupId, ...) | |
pom.dependencies.each { dep -> | |
dep.type = 'jar' | |
println dep | |
} | |
} | |
pom.withXml { provider -> | |
org.w3c.dom.Document document = provider.asElement().getOwnerDocument() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -A repository_list; | |
repository_list[[email protected]:agrhum.git][email protected]:referentiel/agrhum.git | |
depart=`pwd`; | |
echo "L'origine des dépots suivants seront modifiés"; | |
echo "---------------------------------------------"; | |
for d in `find . -name .git -type d -exec readlink -f {}/.. \;` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id "io.spring.dependency-management" version "1.0.0.RC2" | |
} | |
project.group = com.company | |
project.version = 1.0.0 | |
project.ext.name = company-project | |
dependencyManagement { | |
imports { |