Skip to content

Commit

Permalink
Fixed: NoClassDefFoundError when working directory is not SmartSprite…
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislawosinski committed Oct 11, 2011
1 parent 27668d4 commit 5343650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/bin/smartsprites.cmd
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ goto setupArgs
rem rem
rem Launch SmartSprites rem Launch SmartSprites
rem rem
java %OPTS% -Djava.ext.dirs=lib org.carrot2.labs.smartsprites.SmartSprites %CMD_LINE_ARGS% java %OPTS% -Djava.ext.dirs=%~dp0lib org.carrot2.labs.smartsprites.SmartSprites %CMD_LINE_ARGS%
2 changes: 1 addition & 1 deletion src/main/bin/smartsprites.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# #
OPTS="-Xms64m -Xmx256m" OPTS="-Xms64m -Xmx256m"


java $OPTS -Djava.ext.dirs=lib org.carrot2.labs.smartsprites.SmartSprites "$@" java $OPTS -Djava.ext.dirs=`dirname $0`/lib org.carrot2.labs.smartsprites.SmartSprites "$@"

0 comments on commit 5343650

Please sign in to comment.