[Opensim-dev] Building modules under linux

James Stallings II james.stallings at gmail.com
Tue Dec 23 23:08:51 UTC 2008


For those linux folk out there interested in building modules, Diva has been
kind enough to include the 'default.build' config I've generated for nant
today in her tutorial package.

I'll edit up the instructions for it on the wiki later tonight, but for
those who are in a bigger hurry, here's the file:

<?xml version="1.0"?>
<project name="Hello World" default="build">
    <echo message="Project Directory is ${project::get-base-directory()}" />
    <property name="basename" value="HelloWorldModule"/>

    <target name="build">
        <csc target="library" output="${basename}.dll" warnaserror="False">
            <sources>
                <include name="${basename}.cs"/>
            </sources>
            <references>
                <include name="System.dll" />
                <include name="System.Data.dll" />
                <include name="System.Xml.dll" />
                <include name="../log4net.dll" />
                <include name="../Nini.dll" />
                <include name="../OpenMetaverse*.dll" />
                <include name="../OpenSim*.dll" />
            </references>
        </csc>
    </target>
</project>

Just drop the text into 'default.build' in the module source directory and
run 'nant' with no arguments. Oh, and your project source directory needs to
be situated in the opensim/bin directory.

Also, note that this is a very simplistic nant configuration, nant could
probably do your laundry if configured properly, so I do encourage you to
explore the possibilities wrt changing this file.

Cheers!
James

On Tue, Dec 23, 2008 at 5:03 PM, James Stallings II <
james.stallings at gmail.com> wrote:

> Items three and four on this list can largely be answered at:
>
>
> http://docs.opensimulator.org/interfaceOpenSim_1_1Region_1_1Interfaces_1_1IGroupsModule.html#ab967db0345e9f89255da9b68d3624b6
>
> and
>
>
> http://docs.opensimulator.org/interfaceOpenSim_1_1Framework_1_1IClientAPI.html
>
> The hunt continues :)
>
> Cheers!
> James
>
>
> On Tue, Dec 23, 2008 at 3:36 PM, James Stallings II <
> james.stallings at gmail.com> wrote:
>
>> Ok so we need to know a couple of things to do that:
>>
>> 1. What data has to be persisted in the backstore
>> 2. What packets will be relevant to service
>> 3. What code we need to gather and persist the data
>> 4. what code we need to retrieve group data and pass it back to the
>> browser.
>>
>> Can anyone add to this?
>>
>> Cheers
>> James
>>
>>
>> On Tue, Dec 23, 2008 at 2:21 PM, Nebadon Izumi <nebadon2025 at gmail.com>wrote:
>>
>>> How about getting us to the point where groups can be created via the
>>> viewer?? call it Step 1?
>>>
>>> Neb
>>>
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>
>>>
>>
>>
>> --
>> ===================================
>> "They give birth astride of a grave, the light gleams an instant, then
>> it's night once more."
>> - 'Waiting for Godot', by Samuel Beckett
>> http://osgrid.org
>> http://del.icio.us/SPQR
>> http://twitter.com/jstallings2
>> http://www.linkedin.com/pub/5/770/a49
>>
>
>
>
> --
> ===================================
> "They give birth astride of a grave, the light gleams an instant, then it's
> night once more."
> - 'Waiting for Godot', by Samuel Beckett
> http://osgrid.org
> http://del.icio.us/SPQR
> http://twitter.com/jstallings2
> http://www.linkedin.com/pub/5/770/a49
>



-- 
===================================
"They give birth astride of a grave, the light gleams an instant, then it's
night once more."
- 'Waiting for Godot', by Samuel Beckett
http://osgrid.org
http://del.icio.us/SPQR
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20081223/97be893a/attachment-0001.html>


More information about the Opensim-dev mailing list