[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5792) Problems installing JBossTools-ALL-linux-gtk-x86_64-3.0.3.v200910211631N-H194-GA.zip on linux

Nick Boldt (JIRA) jira-events at lists.jboss.org
Thu Feb 4 14:39:19 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12510466#action_12510466 ] 

Nick Boldt commented on JBIDE-5792:
-----------------------------------

ALL zip contains all the Xulrunner versions because we have ONE feature which builds all 4 varieties (now 5 in JBT 3.1).

If you're trying to install JBT by valmorphanizing it into an .rpm you're just making life extra-crispy. All you need to do is one of the following:

a) unpack the zip into where you have Eclipse installed, or your ~/.eclipse/ folder if you're on a shared machine and don't have root access to the flavour of Fedora Eclipse installed there.

b) unpack the zip into where you have Eclipse installed if you downloaded it yourself from Eclipse.org (JEE bundle recommended)

c) start Eclipse and point it at the update site or update site zip; it will install everything for you without having to monkey around on the console.

---

(c) is the easiest and most-recommended approach, but your usecase may be different so I mention (a) and (b) as alternatives. For more on (c), see:

http://www.jboss.org/tools/download/stable/3_0_GA.html
https://www.jboss.org/tools/download/update.html#fromsite
https://www.jboss.org/tools/download/update.html#fromzip



> Problems installing JBossTools-ALL-linux-gtk-x86_64-3.0.3.v200910211631N-H194-GA.zip on linux
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-5792
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5792
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng
>         Environment: Linux 64 bit
>            Reporter: Francesca Ovi
>            Assignee: Nick Boldt
>            Priority: Minor
>             Fix For: 3.1.0.CR2, 3.2.next
>
>
> I downloaded JBossTools-ALL-linux-gtk-x86_64-3.0.3.v200910211631N-H194-GA.zip and I tried to install it on linux system.
> I was unable to generate rpm files from file .spec (rpmbuild -tb ) in the section %files.
> The error I get is: 
> "errore: Due file su di una riga: /opt/six/share/eclipse/plugins/org.mozilla.xulrunner.carbon.macosx_1.8.1.3-20070904/xulrunner/plugins/Default
> errore: Il file deve iniziare con "/": Plugin.plugin"
> The problem seems to be the presence of a folder named "Default Plugin.plugin" inside the "plugins\org.mozilla.xulrunner.carbon.macosx_1.8.1.3-20070904\xulrunner\plugins" folder. I suppose folder's name causes the problem. I removed this folder and the generation of rpm completed without errors.
> I do not understand the necessity of such folder that seems relative to MAC OS, considering that the plugin is for linux environment.
> Here is the .spec file I used:
> # ---- !!!!! DO NOT EDIT THE FOLOWING CCA 20 LINES !!!!! ----
> %define six_root /opt/six
> %define __check_files %{nil}
> Summary: Prodotto per la configurazione
> Name:eclipse
> Version: 3.0
> Release: 1
> License: xxx
> Group: SIX
> Source: eclipse.tgz
> Buildroot: %{_tmppath}/%{name}-%{version}-%{release}
> Vendor: xxx
> Distribution: xxx
> Packager: xxxx
> AutoReqProv:No
> #############################
> Provides: eclipse
> ###### ridefinisce la macro per i diritti di default
> %define inst_root %{six_root}/share
> %define inst_plugin_inside %{inst_root}/pluginInsideEclipse
> %define inst_plugin_outside %{inst_root}/pluginOutsideEclipse
> ####
> %prep
> %setup -c -n %{name}
> %install
> # crea la bulidroot se non esiste
> [ ! -d %{buildroot} ] && mkdir -p %{buildroot}
> # crea la dir dove fare l'installazione se non esiste
> [ ! -d %{buildroot}%{inst_root} ] && mkdir -p %{buildroot}%{inst_root}
> # Copio i file nella build root
> for I in noarch; do
> 	[ ! -d $I ] && continue;
> 	/bin/cp -a $I/* %{buildroot}%{inst_root}/
> done
> unset I
> cd %{buildroot}%{inst_root}
> # Scompatto il file .tar.gz nella inst_root
> for I in  $(ls *.tar.gz); do
> 	[ ! -f $I ] && continue;
> 	gtar xzvf $I
> # elimino i file. tar.gz dalla inst_root
>         rm -f $I
> done
> unset I
> cd %{buildroot}%{inst_plugin_inside}
> # Scompatto i file .zip nella inst_root/pluginInsideEclipse da usare per i plugins che non hanno cartella eclipse
> for I in $(ls *.zip); do
> 	[ ! -f $I ] && continue;
> 	unzip -q -o -u $I -d %{buildroot}%{inst_root}/%{name}
> done
> unset I
> cd %{buildroot}%{inst_plugin_outside}
> # Scompatto i file .zip nella inst_root/pluginOutsideEclipse per i plugins che hanno cartella eclipse
> for I in $(ls *.zip); do
> 	[ ! -f $I ] && continue;
> 	unzip -q -o -u $I -d %{buildroot}%{inst_root}
> done
> unset I
> # Rimozione delle cartelle che contengono i plugin
> rm -rf  %{buildroot}%{inst_plugin_inside}
> rm -rf  %{buildroot}%{inst_plugin_outside}
> # crea lista dei files
> %{six_root}/bin/rpmhelper -f %{buildroot} > %{_builddir}/%{name}/%{name}.files
> # Clean
> %clean
> [ %{buildroot} != "/" ] && rm -rf %{buildroot}
> [ %{_builddir}/%{name} != "/" ] && rm -rf %{_builddir}/%{name}
> rm -f %{_sourcedir}/%{name}.tgz
> # definisce lista di file da istallare
> %files -f  %{_builddir}/%{name}/%{name}.files
> %description
> Istallazione ambiente eclipse e relativi plugin.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list