Mail Archive Home | exoplatform List | July 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
Dear,
Thank you very much for your replies.
After following your instruction, I approach a new result. Here is what I
tried and gott:
"
D:\Exo_base>exoenv.bat
D:\Exo_base>exobuild --product=all --deploy=jonas
Evaluation Error: Sourced file: d:
\Exo_base\projects\tools\trunk\build\src\main\script\eXo\eXo.bsh : Command
not found: IOUtil() : at Line: 42 :
D:\Exo_base>exobuild --product=all --deploy=jonas
--------------------------- RUNNING TASK
------------------------------------
TASK : Deploy Product
DESCRIPTION :
WORKING DIR : d:\Exo_base/exo-working/exo-jonas
-----------------------------------------------------------------------------
[DELETE] Delete d:\Exo_base/exo-working/exo-jonas
[COPY] Copy a clean server JONAS_4_8_5
Script threw exception: Sourced file: d:
\Exo_base\projects\tools\trunk\build\src\main\script\eXo\eXo.bsh : Method
Invocation this.interpreter.eva
Called from method: eval : at Line: 48 : in file: d:
\Exo_base\projects\tools\trunk\build\src\main\script\eXo\eXo.bsh : eval (
command + "(cmdargs
Target exception: Sourced file: inline evaluation of:
``exobuild(cmdargs);'' : TargetError : at Line: 57 : in file:
/eXo/core/IOUtil.bsh : throw
Called from method: execute : at Line: 178 : in file:
/eXo/command/exobuild.bsh : task .execute ( )
Target exception: java.lang.Exception: d:
\Exo_base/exo-dependencies/JONAS_4_8_5 is not existed or a folder
"
Best regards
NGUYEN HOANG HAI
Bull, Architect of an Open World TM
eMail: hai.nguyen-hoang@xxxxxxx
http://www.bull.be
Ce message contient des informations confidentielles, couvertes par le
secret professionnel ou reserve exclusivement a leur destinataire. Toute
lecture, utilisation, diffusion ou divulgation sans autorisation expresse
est rigoureusement interdite.
Si vous n'etes pas le destinataire, merci de prendre contact avec
l'expediteur et de detruire ce message.
This e-mail contains material that is confidential for the sole use of the
intended recipient. Any review, reliance or distribution by others or
forwarding without express permission is strictly prohibited.
If you are not the intended recipient, please contact the sender and delete
all copies.
|---------+----------------------------->
| | "Tuan Nguyen" |
| | <tuan.nguyen@exopl|
| | atform.com> |
| | Sent by: |
| | tuan08@xxxxxxxxx |
| | |
| | |
| | 17/07/2007 12:03 |
| | |
|---------+----------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: "Vitaliy Obmanyuk" <vetalok@xxxxxxxxx>
|
| cc: "hai.nguyen-hoang@xxxxxxx" <hai.nguyen-hoang@xxxxxxx>,
exoplatform@xxxxxxxxxxxxx |
| Subject: Re: [exoplatform] Build Exo
|
>------------------------------------------------------------------------------------------------------------------------------|
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
On 7/17/07, Vitaliy Obmanyuk <vetalok@xxxxxxxxx> wrote:
> >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.