Mail Archive Home | exoplatform List | July 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
No We are no more using bsh build, You need to copy exoenv.bat from build/main/resources/window and change your PORTABLE_DIR value. You also need to copy the settings.xml from config/maven2 directory and update it according to your environment
Type:
exobuild --product=ecm --build --deploy
to build ecm
>Exception in thread "main" java.lang.NoClassDefFoundError: bsh/Interpreter" do you have bsh.jar in your maven repository?
2007/7/17, hai.nguyen-hoang@xxxxxxx <hai.nguyen-hoang@xxxxxxx>: > > Hi > > I has been trying to build exo with maven with out success. > > I get an error "D:\Exo_base>exobuild > Exception in thread "main" java.lang.NoClassDefFoundError: bsh/Interpreter" > when I type command line :" exobuild --release" or any other commands for example > "exobuild --product=ecm" > > > > I follow instructions from http://wiki.exoplatform.com/xwiki/bin/view/Main/Building+from+sources . > I copy > $EXO_BASE_DIRECTORY/eXoProjects/tools/trunk/build/src/main/resources/window/exoenv.bat to my $EXO_BASE_DIRECTORY (= d:\Exo_base )directory > > > > > Here is my exoenv.bat > @echo off > > rem ##################### Working Environment ######################################## > > set PORTABLE_DIR=d: > > rem ##################### VARIABLE TO CUSTOMIZE ######################################## > > set EXO_BASE_DIRECTORY=%PORTABLE_DIR%\Exo_base > > > set BSH_M2_REPOS="file:%EXO_BASE_DIRECTORY%\exo-dependencies\repository, http://vnserver.exoplatform.org/maven2" > > rem ################################################################################## > > set EXO_PROJECTS_SRC=%EXO_BASE_DIRECTORY%\projects > set EXO_BAT_SCRIPT=%EXO_PROJECTS_SRC%\tools\trunk\build\src\main\resources\window > set EXO_WORKING_DIR=%EXO_BASE_DIRECTORY%\exo-working > > set M2_HOME=%EXO_BASE_DIRECTORY%\maven2 > set M2_REPO=%EXO_BASE_DIRECTORY%\exo-dependencies\repository > set MAVEN_OPTS="-Xshare:auto -Xms128m -Xmx512m" > > set JAVA_OPTS="-Xshare:auto -Xms128m -Xmx256m -Dexo.directory.base=%EXO_BASE_DIRECTORY%" > set PATH=%JAVA_HOME%\bin;%M2_HOME%\bin;%EXO_BAT_SCRIPT%;%PATH% > > > Any help will be very appreciated > > > > -- > You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list. > To unsubscribe: mailto: exoplatform-unsubscribe@xxxxxxxxxxxxx > For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > >
-- Best regards, Vitaliy
-- You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.