Home » Language IDEs » Java Development Tools (JDT) » How can I quickly add a set of 10 Jar files?
How can I quickly add a set of 10 Jar files? [message #68478] |
Thu, 26 June 2003 23:01  |
Eclipse User |
|
|
|
Originally posted by: cay_horstmann.yahoo.com
Hi! I am writing a book on Java Server Faces. I need to design a whole
bunch of fairly simple projects. Each of them needs the same 10 (approx.)
JAR files. I'd like to create a library (similar to the JRE System
Library), add the JAR files to the library, and add the library with a
single command to each new project.
Right now, I go click-click-click-click-click-click-click and wonder
whether it's time to back to Emacs.
I know that I can name a "variable" and then click on "Extend", but it is
still tedious because my JAR files are distributed over multiple
directories.
Thanks for any help,
Cay
|
|
| | | | | | | | | | | |
Re: Convert simple project to java project? [message #70003 is a reply to message #69010] |
Mon, 30 June 2003 08:41   |
Eclipse User |
|
|
|
Originally posted by: krush_krush.hotmail.com
Ok, maybe I'm not too smart or something, I can't seem
to get this work as stated. I had to remove the .project
file from cvs first, in order to be able to check out
as a Java project, as Mike said. Now I got my
java project, but I can't export the jar files
as a library like David Wegener stated earlier.
I don't see my jar files in Java Build Path -> Export
tab. All I see is "My-Library/src" with a check box.
Anything wrong with this picture?
thanks
kk
On Fri, 27 Jun 2003 11:39:56 -0400, Michael R Head wrote:
> On Fri, 27 Jun 2003 09:01:30 -0400, Scott Stanchfield wrote:
>
>> I wouldn't make it a plugin project...
>>
>> I just added a page for this to my eclipse tips site. See
>>
>> http://www.javadude.com/eclipse/
>>
>> and click on Converting a "CVS module into a Java Project"
>
> I'm curious why you want to check out the project outside of eclipse. I've
> taken several CVS modules and made them java projects just fine by doing:
>
> Switch to CVS Repository Exploring Perspective
> Browse to the desired CVS module (adding a server if necessary)
> Right click on the module
> Select "Check out as..."
> Java/Java project
> Enter the desired name
> Click finish
> When it says your "project already exists in the workspace, do you want to
> overwrite", click OK
>
> Now you've got the java project in your workspace and can customize the
> build path as desired.
>
> When you commit the project, make sure to let eclipse add the .project and
> .classpath, and you'll be able to simply right click on the module and
> "check out as project" next time.
>
|
|
|
Re: Convert simple project to java project? [message #70376 is a reply to message #70003] |
Mon, 30 June 2003 12:09  |
Eclipse User |
|
|
|
Originally posted by: burner.zclipse.org
On Mon, 30 Jun 2003 20:41:03 +0800, konrad krash wrote:
> Ok, maybe I'm not too smart or something, I can't seem to get this work
> as stated. I had to remove the .project file from cvs first, in order to
> be able to check out as a Java project, as Mike said. Now I got my java
> project, but I can't export the jar files as a library like David
> Wegener stated earlier.
>
> I don't see my jar files in Java Build Path -> Export tab. All I see is
> "My-Library/src" with a check box.
In order for jars and such to show up in the export window, they must
appear in the Libraries tab first. Once you add them there, they should
show up in the "Order and Export" tab.
mike
> Anything wrong with this picture?
>
> thanks
>
> kk
>
|
|
|
Goto Forum:
Current Time: Mon Jul 14 14:52:39 EDT 2025
Powered by FUDForum. Page generated in 0.07292 seconds
|