incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Speech example
Date Mon, 09 Apr 2012 13:24:22 GMT
All you got to do is compile S4 (or the specific sub-component):

# I head to the root directory, cause am doing a full build
$ cd s4/
$ ./gradlew install
$ cp ./s4-examples/speech01/build/classes/main/org/apache/s4/example/speech01/SentenceReceiverPE.class
<path to where you want it>

On Mon, Apr 9, 2012 at 4:05 PM, Surya Prakash Reddy <suryanrpt@gmail.com> wrote:
> I haven't changed anything in the s4 directory just I need the class file of
> SentenceRecieverPE.java as SentenceReceiverPE.class how can I get that?
>
>
> On Mon, Apr 9, 2012 at 4:00 PM, Rajeshwar Mitra
> <Rajeshwar.Mitra@symphonysv.com> wrote:
>>
>> Hi,
>>
>>
>>
>> I feel that your classpath doesn’t contain the necessary jar files. It is
>> better to use the gradle to build. Please refer the online documentation.
>>
>>
>>
>> Thanks
>>
>> Rajeshwar Mitra
>>
>>
>>
>> From: Surya Prakash Reddy [mailto:suryanrpt@gmail.com]
>> Sent: Monday, April 09, 2012 3:58 PM
>> To: s4-user@incubator.apache.org
>> Subject: Re: Speech example
>>
>>
>>
>> When I tried to execute the SentenceReceiverPE.java file in
>> (s4/s4-examples/speech01/src/main/java/io/s4/example/speech01) folder with
>> following command:
>> " javac SentenceReceiverPE.java " I am getting following errors:
>>
>> import io.s4.processor.AbstractPE;
>>                       ^
>> SentenceReceiverPE.java:7: cannot find symbol
>> symbol: class AbstractPE
>> public class SentenceReceiverPE extends AbstractPE {
>>                                         ^
>> SentenceReceiverPE.java:9: cannot find symbol
>> symbol  : class Sentence
>> location: class io.s4.example.speech01.SentenceReceiverPE
>>     public void processEvent(Sentence sentence) {
>>                              ^
>> 3 errors
>>
>> What are the things I am missing here? Please help me.
>>
>> --
>>
>> Regards,
>>
>> A Surya Prakash Reddy
>>
>> +91-9248195195
>>
>>
>>
>>
>> ________________________________
>> NOTICE TO RECIPIENT: THIS E-MAIL (INCLUDING ANY ATTACHMENTS) IS MEANT FOR
>> ONLY THE INTENDED RECIPIENT OF THE TRANSMISSION, MAY CONTAIN CONFIDENTIAL
>> INFORMATION, AND IS PROTECTED BY LAW. IF YOU RECEIVED THIS E-MAIL IN ERROR,
>> PLEASE IMMEDIATELY NOTIFY THE SENDER OF THE ERROR BY RETURN E-MAIL, DELETE
>> THIS COMMUNICATION AND SHRED ANY ATTACHMENTS. UNAUTHORIZED REVIEW, USE,
>> DISSEMINATION, DISTRIBUTION, COPYING OR TAKING OF ANY ACTION BASED ON THIS
>> COMMUNICATION IS STRICTLY PROHIBITED.
>
>
>
>
> --
> Regards,
> A Surya Prakash Reddy
> +91-9248195195
>



-- 
Harsh J

Mime
View raw message