Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » site manifest editor (web ui)
site manifest editor (web ui) [message #495168] Wed, 04 November 2009 00:45 Go to next message
Gary Horen is currently offline Gary HorenFriend
Messages: 19
Registered: July 2009
Junior Member
Will this editor open in a browser as well as the workbench? It opens in the
workbench fine in E4 0.9.

I included the following lines at the end of eclipse.ini:
-Dorg.eclipse.equinox.http.jetty.http.port=8080
-Dorg.eclipse.e4.pde.webui.debug=1

But trying both http://localhost:8080/tree.html and tree-original.html
doesn't work, nor does the port that Jetty is using get written out to the
console.

Thanks,
-Gary
Re: site manifest editor (web ui) [message #495619 is a reply to message #495168] Thu, 05 November 2009 14:16 Go to previous message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
Hi Gary,

> Will this editor open in a browser as well as the workbench? It opens in
> the workbench fine in E4 0.9.

It should work in a standalone browser (IE, Safari, Firefox) as well.

> I included the following lines at the end of eclipse.ini:
> -Dorg.eclipse.equinox.http.jetty.http.port=8080
> -Dorg.eclipse.e4.pde.webui.debug=1

We are using a separate Jetty instance, and the port number will be picked
by Jetty, i.e. the first line shouldn't make any difference. However, the
second line should cause printing of the port to the console. Have you tried
running eclipsec.exe, i.e. do you actually see a console window? Also, the
Jetty instance is created lazily, which means that you have to open the
web-based editor in Eclipse to have the port number printed to the console.

> But trying both http://localhost:8080/tree.html and tree-original.html
> doesn't work, nor does the port that Jetty is using get written out to the
> console.

The URL should be something like
http://localhost:1681/tree.html#/example-site/site.xml. Without the has
part, there won't be any content in the editor - it is the path to the
resource being edited. You will also be prompted for username and password,
use e4/e4.

Boris
Re: site manifest editor (web ui) [message #564510 is a reply to message #495168] Thu, 05 November 2009 14:16 Go to previous message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
Hi Gary,

> Will this editor open in a browser as well as the workbench? It opens in
> the workbench fine in E4 0.9.

It should work in a standalone browser (IE, Safari, Firefox) as well.

> I included the following lines at the end of eclipse.ini:
> -Dorg.eclipse.equinox.http.jetty.http.port=8080
> -Dorg.eclipse.e4.pde.webui.debug=1

We are using a separate Jetty instance, and the port number will be picked
by Jetty, i.e. the first line shouldn't make any difference. However, the
second line should cause printing of the port to the console. Have you tried
running eclipsec.exe, i.e. do you actually see a console window? Also, the
Jetty instance is created lazily, which means that you have to open the
web-based editor in Eclipse to have the port number printed to the console.

> But trying both http://localhost:8080/tree.html and tree-original.html
> doesn't work, nor does the port that Jetty is using get written out to the
> console.

The URL should be something like
http://localhost:1681/tree.html#/example-site/site.xml Without the has
part, there won't be any content in the editor - it is the path to the
resource being edited. You will also be prompted for username and password,
use e4/e4.

Boris
Previous Topic:how does one set height of contributed part (view)
Next Topic:problems in e4 with opening debug perspective?
Goto Forum:
  


Current Time: Thu Mar 28 14:05:52 GMT 2024

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

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

Back to the top