Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Synchronized Project eclipse LUNA

Hi,

so once again, I try to explain the problem as detailed as possible.

I have a working Synchronized Project established with INDIGO:

 

Project structure:

Projectname (directory)

PrjCfg (directory)

            build  (directory with further make files)

….     (any sub directory)

Makefile  (the main make file)

 

It is also possible to start the make from a dos cmd by just navigating to the Project’s root and enter make. That’s it.

 

INDIGO:

 

Client:

-       Win7 64 bit

-       eclipse 3.7.2;

o    Eclipse EGit     1.3.0.201202151440-r    org.eclipse.egit.feature.group   Eclipse EGit 

o    Parallel Tools Platform (PTP) End-User Runtime           5.0.5.201202152003           org.eclipse.ptp.feature.group    Eclipse PTP

-       Cygwin 1.7

 

project properties settings in eclipse sync project:

-       C/C++Build/ Remote Build

o    Builder Settings:
use build default build command : make
build directory : empty

o    Behavior:
Build and Clean active but empty

-       Discovery Options:

o    Configuration: Remote Build

o    Discovery profiles scope: Configuration-wide

o    Configuration: Remote Build

-       Environment

o    CWD=windows path to the local project root

o    PWD= windows path to the local project root

o    SBE1= d:\Tools  (tool path in windows syntax)

o    SBE2= /cygdrive/d/Tools (tool path in UNIX syntax)

o    Replace native environment     active

-       Synchronize

o    Configuration: Remote Build

o    Remote Provider: Remote Tools

o    Connection: Remote Host as configured

o    Root location = /cygdrive/d/projects/<project name>

-       Tool Chain Editor

o    Configuration: Remote Build

o    current toolchain: No Toolchain

o    current builder: Sync Builder

 

Remote Host:

-       Host name: <host name>

-       User: local user of host (copied this user to passwd in Cygwin/etc on host)

-       Port: 8895 (as configured on remote host)

-       Timeout: 5 sec

-       Cipher Type:Internal SSH Client default

 

Server:

-       Winserver 2008 R2

-       Cygwin 1.7 sshd installed

 

 

This configuration works well and I can navigate in any directory on the server under cygdrive/d/… and be able to start the build with the make command.

 

LUNA:

Server: same as

Client:

-       Win7 64 bit

-       Version: Luna Service Release 2 (4.4.2)

             Build id: 20150219-0600

-         Parallel Tools Platform           8.1.1.201502031415      org.eclipse.ptp.feature.group    Eclipse PTP

-       Cygwin 1.7

project properties settings in eclipse sync project:

-       C/C++Build/ Remote Build

o    Builder Settings:
use build default build command : make
build directory : empty

o    Behavior:
Build=all and
Clean=clean

 

-       Environment

o    CWD=windows path to the local project root

o    PWD= windows path to the local project root

o    SBE1= d:\Tools  (tool path in windows syntax)

o    SBE2= /cygdrive/d/Tools (tool path in UNIX syntax)

o    Replace native environment     active

-       Tool Chain Editor

o    Configuration: Remote Build

o    current toolchain: No Toolchain

o    current builder: Sync Builder

-       Synchronize

o    Connection name: <name>

o    Project location: /cygdrive/d/projects_LUNA/<project_name>

o    Sync Provider: Git

o    Default Build Configuration: Remote

o    Use an environment management system: unchecked

-       Window / Preferences/Remote Development/Remote Connections

o    Remote Services: Remote Tools

o    selected remote host as above

 

Remote Host configuration:

-       Host name: <host name>

-       User: local user of host (copied this user to passwd in Cygwin/etc on host)

-       Port: 8895 (as configured on remote host)

-       Timeout: 5 sec

Cipher Type:Internal SSH Client default

Use login shell: unchecked

 

With this configuration I’m able to synchronize just perfect!

BUT

If I start the make, make will search every time for a Makefile in the users Cygwin home directory: home/<username>!!

AND NOT

in the Project location as configured in Synchronize/Project location AS EXPECTED

 

I can proof this by copying the Makefile to home/<username>. Of course the other makefiles are not found because of the now broken path!

 

Has anybody an idea what the problem could be and/or what configuration maybe is wrong?

Is anyone working with LUNA, win7, Cygwin and Windows Server 2008R2 and synchronized project? I doubt it.

 

Best regards

 

Markus

 


Back to the top