Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Projects with C/C++ and Java
Projects with C/C++ and Java [message #43483] Mon, 30 September 2002 10:49 Go to next message
Eclipse UserFriend
Originally posted by: crvich.us.ibm.com

Anyone know how developers are approaching projects that contain both C/C++
code as well as Java? e.g., people who do primarily Java dev, but also
have some native code. Are they using two separate projects and compiling
each language separately?

--
Ernest M. Crvich
IBM ODE Team
http://w3.ode.raleigh.ibm.com/
Have footbag, will shred
Re: Projects with C/C++ and Java [message #43581 is a reply to message #43483] Tue, 01 October 2002 12:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ernest,

For the most part I believe that people are using separate projects or using
an approach such as we use in the CDT.

See
org.eclipse.cdt.core.linux for an example of how we use a folder within a
Java Project (library) as the source folder for the C code that is used to
create the ".so" files for this platform.

-Judy


--
Re: Projects with C/C++ and Java [message #43610 is a reply to message #43581] Tue, 01 October 2002 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Judy,
Could you please explain what you mean by "using an approach such as we use in
the CDT".

Thank you
Anil

"Judy N. Green" wrote:

> Hi Ernest,
>
> For the most part I believe that people are using separate projects or using
> an approach such as we use in the CDT.
>
> See
> org.eclipse.cdt.core.linux for an example of how we use a folder within a
> Java Project (library) as the source folder for the C code that is used to
> create the ".so" files for this platform.
>
> -Judy
>
> --
> ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨ ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨
> Judy N. Green Software Engineer
> QNX Software Systems Ltd. www.qnx.com
> ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨ ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨
>
> "Ernest Crvich" <crvich@us.ibm.com> wrote in message
> news:an9oae$roh$1@rogue.oti.com...
> | Anyone know how developers are approaching projects that contain both
> C/C++
> | code as well as Java? e.g., people who do primarily Java dev, but also
> | have some native code. Are they using two separate projects and compiling
> | each language separately?
> |
> | --
> | Ernest M. Crvich
> | IBM ODE Team
> | http://w3.ode.raleigh.ibm.com/
> | Have footbag, will shred
Re: Projects with C/C++ and Java [message #43983 is a reply to message #43610] Mon, 07 October 2002 11:07 Go to previous messageGo to next message
Eclipse UserFriend
"Anil Ambati" <aambati@us.ibm.com> wrote in message
news:3D99DB96.E1D83A1F@us.ibm.com...
| Hi Judy,
| Could you please explain what you mean by "using an approach such as we
use in
| the CDT".

Rather than try to explain a directory structure etc. ... and probably fail
miserably and confuse everyone in the bargain (given that it is Monday
morning and I haven't quite got a full coffee into me) ...

I would recommend that you check out the "org.eclipse.cdt.core.linux"
project (or browse it via the web interface) and see what I mean.
It is a very small project and set up for both Java and C++.

-Judy

|
| Thank you
| Anil
|
| "Judy N. Green" wrote:
|
| > Hi Ernest,
| >
| > For the most part I believe that people are using separate projects or
using
| > an approach such as we use in the CDT.
| >
| > See
| > org.eclipse.cdt.core.linux for an example of how we use a folder within
a
| > Java Project (library) as the source folder for the C code that is used
to
| > create the ".so" files for this platform.
| >
| > -Judy
| >
| > --
| >
Re: Projects with C/C++ and Java [message #45352 is a reply to message #43983] Tue, 15 October 2002 17:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefer.rational.com

For the little work I've done with native code, I've created two projects. I
wrote the makefile for the native code so that the shared library would be
output in the Java project so that LoadLibrary would pick it up at debug
time.

I would think that working on such projects would be a common scenario and I
would certainly like to see good support for working with projects that have
both Java and C/C++ for JNI.

- Doug

"Judy N. Green" <jgreen@qnx.com> wrote in message
news:ans68b$n1i$1@rogue.oti.com...
>
> "Anil Ambati" <aambati@us.ibm.com> wrote in message
> news:3D99DB96.E1D83A1F@us.ibm.com...
> | Hi Judy,
> | Could you please explain what you mean by "using an approach such as we
> use in
> | the CDT".
>
> Rather than try to explain a directory structure etc. ... and probably
fail
> miserably and confuse everyone in the bargain (given that it is Monday
> morning and I haven't quite got a full coffee into me) ...
>
> I would recommend that you check out the "org.eclipse.cdt.core.linux"
> project (or browse it via the web interface) and see what I mean.
> It is a very small project and set up for both Java and C++.
>
> -Judy
>
> |
> | Thank you
> | Anil
> |
> | "Judy N. Green" wrote:
> |
> | > Hi Ernest,
> | >
> | > For the most part I believe that people are using separate projects or
> using
> | > an approach such as we use in the CDT.
> | >
> | > See
> | > org.eclipse.cdt.core.linux for an example of how we use a folder
within
> a
> | > Java Project (library) as the source folder for the C code that is
used
> to
> | > create the ".so" files for this platform.
> | >
> | > -Judy
> | >
> | > --
> | >
Re: Projects with C/C++ and Java [message #67116 is a reply to message #43483] Mon, 21 April 2003 22:58 Go to previous message
Eclipse UserFriend
I have two Eclipse installs - one with CDT and 2.02 and the Java one with
the
latest 2.1 code

Peter

"Ernest Crvich" <crvich@us.ibm.com> wrote in message
news:an9oae$roh$1@rogue.oti.com...
> Anyone know how developers are approaching projects that contain both
C/C++
> code as well as Java? e.g., people who do primarily Java dev, but also
> have some native code. Are they using two separate projects and compiling
> each language separately?
>
> --
> Ernest M. Crvich
> IBM ODE Team
> http://w3.ode.raleigh.ibm.com/
> Have footbag, will shred
Previous Topic:Debugger doesn't work
Next Topic:Debugger crash when expanding variable
Goto Forum:
  


Current Time: Sun Jul 13 11:41:07 EDT 2025

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

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

Back to the top