Project

General

Profile

Bug #5192

Module Manager reacts badly to dot files in resources/configuration directory

Added by Christopher Brooks almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
build system
Target version:
Start date:
09/29/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5192

Description

I was trying to follow the 2.1 instructions at
https://kepler-project.org/developers/teams/build/kepler-2.1-release-roadmap/?searchterm=roadmap

and edited
kepler-2.1/module-manager-2.1/resources/configurations/configuration.xml
with Emacs, which created
kepler-2.1/module-manager-2.1/resources/configurations/.#configuration.xml

Then ant clean-all run
failed:

run:
[run] setting dock icon to -Xdock:icon=/Users/cxh/src/kepler-2.1/common-2.1/resources/icons/kepler-dock-icon.png
[run] Set environment variable: PATH = /Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/Users/cxh/ptII/vendors/misc/dbxml-2.5.16/install/bin:/Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/opt/subversion/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/2007/bin:/usr/local/git/bin:/Users/cxh/ptII/vendors/misc/dbxml-2.5.16/install/bin:/Users/cxh/ptII/vendors/misc/dbxml-2.5.16/install/bin:/Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/opt/subversion/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/2007/bin:/usr/texbin:/usr/local/texlive/2007/bin:/Users/cxh/ptII/vendors/misc/dbxml-2.5.16/install/bin:/Users/cxh/src/kepler-2.1/r-2.1/lib:/Users/cxh/src/kepler-2.1/common-2.1/lib/ptolemy/matlab:/Users/cxh/src/kepler-2.1/common-2.1/lib
[run] Set environment variable: R_HOME = /Library/Frameworks/R.framework/Resources
[run] /Users/cxh/src/kepler-2.1
[run] java.io.FileNotFoundException: /Users/cxh/src/kepler-2.1/module-manager-2.1/resources/configurations/.#configuration.xml (No such file or directory)
[run] at java.io.FileInputStream.open(Native Method)
[run] at java.io.FileInputStream.<init>(FileInputStream.java:106)
[run] at org.kepler.configuration.CommonsConfigurationReader.loadConfiguration(CommonsConfigurationReader.java:144)
[run] at org.kepler.configuration.CommonsConfigurationReader.loadConfigurations(CommonsConfigurationReader.java:92)
[run] at org.kepler.configuration.CommonsConfigurationReader.loadConfigurations(CommonsConfigurationReader.java:64)
[run] at org.kepler.configuration.ConfigurationManager.loadConfiguration(ConfigurationManager.java:420)
[run] at org.kepler.configuration.ConfigurationManager.<init>(ConfigurationManager.java:87)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:116)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:105)
[run] at org.kepler.modulemanager.RepositoryLocations.initReleaseLocation(RepositoryLocations.java:24)
[run] at org.kepler.modulemanager.RepositoryLocations.getReleaseLocation(RepositoryLocations.java:18)
[run] at org.kepler.Kepler.main(Kepler.java:89)
[run] org.kepler.configuration.ConfigurationManagerException: Error loading configuration file: /Users/cxh/src/kepler-2.1/module-manager-2.1/resources/configurations/.#configuration.xml (No such file or directory)
[run] at org.kepler.configuration.CommonsConfigurationReader.loadConfiguration(CommonsConfigurationReader.java:171)
[run] at org.kepler.configuration.CommonsConfigurationReader.loadConfigurations(CommonsConfigurationReader.java:92)
[run] at org.kepler.configuration.CommonsConfigurationReader.loadConfigurations(CommonsConfigurationReader.java:64)
[run] at org.kepler.configuration.ConfigurationManager.loadConfiguration(ConfigurationManager.java:420)
[run] at org.kepler.configuration.ConfigurationManager.<init>(ConfigurationManager.java:87)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:116)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:105)
[run] at org.kepler.modulemanager.RepositoryLocations.initReleaseLocation(RepositoryLocations.java:24)
[run] at org.kepler.modulemanager.RepositoryLocations.getReleaseLocation(RepositoryLocations.java:18)
[run] at org.kepler.Kepler.main(Kepler.java:89)
[run] org.kepler.configuration.ConfigurationManagerException: Error loading configuration: Error loading configuration file: /Users/cxh/src/kepler-2.1/module-manager-2.1/resources/configurations/.#configuration.xml (No such file or directory)
[run] at org.kepler.configuration.CommonsConfigurationReader.loadConfigurations(CommonsConfigurationReader.java:105)
[run] at org.kepler.configuration.CommonsConfigurationReader.loadConfigurations(CommonsConfigurationReader.java:64)
[run] at org.kepler.configuration.ConfigurationManager.loadConfiguration(ConfigurationManager.java:420)
[run] at org.kepler.configuration.ConfigurationManager.<init>(ConfigurationManager.java:87)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:116)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:105)
[run] at org.kepler.modulemanager.RepositoryLocations.initReleaseLocation(RepositoryLocations.java:24)
[run] at org.kepler.modulemanager.RepositoryLocations.getReleaseLocation(RepositoryLocations.java:18)
[run] at org.kepler.Kepler.main(Kepler.java:89)
[run] Exception in thread "main" java.lang.RuntimeException: Could not load configuration: Error loading configuration: Error loading configuration file: /Users/cxh/src/kepler-2.1/module-manager-2.1/resources/configurations/.#configuration.xml (No such file or directory)
[run] at org.kepler.configuration.ConfigurationManager.<init>(ConfigurationManager.java:93)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:116)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:105)
[run] at org.kepler.modulemanager.RepositoryLocations.initReleaseLocation(RepositoryLocations.java:24)
[run] at org.kepler.modulemanager.RepositoryLocations.getReleaseLocation(RepositoryLocations.java:18)
[run] at org.kepler.Kepler.main(Kepler.java:89)

BUILD FAILED
/Users/cxh/src/kepler-2.1/build-area/build.xml:36: Java returned: 1

Total time: 2 minutes 52 seconds
bash-3.2$ ls ~/src/kepler-2.1/module-manager-2.1/resources/configurations/
configuration.xml
bash-3.2$ ls -a ~/src/kepler-2.1/module-manager-2.1/resources/configurations/
. .. configuration.xml
.#configuration.xml .svn
bash-3.2$

History

#1 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5192

Also available in: Atom PDF