/usr/lib/bouml/deploy/7681.bodies is in bouml-plugouts-src 4.21-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | class UmlClassView
!!!144258.cpp!!! deploy() : void
// deployment needed ?
const QVector<UmlItem> ch = children();
unsigned i;
bool need = FALSE;
for (i = 0; i != ch.size(); i += 1) {
if (ch[i]->deployable() != 0){
need = TRUE;
break;
}
}
if (! need)
return;
UmlDeploymentView * depl = associatedDeploymentView();
if (depl == 0) {
// create the associated deployment view
UmlCom::trace("Create <i>deployment view</i> " + name());
if ((depl = UmlDeploymentView::create((UmlPackage*) parent(), name())) == 0) {
UmlCom::trace("cannot create <i>deployment view</i> named " + name());
return;
}
else
set_AssociatedDeploymentView(depl);
}
// look at non deployed classes
for (i = 0; i != ch.size(); i += 1)
ch[i]->deploy(depl);
!!!144258.java!!! deploy() : void
UmlItem[] ch = children();
int i;
boolean need = false;
for (i = 0; i != ch.length; i += 1) {
if (ch[i].deployable() != 0){
need = true;
break;
}
}
if (! need)
return;
UmlDeploymentView depl = associatedDeploymentView();
if (depl == null) {
// create the associated deployment view
UmlCom.trace("Create <i>deployment view</i> " + name());
try {
depl = UmlDeploymentView.create((UmlPackage) parent(), name());
}
catch (Exception e) {
UmlCom.trace("cannot create <i>deployment view</i> named " + name());
return;
}
set_AssociatedDeploymentView(depl);
}
// look at non deployed classes
for (i = 0; i != ch.length; i += 1)
ch[i].deploy(depl);
|