On 20 October 2017 at 15:54, Christian Kandeler <christian.kande...@qt.io> wrote:
> On Fri, 20 Oct 2017 00:26:57 +0800 > Ben Lau <xben...@gmail.com> wrote: > > > > > Thanks for your reply. I have tried to run your example (by removing > the > > > > dependence). It will complain: > > > > > > > > *ERROR: *Cannot run: Product 'remote deployer' is not an application. > > > > > > You're not supposed to run it. Just build it, as described. > > > > > Sorry for the mistake. And that is the result. It is not triggered. > > If you've removed the dependency, that's to be expected: The rule has no > inputs now, i.e. there's nothing to upload. You'll need to adapt the > example, e.g. by depending on a simple CppApplication product and changing > the rule input tag to "application". > > > Christian > What if it change the condition. Let's it just starts a web server for providing mock data to test network service? For example, just run `http-server $SRCDIR/mockdata`? (Assume the data is hard coded in a few set of json files)
_______________________________________________ Qbs mailing list Qbs@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs