Re: [Aglets-users] Running my own Aglet
Status: Beta
Brought to you by:
cat4hire
From: Thomas H. <max...@us...> - 2012-03-12 15:28:08
|
The following is just my experience with aglets and should be considered something that may work, but not an authoritative answer. It would be really nice if everybody reading this could reply and write how you would LIKE to be able to launch aglets.If you don't have an idea about how to implement it, just describe the experience you would like to have. Aglets are launched by having the Tahiti aglets server "pick them up" from the hard disk. The easiest way I know to get an aglet up and running is the following. Before you start Tahiti, add the directory containing your aglet's packages to the CLASSPATH environment variable. After you start Tahiti, you launch your aglets by pressing the "Create" toolbar button, then providing the full class name of your aglet in the "Code Base" field and pressing the "Create" button of the dialog. An optimisation is to "bookmark" the "Code Base" value to the list of "Saved Aglets" by clicking the "Add to the list" button. It will save it in a persistent way, such that the "bookmark" will be available next time you want to launch an instance of that aglet and even next time you run Tahiti. Another optimisation, on by default, is to have the checkbox "Reload the agent as new" checked. Like that, every time you launch an instance of that aglet, it will take the classes from disk, not from its cache. The advantage is that like that you can develop and rebuild the aglet and launch the new version without having to restart Tahiti. Thomas On Mon, Mar 12, 2012 at 12:04, shruti nagani <shr...@gm...> wrote: > > Hi, > > Sorry the image is attached. > > On Mon, Mar 12, 2012 at 4:12 PM, shruti nagani <shr...@gm...>wrote: > >> Hi, >> >> I am using Eclipse IDE on Windows 7. I want to know how to run my own >> created aglet. Do I have to run it via the Tahiti server? Is there no other >> possible way I can do that? I am using Windows and don't want to switch to >> Linux, and I am not aware how to use/install Tahiti on Windows. Also, the >> aglet that I have developed is in a java project form(see the screenshot >> below), how can I run it via Tahiti, in any case? >> >> Any help would be appreciated! >> Regards >> Shruti >> >> >> >> > Regards > Shruti > |