Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » No Natigator View for Remote Project
No Natigator View for Remote Project [message #5027] Thu, 13 December 2001 13:46 Go to next message
Eclipse UserFriend
Originally posted by: evangelista.castify.net

configuration:
eclipse 1.0/ cdt client on Windows2000
eclipse 1.0/ cdt server on Linux RedHat 7.1

[sun jdk 1.3.1]

I create and open a remote project on the remote Linux Box, it is
succesfully showed in the C/C++ Projects view, but not in the Navigator
View.

No problem for a project (created locally) on Win2k machine: both C/C++
Projects and Navigator View are working.

Any Idea? Should I try with IBM Java jre/jdk?

By the way: is it possible to issue a 'make' call for compiling a single
source file.
Let suppuse I'm editing dir2/dir2/dir3/a.cpp, the result should be
something like:

make dir2/dir2/dir3/a.o (more or less)

Thanks in advance
Re: No Natigator View for Remote Project [message #5097 is a reply to message #5027] Thu, 13 December 2001 14:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alessandro,

Currently, the Navigator is unable to display remote C++ projects. The
Eclipse resource model currently doesn't give us the kind of support that we
need in remote project usage scenarios. So, when working with remote
projects, you will need to use the C/C++ Projects view. This is not a
problem with your jre/jdk.

As for issuing a 'make' call for compiling a single source file, the are a
few ways that you can launch commands:
1) By issuing a build - in your project properties you can specify
exactly what command you want to use for building. For example, you could
specify "gcc -g a.cpp -o a.o" if that's all you want a build to do. If you
have that target in your makefile, you could specify "make a.o".
2) If there are commands you want to issue on a regular basis but they
don't qualify as your "build", you can use the "Command Specifications" view
to create a job for building that file. (currently this only works locally)

3) The other thing you can do is use the "Command Launcher" view to
issue the command.

Dave


alessandro evangelista wrote:

> configuration:
> eclipse 1.0/ cdt client on Windows2000
> eclipse 1.0/ cdt server on Linux RedHat 7.1
>
> [sun jdk 1.3.1]
>
> I create and open a remote project on the remote Linux Box, it is
> succesfully showed in the C/C++ Projects view, but not in the Navigator
> View.
>
> No problem for a project (created locally) on Win2k machine: both C/C++
> Projects and Navigator View are working.
>
> Any Idea? Should I try with IBM Java jre/jdk?
>
> By the way: is it possible to issue a 'make' call for compiling a single
> source file.
> Let suppuse I'm editing dir2/dir2/dir3/a.cpp, the result should be
> something like:
>
> make dir2/dir2/dir3/a.o (more or less)
>
> Thanks in advance
Re: No Natigator View for Remote Project [message #6757 is a reply to message #5097] Sun, 16 December 2001 01:10 Go to previous message
Eclipse UserFriend
Originally posted by: j9brown.uwaterloo.ca

I've had some success with just using GNU make and supplying a
suitable Makefile. If you're looking for an incremental build, this
should work just fine if you've got your targets set up just right.
Of course, this means 'make' will be doing a lot of extra work
determining whether or not resources have changed -- when the
platform knows exactly which ones actually have.

Here's my suggestion: instead of having just one big 'world' or
'all' target, create a target called 'quick' or somesuch that
builds the necessary .o files without doing all of the time consuming
linking steps. Then make the default build command 'make quick'.
That ought to be good enough for proofing your code. When
you really need an executable, use the launcher facility to
run good old 'make all'.

Here's a thought. Given the variety of different build scenarios
encountered in C/C++ development environments, it might
be nice to be prompted on a Build/Rebuild for the name of
a target. [I'm thinking multiple-target makefiles in particular]
For the moment, a simple drop-down combo box allowing
the user to select from earlier arguments supplied to the make
prompt, or enter new ones for this build would be sufficient.

In the future, it would be nice to get more intimate integration
with the build tools. A first step might be to parameterize the
command lines used to launch them with contextual
information...

"David McKnight" <dmcknigh@ca.ibm.com> wrote in message
news:3C18FF8E.90424C11@ca.ibm.com...
> Hi Alessandro,
>
> Currently, the Navigator is unable to display remote C++ projects. The
> Eclipse resource model currently doesn't give us the kind of support that
we
> need in remote project usage scenarios. So, when working with remote
> projects, you will need to use the C/C++ Projects view. This is not a
> problem with your jre/jdk.
>
> As for issuing a 'make' call for compiling a single source file, the are a
> few ways that you can launch commands:
> 1) By issuing a build - in your project properties you can specify
> exactly what command you want to use for building. For example, you could
> specify "gcc -g a.cpp -o a.o" if that's all you want a build to do. If
you
> have that target in your makefile, you could specify "make a.o".
> 2) If there are commands you want to issue on a regular basis but they
> don't qualify as your "build", you can use the "Command Specifications"
view
> to create a job for building that file. (currently this only works
locally)
>
> 3) The other thing you can do is use the "Command Launcher" view to
> issue the command.
>
> Dave
>
>
> alessandro evangelista wrote:
>
> > configuration:
> > eclipse 1.0/ cdt client on Windows2000
> > eclipse 1.0/ cdt server on Linux RedHat 7.1
> >
> > [sun jdk 1.3.1]
> >
> > I create and open a remote project on the remote Linux Box, it is
> > succesfully showed in the C/C++ Projects view, but not in the Navigator
> > View.
> >
> > No problem for a project (created locally) on Win2k machine: both C/C++
> > Projects and Navigator View are working.
> >
> > Any Idea? Should I try with IBM Java jre/jdk?
> >
> > By the way: is it possible to issue a 'make' call for compiling a single
> > source file.
> > Let suppuse I'm editing dir2/dir2/dir3/a.cpp, the result should be
> > something like:
> >
> > make dir2/dir2/dir3/a.o (more or less)
> >
> > Thanks in advance
>
Previous Topic:Why make and not ant
Next Topic:Tutorial Suggestion
Goto Forum:
  


Current Time: Mon Jun 02 01:49:51 EDT 2025

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

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

Back to the top