How to create Custom runner - cloud9-ide

I'm trying to create a new Run button using "custom runner" in order to automatize compilation of C++ files. I mean, I want to create a new Run button that makes g++ -o ... when it's pressed.
I have seen the tutorial for making it, but is not helpful at all, not well explained. Custom Runner Cloud9 tuto
In the Run panel (usually at the bottom of the UI), click the 'Runner' text input and choose 'New Runner'. In the new Runner file that's now opened, you can configure your runner using a simple JSON format.
Where can I find the "Runner text input", I cannot create any one! Here is a capture, what I'm seeing (still cannot upload images :( )
Cloud9 Image
BTW, i'm running Cloud9 in Ubuntu14.04 BeagleBone Black.
Thanks in advance!

From the screenshot I noticed you're using an old version of Cloud9 on the BeagleBone Black, which doesn't support the custom Runners functionality. The documentation at https://docs.c9.io is based on the hosted, new version of Cloud, which does offer this functionality.

Related

Test in cloud button has gone

I made a 'Xamarin UI Test' Project to test my app.
I was able to click in the button like this: Run in Test Cloud button.
But now i made my test using the Repl() and want to run it in the cloud the button has gone away.
What i have to do to fix it?
Cause of the Issue
It looks like you are hitting this bug: Bug 52372 - "Run in Test Cloud" option no longer appears in menu on C9
That issue is reported on this version for Xamarin 4.3.0.636. Note that it may happen in other versions but this is the initial version the bug was reported against. You can track the status of that issue either directly in the report on Xamarin's bugzilla, and/or you can watch for a release announcement on the Xamarin Releases Blog.
Workarounds
Downgrading Xamarin
While waiting for a fix to become available, you can downgrade to the previous Cycle 8 version of Xamarin by going to “Get the latest stable version of Cycle 8” section on your account page: https://store.xamarin.com/account/my/subscription/downloads#cycle8.
Uploading to Test Cloud via the Command Line
Alternatively, you can upload tests to the Test Cloud through the command line. To do this log into https://testcloud.xamarin.com & click "New Test Run" at the top. (Note this option is only visible if you have a currently valid Test Cloud account or trial.)
This launches a wizard which will have you pick some options (like whether you want to use Android or iOS; etc.), and at the end will generate a prototype command line. Below is an example for Android:
packages\Xamarin.UITest.[version]\tools\test-cloud.exe submit yourAppFile.apk [API_KEY] --devices [DEVICE_HASH] --series "master" --locale "en_US" --user [EMAIL] --assembly-dir pathToTestDllFolder
Note: I have removed the [API_KEY], [DEVICE_HASH] & [EMAIL] values for privacy reasons, however these will automatically be included when you generate the prototype from the wizard in Test Cloud.
You will still have to manually update the Xamarin.UITest.[version] as well as the actual names and relative paths of yourAppFile.apk & pathToTestDllFolder for this approach to work.

How to Debug HTML5 extensions for InDesign CC?

Currently i'm in the process of getting to know InDesign CC HTML5 extensions. Using the Extension Builder plugin for eclipse did a few tests creating extensions. No problem there.
But when it came to debugging i ran into some problems. First problem was finding a way to debug at all.
After some research i stumbled over this short guide to HTML5 extensions. It contains a guide for debugging which i followed meticulously.
But now when it comes down to actually debugging no debugging view opens nor am i able to connect to the application via chrome for remote debugging.
What is going wrong?
Turns out you cannot use the Run As/Debug As -> Adobe InDesign Extension of eclipse to start the extension for debugging, because the essential .debug-file will not be exported.
So everytime you want to debug something first Run As -> Adobe InDesign Extension and then copy the .debug-file into: "$User$\AppData\Roaming\Adobe\CEPServiceManager4\extensions\$extesion folder$" (Windows)
After that restart InDesign MANUALLY (not from eclipse that is) and connect via "localhost:$port specified in .debug$" (works only) with chrome to your extension.
This is not very ellegant but it works, at least for me.

