Skip to content

Commit

Permalink
renamed .classpath to .lein_classpath so that it doesn't conflict wit…
Browse files Browse the repository at this point in the history
…h other tools like Eclipse that use .classpath
  • Loading branch information
slagyr committed Jul 8, 2011
1 parent f270510 commit ac9b665
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bin/lein
Expand Up @@ -73,8 +73,8 @@ CLOJURE_JAR="$HOME/.m2/repository/org/clojure/clojure/1.2.1/clojure-1.2.1.jar"
NULL_DEVICE=/dev/null NULL_DEVICE=/dev/null


# apply context specific CLASSPATH entries # apply context specific CLASSPATH entries
if [ -f .classpath ]; then if [ -f .lein_classpath ]; then
CLASSPATH="`cat .classpath`:$CLASSPATH" CLASSPATH="`cat .lein_classpath`:$CLASSPATH"
fi fi


# normalize $0 on certain BSDs # normalize $0 on certain BSDs
Expand Down
2 changes: 1 addition & 1 deletion bin/lein.bat
Expand Up @@ -38,7 +38,7 @@ set CLASSPATH="%CLASSPATH%";%DEV_PLUGINS%;%UNIQUE_USER_PLUGINS%;test;src


:: Apply context specific CLASSPATH entries :: Apply context specific CLASSPATH entries
set CONTEXT_CP="" set CONTEXT_CP=""
if exist ".classpath" set /P CONTEXT_CP=<.classpath if exist ".lein_classpath" set /P CONTEXT_CP=<.lein_classpath
if NOT "%CONTEXT_CP%"=="" set CLASSPATH="%CONTEXT_CP%";%CLASSPATH% if NOT "%CONTEXT_CP%"=="" set CLASSPATH="%CONTEXT_CP%";%CLASSPATH%


if exist "%~f0\..\..\src\leiningen\core.clj" ( if exist "%~f0\..\..\src\leiningen\core.clj" (
Expand Down
4 changes: 2 additions & 2 deletions doc/PLUGINS.md
Expand Up @@ -100,8 +100,8 @@ for more details.
## CLASSPATH ## CLASSPATH


Custom classpath elements can be added to Leiningen's startup command Custom classpath elements can be added to Leiningen's startup command
by adding a '.classpath' file the the working directory. When present, by adding a '.lein_classpath' file the the working directory. When present,
the content from '.classpath' will be prepended to the classpath before the content from '.lein_.classclasspath' will be prepended to the classpath before
invoking the JVM. invoking the JVM.


## Have Fun ## Have Fun
Expand Down

0 comments on commit ac9b665

Please sign in to comment.