warning: [path] bad path element

Hello Everybody,

I am building a project in Eclipse , using an ant build.

I used the Xlint Option , to determine the usage of deprecated API's.

I am building the project against JRE 1.5. I get the following compiler warnings

[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\jakarta-ant-1.5.1\lib\xalan.jar": no such file or directory

[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\jakarta-ant-1.5.1\lib\xalan.jar": no such file or directory

[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\xerces.jar": no such file or directory

[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jdbc-se2.0.jar": no such file or directory

[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jndi.jar": no such file or directory

[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jta1.0.1.jar": no such file or directory

[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tpp\JavaMail1.4\lib\jcommon-1.0.0.jar": no such file or directory.

any idea as to why this is happening? what is that I need to chnage , in order to fix it ?

Thank you so much.

[1623 byte] By [koneru_1980a] at [2007-10-3 8:26:37]
# 1
Do you have old things in your path that don't exist?
zadoka at 2007-7-15 3:33:02 > top of Java-index,Desktop,Runtime Environment...
# 2
I checked for all those jars , none of them exist.When I searched in the ant build.xml, I do not see a reference to any of these jars. How will I determine, if these jars are being referred to indirectly?
koneru_1980a at 2007-7-15 3:33:02 > top of Java-index,Desktop,Runtime Environment...
# 3
Check this out: http://www.digizenstudio.com/blog/2005/06/18/the-bad-path-element-error/
zadoka at 2007-7-15 3:33:02 > top of Java-index,Desktop,Runtime Environment...
# 4

Thank you so much,

I used the Xlint:path , option , the compiler output is still the same,

I still get the path related warnings.

According to the documentation online,

Xlint:path , will basically remove all the path related warnings, but I have to figure out , as to how the compiler is even referring to these missing jars, even though the ant build.xml does not make a reference to them

koneru_1980a at 2007-7-15 3:33:02 > top of Java-index,Desktop,Runtime Environment...
# 5
They are hiding in your third party MANIFEST, for instance:META-INF/MANIFEST.MF:Class-Path: batik-core.jar chart.jar
Sean_Ga at 2007-7-15 3:33:02 > top of Java-index,Desktop,Runtime Environment...