Many thanks Niko.
tempo_builder.rb works fine now: I managed to build a tomcat+tempo
bundle.
Nevertheless, I tried then to build the tempo+liferay+tomcat bundle by
launching the tempo_liferay_builder.rb script and I get a new error
message.
Would you know where it could come from ?
Let me know,
Regards,
Nico
[root@localhost scripts]# tempo_liferay_builder.rb
./tempo_liferay_builder.rb:19: warning: already initialized constant
BUILD_CONFIG
{:directory=>"./target",
:tempo=>{:core=>"6.0.0.77-SNAPSHOT"},
:artifact=>"org.intalio.liferay:liferay-jboss-ee:zip:6.0.002",
:mode=>[1, 9, 16, 17],
:liferay=>
{:v=>:v5_2_5_jbee,
:base_folder=>"liferay-portal-5.2.5",
:server_folder=>"jboss-tomcat-4.2.3"}}
--> Installing Liferay
Downloading
http://files.liferay.com/public/3mDkoitQ/ee/portal/5.2.5/liferay-portal-jboss-tomcat-4.2-5.2.5.zip
Downloading
http://files.liferay.com/public/3mDkoitQ/ee/portal/5.2.5/liferay-portal-jboss-tomcat-4.2-5.2.5.zip
liferay-portal-jboss-tomcat..: 100%
|.............................................................................|
139.8MB/139.8MB Time: 00:10:30
Unzipping file:liferay-portal-jboss-tomcat-4.2-5.2.5.zip
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/run.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
classpath.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsprovide.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsconsume.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
jboss_init_hpux.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
jboss_init_suse.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/twiddle.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/run.jar
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/wstools.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsconsume.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
shutdown.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/run.conf
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
jboss_init_redhat.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsprovide.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/run.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
shutdown.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
shutdown.jar
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wstools.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsrunclient.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/probe.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
twiddle.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/probe.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
twiddle.jar
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsrunclient.sh
/home/nicolas/server/tempo/rsc/scripts/../../config/tempo-
formmanager.xml -> ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/var/
config/tempo-formmanager.xml
/home/nicolas/server/tempo/rsc/scripts/../../config/tempo-ui-fw-
servlet.xml -> ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/var/
config/tempo-ui-fw-servlet.xml
/home/nicolas/server/tempo/rsc/scripts/../../config/tempo-ui-fw.xml -
> ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/var/config/tempo-ui-
fw.xml
--> Config Liferay bundle for CAS
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/run.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
classpath.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsprovide.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsconsume.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
jboss_init_hpux.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
jboss_init_suse.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/twiddle.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/run.jar
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/wstools.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsconsume.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
shutdown.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/run.conf
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
jboss_init_redhat.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsprovide.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/run.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
shutdown.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
shutdown.jar
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wstools.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsrunclient.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/probe.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
twiddle.bat
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/probe.sh
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
twiddle.jar
chmod 755 ./tempo-liferay-2009.10.18/jboss-tomcat-4.2.3/bin/
wsrunclient.sh
--> Adding the task list webapp
Downloading org.intalio.tempo:tempo-ui-fw:war:6.0.0.77-SNAPSHOT
/usr/lib64/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/packaging/
artifact.rb:411:in `fail_download': Failed to download
org.intalio.tempo:tempo-ui-fw:war:6.0.0.77-SNAPSHOT, tried the
following repositories: (RuntimeError)
http://www.intalio.org/public/maven2/
http://dist.codehaus.org/mule/dependencies/maven2//
http://repo1.maven.org/maven2/
http://scala-tools.org/repo-releases/
from /usr/lib64/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/packaging/
artifact.rb:392:in `download_m2_snapshot'
from /usr/lib64/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/packaging/
artifact.rb:374:in `download'
from /usr/lib64/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/packaging/
artifact.rb:311:in `initialize'
from /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
`call'
from /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
`execute'
from /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
`each'
from /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
`execute'
from /usr/lib64/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/core/
application.rb:630:in `invoke_with_call_chain'
... 6 levels...
from /home/nicolas/server/tempo/rsc/scripts/../scripts/
tempo_builder_lib.rb:168:in `build'
from /home/nicolas/server/tempo/rsc/scripts/../scripts/lib/
build_support.rb:54:in `activate_step'
from /home/nicolas/server/tempo/rsc/scripts/../scripts/
tempo_builder_lib.rb:166:in `build'
from ./tempo_liferay_builder.rb:27
> On Sat, Oct 17, 2009 at 9:47 PM, vertig <
nicolas.gue...@gmail.com> wrote:
>
> > Hi All,
> > I installed ruby, rake(0.8.7) and buildr (v1.3.5) and I launched the
> > script tempo_builder.rb.
> > I get the following error message:
>
> > [root@localhost scripts]# tempo_builder.rb
> > /home/nicolas/server/tempo/rsc/scripts
> > --> Prepare standalone open source tomcat build
> > Downloadinghttp://
mirrors.linhub.com/apache/tomcat/tomcat-5/v5.5.27/bin/apache-t...
> > Downloadinghttp://
mirrors.linhub.com/apache/tomcat/tomcat-5/v5.5.27/bin/apache-t...
> > Downloadinghttp://
mirrors.linhub.com/apache/ws/axis2/1_4_1/axis2-1.4.1-war.zip