Archived
This forum has been archived. Please start a new discussion on GitHub.
Build problem in IceStorm demo (java)
pgaleas
Chile
in Help Center
Hi,
I'm trying to create a weather station application using the clock demo (IceStorm) as template.
I duplicate and rename the clock directory (clock -> weather) and create a new ice interface (Weather.ice):
module Demo { interface WeatherStation { void getData(string temperature, string hunidity); }; };
The Subscriber.java and Publisher.java were also changed according to Weather.ice.
I'm using the original file build.gradle
from clock demo.
When I try to build the project I get the following error:
FAILURE: Build failed with an exception. * Where: Build file '/Users/patricio/Documents/github/ice-demos/java/IceStorm/weather/build.gradle' line: 7 * What went wrong: A problem occurred evaluating root project 'weather'. Could not find method slice() for arguments [build_6q9sb3p11hg8pitx03odh2t0$_run_closure1@c738db9] on root project 'weather' of type org.gradle.api.Project.
I appreciate any help
Thanks
Patricio
0
Comments
-
Hi Patricio,
You need to build the demos from the top level java directory ice-demos/java
Cheers,
José0 -
Hi José,
It works!
Thanks again
Cheers
Patricio0