OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | August 2006 Index

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

Re: [exoplatform] missing v2.x/pom.xml from source tarball


I went through the same process. Tuan recommended to use one of the poms in the tools folder. Here is a build script that I am using to build the ecm. It builds everything in one shot and also it has the option to build only the ecm modules.
--------------------------------------------------------------------------------------------------------------------
# build.sh - ecm build file
# Copyright (c) 2006 Halcyon Consulting LLC
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA


#!/bin/sh

clear

echo USAGE: Params
echo USAGE: -t, --test enable tests
echo USAGE: -f filename modules.xml file name in v2.x dir
echo USAGE: without params build all: root, plugin, exo-platform, exo-jcr, exo-ecm. no tests run


# switch on/off tests param
runtests="-Dmaven.test.skip=true"
if [ "$1" = "--test" ]; then
  runtests="-Dmaven.test.skip=false"
fi
if [ "$1" = "-t" ]; then
  runtests="-Dmaven.test.skip=false"
fi

echo Runing with params: $1 $2 $3

modules="modules-ecm.xml"
if [ "$1" = "-f" ]; then
   modules=$2
fi
if [ "$2" = "-f" ]; then
   modules=$3
fi

echo "cp $modules ../$modules"
#Placing modules-xxx.xml file on right place, in projects root (v2.x dir)
cp $modules "../$modules"

#Placing a modified pom.xml
cat ../exo-tools/build/config/pom.xml | sed -e 's@<groupId>exo-tools</groupId>@<groupId>exo</groupId>@g' \
-e 's@<artifactId>exo-tools.build.config</artifactId>@<artifactId>exo</artifactId>@g' \
-e 's@<name>exo-tools.build.config</name>@<name>exo</name>@g' > ../pom.xml


cd ..

echo "mvn $runtests -f $modules clean install"
mvn $runtests -f $modules clean install

rm ${modules}
rm pom.xml

cd ./exo-ecm
-------------------------------------------------------------------------------------------------------------------------------------

Please let me know if it helps...

Thank you,
Gabriela

mcstoufer@xxxxxxx wrote:
I am working my way through the build steps for getting 
eXoPortal-src-1.1.3.zip to build. Progress was being made until I tried to 
build all the modules in one shot.

While working in ${exo.directory.base}/projects/v2.x:

    mvn -f modules.xml clean install

Failed due to the fact that the top level pom.xml was missing. It was also 
absent from the source tarball as well, so either I get it from somewhere 
else or its missing by accident. We are chomping at the bit to give this new 
version a run, so any suggestions are most appreciated.

I am following the directions at:
http://download.forge.objectweb.org/exoplatform/eXoPortal-1.1.3-README.txt


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



--
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

begin:vcard
fn:Gabriela Chiribau
n:Chiribau;Gabriela
org:Halcyon Consulting LLC
adr:;;PO BOX 189;Pearland;TX;77588;US
email;internet:gabriela@xxxxxxxxxxxxxxxxxxxx
title:CEO
tel;work:916 705 5517
tel;fax:832 201 9852
tel;pager:keelath@xxxxxxxxx
tel;cell:916 705 5517
x-mozilla-html:FALSE
url:http://www.halcyon-solutions.com
version:2.1
end:vcard



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

Reply via email to:

Powered by MHonArc.

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