Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] HowTo uncompressed coding.html

The two pre-populated projects are just copies and are not the running version of the code.
To edit the running code, you will need to add the following to your eclipse.ini file on a new line after the -vmargs
-Dorg.eclipse.orion.server.core.allowedPathPrefixes=/orion/install/path

Then in orion, you need to link a folder to the server path /orion/install/path/plugins/org.eclipse.orion.client.core_....

-Andrew



From: John J Barton <johnjbarton@xxxxxxxxxxxxxxx>
To: Orion developer discussions <orion-dev@xxxxxxxxxxx>
Date: 03/09/2011 03:08 PM
Subject: Re: [orion-dev] HowTo uncompressed coding.html
Sent by: orion-dev-bounces@xxxxxxxxxxx





Andrew Niefer wrote:
The most recent build should be good, I had to clear my browser data.
http://download.eclipse.org/e4/orion/drops/I201103091205/

Regarding the compression, if you look at the coding.html source, you should see sections of script tags that were commented out followed by the inclusion of the compiled script.  You should be able to remove the compiled script and uncomment the tags to get back to normal source.


This would look something like:

               <!-- coding-editor.js

               <script src="/editor/samples/styler.js"></script>

               <script src="/editor/samples/rulers.js"></script>

               <script src="/editor/samples/undoStack.js"></script>

               <script src="/editor/js/model.js"></script>

               <script src="/editor/js/editor.js"></script>        

               coding-editor.js -->

               <script src="js/compiled/coding-editor.js"></script>        


There are 2-3 sections like this.

Sorry I'm missing something. I am using

http://localhost:8080/coding.html#http://localhost:8080/file/org.eclipse.orion.client.core/static/coding.html

to edit coding.html and remove the compressed files in favor of the source. Then I reload, but the code is compressed.
Any more hints?
jjb


-Andrew


_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/orion-dev



Back to the top