Friday, October 31, 2008

Using Flex (Eclipse) Help as Standalone mode

You might find it useful to launch Flex Builder (as Eclipse plugin) help in a standalone mode by launching help in a mode that uses a standalone help server installed with the IDE.

To start standalone help, at the command line execute the following :

java -classpath C:\eclipse-SDK-3.2.1-win32\eclipse\plugins\org.eclipse.help.base_3.2.2.R322_v20061207.jar org.eclipse.help.standalone.Infocenter -command start -eclipsehome C:\eclipse-SDK-3.2.1-win32\eclipse -port 4567 -noexec

Open the web browser and goto http://localhost:4567/help/index.jsp

To stop standalone help, at the command line execute the following :

java -classpath C:\eclipse-SDK-3.2.1-win32\eclipse\plugins\org.eclipse.help.base_3.2.2.R322_v20061207.jar org.eclipse.help.standalone.Infocenter -command shutdown -eclipsehome C:\eclipse-SDK-3.2.1-win32\eclipse -port 4567 -noexec

Note :

After you shut down the help server, links in the help browser will be unavailable until you restart the server.

Set Eclipse home path to eclipse folder, and make sure to specify a correct the org.eclipse.help.base jar library version depending on your Eclipse version. Then put in a source port number - here I’ve used 4567 (manual config).

1 comment:

Flug said...

Hmmm, honestly I've never thought of it. Seems to be a cool idea, we'll give it a try.