https://opensource.cit-ec.de/https://opensource.cit-ec.de/favicon.ico?14265323552014-10-13T13:50:29ZResearch for Cognitive InteractionCognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=5302014-10-13T13:50:29ZSimon Schulzsschulz@cit-ec.uni-bielefeld.de
<ul></ul><p>some additional info: this is related git projects with subfolders</p>
<p>the subfolder is moved to the build directory after your shell code is run</p> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=5312014-10-13T14:01:13ZFlorian Lierflier@cit-ec.uni-bielefeld.de
<ul></ul><p>...but related to <em>any</em> kind of project file that contains the "subfolder" variable</p> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=5322014-10-13T14:26:41ZJan Moringenjmoringe@techfak.uni-bielefeld.de
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>Please try the 0.3 version of the generator (See Johannes' email).</p> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=5432014-10-23T15:05:00ZJan Moringenjmoringe@techfak.uni-bielefeld.de
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=5882014-11-11T14:31:03ZSimon Schulzsschulz@cit-ec.uni-bielefeld.de
<ul></ul><p>bug still exists...<br />build-generator version 0.3.36</p>
<pre>
{
"name": "libreflexxes",
"templates": [ "cor-lab", "freestyle" ],
"catalogue.component.title": "libreflexxes",
"catalogue.component.nid": "0",
"variables": {
"description": "libreflexxes - a motion/trajectory generation lib. we use the open source type2 library (no jerk limitation). the type5 library is available for academic use for free (contact reflexxes.com)",
"keywords": [ "motion", "trajectory", "planning" ],
"repository": "https://projects.cit-ec.uni-bielefeld.de/git/flobidev.core/",
"sub-directory": "external/ReflexxesTypeII_v1.2.3/",
"branches": [ "master" ],
"extra-provides" : [
[ "cmake", "libreflexxes" ]
],
"shell.command": "
ARCH=\\$(case \\$(uname -m) in (i686) echo x86 ;; (x86_64) echo x64 ;; esac)
ls -al
ls -al *
cd Linux
make all
mkdir -p ${toolkit.dir}/lib/pkgconfig
mkdir -p ${toolkit.dir}/include
install \\${ARCH}/release/lib/shared/libReflexxesTypeII.so ${toolkit.dir}/lib
install ../include/*.h ${toolkit.dir}/include
echo \"#pkg config file for reflexxes lib\nprefix=${toolkit.dir}\nexec_prefix=\\${prefix}\nlibdir=\\$(prefix)/lib\nincludedir=\\$(prefix)/include\nName: reflexxes\nDescription: reflexxes motion lib\nVersion: 1.2.3\nRequires:\nLibs: -L\\${libdir} -lReflexxesTypeII\nCflags: -I\\${includedir}\n\n\" > ${toolkit.dir}/lib/pkgconfig/libReflexxesTypeII.pc
"
}
</pre>
<p>produces:<br /><pre>
..
<builders>
<hudson.tasks.Shell>
<command>
ARCH=$(case $(uname -m) in (i686) echo x86 ;; (x86_64) echo x64 ;; esac)
ls -al
ls -al *
cd Linux
make all
mkdir -p /media/local/vol/flobi-emotrack/releases/nightly/lib/pkgconfig
mkdir -p /media/local/vol/flobi-emotrack/releases/nightly/include
install ${ARCH}/release/lib/shared/libReflexxesTypeII.so /media/local/vol/flobi-emotrack/releases/nightly/lib
install ../include/*.h /media/local/vol/flobi-emotrack/releases/nightly/include
echo &quot;#pkg config file for reflexxes lib
prefix=/media/local/vol/flobi-emotrack/releases/nightly
exec_prefix=${prefix}
libdir=$(prefix)/lib
includedir=$(prefix)/include
Name: reflexxes
Description: reflexxes motion lib
Version: 1.2.3
Requires:
Libs: -L${libdir} -lReflexxesTypeII
Cflags: -I${includedir}
&quot; &gt; /media/local/vol/flobi-emotrack/releases/nightly/lib/pkgconfig/libReflexxesTypeII.pc
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>find . -mindepth 1 -maxdepth 1 -not -name &quot;external/ReflexxesTypeII_v1.2.3/&quot; -exec rm -rf {} \;
# Uniquely rename directory.
temp=$(mktemp -d ./XXXXXXXX)
mv &quot;external/ReflexxesTypeII_v1.2.3/&quot; &quot;${temp}/&quot;
# Move contents to toplevel workspace directory.
find &quot;${temp}&quot; -mindepth 2 -maxdepth 2 -exec mv {} . \;
rm -r &quot;${temp}&quot;</command>
</hudson.tasks.Shell>
</builders>
...
</pre></p> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=5912014-11-11T14:33:10ZSimon Schulzsschulz@cit-ec.uni-bielefeld.de
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Feedback</i></li></ul> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=5922014-11-11T18:51:37ZJan Moringenjmoringe@techfak.uni-bielefeld.de
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Right, the workaround is not possible for freestyle projects.</p> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=6462014-11-27T22:08:48ZSimon Schulzsschulz@cit-ec.uni-bielefeld.de
<ul></ul><p>still broken. see e.g. project flobidev-basic-hlc_client_java-master-toolkit-nightly</p> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=6482014-11-28T06:43:40ZJan Moringenjmoringe@techfak.uni-bielefeld.de
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>100</i> to <i>60</i></li></ul><blockquote>
<p>still broken. see e.g. project flobidev-basic-hlc_client_java-master-toolkit-nightly</p>
</blockquote>
<p>Sorry, I didn't mean to change this to "resolved". The combination of this redmine instance and the webbrowser sometimes causes random changes to "Status" and "% Done" when I just want to write a comment.</p>
The situation should be as follows:
<ul>
<li>In the 0.3 version of the generators, the problem should be fixed (or worked around, rather) with two exceptions:
<ul>
<li>The workaround is not applicable to freestyle projects </li>
<li>Since the Maven template currently introduces an additional shell fragment, the workaround is not applicable to Maven projects as well</li>
</ul>
</li>
<li>An extended aspect sorting mechanism is being developed in the generator master branch, but it is not clear whether a backport to 0.3 will make sense or not</li>
</ul> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=6712014-12-19T11:18:19ZFlorian Lierflier@cit-ec.uni-bielefeld.de
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>This should be fixed right?</p> Cognitive Interaction Toolkit - Bug #307: Build Generator: Build steps (invoke maven, shell, etc) in Jobs that contain a subfolder are not executed in the right orderhttps://opensource.cit-ec.de/issues/307?journal_id=6862015-01-05T16:03:51ZFlorian Lierflier@cit-ec.uni-bielefeld.de
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul>