athena
athena

Reputation: 5709

Eclipse: disconnect a Java process

Is there a way to disconnect a java process from Eclipse? I have a process which runs for a long time. Is there a way I can start the process using Eclipse, then disconnect it (redirecting the output to a standard file), and then close Eclipse? (Commandline java, ant are not an option)

Upvotes: 2

Views: 205

Answers (1)

javamonkey79
javamonkey79

Reputation: 17785

I if read you right, I think using Eclipse's external tools dialog combined with some scripts would do what you want.

Here is a basic how to: http://wiki.eclipse.org/FAQ_How_do_I_add_my_own_external_tools%3F

For example, here is what my external tools dialog looks like:

external-tools-dialog

You can set these up from the 'External Tools Configurations...' menu item.

For example, here is the '[Resource] Wrap' tool that I setup (which uses the BND tool to to an OSGi wrap on jars):

external-tools-setup

Upvotes: 1

Related Questions