Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Error: "Required library cannot denot external folder" - Again
Error: "Required library cannot denot external folder" - Again [message #171898] Wed, 04 August 2004 15:46 Go to next message
Eclipse UserFriend
Originally posted by: drathnow.wrx-ca.com

Sorry to repost this question but I've been out of the office for a while.

I originally posted this because I needed to find a way to get a folder
into my classpath at runtime. This used to work prior to 3.0 but was
apparently a bug. It was suggested I use a linked folder in my project
but this does not allow sharing of projects.

The last suggestion I got was to use a path variable but I'm not sure what
"path variable" to use. The dialog that comes up when you click
"Variables..."
is empty. Any variables I create are only visable/usable by me and not the
other members of my team.

Does anyone have any other suggestions?

Here is the original post:

-------
We use an application developement platform that requires
a path to a folder in the classpath when the application run.
The application parses the classpath to find this folder
and loads in the data contained in the folder.

I used to use a classpath variable that was set to this folder
and then simply included it as a Library for a project.
Everything was working fine; however, since upgrading to V3.0
this no longer works. When I attempt to build any project with
this variable in its "Libraries", I get the error:

Require library cannot denot external folder : "<path>" for project
"<project>"

My applications won't run; my testcases won't run.

Is this a bug? Is there a way around this?

Thanks,
Dave.
Re: Error: "Required library cannot denot external folder" - Again [message #171917 is a reply to message #171898] Wed, 04 August 2004 18:39 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

When you link the folder in the "Advanced" section of the
New->Simple->Folder wizard you can specify a variable in there. This is
a DIFFERENT variable than the Java Build Path variable. You can then
edit this variable to tell where on your system this folder exists. Your
team members will have to do the same thing when they check out the
project and get their variable to point to the folder on their system.


--
Thanks, Rich Kulp

Previous Topic:Encoding GB18030 Java editor can't open some file
Next Topic:How to treat Java files with extension
Goto Forum:
  


Current Time: Wed Jul 23 03:59:57 EDT 2025

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

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

Back to the top