OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | January 2008 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [exoplatform] Building the source


Hi Daniele,
Perhaps the fix of the second topic of the following thread may solve your problem


http://mail-archive.ow2.org/exoplatform/2007-12/msg00018.html

Regards,

Cédric.

Daniele Tramis a écrit :
Hello Vitaliy,
  I run the command to build the WebOS and I get the following results:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] eXo ECM Config ........................................ SUCCESS [10.168s]
[INFO] eXo Workflow Service API .............................. SUCCESS [10.527s]
[INFO] eXo CMS Service ....................................... SUCCESS [37.861s]
[INFO] eXo Workflow Service Impl for Bonita .................. SUCCESS [5.280s]
[INFO] eXo JBPM .............................................. SUCCESS [37.079s]
[INFO] eXo Workflow Service Impl for jBPM .................... SUCCESS [6.748s]
[INFO] ECM business processes configuration .................. SUCCESS [0.078s]
[INFO] eXo content backup BP for Bonita ...................... SUCCESS [3.155s]
[INFO] eXo content validation BP for Bonita .................. SUCCESS [2.218s]
[INFO] eXo holidays BP for Bonita ............................ SUCCESS [3.795s]
[INFO] eXo payraise BP for Bonita ............................ SUCCESS [1.859s]
[INFO] eXo content backup BP for jBPM ........................ SUCCESS [1.780s]
[INFO] eXo content validation BP for jBPM .................... SUCCESS [2.000s]
[INFO] eXo holidays BP for jBPM .............................. SUCCESS [2.592s]
[INFO] eXo payraise BP for jBPM .............................. SUCCESS [0.344s]
[INFO] eXo content publishing BP for jBPM .................... SUCCESS [3.092s]
[INFO] exo-portal.portlets.ecm Portlet ....................... SUCCESS [1:52.910s]
[INFO] ecm.portlets.workflow Portlet ......................... SUCCESS [13.526s]
[INFO] eXo ECM Portal web module ............................. SUCCESS [1:45.514s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 3 seconds
[INFO] Finished at: Thu Jan 24 17:12:27 CET 2008
[INFO] Final Memory: 119M/220M
[INFO] ------------------------------------------------------------------------
-----------------------------------------------------------------------------
TASK : Maven Task
DESCRIPTION : Run mvn [Ljava.lang.String;@dd87b2 again module d:\java/eXoProjects/ecm/trunk
WORKING DIR : d:\java/eXoProjects/ecm/trunk
MESSAGE :
EXECUTION TIME : 367s
-----------------------------------------------------------------------------


--------------------------- RUNNING TASK ------------------------------------
TASK : Deploy Product
DESCRIPTION :
WORKING DIR : d:\java/exo-working/exo-jboss
-----------------------------------------------------------------------------
[DELETE] Delete d:\java/exo-working/exo-jboss
[COPY] Copy a clean server jboss-4.2.0
[INFO] Patch the server jboss with project exo.portal.server.jboss.patch 2.0
[EXTRACT] To d:\java/exo-working/exo-jboss/server/default/deploy/exoplatform.sar
conf/jboss-log4j.xml
deploy/exoplatform.sar/META-INF/login-config.xml
deploy/exoplatform.sar/META-INF/jboss-app.xml
deploy/exoplatform.sar/META-INF/jboss-service.xml
deploy/jboss-web.deployer/server.xml
[EXTRACT] Done....................................
[GET] org.exoplatform.core/exo.core.component.security version 2.0.3
From file:d:\java/exo-dependencies/repository
[GET] org.exoplatform.core/exo.core.component.security version 2.0.3
From http://vnserver.exoplatform.org/maven2
[ ] 26kb
[GET] org.exoplatform.ecm/exo.ecm.component.cms version 2.0
From file:d:\java/exo-dependencies/repository
[GET] org.exoplatform.ecm/exo.ecm.component.cms version 2.0
From http://vnserver.exoplatform.org/maven2
[.. ] 202kb
[GET] org.exoplatform.jcr/exo.jcr.framework.web version 1.6
From file:d:\java/exo-dependencies/repository
[GET] org.exoplatform.jcr/exo.jcr.framework.web version 1.6
From http://vnserver.exoplatform.org/maven2
[ ] 28kb
[GET] org.exoplatform.portal/exo.portal.portlet.content version 2.0
From file:d:\java/exo-dependencies/repository
[GET] org.exoplatform.portal/exo.portal.portlet.content version 2.0
From http://vnserver.exoplatform.org/maven2
Script threw exception: Sourced file: d:\java\eXoProjects\tools\trunk\build\src\main\script\eXo\eXo.bsh : Method Invocation this.interpreter.eval : at Line:
73 : in file: /bsh/commands/eval.bsh : this .interpreter .eval ( expression , this .caller .namespace )


Called from method: eval : at Line: 48 : in file: d:\java\eXoProjects\tools\trunk\build\src\main\script\eXo\eXo.bsh : eval ( command + "(cmdargs)" )
Target exception: Sourced file: inline evaluation of: ``exobuild(cmdargs);'' : TargetError : at Line: 121 : in file: /eXo/projects/Project.bsh : throw new E
xception ( "Error while deploying the project : " + relativePath ) ;


Called from method: deployTo : at Line: 60 : in file: /eXo/projects/eXoProduct.bsh : project .deployTo ( repos , server )
Target exception: java.lang.Exception: Error while deploying the project : org/exoplatform/portal/exo.portal.portlet.content/2.0/exo.portal.portlet.content-
2.0.war


--------------------------------------------------------------------------------

Can I suppose the build process succeded? I started the portal with D:\java\exo-dependencies\jboss-4.2.0\bin\run.bat and the server is started up. Wen I go to http://localhost:8080/ I get JBoss information page but if I go to http://localhost:8080/portal I get an error. Maybe the exo portal has not been deployed correctly?

Thank's for your previous and (I know) next response.
Daniele.


Vitaliy Obmanyuk wrote:
Hello Daniele Tramis,
Try to build our WebOS first:
exobuild --product=ecm --build --deploy=jboss
There in no groupware project in project's root  folder for now.

2008/1/24, Daniele Tramis <tramis@xxxxxxxxxxxxx <mailto:tramis@xxxxxxxxxxxxx>>:

    I tried to build the exo source. I followed the instructions in
    the exo platform documentation to build the exo's source. I
    recreated the $EXO_BASE_DIRECTORY as in the documentation and put
    the jboss application server into exo-dependencies directory. I
    checked out the source and copied the settings.xml and exoenv.bat
    files and edited they as described in the documentation.
    I run the command:
       c:\>exobuild --product=all --build --deploy=jboss --database=mysql
    and I got the following error:

    --------------------------- RUNNING TASK
    ------------------------------------
    TASK           : Maven Task
    DESCRIPTION    : Run mvn [Ljava.lang.String;@1a0c10f again module
    d:\java/eXoProjects/groupware/trunk
    WORKING DIR    : d:\java/eXoProjects/groupware/trunk
    
-----------------------------------------------------------------------------
    [INFO] Scanning for projects...
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Building Maven Default Project
    [INFO]    task-segment: [clean, install]
    [INFO]
    ------------------------------------------------------------------------
    [INFO]
    ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Cannot execute mojo: clean. It requires a project with an
    existing pom.xml, but the build is not using one.
    [INFO]
    ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Total time: < 1 second
    [INFO] Finished at: Mon Jan 21 10:18:07 CET 2008
    [INFO] Final Memory: 114M/223M
    [INFO]
    ------------------------------------------------------------------------
    Script threw exception: Sourced file:
    d:\java\eXoProjects\tools\trunk\build\src\main\script\eXo\eXo.bsh
    : Method Invocation this.interpreter.eval : at Line:
     73 : in file: /bsh/commands/eval.bsh : this .interpreter .eval (
    expression , this .caller .namespace )

    Called from method: eval : at Line: 48 : in file:
    d:\java\eXoProjects\tools\trunk\build\src\main\script\eXo\eXo.bsh
    : eval ( command + "(cmdargs)" )
    Target exception: Sourced file: inline evaluation of:
    ``exobuild(cmdargs);'' : TargetError : at Line: 23 : in file:
    /eXo/command/maven.bsh : throw new Excep
    tion ( "BUILD MODULE :" + descriptor .workingDir + " IS FAIL" ) ;

    Target exception: java.lang.Exception: BUILD MODULE
    :d:\java/eXoProjects/groupware/trunk IS FAIL

    
--------------------------------------------------------------------------------

    Any help is appreciated.


-- You receive this message as a subscriber of the exoplatform@xxxxxxx <mailto:exoplatform@xxxxxxx> mailing list. To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxx <mailto:exoplatform-unsubscribe@xxxxxxx> For general help: mailto:sympa@xxxxxxx <mailto:sympa@xxxxxxx>?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws




--
Best regards,
Vitaliy !DSPAM:4798b075180035374910300!




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.