Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Where is main()?
Where is main()? [message #615] Mon, 21 April 2003 10:46 Go to next message
Eclipse UserFriend
Hi all,

I've just started looking at Eclipse and really want to get to know the
internals. So I've downloaded the source .zip, unpacked it and tried to
compile it (I'm on Mac OS X/Carbon).

First question:
- Where is main()? Or more specifically, is there documentation on
how the startup process works? And more documentation on
org.eclipse.platform.core?

Second question:
- In source form, all the plugins have their own .../org/eclipse/...
directory heirarchy. Is there a simple way to flatten this so that all
the source for all the plugins live in a single directory tree? Is this
even desirable? I'm just trying to wrap my head around all this.

Third question:
- Any specific news groups/mailing list on Mac OS X/Carbon
development?

Thanks for all the great work so far!

-kevin
Re: Where is main()? [message #671 is a reply to message #615] Sun, 20 April 2003 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gsrt.terra.com.br

Hi Kevin,

First question :

Eclipse.exe (in Windows) is a stub program that calls
<JAVA_HOME>/jre/bin/javaw.exe -cp "<ECLIPSE_DIR>/\startup.jar"
org.eclipse.core.launcher.Main -os win32 -ws win32 -arch x86 -showsplash
"D:\Program Files\eclipse\eclipse.exe -showsplash 600"
After that, the order is
org.eclipse.core.launcher.Main
|
----> org.eclipse.core.BootLoader
|
--->
org.eclipse.core.internal.InternalBootLoader
|

---->org.eclipse.core.internal.runtime.InternalPlatform

/ \

/ \

loaderStartup() loaderGetRunnable()
- Process the
command line - Create Workbench, wich will create WorkbenchWindow,
and so on....
- Create lock file
- Activate default
plugin's
- Redirect console

Unfortunately I guess you will not find any documents regards the Eclipse's
boot process.

[]s
Glauco Reis


"Kevin Y. Kim" wrote:

> Hi all,
>
> I've just started looking at Eclipse and really want to get to know the
> internals. So I've downloaded the source .zip, unpacked it and tried to
> compile it (I'm on Mac OS X/Carbon).
>
> First question:
> - Where is main()? Or more specifically, is there documentation on
> how the startup process works? And more documentation on
> org.eclipse.platform.core?
>
> Second question:
> - In source form, all the plugins have their own .../org/eclipse/...
> directory heirarchy. Is there a simple way to flatten this so that all
> the source for all the plugins live in a single directory tree? Is this
> even desirable? I'm just trying to wrap my head around all this.
>
> Third question:
> - Any specific news groups/mailing list on Mac OS X/Carbon
> development?
>
> Thanks for all the great work so far!
>
> -kevin
Re: Where is main()? [message #1452 is a reply to message #615] Sun, 20 April 2003 11:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gsrt.terra.com.br

Hi Kevin,

Sorry, but my last mail lost all format. See it again

First question :

Eclipse.exe (in Windows) is a stub program that calls
<JAVA_HOME>/jre/bin/javaw.exe -cp "<ECLIPSE_DIR>/\startup.jar"
org.eclipse.core.launcher.Main -os win32 -ws win32 -arch x86 -showsplash
"D:\Program Files\eclipse\eclipse.exe -showsplash 600"

After that, the order is

org.eclipse.core.launcher.Main
org.eclipse.core.BootLoader
org.eclipse.core.internal.InternalBootLoader
org.eclipse.core.internal.runtime.InternalPlatform
loaderStartup()
Process the command line
Create lock file
Activate default plugin's
Redirect console
loaderGetRunnable()
Create Workbench, wich will create WorkbenchWindow, and so on....

Unfortunately I guess you will not find any documents regards the
Eclipse's
boot process.

[]s
Glauco Reis


"Kevin Y. Kim" wrote:

> Hi all,
>
> I've just started looking at Eclipse and really want to get to know the
> internals. So I've downloaded the source .zip, unpacked it and tried to
> compile it (I'm on Mac OS X/Carbon).
>
> First question:
> - Where is main()? Or more specifically, is there documentation on
> how the startup process works? And more documentation on
> org.eclipse.platform.core?
>
> Second question:
> - In source form, all the plugins have their own .../org/eclipse/...
> directory heirarchy. Is there a simple way to flatten this so that all
> the source for all the plugins live in a single directory tree? Is this
> even desirable? I'm just trying to wrap my head around all this.
>
> Third question:
> - Any specific news groups/mailing list on Mac OS X/Carbon
> development?
>
> Thanks for all the great work so far!
>
> -kevin
Re: Where is main()? [message #85437 is a reply to message #1452] Mon, 30 June 2003 10:27 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

maybe I'm wrong in this Thread but I'll try.

I wonder if there is a sollution to just run the ECLIPSE Infrastructure
without the gui. I plan to develop a kind of an Eclipse-Base Web Portal.
I thought that it would be very good to adapt the Plugin-Concept and Run
an Version of the Plugin-Registry (and the sophisticated Classloaders)
in some kind of servlet and let the Developer define Services,
Controller, Tools, Portlets, .... as plugins to this loader.

Anybody here who tried something like that ?

At this moment I think that running loaderStartup without running
getRunnable will lead me to a configured PluginRegistry without any GUI
or so. Is this right ?

kind Regards, Stefan.


Glauco Reis <gsrt@terra.com.br> wrote in
news:3EA2B798.35BB4977@terra.com.br:

> Hi Kevin,
>
> Sorry, but my last mail lost all format. See it again
>
> First question :
>
> Eclipse.exe (in Windows) is a stub program that calls
> <JAVA_HOME>/jre/bin/javaw.exe -cp "<ECLIPSE_DIR>/\startup.jar"
> org.eclipse.core.launcher.Main -os win32 -ws win32 -arch x86
> -showsplash "D:\Program Files\eclipse\eclipse.exe -showsplash 600"
>
> After that, the order is
>
> org.eclipse.core.launcher.Main
> org.eclipse.core.BootLoader
> org.eclipse.core.internal.InternalBootLoader
> org.eclipse.core.internal.runtime.InternalPlatform
> loaderStartup()
> Process the command line
> Create lock file
> Activate default plugin's
> Redirect console
> loaderGetRunnable()
> Create Workbench, wich will create WorkbenchWindow, and so on....
>
> Unfortunately I guess you will not find any documents regards the
> Eclipse's
> boot process.
>
> []s
> Glauco Reis
>
>
> "Kevin Y. Kim" wrote:
>
>> Hi all,
>>
>> I've just started looking at Eclipse and really want to get to know
>> the internals. So I've downloaded the source .zip, unpacked it and
>> tried to compile it (I'm on Mac OS X/Carbon).
>>
>> First question:
>> - Where is main()? Or more specifically, is there documentation
>> on
>> how the startup process works? And more documentation on
>> org.eclipse.platform.core?
>>
>> Second question:
>> - In source form, all the plugins have their own
>> .../org/eclipse/...
>> directory heirarchy. Is there a simple way to flatten this so that
>> all the source for all the plugins live in a single directory tree?
>> Is this even desirable? I'm just trying to wrap my head around all
>> this.
>>
>> Third question:
>> - Any specific news groups/mailing list on Mac OS X/Carbon
>> development?
>>
>> Thanks for all the great work so far!
>>
>> -kevin
>
Re: Where is main()? [message #85740 is a reply to message #85437] Mon, 30 June 2003 13:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal_rapicault.yahoo.fr

Stefan,

There is nothing fancy to run Eclipse in a non-ui mode.
Simply create an extension to the org.eclipse.core.runtime.applications
extension point.

PaScaL

"Stefan Marx" <leika.list@gmx.de> a
Re: Where is main()? [message #86085 is a reply to message #85740] Tue, 01 July 2003 02:06 Go to previous messageGo to next message
Eclipse UserFriend
"Pascal Rapicault" <pascal_rapicault@yahoo.fr> wrote in news:bdpt52$6bf$1
@rogue.oti.com:

> Stefan,
>
> There is nothing fancy to run Eclipse in a non-ui mode.
> Simply create an extension to the org.eclipse.core.runtime.applications
> extension point.
>
> PaScaL
>

Hmm I don't think this will be sufficent. I Plan to run a eclipse Framework
inside an servlet-container. I think I have to modify the startup process
haven't I ?

Stefan
Re: Where is main()? [message #86132 is a reply to message #86085] Tue, 01 July 2003 02:50 Go to previous message
Eclipse UserFriend
Hi Stefan,

have a look at the Apache-Avalon project. It could be more suited
for your needs.

Martin

Stefan Marx wrote:
> "Pascal Rapicault" <pascal_rapicault@yahoo.fr> wrote in
> news:bdpt52$6bf$1 @rogue.oti.com:
>
>> Stefan,
>>
>> There is nothing fancy to run Eclipse in a non-ui mode.
>> Simply create an extension to the
>> org.eclipse.core.runtime.applications extension point.
>>
>> PaScaL
>>
>
> Hmm I don't think this will be sufficent. I Plan to run a
> eclipse Framework inside an servlet-container. I think I have
> to modify the startup process haven't I ?
>
> Stefan
Previous Topic:How can i add an image to the Editor?
Next Topic:How to get active project name?
Goto Forum:
  


Current Time: Thu May 08 17:06:35 EDT 2025

Powered by FUDForum. Page generated in 0.05255 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top