[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-user] PTP synchronized projects - Ooops, remote make doesn't execute ?
|
Hi
The true build command is constructed in the method "constructCommand" in the file:
org.eclipse.ptp.rdt.sync.core.remotemake.SyncCommandLauncher
If you have a development environment handy, you can set a breakpoint here.
The actual command executed depends on whether you are using environment management. If so,
PTP creates a temporary file using "mktemp" and runs it with "bash -l <temp file>" If not, PTP uses
"bash -l -c <make command>. Thus testing "mktemp" and running commands with bash might offer
some clues.
John
On Tue, Oct 30, 2012 at 7:32 AM, Christoph Pospiech
<Christoph.Pospiech@xxxxxxxxxx> wrote:
Hi,
did anyone ever see this before ? It looks as if I set up a synchronized
project, but the remote make apparently never executes.
At first, I was only missing the executable that should have been generated by
make. In the end I was setting up my own "make" command like this.
cp@sirius:~/bench/DKRZ/send_recv_test$ cat my_make
#!/bin/bash
echo "hello world"
I then added this shell script to Properties-> C/C++ Build -> Build Command.
Then I initiated a remote build. On the console I then see the following.
12:13:15 **** Incremental Build of configuration blizzard for project
send_recv_test ****
/pf/k/k205001/bench/DKRZ/send_recv_test/my_make all
12:13:24 Build Finished (took 9s.650ms)
I expected to see "hello world" but the command remains silent. And so it does
for the default make command for both targets "all" and "clean".
Next I executed the following on my local host - assuming that this is what
eclipse should do.
cp@sirius:~/bench/DKRZ/send_recv_test$ ssh blizzard.dkrz.de \
/pf/k/k205001/bench/DKRZ/send_recv_test/my_make all
hello world
This works as expected.
In eclipse I added another remote environment with another remote host to the
project. The remote compile on that host succeeded immediately.
So it is only one particular remote host - which is running AIX 6.1. Any ideas
how I could further narrow in on the problem ?
--
Mit freundlichen Grüßen / Kind regards
Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: christoph.pospiech@xxxxxxxxxx
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter
Scholz, Gregor Pillen, Joachim Heel, Christian Noll
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB
14562 / WEEE-Reg.-Nr. DE 99369940
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user