Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » debugplugin.exec stop suddenly without reason
debugplugin.exec stop suddenly without reason [message #328672] Sat, 31 May 2008 13:12 Go to next message
No real name is currently offline No real nameFriend
Messages: 64
Registered: July 2009
Member
hi all, always trying to launch a make in a special directory, I ve made
that

http://pastebin.com/m5e1f8189

this thing work particulary good for me (he doesn't block eclipse,e
tc...etc..) exept ,he doesnt finish the job.

In the console I just have that

Link:Dbu with Oracle with MySQL

while I should have lots of line like

Link:Dbu with Oracle with MySQL
Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

c:\yafl\YDbUpdate\wrk\\RcLogic.obj
c:\yafl\YDbUpdate\wrk\\Object.obj
c:\yafl\YDbUpdate\wrk\\RcTag.obj
c:\yafl\YDbUpdate\wrk\\Linked.obj
c:\yafl\YDbUpdate\wrk\\DtdExpander.obj

etc...etc...


I have no idea why, I have no error, et no warning, etc...

do you have any idea??

thanks

a+++
Re: debugplugin.exec stop suddenly without reason [message #328675 is a reply to message #328672] Sun, 01 June 2008 13:24 Go to previous message
No real name is currently offline No real nameFriend
Messages: 64
Registered: July 2009
Member
I localized the prob in this small programm


import java.io.IOException;


public class Main {

/**
* @param args
*/
public static void main(String[] args) {
ProcessLauncher proc = new ProcessLauncher();
try {
proc.setOutputStream(System.out);
proc.setInputStream(System.in);
proc.setErrorStream(System.err);
String arg[]= {"cmd.exe","/C","link"};
proc.exec(arg,null);
System.out.println("hello world");
System.out.println(arg[0]);
} catch (IOException e) {
e.printStackTrace();
}


}

}

where proc do the runexec, etc..etc.. (it 's a class who work perfecly).
what funny is if I replace that line

String arg[]= {"cmd.exe","/C","link"};

by
String arg[]= {"echo hello world"};
or
String arg[]= {"cmd.exe","/C","hello world"};

that 's work. the only thing who doesn't work is the link and other
windows tools.

funny :D, but now it's java probleme and not a eclipse prob


a++



julien a écrit :
> hi all, always trying to launch a make in a special directory, I ve made
> that
>
> http://pastebin.com/m5e1f8189
>
> this thing work particulary good for me (he doesn't block eclipse,e
> tc...etc..) exept ,he doesnt finish the job.
>
> In the console I just have that
>
> Link:Dbu with Oracle with MySQL
>
> while I should have lots of line like
>
> Link:Dbu with Oracle with MySQL
> Microsoft (R) Incremental Linker Version 8.00.50727.42
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> c:\yafl\YDbUpdate\wrk\\RcLogic.obj
> c:\yafl\YDbUpdate\wrk\\Object.obj
> c:\yafl\YDbUpdate\wrk\\RcTag.obj
> c:\yafl\YDbUpdate\wrk\\Linked.obj
> c:\yafl\YDbUpdate\wrk\\DtdExpander.obj
>
> etc...etc...
>
>
> I have no idea why, I have no error, et no warning, etc...
>
> do you have any idea??
>
> thanks
>
> a+++
Previous Topic:Custom StatusHandler
Next Topic:Not able to right click the project tree view on hte left pane in eclipse 3.3.2
Goto Forum:
  


Current Time: Sat Jul 27 20:21:49 GMT 2024

Powered by FUDForum. Page generated in 0.03022 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top