Issue in integrating ZXing to iphone App

I am trying to develop QRCode reader application in iPhone.
I am trying to use ZXing SDK. i have successfully run the sample application given by ZXing. But i ma trying to develope new application as per instructions in Readme given by Zxing. but when i am trying to add ZxingWidget in build phases. it going add but it shows like below
I think it will getting problem to me. When i am trying to run application it will give erros like Lexical or Prepocessor issue File not found.
Is am doing any thing wrong when am added to files to application.
Actaully first of all i added ZxingWidget.xcodeproj to my application by drag and drop. But it wont give any alert window would you like copy like similar when we adding images or files to xcode. and next i added cpp and iphone folders to xcode application. and later i added the frameworks as per read me.
Please any one help me in this issue.
Thanks in advance
Pretty hard to help without the real error message. In the Issue Navigator, you can Right Click > Reveal in Log to see the complete error that you can copy and paste.
That said, it sounds a bit like it can't find the headers (though I'm just guessing without the real error message.) If so, double check steps 4 and 5 of the readme.
if you run on real device, the problem will be solved.
I don't know the reason.
But I guess It's related to Build Products Path.

How to debug play2 in idea?

I found some articles on the internet and some discussions on google group, but they don't work any more.
How to do it with the latest play2-RC3 ?
You can start the play server in debug mode from console [docs], and should be able attach a debugger instance from Idea given that you know the port debugger is listening on.
I haven't use Idea so not sure if it is doable or not. It is fairly easy from netbeans. I suspect, it should be similar from Idea.
EDIT: They have also posted this in their customization guide for IDEs.
Debugging Play 2.x is very easy with IntelliJ IDEA 12.x, here are the steps you have to do:
Step 1. Enable the Play Framework Support plugin and the Play 2.0 Support plugin in File > Settings > Plugins.
The generic plugin usually comes with IntelliJ but make sure it's enabled. The Play 2.0 Support plugin can be downloaded by clicking Install Jetbrains plugin.... Simply locate and install the plugin from the list, the latest working version for 12.x is v.0.2.49. (it may prompt that a Scala plugin needs to be installed aswell)
Step 2. Create a new Play app if you haven't or use an existing one
Step 3. Create a new Debug configuration: Run > Edit configurations...
You can click the + icon in the top left corner to add a new configuration. Simply select Play 2 app from the list and give the configuration a name. The default options should be correct but feel free to change them if necessary. When done, click Apply and Ok.
Step 4. Your toolbar should now have a Run icon and a Debug icon enabled.
Simply click the green arrow to run the Play application. This is the equivalent of doing play run from the commandline (except without the commandline).
To debug, click the green bug, next the the arrow. This is the equivalent of doing play debug from the commandline.
You will now be able to debug when a breakpoint is encountered.
Notes:
Make sure there is only 1 configuration running at a time because Play doesn't like multiple instances running at the same time.
If you're having trouble compiling, do a play clean-all and play package on the commandline, this should resolve most problems. If there are further problems, also try play idea from the commandline.
Make sure the Play configuration is filled in in your settings. You can do this by going to File > Settings > Play Configuration.
A video of these steps can also be found in this video by James Ward (start at around 1:40 min.).
Go to Run -> DEBUG -> Edit Configurations
use "Remote" Configuration and set the Port to 9999

how to create custom installer for window application in .net

I want to create setup for my window application in .net,in which i want to asked user to input custom connection string at time of installation.how can I do it.
after digging in the matter. I have created set up project for this. now i stuck up in it.
how to move further.
any tutorial on it.
If you are using Visual Studio setup project, you can try creating a custom dialog through which you get the connection information. Perhaps this tutorial will help:
http://www.codeproject.com/KB/install/vsSetupCustomDialogs.aspx
If you are using another tool, mention it in your post and I will edit my answer with some suggestions.

Resources