Aptana "The selection cannot be launched, and there are no recent launches."
Asked Answered
R

3

7

Each time I click the "Run as" button, I get the following message.

"The selection cannot be launched, and there are no recent launches."

If I select the pull down arrow near the "Run as" button, and select the New configuration option (this is the configuration I setup to launch using localhost)... it works. But why doesn't the "Run as" button default to this?

Or better yet, how do I make sure the "Run as" button will default to this?

** UPDATE **

I solved the problem.. see my answer below.

Rucksack answered 29/12, 2011 at 22:56 Comment(1)
Sometimes this can be fixed by restarting eclipse.Brasca
R
10

Go into the preferences under Run/Debug > Launching

There's a section called "Launch Operation" and I needed to select:

Launch the selected resource or active editor. If no launchable: Launch the previously launched application.

Rucksack answered 27/3, 2012 at 19:46 Comment(0)
R
0

I have a solution for that:

If you have imported project from local file system then go to the respective folder -> right click on that -> Promote to project -> Select a project type (Mine was Ruby-Primary) -> Finish.

Should work. Cheers!

Role answered 5/10, 2015 at 5:25 Comment(0)
Y
0

If you are new to Aptana and started a new file, say a .py file, MAKE SURE you also start a Project. You probably haven't started a project yet, so Aptana has no clue what to do with the file you are running. If you create a project and make it a Python project, NOW Aptana knows what to do with your new file and will run it correctly.

Yellowknife answered 19/8, 2017 at 20:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.