[Rock-dev] Autoproj, ignore file for update trigger
Janosch Machowinski
Janosch.Machowinski at dfki.de
Tue Aug 9 10:50:11 CEST 2016
Autoproj watches the files in a package for changes.
If a change occurs, it triggers the build. E.g. calls make.
The problem was that external/snap was rebuilding
all the time, as the custom make file compiled a lib
inside of the source folder. I solved the problem, by
patching the makefile to compile it into the build folder,
that fixed the rebuild issue.
Still it would be good to know if there is a way to tell
autoproj to not trigger on a special file in a package.
Greetings
Janosch
Am 09.08.2016 um 10:02 schrieb Steffen Planthaber:
> Hi,
>
> I think autoproj just calls cmake/make, so you have to tell make to
> ignore the file (via cmake).
>
> Afaik the (dfki internal?) ndlcom package uses uses a custom code
> generator which only runs when cmake is executed, so if it is ok to
> change the file only when cmake runs (and leave it untouched
> afterwards), this should be possible.
>
> Best,
>
> Steffen
>
>
> Am 08.08.2016 um 15:07 schrieb Christoph Hertzberg:
>> I'm not sure if I understand what you want to do (nor do I know how to
>> make autoproj do (or not do) it), but I guess this would rather be an
>> invitation to shoot oneself in the foot.
>> There may be reasons to do it, but I would be more confused/annoyed if
>> something does not re-build, just because someone deactivated some
>> trigger somewhere.
>>
>> Christoph
>>
>> On 2016-08-05 15:40, Janosch Machowinski wrote:
>>> Hey,
>>>
>>> is there a way to tell autoproj to not trigger if
>>> a certain file was changed ?
>>> Greetings
>>> JAnosch
>>>
>>>
>
--
Dipl. Inf. Janosch Machowinski
SAR- & Sicherheitsrobotik
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: +49 421 178 45-6611
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-6614
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: jmachowinski at informatik.uni-bremen.de
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
More information about the Rock-dev
mailing list