Export package and include jar's [message #987022] |
Thu, 22 November 2012 23:54 |
Eclipse User |
|
|
|
He everybody,
I have long and painfully googled but to no avail.
Is there any possibility of exporting my package as archive and have
there automatically included jar's that I reference in the source code
in a way that when someone else imports the package the build path will
contain those jar's?
I mean without having to add them manually to the build path after the
import.
Thanks a lot
jaro
|
|
|
Re: Export package and include jar's [message #987139 is a reply to message #987022] |
Fri, 23 November 2012 17:45 |
|
On 11/22/2012 04:54 PM, jaro wrote:
> He everybody,
>
> I have long and painfully googled but to no avail.
>
> Is there any possibility of exporting my package as archive and have
> there automatically included jar's that I reference in the source code
> in a way that when someone else imports the package the build path will
> contain those jar's?
>
> I mean without having to add them manually to the build path after the
> import.
>
> Thanks a lot
> jaro
Yes, you can export a single package from your project as a JAR.
The way you're asking this implies that you don't wish then for your
consumer to have to use Eclipse Build Path command to add your JAR to a
project, but that his mere use of the import statement in Java is enough
to accomplish it?
What I've just said is absurd, of course, but it may help you restate
your question in such a way as to make it more clear what you're asking.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07565 seconds