Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse (and Java) newbie needs help
Eclipse (and Java) newbie needs help [message #27756] Thu, 17 February 2005 16:40 Go to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Hello all,

I am a C/C++ developer who has recently jumped onto the Java band wagon.
I have downloaded eclipse and created a simple Java library package
(nothing fancy) in one project. Incidentally all the classes and methods
are declared as public in the library.

I have created a separate test harness project, which I intend to use to
test the functions I have written in my library/package.

I need to find out how to do the ff:

1). Build Jar files from my first project (I cant seem to find
documentation on building Jars in eclipse anywhere)

2). Correctly import the library package in my second project. (There is
a directory structure to "import" directive mapping which I haven't
worked out yet)

My libraries (currently .class files) are in: root\package
and my second project is in folder: root\project2

How would I write my "import" declaration to be able to import the jar
files once I have succesfully built them?


Many tks in advance
Re: Eclipse (and Java) newbie needs help [message #28507 is a reply to message #27756] Fri, 18 February 2005 09:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

Questions like these are best asked at the CDT newsgroup: eclipse.tools.cdt

--
Chris Laffra, http://eclipsefaq.org


<user@domain.invalid> wrote in message news:cv32ss$uqm$1@www.eclipse.org...
> Hello all,
>
> I am a C/C++ developer who has recently jumped onto the Java band wagon.
> I have downloaded eclipse and created a simple Java library package
> (nothing fancy) in one project. Incidentally all the classes and methods
> are declared as public in the library.
>
> I have created a separate test harness project, which I intend to use to
> test the functions I have written in my library/package.
>
> I need to find out how to do the ff:
>
> 1). Build Jar files from my first project (I cant seem to find
> documentation on building Jars in eclipse anywhere)
>
> 2). Correctly import the library package in my second project. (There is
> a directory structure to "import" directive mapping which I haven't
> worked out yet)
>
> My libraries (currently .class files) are in: root\package
> and my second project is in folder: root\project2
>
> How would I write my "import" declaration to be able to import the jar
> files once I have succesfully built them?
>
>
> Many tks in advance
>
Re: Eclipse (and Java) newbie needs help [message #28538 is a reply to message #28507] Fri, 18 February 2005 11:37 Go to previous message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Chris Laffra wrote:

> Questions like these are best asked at the CDT newsgroup: eclipse.tools.cdt

I think Chris misread your question. CDT is for C++ development. You are
clearly asking about Java development. Have a look at Ron's response to
your other post.
Previous Topic:eclipse 3.1M4 with only 256 mb
Next Topic:Eclipse and local CVS
Goto Forum:
  


Current Time: Wed Jul 23 18:05:50 EDT 2025

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

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

Back to the top