Skip to main content



      Home
Home » Newcomers » Newcomers » Precomposed User Libraries?
Precomposed User Libraries? [message #651119] Thu, 27 January 2011 15:32 Go to next message
Eclipse UserFriend
Here's something I've wanted to do, but not got around to over the
years: a precomposition of the User Libraries that can be
shared/imported between workspaces.

Each time I create a new workspace, I have to go through Java Build Path
-> Libraries -> User Library -> User Libraries and recreate all my
commonly used JAR sets for inclusion in projects. This can be laborious
in that I have to find them, know which JAR subset of a given technology
(like MyFaces, Hibernate, etc.) I need to include, wire up the source or
JavaDoc, etc.--lots of work.

Surely there's a smarter way to do this and I just haven't figured out what?

Do any of you have better practice on this?

Thanks,

Russ Bateman
Re: Precomposed User Libraries? [message #651161 is a reply to message #651119] Fri, 28 January 2011 00:30 Go to previous message
Eclipse UserFriend
On Thu, 2011-01-27 at 13:32 -0700, Russell Bateman wrote:
> Here's something I've wanted to do, but not got around to over the
> years: a precomposition of the User Libraries that can be
> shared/imported between workspaces.
>
> Each time I create a new workspace, I have to go through Java Build Path
> -> Libraries -> User Library -> User Libraries and recreate all my
> commonly used JAR sets for inclusion in projects. This can be laborious
> in that I have to find them, know which JAR subset of a given technology
> (like MyFaces, Hibernate, etc.) I need to include, wire up the source or
> JavaDoc, etc.--lots of work.
>
> Surely there's a smarter way to do this and I just haven't figured out what?
>
> Do any of you have better practice on this?
>
1. Export the user library from one workspace and import it into the
workspace that doesn't have it. You can export/import from the User
Libraries page in Preferences.

2. Create a library project that includes the jar files that you need.
Import this project into workspaces that need the jar files and make
your other projects depend on the library project. This facilitates
checking the project/jars into your SCM system.

> Thanks,
>
> Russ Bateman
Previous Topic:Hebrew Characters show up as Squares [Android]
Next Topic:Can EPF work on BPEL?
Goto Forum:
  


Current Time: Sat Nov 08 14:54:52 EST 2025

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

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

Back to the top