The application will work only if it binds tonohup $OPENSHIFT_REPO_DIR/diy/testrubyserver.rb $OPENSHIFT_DIY_IP $OPENSHIFT_REPO_DIR/diy |& /usr/bin/logshifter -tag diy &
touch ~/app-root
我有个DIY墨盒。我的项目结构看起来像这样-diy -resources-.openshift File[] listOfFiles = imageFolder.listFiles(); // here I get nullnohup java-jar $OPENSHIFT_REPO_DIR/diy&
The application will work only if it binds tosource $OPENSHIFT_CARTRIDGE_SDK_BASHnohup /bin/bash $OPENSHIFT_REPO_DIR/diy/abot.sh > $OPENSHIFT_LOG_DIR/diy.log & cd AbotDir
echo $
The application will work only if it binds to#nohup $OPENSHIFT_REPO_DIR/diy/testrubyserver.rb $OPENSHIFT_DIY_IP $OPENSHIFT_REPO_DIR/diy |& /usr/bin/logshifter -tag diy &
java -cp $OP
我有两个类,取决于用户要玩的游戏(代码中的“passedTitle”)。我想使用相同的视图控制器,因为整个逻辑都是相似的。然后在viewdidload()中,我根据passedTitle值将其分配给Trivia()实例或Diy()。但是,我只能通过使用带有if可选链的as?向下转换来访问此实例的特定属性。Trivia || Diy { code here is same } questionAll = Diy()
/