/usr/share/doc/libantelope-java/manual/bk01ch03s03.html is in libantelope-java-doc 3.5.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Installing Antelope as a jEdit Plugin</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="Antelope Users Guide"><link rel="up" href="bk01ch03.html" title="Chapter 3. Installation"><link rel="prev" href="bk01ch03s02.html" title="Installing Antelope as a Stand-Alone Application"><link rel="next" href="bk01ch04.html" title="Chapter 4. Requirements"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Installing Antelope as a jEdit Plugin</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk01ch03s02.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Installation</th><td width="20%" align="right"> <a accesskey="n" href="bk01ch04.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="install_plugin"></a>Installing Antelope as a jEdit Plugin</h2></div></div></div>
@style@
<p>
You can install Antelope in jEdit by using the Plugin Manager. Just follow the instructions for installing any plugin found in the jEdit help system. This section assumes you'll install Antelope into jEdit by hand because Antelope is updated much more frequently than jEdit's Plugin Central. It's really quite easy:
</p><p>
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Download the Antelope plugin jar file.
</li><li class="listitem">
Copy it to jEdit's jar directory.
</li><li class="listitem">
Check that ANT_HOME is set as an environment variable.
</li><li class="listitem">
Start jEdit.
</li></ul></div><p>
</p><p>
Note that the Antelope plugin depends on the Console and ErrorList plugins, so you'll need to install those from the Plugin Manager also.
</p><p>
First, download the plugin zip file. Unzip it. The file named Antelope.jar is the plugin jar file.
</p><p>
Second, figure out where to put it. jEdit wants its plugins in one of two places, either $jedit_home/jars or $user_home/.jedit/jars. The best place is $user.home/.jedit/jars.
</p><p>
So where is $user_home? That depends on your operating system.
</p><p>
For Windows 95 and later, it's usually C:\Documents and Settings\yourusername, where yourusername is the name you use to log on to Windows. On my Windows 2000 machine, it's C:\Documents and Settings\danson, so I would copy the jar file into C:\Documents and Settings\danson\.jedit\jars.
</p><p>
For Linux or Unix, $user_home is usually /home/yourusername or /export/home/yourusename. On my Linux box, it's /home/danson, so I would copy the jar file into /home/danson/.jedit/jars.
</p><p>
The third step is letting Antelope know where you have Ant installed. This directory is known as "ANT_HOME". For example, on my Windows 2000 machine, I have Ant installed in c:\apache-ant-1.6.0, so that would be my ANT_HOME. Antelope looks in a few places when it starts:
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
First, it looks for a System property named ANT_HOME. You could set a System property on the command-line to start jEdit (something like java -mx64m -DANT_HOME=c:/apache-ant-1.6.0 -jar jedit.jar) or if you're using Windows, you can set something similar in the jEdit launcher tool (Start - Programs - jEdit - Set jEdit Parameters).
</li><li class="listitem">
Second, it looks for an environment variable named ANT_HOME. This is actually the preferred method, and is recommended in the Ant installation instructions. How you set an environment variable depends on your operating system, on Windows, go to Start - Settings - Control Panel - System - Advanced - Environment Variables. On Linux or Unix, I'll assume you know what to do.
</li><li class="listitem">
If there is no environment variable set, then Antelope looks in the jEdit jars directories. You can copy the files from ANT_HOME/lib to the jEdit jars directory like you did with the Antelope jar file, and jEdit will automatically load them. This wasn't a bad solution with Ant 1.5 as there were only a couple of jars to maintain, but Ant 1.6 comes with about 20 jar files, so it's a bit more cumbersome.
</li><li class="listitem">
If Ant is not found in any of these locations, it will ask you.
</li></ul></div><p>
Once Ant is found, the location will be stored by Antelope for future use. If you want to change the location, use jEdit's "Plugin" menu, then "Plugin Options", then "Antelope" in the plugin list. If you erase the setting found there, Antelope will follow the same procedure to find Ant next time it is started.
</p><p>
As a plugin, Antelope provides two "dockable" windows. Use jEdit's menu "Utilites, Global Options, Docking" to dock the windows. I find it convenient to dock the "Antelope" window on the right, and the "Ant Output" window on the bottom. The "Antelope" window is where you'll see the buttons to run targets, the "Ant Output" windows is where you'll see any output produced by Ant as it runs. Technically, the "Ant Output" window shows anything written to the system standard output stream, so you may see messages produced by other plugins there also.
</p><p>
To reiterate:
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Download the Antelope plugin jar file.
</li><li class="listitem">
Copy it to jEdit's jar directory.
</li><li class="listitem">
Check that ANT_HOME is set as an environment variable.
</li><li class="listitem">
Start jEdit. Dock Antelope.
</li></ul></div><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk01ch03s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk01ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk01ch04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Installing Antelope as a Stand-Alone Application </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 4. Requirements</td></tr></table></div></body></html>
|