Table of Contents
WebIDE allows you to create custom front ends for Elixir Ambience web interface from within the Ambience environment.
This option is available only if you are an administrator or a member of the WebIDE group.
Click the WebIDE link from the Ambience web interface, as shown in Figure 4.1, “WebIDE Link”.
The WebIDE looks as shown in Figure 4.2, “WebIDE”:
To change the Ambience landing page:
web
directory and select Add File.sample.html
for example. Click OK.You can use other files such as JavaScript and CoffeeScript files as your source. CoffeeScript files are automatically converted to Javascript output using Ant.
The following sample demonstrates using a CofeeScript file:
sample
.Upload File
.build.xml
file inside the /misc/webide/
folder. Click OK.my.coffee
When you rename a file or a folder (asset) from WebIDE, the original output is not automatically overwritten, but still exists in the deployment folder.
Click Clean to clean the deployment folder and re-build all the assets.
To create a custom action in WebIDE:
build.xml
file in the top level WebIDE folder, as shown in Figure 4.10, “Top Level build.xml Source”.
build.xml
to include a custom target. Note that the target name should begin with action-
. This is shown in Figure 4.11, “Top Level Action”.
Once you are done building your custom front end, you can lock WebIDE to prevent any further changes.
Click Admin > Web. Select the Lock WebIDE option as shown in Figure 4.13, “Locking WebIDE”.
The webIDE is locked by default, if you are using Ambience 3.x data. If you are starting from Ambience 4.0 afresh, you can choose to lock and unlock it, as required.