Error when building tempo

9 views
Skip to first unread message

vertig

unread,
Oct 17, 2009, 8:47:08 AM10/17/09
to tempo-dev, con...@adomnes.com
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
Downloading http://mirrors.linhub.com/apache/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
Downloading http://mirrors.linhub.com/apache/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
apache-tomcat-5.5.27.zip: 100%
|.............................................................................................|
7.0MB/7.0MB Time: 00:00:12
Unzipping file:apache-tomcat-5.5.27.zip
Downloading http://mirrors.linhub.com/apache/ws/axis2/1_4_1/axis2-1.4.1-war.zip
Downloading http://mirrors.linhub.com/apache/ws/axis2/1_4_1/axis2-1.4.1-war.zip
axis2-1.4.1-war.zip: 100%
|.................................................................................................|
18.3MB/18.3MB Time: 00:00:33
Unzipping file:axis2-1.4.1-war.zip
Installing axis2.war to axis2.war
Currently in folder: /home/nicolas/server/tempo/rsc/tempo
/usr/lib/ruby/1.8/fileutils.rb:1436:in `dup': can't dup TrueClass
(TypeError)
from /usr/lib/ruby/1.8/fileutils.rb:1436:in `fu_check_options'
from /usr/lib/ruby/1.8/fileutils.rb:379:in `cp'
from /home/nicolas/server/tempo/rsc/scripts/../scripts/lib/
build_support.rb:325:in `install'
from /home/nicolas/server/tempo/rsc/scripts/../scripts/lib/
bundle_standalone.rb:15:in `setup_axis'
from /home/nicolas/server/tempo/rsc/scripts/../scripts/lib/
bundle_standalone.rb:5:in `setup_axis_and_ode'
from /home/nicolas/server/tempo/rsc/scripts/../scripts/
tempo_builder_lib.rb:91: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:89:in `build'
from ./tempo_builder.rb:10

Any idea where it could come from ?
Many thanks for your help.
Nico

Nicolas Modrzyk

unread,
Oct 17, 2009, 8:38:31 PM10/17/09
to temp...@googlegroups.com
Fixed and enjoy.

vertig

unread,
Oct 18, 2009, 6:59:13 PM10/18/09
to tempo-dev
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 Oct 18, 2:38 am, Nicolas Modrzyk <hellon...@gmail.com> wrote:
> Fixed and enjoy.
>
> 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...
> > apache-tomcat-5.5.27.zip: 100%
> > |.............................................................................................|
> > 7.0MB/7.0MB Time: 00:00:12
> > Unzipping file:apache-tomcat-5.5.27.zip
> > Downloadinghttp://mirrors.linhub.com/apache/ws/axis2/1_4_1/axis2-1.4.1-war.zip
> > Downloadinghttp://mirrors.linhub.com/apache/ws/axis2/1_4_1/axis2-1.4.1-war.zip

Nicolas Modrzyk

unread,
Oct 18, 2009, 8:18:30 PM10/18/09
to temp...@googlegroups.com
Yes I know where it is coming from :)

> from /home/nicolas/server/tempo/rsc/scripts/../scripts/
> tempo_builder_lib.rb:166:in `build'
> from ./tempo_liferay_builder.rb:27

Nico
Reply all
Reply to author
Forward
0 new messages