Summary: | Skip subversion resources when copying files from input to output folders | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Stéphane Chomat <Stephane.Chomat> |
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | P3 | CC: | urs.frei |
Version: | DEVELOPMENT | ||
Target Milestone: | 1.5.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Stéphane Chomat
2006-01-10 04:12:29 EST
I presume svn is subversion. the compiler appears to be failing to copy a resource from input to output because of a permissions problem. Are the permissions on that file set such that the compiler should be able to access it? Comment from Stephane that didnt get on the bug:
> Yes,the project is under subversion control but in this cas, svn
> plugin is not installed. The file 'format' is read only. but it's
> allready present in output folder.
> -r--r--r-- 1 chomats users 2 d?c 23 11:11 format
> The aspecj compiler must not copy the .svn resource form input to
> output.
It looks like I just need to augment our ignore list with svn information, it currently reads that we ignore:
(resourceName.startsWith("CVS/")) ||
(resourceName.indexOf("/CVS/") != -1) ||
(resourceName.endsWith("/CVS")) ||
(resourceName.endsWith(".class")) || (resourceName.toUpperCase().equals(MANIFEST_NAME))
can you tell me if there is a suitable pattern for svn files, are they always in a .svn directory? in which case this will work:
resourceName.indexOf("/.svn/") != -1) ||
resourceName.indexOf(".svn/") != -1) ||
resourceName.indexOf("/.svn") != -1) ||
SVN uses directories named ".svn" (with a whole bunch of files and folders underneath them). thx Adrian. Proposed fix committed. waiting on build. fix available in latest AspectJ build - will be in AJDT shortly. |