How to debug a python script without a project in PyDev? - pydev

I have a Python script that I wrote without creating a containing project. In PyDev, I know how to run and debug Python projects. But when I open this script in PyDev, I don't know how to run it or debug it, because it isn't associated with any project.

Related

remote debugging jython script runned by java program with eclipse and Pydev

I am trying to debug a jython script which runs via a java project. I have installed pydev in my eclipse IDE and I followed these instructions(http://www.pydev.org/manual_adv_remote_debugger.html). when I am running the java app while python debug server is running debugger recognizes normally that the jython script is going to be executed halt the excecution and wait for step over or resume commands.
The problem is that PyEdit(editor window) does not highlight the lines which are executed. Also debugger does not know the breakpoints of the scripts. It seems like debugger can not correlate the running thread with the script file.
Is there any way to configure pydev server to correlate debugging with a specific file?

How can I mimic Eclipse build in bash

The build button of Eclipse compiles the project (in my case, the project is very huge and complex). Is there a way to clone the build scripts of Eclipse and run these cloned scripts in my own bash shell? I do not want to run Eclipse (neither in window nor in nosplash mode), I want to compile the project in bash using only make.

Why can't I run Coffeescript project in Netbeans?

[Newbie] I downloaded Netbeans 7.3 RC2 and installed it and also the CoffeeScript plugin. Then I created a new CoffeeScript project which gave me two files - HelloWorld.coffee and Cakefile. I try to run the project but the Run Main Project command under the Run menu is dim indicating that I can't select it. How do I run this program? (I'm brand new to this; I haven't tried any other versions of NetBeans or Coffeescript.)
the netbeans-coffeescript-plugin is used to have syntax-highlighting for cofeescriptfiles in the netbeans ide. you still need a third party tool to compile your coffeescripts into javascript in order to run them. you can use the guard gem in ruby for example

Run sequel of run configurations in Eclipse

I work on web applications with eclipse which means each time I modify server side code I have to run maven clean install then start my server again. I have run configurations for these both steps in eclipse but need to wait for the first one to finish before starting the second one.
I have also other cases when I need to run maven clean install on 5 or 6 projects in a given order after having updated all of them.
So my question is: does anybody know how to define sequels of runs and run them in the right order on one click in Eclipse (i'm using Indigo). I didn't found any plugin nor help on my favorite search engine.
You can write an Ant-script which wraps the Maven commands (with using Maven Ant Tasks) in the correct order. Then you can create a launch configuration for that Ant script in Eclipse.
Or just write a shell script and create an launch configuration for that in Eclipse.

Does Eclipse ship ant with its own distribution?

First time using Apache Ant (I'm excited and overwhelmed at the same time!) for automating a Java app.
I did not go to the ant website and download ant directly. Rather, I'm using the standard plugin that ships with Eclipse. From Eclipse, I can run test build.xml projects perfectly. But when I go to run ant directly off the command-line, Windows doesn't recognize it as a recognized command.
This leads me to believe that I either do not have ant installed, or I have not configured it properly (at all). If it's not installed, then why do these build.xml scripts work when I fire them inside of Eclipse? Does Eclipse ship with its own distrib of ant that isn't accessible from the cmd line?
And if it's just a config issue, what do I need to do in order to get ant to run a buildscript of my own flavor?
I want to start using Apache Ivy and in order to run the demos I first need ant up and running from the command line.
Thanks for any help or insight :-)
Does Eclipse ship with its own distrib of ant that isn't accessible from the cmd line?
Essentially, yes. Eclipse bundles the core Ant runtime plus its own extensions and integration, but it's private to the Eclipse installation.
If you want to run the builds from outside of Eclipse, you need to download and install the full distribution of Ant.