Ignore:
Timestamp:
Dec 3, 2008, 10:43:47 PM (14 years ago)
Author:
Jari Häkkinen
Message:

JAVACFLAGS was a classpath! Correcting and introduced a proper JAVACFLAGS, explicitly setting UTF8 encoding needed for öäå. The MANIFEST.MF for WeNN.jar was not properly generated, corrected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/base1/se.lu.thep.wenni/trunk/configure.ac

    r864 r868  
    134134  AC_PROG_JAVAC   
    135135  AC_PROG_JAR   
     136  JAVACFLAGS="-encoding UTF8"
    136137  if (test $DOWNLOADBASE2API = false); then
    137138    AC_CHECK_FILE([$BASEDIR/www/WEB-INF/lib/BASE2Core.jar], [],
    138139                  [AC_MSG_FAILURE([cannot find BASE2Core.jar])])
    139     JAVACFLAGS+=$BASEDIR/www/WEB-INF/lib/BASE2Core.jar
     140    JAVACCLASSPATH+=$BASEDIR/www/WEB-INF/lib/BASE2Core.jar
    140141    AC_CHECK_FILE([$BASEDIR/www/WEB-INF/lib/BASE2CorePlugins.jar], [],
    141142                  [AC_MSG_FAILURE([cannot find BASE2CorePlugins.jar])])
    142     JAVACFLAGS="$BASEDIR/www/WEB-INF/lib/BASE2CorePlugins.jar:$JAVACFLAGS"
     143    JAVACCLASSPATH="$BASEDIR/www/WEB-INF/lib/BASE2CorePlugins.jar:$JAVACCLASSPATH"
    143144  else
    144     JAVACFLAGS="./BaseCoreAPI/BASE2CorePlugins.jar:BaseCoreAPI/BASE2Core.jar:$JAVACFLAGS"
     145    JAVACCLASSPATH="./BaseCoreAPI/BASE2CorePlugins.jar:BaseCoreAPI/BASE2Core.jar:$JAVACCLASSPATH"
    145146  fi
    146   JAVACFLAGS="$JAVACFLAGS:./$PLUGINutilities/$PLUGINutilities.jar"
     147  JAVACCLASSPATH="$JAVACCLASSPATH:./$PLUGINutilities/$PLUGINutilities.jar"
    147148  AC_SUBST(PLUGINutilities)
    148149  AC_SUBST(PLUGINutilitiesURL)
    149150  AC_SUBST(BASE2CoreURL)
    150151  AC_SUBST(JAVACFLAGS)
     152  AC_SUBST(JAVACCLASSPATH)
    151153fi
    152154
     
    241243  AC_MSG_NOTICE([  BASELDFLAGS  = $BASELDFLAGS])
    242244elif (test x$state = xbase2); then
    243   AC_MSG_NOTICE([  JAVACFLAGS   = $JAVACFLAGS])
     245  AC_MSG_NOTICE([  JAVACFLAGS     = $JAVACFLAGS])
     246  AC_MSG_NOTICE([  JAVACCLASSPATH = $JAVACCLASSPATH])
    244247fi
    245248AC_MSG_NOTICE([+++++++++++++++++++++++++++++++++++++++++++++++])
Note: See TracChangeset for help on using the changeset viewer.