With the change done as part of MECLIPSE-443 "Only include **/*.java in Java source directories" the .classpath entries for classpathentry kind="src" now specify an including attribute with a value of "**/*.java" . Previously this attribute was not specified which meant that eclipse would include any file in this src directory as being on the classpath and hence compiled.
This broke Ajdt support as "**/*.aj" files were no longer included on the classpath and MECLIPSE-538 fixed this.
MECLIPSE-104 "Add the ability to specify source inclusions/exclusions" was added put back this flexibility.
In summary:
- If your project is a java project then "**/*.java" will always be added to the including attribute of source directories.
- If your project is an ajdt project then "**/*.aj" will always be added to the including attribute of source directories.
- If you need any additional includes or excludes for source directories then use the configuration elements sourceIncludes/sourceExcludes
 
                   
                   
                   
                   随着MECLIPSE-443更改,Eclipse现在仅将**/*.java文件包含到Java项目的源目录中。对于使用AJDT的项目,**/*.aj文件同样被包括在内。用户可以通过配置sourceIncludes/sourceExcludes来自定义更多包含或排除规则。
随着MECLIPSE-443更改,Eclipse现在仅将**/*.java文件包含到Java项目的源目录中。对于使用AJDT的项目,**/*.aj文件同样被包括在内。用户可以通过配置sourceIncludes/sourceExcludes来自定义更多包含或排除规则。
           
       
           
                 
                 
                 
                 
                 
                
               
                 
                 
                 
                 
                
               
                 
                 扫一扫
扫一扫
                     
              
             
                   6318
					6318
					
 被折叠的  条评论
		 为什么被折叠?
被折叠的  条评论
		 为什么被折叠?
		 
		  到【灌水乐园】发言
到【灌水乐园】发言                                
		 
		 
    
   
    
   
             
            


 
            