简体   繁体   English

Eclipse Project Explorer:如何摆脱./ JS作为WebContent目录的工作?

[英]Eclipse Project Explorer: How do I get rid of ./ JS as working WebContent directory?

I recently synced up through SVN with a new project my team created. 我最近通过SVN与团队创建的新项目同步。 Upon checking out the project, my Project Explorer had a unique directory structure at first glance. 签出项目后,我的Project Explorer乍一看就具有唯一的目录结构。 It had the typical expected folders, but there was one directory marked 它具有典型的预期文件夹,但是有一个目录标记

./ ./

Which had the "JS" icon on it, and then all of the profile files+folders were under that directory, also with the "JS" icon. 上面带有“ JS”图标,然后所有配置文件和文件夹都位于该目录下,并且带有“ JS”图标。

Updating all plugins I have as well as tinkering with how I checkout did not seem to fix it. 更新我拥有的所有插件以及修改结帐方式似乎都无法解决。

I'm assuming there is some kind of property that I need to change within the project, but I have yet to find it. 我假设在项目中需要更改某种属性,但是我还没有找到它。 Also, I'm wondering if there is some kind of error before I even check out (so in our SVN) that would be causing it. 另外,我想知道是否有某种错误会导致它出现(甚至在我们的SVN中)。

Thanks for any suggestions. 感谢您的任何建议。

I have one option for you which may work. 我为您提供了一种可行的选择。 Try creating a filter in the package explorer as shown in the below screenshots. 尝试在包资源管理器中创建过滤器,如以下屏幕截图所示。

  1. Click on the filter symbol on package explorer 单击包浏览器上的过滤器符号

    在此处输入图片说明

  2. Click on the Filters option 单击Filters选项

    在此处输入图片说明

  3. Type ./* in the Name filter patterns free flowing text field Name filter patterns自由流动文本字段中输入./*

    在此处输入图片说明

  4. Click OK and see if the strange directory still appears. 单击“确定”,查看奇怪的目录是否仍然出现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM