Thanks Amol . I hope to receive a feedback on my issue Aurel Pe 16 mai 2017 23:25, "amol kekre" <amolhke...@gmail.com> a scris:
> > Aurel, > I am moving this thread to dt-us...@googlegroups.com, as this is > DataTorrent specific question. > > Thks, > Amol > > On Mon, May 15, 2017 at 6:24 AM, Aurel Sandu <asandu1...@gmail.com> wrote: > >> I would like to build this app http://docs.datatorrent.com/tu >> torials/salesdimensions/ >> But I have an issue , in SalesDemo.java I should import >> org.apache.apex.malhar.lib.dimensions.DimensionsEvent.Aggregate; (on >> line 12) >> and org.apache.apex.malhar.lib.dimensions.DimensionsEvent.InputEvent; >> (on line 13) . >> These 2 classes are nested classes to DimensionsEvent and when I compile >> this class compiler (lauched inside maven) throw an error : package >> org.apex.malhar.lib.dimensions.DimensionsEvent does not exist and it's >> right there is not a such package - DimensonsEvent it's a class not a >> package and Aggregate and InputEvent are nested classes >> Pllease see the source for the source here >> https://github.com/DataTorrent/examples/blob/master/dt-demo/ >> dimensions/src/main/java/com/datatorrent/demos/dimensions/sa >> les/generic/SalesDemo.java >> How should import (and reference in code) nested classes? >> Many thanks, >> Aurel >> >> >> >