Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 2.3-M1
-
Component/s: Configuration
-
Labels:None
-
Environment:Any system using check-out source control system such as "perforce" and continous build system
Description
application.properties is required to be checked in. With a source control system such as perforce, this file becomes "read-only" and needs to be checked out to be modified.
Running various grails commands such as "grails Bootstrap" fail if this file is read-only.
There appears to be no simple workaround for such source-control systems. Source control systems such as SVN don't have this immediate problem, but do have the pain point that the file appears to be modified when it need not be.
Example error:
[exec] Compilation error: Error persisting metadata to file [/some-path/SomeApp/application.properties]: /some-path/SomeApp/application.properties (Permission denied)
Note that also the taglib descriptor files (web-app/WEB-INF/tld) have to be checked out (writeable) to allow grails (1.1.x) to be successfully launched.
Therefore I think
GRAILS-4246"Application does not start if taglibs are read-only" is related to this issue.