I reply inline On 3/13/13 10:34 AM, "Dingyu Yang" <[email protected]> wrote:
>Yes, you are right. >Now I have a another problem. >When I run a s4 node in eclipse, s4-0.5 has to config -c and -appClass, >And s4-0.6 can config -c,but -appClass cannot. Maybe the different work >through. In 0.6 you have to configure the -appClass during the deployment process. For that, you can do something like: ./s4 deploy -c=cluster1 -appName=yourApp -appClass=your.Class And then start the s4 node in eclipse just with the -c=cluster1 parameter, it will look for 'your.Class' in the classpath. > >Another, s4r command makes the adapter.s4r and app.s4r as a same >name(i.e., >myApp.s4r). I have assign different names but get same name file. There is a problem with the s4r command, currently it ignores the supplied application's name. I created a JIRA to fix this https://issues.apache.org/jira/browse/S4-128 Thanks for your feedback! > >Dingyu > > > >2013/3/13 Daniel Gomez Ferro <[email protected]> > >> Hi Dingyu, >> >> You probably forgot to build the s4-tools package: >> >> ./gradlew s4-tools:installApp >> >> It's explained in the README.md, but we could probably add a runtime >>check >> in the script and suggest running the above command if the directory >> doesn't exist. >> >> Thanks for trying it! >> >> Regards, >> Daniel >> >> On 3/13/13 3:23 AM, "Dingyu Yang" <[email protected]> wrote: >> >> >Hi, all >> >I download the source code of s4 0.6 and compile it success. >> >Then I create a new app and get a error: >> >./s4 newApp myApp -parentDir=/tmp >> >./s4: line 26: >>subprojects/s4-tools/build/install/s4-tools/bin/s4-tools: >> >No >> >such file or directory. >> > >> >S4 0.5 has this directory. You can try this . >> > >> >Regards! >> >Dingyu >> >>
