Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Updating CLASSPATH libraries by folder
Updating CLASSPATH libraries by folder [message #16859] Wed, 07 May 2003 16:20 Go to next message
Eclipse UserFriend
Originally posted by: ggtraining1.yahoo.com

How can Eclipse 2.1 be updated to include ALL .jars in a folder? If not,
why?

How can Eclipse 2.1 be updated to include ALL .jars in SUBfolders?
Adding dozens of .jars individually is really annoying and error prone.
Added a Library/Variable folder only works for .class files not .jars.
Yes, I\'ve searched the Help files and tried some trial and errors and
none worked. Adding them through a backhanded way is fine, as long as
it\'s easy. Can a plug-in.xml and plug-in.properties from all files in a
folder be created automatically or with wizard? If not, why not? Why
aren\'t CLASSPATH variables truely manageable at the folder level?
Re: Updating CLASSPATH libraries by folder [message #17766 is a reply to message #16859] Thu, 08 May 2003 12:10 Go to previous messageGo to next message
Eclipse UserFriend
GG wrote:
> How can Eclipse 2.1 be updated to include ALL .jars in a folder? If not,
> why?
No you can't. I think you also can't do this for javac with -classpath.
(-ext is the exception but that's not a regular classpath entry).

> How can Eclipse 2.1 be updated to include ALL .jars in SUBfolders?
> Adding dozens of .jars individually is really annoying and error
> prone.
Using 'Add External JARs' or 'Add JARs' it's easy to multiple select all
JAR in a folder.

> Added a Library/Variable folder only works for .class files not .jars.

> Yes, I\'ve searched the Help files and tried some trial and errors and
> none worked. Adding them through a backhanded way is fine, as long as
> it\'s easy. Can a plug-in.xml and plug-in.properties from all files in a
> folder be created automatically or with wizard? If not, why not?

I don't understand this question. What do you mean 'from all files'?
plugin.xml is the description for a plugin and has not much to do with
the files and folders. PDE's plugin editor supports the creation of
plugin.xml (New->Plug-in Development>Plug-in)

Why
> aren\'t CLASSPATH variables truely manageable at the folder level?

What do you mean by that? You can set a CLASSPATH variable to a folder
and also add it to the classpath.
Re: Updating CLASSPATH libraries by folder [message #19078 is a reply to message #16859] Fri, 09 May 2003 13:17 Go to previous message
Eclipse UserFriend
Originally posted by: greg.ferguson.americawest.com

GG wrote:

> How can Eclipse 2.1 be updated to include ALL .jars in a folder? If not,
> why?

> How can Eclipse 2.1 be updated to include ALL .jars in SUBfolders?
> Adding dozens of .jars individually is really annoying and error prone.
> Added a Library/Variable folder only works for .class files not .jars.
> Yes, I\\\'ve searched the Help files and tried some trial and errors and
> none worked. Adding them through a backhanded way is fine, as long as
> it\\\'s easy. Can a plug-in.xml and plug-in.properties from all files in a
> folder be created automatically or with wizard? If not, why not? Why
> aren\\\'t CLASSPATH variables truely manageable at the folder level?


What I find is that after adding all .jar and/or .zip files in my \"lib\"
directory, that Eclipse won\'t include them in an exported .jar file I\'m
trying to build. It adds all but the Oracle JDBC 1.4 .jar. Trying to
execute the jar always results in a class not found when trying to access
the oracle drivers.

:-(

Greg
Previous Topic:classpath for resources
Next Topic:Re: Changing Package Explorer View
Goto Forum:
  


Current Time: Thu Mar 13 13:46:03 EDT 2025

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

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

Back to the top