splunk / splunk-shuttl

Splunk app for archive management, including HDFS support.
Apache License 2.0
36 stars 19 forks source link

Change the package name of fileSystem to filesystem (lowercase) #35

Closed petterik closed 12 years ago

petterik commented 12 years ago

Package names should be lowercase.

Do:

petterik commented 12 years ago

Used the following shell code for "find and replace" fileSystem to filesystem in java files: for file in $(find java -name "*.java") do sed -e 's/com.splunk.shuttl.archiver.fileSystem/com.splunk.shuttl.archiver.filesystem/' $file > /tmp/fileSystemfix.tmp mv /tmp/fileSystemfix.tmp $file done

Then I changed the directory names in both src and test.

Problems: Eclipse had problems when I only changed the directory names in the src directory. This was probably because eclipse compiles all code to one directory, where it then had both 'filesystem' and 'fileSystem'. The problem was solved by making the fix in both src and test directories.