.omslab.oms.3.5.9.source-code.status.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oms Show documentation
Show all versions of oms Show documentation
Object Modeling System (OMS) is a pure Java object-oriented framework.
OMS v3.+ is a highly interoperable and lightweight modeling framework for component-based model and simulation development on multiple platforms.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
//
String log = new File("/od/projects/svnlog.txt").getText();
oms_fix = [];
oms_new = [];
log.split(/\-{72}/).each { String v ->
myMatcher = (v.replace("\n", " ").trim() =~ /r([0-9]+) \| (.*?) \| (.*?) \| ([12]) lines? (.*)?/);
if (myMatcher.matches()) {
int rev = myMatcher[0][1].toInteger();
String who = myMatcher[0][2];
String when = myMatcher[0][3];
String what = myMatcher[0][5];
println rev+": "+ who +" "+ when +" "+myMatcher[0][4] +" '"+ what + "'"
if (what.startsWith("Branding")) {
oms_fix << what
} else if (what.startsWith("added")) {
oms_new << what
}
}
}
println "-------------------"
println oms_fix
//println oms_new
String info = "!Features\n"
oms_fix.each{
info = info + " * $it \n"
}
println info
© 2015 - 2025 Weber Informatics LLC | Privacy Policy