This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 14801 - Ant script in CVS file system looses execute attribute.
Summary: Ant script in CVS file system looses execute attribute.
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscvs (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-24 23:40 UTC by Michael Ottati
Modified: 2001-08-30 14:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example ant script that can not be executed under a CVS filesystem (325 bytes, text/plain)
2001-08-24 23:41 UTC, Michael Ottati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ottati 2001-08-24 23:40:33 UTC
The following description is based upon sources that were updated at 
Fri Aug 24 21:00  2001 UTC

This bug appears to be a recent regression, I have been working this way for 
quite some time.

When a CVS file system is mounted and that file system contains an ant script, 
the ant script does not indicate the possibility that it may be executed.

If one unmounts the CVS file system remounts it as a normal file system, the 
execution attributes are then correctly shown.

I have attached the ant script that I am normally use in this situation. It has 
been working for me under CVS for months and just started the new behavior with 
todays update of my sources.


I am using CVS + API support to develop. There appears to be a regression that 
has taken place over the last day or two.
Comment 1 Michael Ottati 2001-08-24 23:41:40 UTC
Created attachment 2299 [details]
Example ant script that can not be executed under a CVS filesystem
Comment 2 Jesse Glick 2001-08-29 12:40:51 UTC
Perhaps the filesystem is incorrectly assigning the MIME type
"text/xml" to the file, rather than using the MIME resolvers (recently
added to the Ant module) which specifies "text/x-ant+xml".

Making P2 since this is basic functionality.
Comment 3 Martin Entlicher 2001-08-29 15:29:12 UTC
Will be fixed in tomorrow's dev build.
It was caused by a mimeType implementation based on
FileUtil.getMIMEType(extension) instead of
FileUtil.getMIMEType(FileObject).
This part of code in version control filesystem did not change since
Nov 2000. Therefore the change had to be done somewhere else.
Comment 4 Milos Kleint 2001-08-30 08:35:17 UTC
fixed for javacvs filesystem as well. will appear in dev build
(31/Aug/2001)
Comment 5 dmladek 2001-08-30 14:10:47 UTC
OK in [NBdev-200108300704]