E
exquisitus
Hi
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 can't 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
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 can't 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