<div dir="ltr">Sziasztok!<div><br></div><div style>A runlevel megadása kézzel kerülendő. Normális esetben az ember a függőségek adta természetes sorrendre kellene hogy támaszkodjon.</div><div style><br></div><div style>Gábor</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013. április 18. 10:55 István Székely írta, <span dir="ltr">&lt;<a href="mailto:istvan.szekely@i-logic.hu" target="_blank">istvan.szekely@i-logic.hu</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hali,<br>
      <br>
      Én csak az Equinoxot ismerem, Felix-szel még nem volt dolgom.<br>
      <br>
      1. Van rá hatásod, meg lehet adni run level-eket. Amiknek kisebb,
      azt hamarabb indítja. Azon belül nem vagyok biztos a sorrendben,
      de szerintem abban a sorrendben indulnak, ahogy a konfigban
      felsorolod, és szerintem az indulás nem párhuzamos. Valami rémlik,
      hogy a bundle activator futása ne tartson sokáig, mert addig
      blokkolja a többi szálat.<br>
      <br>
      2. Úgy gondolom, elvben igen, de az Equinox a plugins könyvtárban
      keres (és gondolom, a dropins-ben, pont, mint ahogy az Eclipse is
      teszi).<br>
      <br>
      Üdv,<br>
      Stivi<br>
      <br>
      <br>
      On 2013-04-18 02:14, Gábor Garami wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Koszonom a doksikat mindkettotoknek, kezd
        oszladozni a homaly. Amit nem ertek: 
        <div><br>
        </div>
        <div>1) a pluginek akkor ezek szerint a fuggosegek fuggvenyeben
          kialakulo sorrendben, ezen belul pedig parhuzamosan indulnak </div>
        <div>2) a tutorialok egy kicsit kihagyjak az &quot;install&quot; reszt,
          Elvben a bundle-t alkoto jar a classpathen akarhol lehet? Vagy
          van valami framework-fuggo specko mappa?</div>
        <div>
          <div><br>
          </div>
          <div>Egyebkent tetszos a dolog, az LDAP alapu query-k
            mindig is tetszettek, bar a logikajukat szokni kell.</div>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>Garami Gábor<br>
          E-mail: <a href="mailto:gabor.garami@hron.me" target="_blank">gabor.garami@hron.me</a><br>
          Tel: <a href="tel:%2B36%2020%20235%209621" value="+36202359621" target="_blank">+36 20 235 9621</a><br>
          MSN: <a href="mailto:hrgy@vipmail.hu" target="_blank">hrgy@vipmail.hu</a><br>
          Skype: hron84<br>
        </div>
        <br>
        <br>
        <div class="gmail_quote">2013/4/17 Zsombor <span dir="ltr">&lt;<a href="mailto:gzsombor@gmail.com" target="_blank">gzsombor@gmail.com</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>Pontosan :) Elég pár interfacet használnod, és
                becsomagolnod a kész cuccot egy jar-ba, megfelelő
                Manifest fileal felszerelve, és máris OSGI fejlesztőnek
                mondhatod magadat :)<br>
                <br>
              </div>
              Zs<br>
            </div>
            <div>
              <div>
                <div class="gmail_extra">
                  <br>
                  <br>
                  <div class="gmail_quote">2013/4/17 Bence Oláh <span dir="ltr">&lt;<a href="mailto:bence.olah@gmail.com" target="_blank">bence.olah@gmail.com</a>&gt;</span><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">
                        <div>
                          <div>
                            <div>
                              <div>Hali!<br>
                                <br>
                              </div>
                              Az Eclipse konkrétan csak kényelmi
                              funkciót nyújt az OSGI fejlesztéshez,
                              ráadásul van más OSGI implementáció is,
                              mint az Equinox ami Eclipse alatt fut, pl
                              az Apache Felix. A neten nagyon sok info
                              van a témában, pl az alkalmazás szerverek
                              egy része osgi compliant.<br>
                            </div>
                            <br>
                            <a href="http://stackoverflow.com/questions/16140/whats-the-best-way-to-get-started-with-osgi" target="_blank">http://stackoverflow.com/questions/16140/whats-the-best-way-to-get-started-with-osgi</a><br>

                            <a href="http://www.sonatype.com/books/mcookbook/reference/osgi.html" target="_blank">http://www.sonatype.com/books/mcookbook/reference/osgi.html</a><br>
                          </div>
                          <br>
                          Üdv<span><font color="#888888"><br>
                              Bence<br>
                            </font></span></div>
                      </div>
                      <div>
                        <div>
                          <div class="gmail_extra"><br>
                            <br>
                            <div class="gmail_quote">2013/4/17 Gábor
                              Garami <span dir="ltr">&lt;<a href="mailto:gabor.garami@hron.me" target="_blank">gabor.garami@hron.me</a>&gt;</span><br>
                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                <div dir="ltr">Khmmm... ennel picit
                                  tobbre szamitottam... :-)
                                  <div><br>
                                  </div>
                                  <div>Ugy ertem, hogy van vele
                                    tapasztalat is? Hogy mukodik?
                                    Maven-nel lehet ilyet?</div>
                                </div>
                                <div class="gmail_extra">
                                  <div><br clear="all">
                                    <div>
                                      Garami Gábor<br>
                                      E-mail: <a href="mailto:gabor.garami@hron.me" target="_blank">gabor.garami@hron.me</a><br>
                                      Tel: <a href="tel:%2B36%2020%20235%209621" value="+36202359621" target="_blank">+36 20 235 9621</a><br>
                                      MSN: <a href="mailto:hrgy@vipmail.hu" target="_blank">hrgy@vipmail.hu</a><br>
                                      Skype: hron84<br>
                                    </div>
                                    <br>
                                    <br>
                                  </div>
                                  <div>
                                    <div>
                                      <div class="gmail_quote">2013/4/17
                                        Zsombor <span dir="ltr">&lt;<a href="mailto:gzsombor@gmail.com" target="_blank">gzsombor@gmail.com</a>&gt;</span><br>
                                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                          <div dir="ltr">Persze<br>
                                          </div>
                                          <div>
                                            <div>
                                              <div class="gmail_extra"><br>
                                                <br>
                                                <div class="gmail_quote">2013/4/17
                                                  Gábor Garami <span dir="ltr">&lt;<a href="mailto:gabor.garami@hron.me" target="_blank">gabor.garami@hron.me</a>&gt;</span><br>
                                                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                    <div dir="ltr">Van
                                                      lehetoseg OSGi
                                                      fejlesztesre
                                                      Eclipse-tol eltero
                                                      IDE alatt is, pl
                                                      IntelliJ?</div>
                                                    <div class="gmail_extra">
                                                      <div><br clear="all">
                                                        <div>Garami
                                                          Gábor<br>
                                                          E-mail: <a href="mailto:gabor.garami@hron.me" target="_blank">gabor.garami@hron.me</a><br>
                                                          Tel: <a href="tel:%2B36%2020%20235%209621" value="+36202359621" target="_blank">+36
                                                          20 235 9621</a><br>
                                                          MSN: <a href="mailto:hrgy@vipmail.hu" target="_blank">hrgy@vipmail.hu</a><br>
                                                          Skype: hron84<br>
                                                        </div>
                                                        <br>
                                                        <br>
                                                      </div>
                                                      <div class="gmail_quote">2013/4/17
                                                        István Székely <span dir="ltr">&lt;<a href="mailto:istvan.szekely@i-logic.hu" target="_blank">istvan.szekely@i-logic.hu</a>&gt;</span><br>
                                                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div>
                                                          <div>
                                                          <div text="#000000" bgcolor="#FFFFFF">
                                                          <div>Szia,<br>
                                                          <br>
                                                          Pontosan 0 db
                                                          XML-re van
                                                          szükséged
                                                          (legalábbis
                                                          Equinox alatt
                                                          biztosan).<br>
                                                          <br>
                                                          A konténer
                                                          pedig ennyi:<br>
                                                          104K   
                                                          org.eclipse.equinox.common_3.6.0.v20110523.jar<br>
                                                          32K   
                                                          org.eclipse.equinox.event_1.2.100.v20110502.jar<br>
                                                          48K   
                                                          org.eclipse.equinox.launcher_1.2.0.v20110502.jar<br>
                                                          212K   
                                                          org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505<br>
                                                          1,4M   
                                                          org.eclipse.osgi_3.7.0.v20110613.jar<br>
                                                          72K   
                                                          org.eclipse.osgi.services_3.3.0.v20110513.jar<br>
                                                          24K   
                                                          org.eclipse.osgi.util_3.2.200.v20110110.jar<br>
                                                          <br>
                                                          Amúgy amit
                                                          Iván írt, az
                                                          elég meggyőző,
                                                          úgyhogy
                                                          befejezem. :)<br>
                                                          <br>
                                                          Üdv,<br>
                                                          Stivi
                                                          <div>
                                                          <div><br>
                                                          <br>
                                                          <br>
                                                          On 2013-04-17
                                                          14:33, Gábor
                                                          Garami wrote:<br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <blockquote type="cite">
                                                          <div dir="ltr">Nekem
                                                          se jott be az
                                                          OSGi, nekem
                                                          meg kevesebb
                                                          cuccom van,
                                                          mint neked,
                                                          plusz, en nem
                                                          annyira
                                                          kedvelem az
                                                          XML-ezest.
                                                          <div><br>
                                                          </div>
                                                          <div>A JSPF ( <a href="https://code.google.com/p/jspf/" target="_blank">https://code.google.com/p/jspf/</a> ) egy

                                                          egesz jo kis
                                                          cucc, par perc
                                                          alatt
                                                          tanulhato,
                                                          annotacio
                                                          alapu
                                                          tortenet. Just
                                                          works.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Egy pelda
                                                          (ehm... )
                                                          app: <a href="http://git.hron.me/?p=hron84/jtranslate.git;a=tree" target="_blank">http://git.hron.me/?p=hron84/jtranslate.git;a=tree</a></div>
                                                          <div><br>
                                                          </div>
                                                          <div>Foleg a
                                                          jtranslate-app
                                                          es a
                                                          jtranslate-google
                                                          modulok fognak
                                                          teged
                                                          erdekelni. Az
                                                          API-bol csak
                                                          a <span style="font-size:12px;white-space:pre-wrap;font-family:monospace">me</span><span style="font-size:12px;white-space:pre-wrap;font-family:monospace">.</span><span style="font-size:12px;white-space:pre-wrap;font-family:monospace">hron</span><span style="font-size:12px;white-space:pre-wrap;font-family:monospace">.</span><span style="font-size:12px;white-space:pre-wrap;font-family:monospace">jtranslate</span><span style="font-size:12px;white-space:pre-wrap;font-family:monospace">.</span><span style="font-size:12px;white-space:pre-wrap;font-family:monospace">core.TranslationServiceFactory

                                                          </span>erdekes,
                                                          ez az, ami
                                                          felizgatja a
                                                          plugin
                                                          frameworkot.</div>
                                                          </div>
                                                          <div class="gmail_extra"><br clear="all">
                                                          <div>Garami
                                                          Gábor<br>
                                                          E-mail: <a href="mailto:gabor.garami@hron.me" target="_blank">gabor.garami@hron.me</a><br>
                                                          Tel: <a href="tel:%2B36%2020%20235%209621" value="+36202359621" target="_blank">+36
                                                          20 235 9621</a><br>
                                                          MSN: <a href="mailto:hrgy@vipmail.hu" target="_blank">hrgy@vipmail.hu</a><br>
                                                          Skype: hron84<br>
                                                          </div>
                                                          <br>
                                                          <br>
                                                          <div class="gmail_quote">2013/4/17
                                                          <span dir="ltr">&lt;<a href="mailto:istvan.ketler@lhsystems.com" target="_blank">istvan.ketler@lhsystems.com</a>&gt;</span><br>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          Sziasztok,<br>
                                                          <br>
                                                          just for the
                                                          record:<br>
                                                          <br>
                                                          Természetesen
                                                          én voltam a
                                                          ló, de nagy. A
                                                          jarban lévő
                                                          jar fájlokat
                                                          kitömörítem
                                                          egy temp
                                                          katalógusba,
                                                          amit úgy hozok
                                                          létre ha még
                                                          nem volt. Azt
                                                          akarom, hogy
                                                          megálláskor
                                                          törlődjék ez a
                                                          katalógus.
                                                          Ezért az egész
                                                          keretrendszer
                                                          exception
                                                          environment-ben
                                                          van, ha nem
                                                          tud elindulni,
                                                          a törlés
                                                          automatikus.
                                                          Namost
                                                          valamiért a
                                                          törlést
                                                          áttettem a
                                                          finally-ba,
                                                          így amikor az
                                                          indító thread
                                                          megállt, jól
                                                          letörölte a
                                                          temp dirt. Az
                                                          egyébként üres
                                                          volt, de a
                                                          class loader
                                                          ezt mégis
                                                          észrevette, és
                                                          becsukta
                                                          magát, attól
                                                          kezdve nem
                                                          töltött
                                                          semmit.
                                                          Finally-ból a
                                                          törlés
                                                          visszakerült a
                                                          hibaágba, és
                                                          megy mint a
                                                          parancsolat...
                                                          De ehhez
                                                          kellett egy
                                                          debuggolható
                                                          rt.jar, mert
                                                          az oracle fene
                                                          nagy
                                                          bölcsességében
                                                          törölte a
                                                          debug infókat.
                                                          Legalább egy
                                                          napot
                                                          megtakarított
                                                          volna vele ha
                                                          végigkövethettem
                                                          volna már
                                                          sokkal
                                                          korábban hogy
                                                          mi történik.<br>
                                                          <br>
                                                          <br>
                                                          Ami a kerék
                                                          újra
                                                          feltalálását
                                                          illeti...<br>
                                                          <br>
                                                          Szeretem az
                                                          OSGi-t, de
                                                          ugye akkor
                                                          kell egy
                                                          konténer, amit
                                                          nem annyira
                                                          akarok. Az
                                                          eclipse esetén
                                                          meg asszem
                                                          kell az
                                                          equinox, az
                                                          emf core, az
                                                          application
                                                          model és
                                                          barátai, meg a
                                                          4.0 workbench.
                                                          Utána
                                                          kezdhetem írni
                                                          a saját
                                                          bigyóimat, de
                                                          eddigre már
                                                          van néhány
                                                          tucat jar
                                                          fájlom. Mivel
                                                          pluginem van
                                                          összesen talán
                                                          40, meg
                                                          használok vagy
                                                          8-10 3rd party
                                                          apit, így az
                                                          eclipse
                                                          rögvest
                                                          megduplázná a
disztribúciómat.<br>
                                                          <br>
                                                          Kliens oldali
                                                          keretrendszer
                                                          kell. Ha
                                                          letörlök egy
                                                          jar fájlt
                                                          (plugint),
                                                          akkor minden
                                                          gomb és egyéb
                                                          hivatkozás
                                                          tűnjön el vele
                                                          együtt
                                                          automatikusan.
                                                          Ha beteszek
                                                          egyet, akkor
                                                          jelenjenek meg
                                                          a gombok,
                                                          menük, satöbbi
                                                          hozzá, szintén
                                                          &quot;maguktól&quot;.
                                                          (Na jó,
                                                          újraindítás
                                                          azért kelljen
                                                          hozzá, de
                                                          semmi konfig
                                                          fájl
                                                          buzerálás.)
                                                          Legyen
                                                          context, és
                                                          változzék a
                                                          menü/toolbar
                                                          struktúra a
                                                          contexttől
                                                          függően. A
                                                          plugin és a
                                                          libjei
                                                          egyetlen jar
                                                          fájlként
                                                          legyenek
                                                          deployolhatók
                                                          (jarban jar).
                                                          Van még néhány
                                                          ilyen
                                                          követelmény.
                                                          Amit lehetett,
                                                          azt készen
                                                          vettem (Jide
                                                          action és
                                                          docking
                                                          framework), de
                                                          az application
                                                          framework-jük
                                                          már nem tudja
                                                          mindazt amit
                                                          szeretnék.
                                                          Szóval azért
                                                          körüljártam
                                                          ezt a
                                                          problémát, és
                                                          sorra az
                                                          összes opciót
                                                          kikukáztam,
                                                          maradt a saját
                                                          keretrendszer.
                                                          Ami amúgy 24
                                                          osztályból és
                                                          6 interfészből
                                                          áll, és ebben
                                                          a logolási
                                                          szolgáltatás
                                                          is benne van,
                                                          meg a három
                                                          saját
                                                          exception
                                                          osztályom is.
                                                          Adok még hozzá
                                                          5 API-t (jide
                                                          action,
                                                          common,
                                                          components, és
                                                          dock, meg a
                                                          log4j), ez
                                                          összesen 6
                                                          jar. És igen,
                                                          van extension
                                                          is (kétféle -
                                                          nyújtott
                                                          szolgáltatás
                                                          amire elő
                                                          lehet fizetni,
                                                          illetve
                                                          opcionális
                                                          szolgáltatási
                                                          pontra való
                                                          becsatlakozás
                                                          is). A plugin
                                                          csak azon más
                                                          plugint látja
                                                          amelyiktől
                                                          függ. Satöbbi.
                                                          Mindeközben
                                                          ezzel a két
                                                          nap szívással
                                                          együtt is
                                                          megáll 100
                                                          emberóra alatt
                                                          a fejlesztés
                                                          (tesztelés
                                                          included).<br>
                                                          <br>
                                                          Köszi,
                                                          sziasztok, jó
                                                          éjt!<br>
                                                          <br>
                                                          Iván<br>
                                                          <div><br>
______________________________<br>
                                                          István Ketler<br>
                                                          Senior
                                                          Consultant<br>
                                                          <br>
                                                          Lufthansa
                                                          Systems
                                                          Hungária Kft.<br>
                                                          GUI Service
                                                          Center<br>
                                                          Mobile
                                                          Solutions
                                                          Team,
                                                          Development
                                                          Center Danube<br>
                                                          Neumann János
                                                          u. 1/e<br>
                                                          1117 Budapest<br>
                                                          Hungary<br>
                                                          Phone: <a href="tel:%2B36%201%C2%A0887-2815" value="+3618872815" target="_blank">+36

                                                          1 887-2815</a><br>
                                                          Fax: <a href="tel:%2B36%201%C2%A0887-0577" value="+3618870577" target="_blank">+36

                                                          1 887-0577</a><br>
                                                          Mobile: <a href="tel:%2B36%2030%C2%A0600-4936" value="+36306004936" target="_blank">+36

                                                          30 600-4936</a><br>
                                                          E-mail: <a href="mailto:istvan.ketler@LHsystems.com" target="_blank">istvan.ketler@LHsystems.com</a><br>
                                                          <a href="http://www.LHsystems.com" target="_blank">www.LHsystems.com</a><br>
                                                          <br>
                                                          <br>
                                                          -----Original
                                                          Message-----<br>
                                                          </div>
                                                          <div>From: <a href="mailto:javalist-bounces@lists.javaforum.hu" target="_blank">javalist-bounces@lists.javaforum.hu</a> [mailto:<a href="mailto:javalist-bounces@lists.javaforum.hu" target="_blank">javalist-bounces@lists.javaforum.hu</a>]
                                                          On Behalf Of
                                                          István Székely<br>
                                                          Sent: Tuesday,
                                                          April 16, 2013
                                                          10:58 AM<br>
                                                          To: <a href="mailto:javalist@lists.javaforum.hu" target="_blank">javalist@lists.javaforum.hu</a><br>
                                                          Subject: Re:
                                                          [Javalist]
                                                          Classloader
                                                          anonymous gond<br>
                                                          <br>
                                                          </div>
                                                          <div>
                                                          <div>Szia,<br>
                                                          <br>
                                                          Ha már itt
                                                          tartunk: nem
                                                          kell neked
                                                          teljes Eclipse
                                                          RCP, de én a
                                                          helyedben
                                                          biztosan OSGi
                                                          vonalon
                                                          indultam volna
                                                          el. Pont ezt
                                                          az
                                                          osztálybetöltősdit
                                                          dolgozták ki
                                                          nagyon szépen.
                                                          Minden ilyen
                                                          problémát
                                                          levenne a
                                                          helyedről.<br>
                                                          <br>
                                                          Nekünk van egy
                                                          stand-alone
                                                          OSGi
                                                          alkalmazásunk,
                                                          sima
                                                          parancssoros
                                                          program, nincs
                                                          UI, semmi
                                                          nehézsúlyú
                                                          komponens.
                                                          Equinox-szal
                                                          szépen működik
                                                          évek óta.<br>
                                                          <br>
                                                          Üdv,<br>
                                                          Stivi<br>
                                                          <br>
                                                          On 2013-04-15
                                                          19:43, <a href="mailto:istvan.ketler@lhsystems.com" target="_blank">istvan.ketler@lhsystems.com</a>
                                                          wrote:<br>
                                                          &gt; A Jide
                                                          action és
                                                          docking
                                                          framework-öt
                                                          használom.
                                                          Plugin
                                                          framework egy
                                                          sem jó; van
                                                          túl nagy
                                                          (eclipse,
                                                          netbeans) és
                                                          van olyan is
                                                          amelyik elég
                                                          béna (jpf),
                                                          ráadásul
                                                          halott a
                                                          projekt már
                                                          közel 10 éve.
                                                          Amúgy más
                                                          funkcionalitás
                                                          is kell, ez is
                                                          mellette szól.<br>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </blockquote>
                                                      </div>
                                                    </div>
                                                  </blockquote>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </blockquote>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Javalist mailing list<br>
<a href="mailto:Javalist@lists.javaforum.hu">Javalist@lists.javaforum.hu</a><br>
<a href="http://lists.javaforum.hu/mailman/listinfo/javalist" target="_blank">http://lists.javaforum.hu/mailman/listinfo/javalist</a><br>
<br></blockquote></div><br></div>