Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Webapp libraries info stored in Workspace?
Webapp libraries info stored in Workspace? [message #178518] Tue, 05 September 2006 10:20 Go to next message
Eclipse UserFriend
Originally posted by: jos.potargent.agfa.com

Hello,

this is a rather technical question from me, who is not familiar with the
Eclipse source code.

I have built a webapp project with WTP. There is a "Web App Libraries"
entry in the project, which refers to the WEB-INF/lib entries. In the
classpath file, it is stored as:
<classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>

I put the project under source control for other people, who just have to
check it out and use an Ant build script. But when they add it to their
workspace, he says that org.eclipse.jst.j2ee.internal.web.container is
"unknown". Those people have no WTP installed.

Then I installed a fresh Eclipse 3.2 without WTP and opened my workspace,
it was OK. The libraries were found in that container (it just was not
called Web App Libraries).

After some fiddling, I found that a classpathentry of kind="con" is stored
in the workspace, namely a file "variablesAndContainers.dat" in
" ...workspace\.metadata\.plugins\org.eclipse.jdt.core\variabl esAndContainers.dat ".

My question is: why is a classpath container that is specific for this
project only stored OUTSIDE the project. I read that in the Eclipse source
code a kind="con" is a "complex container" that is stored in the
workspace.

Is there a good reason for this or should something like that be stored in
the project itself. In that way, this hampers compatibility with other
persons which don't have this "variablesAndContainers.dat" entries in
their workspace.

Regards,

Jos
Re: Webapp libraries info stored in Workspace? [message #178703 is a reply to message #178518] Thu, 07 September 2006 18:13 Go to previous message
Eclipse UserFriend
Originally posted by: kosta.bea.com

Jos,

The variablesAntContainers.dat is a temporary cache file that Eclipse
maintains that tracks the contents of the classpath containers. This
file is not meant to be shared between users. Eclipse recalculates
contents of classpath containers dynamically. WTP projects and the
classpath containers contained within them will only function when WTP
plugins of the appropriate version are installed.

- Konstantin
Previous Topic:JAX-WS 2.0 support
Next Topic:HTML Edit auto format
Goto Forum:
  


Current Time: Thu Sep 19 20:04:05 GMT 2024

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

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

Back to the top