Commit 2ba5505e authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED complete-test-1

Includes library and interdependencies inside the CEP
parent d3f30a32
......@@ -106,6 +106,7 @@ $USERDEF_LICENCE_END$
</actions>
<dependencies>
<dependency type="library" name="itk"/>
<dependency type="cepLibrary" name="testlib"/>
</dependencies>
</actionExtension>
<actionExtension>
......@@ -129,7 +130,7 @@ $USERDEF_LICENCE_END$
</action>
</actions>
<dependencies>
<dependency type="library" name="str1234" additional="qtpropertybrowser" />
<dependency type="component" name="testcomponentextension1"/>
</dependencies>
</actionExtension>
</actionExtensions>
......@@ -177,6 +178,7 @@ $USERDEF_LICENCE_END$
<dependencies>
<dependency type="library" name="XSD"/>
<dependency type="library" name="ITK"/>
<dependency type="cepLibrary" name="qtpropertybrowser"/>
</dependencies>
</library>
</libraries>
......
......@@ -74,7 +74,7 @@ CepGenerator::CepGenerator(std::auto_ptr<cepcoreschema::Cep> domCep, QString dev
CepGenerator::~CepGenerator() {
std::cout << "inside CepGenerator destructor..." << std::endl;
for (QVector<ExtensionGenerator*>::iterator i = extensions.begin(); i != extensions.end(); i++) {
delete (*i);
delete(*i);
}
}
......@@ -92,7 +92,7 @@ void CepGenerator::setDevDirectoryName(QString devDirectoryName) {
devDirectoryName = devDirectoryName + "/";
QFileInfo devDir(devDirectoryName);
if ( ! devDir.isDir()) {
if (! devDir.isDir()) {
throw std::invalid_argument("I/O exception during CEP file generation\nPath " + devDirectoryName.toStdString() + " is not a directory\n");
}
......@@ -190,7 +190,7 @@ void CepGenerator::serializeManifest(QString fileName) {
map[""].schema = "Cep.xsd";
std::ostringstream oss;
cep(oss, *domCep, map);
std::string xml (oss.str ());
std::string xml(oss.str());
QTextStream qout(&xmlFile);
......@@ -330,7 +330,6 @@ void CepGenerator::generateReadme() {
QString outputFileName = currentDirectory.absolutePath() + "/README";
QFile::copy(":/resources/README.in", outputFileName);
}
}
void CepGenerator::copyFindCamiTK() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment