Skip to content

Commit

Permalink
# sprint-2 Fixed os path.
Browse files Browse the repository at this point in the history
  • Loading branch information
nva committed Feb 17, 2015
1 parent fd06847 commit 3021ef8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion bin/include/target-classpath.bat
Expand Up @@ -25,7 +25,7 @@

@echo off

for /D %%F in (%IGNITE_HOME%\os\modules\*) do if not %%F == "%IGNITE_HOME%\os\modules" call :includeToClassPath %%F
for /D %%F in (modules\*) do if not %%F == "modules" call :includeToClassPath %%F

for /D %%F in (%IGNITE_HOME%\modules\*) do if not %%F == "%IGNITE_HOME%\modules" call :includeToClassPath %%F

Expand All @@ -35,6 +35,8 @@ goto :eof
if exist "%1\target\" (
if exist "%1\target\classes\" call :concat %1\target\classes

if exist "%1\target\test-classes\" call :concat %1\target\test-classes

if exist "%1\target\libs\" call :concat %1\target\libs\*
)
goto :eof
Expand Down
10 changes: 7 additions & 3 deletions bin/include/target-classpath.sh
Expand Up @@ -49,6 +49,10 @@ includeToClassPath() {
IGNITE_LIBS=${IGNITE_LIBS}${SEP}${file}/target/classes
fi

if [ -d "${file}/target/test-classes" ]; then
IGNITE_LIBS=${IGNITE_LIBS}${SEP}${file}/target/test-classes
fi

if [ -d "${file}/target/libs" ]; then
IGNITE_LIBS=${IGNITE_LIBS}${SEP}${file}/target/libs/*
fi
Expand All @@ -57,11 +61,11 @@ includeToClassPath() {
}

#
# Include target libraries for opensourse modules to classpath.
# Include target libraries for enterprise modules to classpath.
#
includeToClassPath ${IGNITE_HOME}/os/modules
includeToClassPath modules

#
# Include target libraries for enterprise modules to classpath.
# Include target libraries for opensourse modules to classpath.
#
includeToClassPath ${IGNITE_HOME}/modules

0 comments on commit 3021ef8

Please sign in to comment.