Fixed nant build files
Added ExportBot code (ZOMG! IMPORTED THE EXPORT BOT!) Fixed ExportBot's buildzircon^2
parent
0f1e2b8cda
commit
cbf492109c
|
@ -70,6 +70,18 @@ namespace libsecondlife.TestClient
|
|||
Login(account);
|
||||
}
|
||||
}
|
||||
|
||||
public string ExportAvatarRestMethod( string request, string path, string param )
|
||||
{
|
||||
Console.WriteLine("Got a request to export an avatar!");
|
||||
Console.WriteLine("Executing cloneprofile " + param);
|
||||
DoCommandAll("cloneprofile " + param, null, null);
|
||||
DoCommandAll("say copied avatar, preparing to upload to remote server...", null, null);
|
||||
return "OK";
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
|
|
@ -10,6 +10,7 @@ namespace libsecondlife.TestClient
|
|||
{
|
||||
Avatar.AvatarProperties Properties;
|
||||
Avatar.Interests Interests;
|
||||
private Dictionary<LLUUID,ulong> Avatars = new Dictionary<LLUUID,ulong>();
|
||||
List<LLUUID> Groups = new List<LLUUID>();
|
||||
bool ReceivedProperties = false;
|
||||
bool ReceivedInterests = false;
|
||||
|
@ -23,12 +24,22 @@ namespace libsecondlife.TestClient
|
|||
testClient.Avatars.OnAvatarGroups += new AvatarManager.AvatarGroupsCallback(Avatars_OnAvatarGroups);
|
||||
testClient.Self.OnJoinGroup += new MainAvatar.JoinGroupCallback(Self_OnJoinGroup);
|
||||
|
||||
testClient.Self.Objects.OnNewAvatar += new ObjectManager.NewAvatarCallback(AvatarSeen);
|
||||
|
||||
Name = "cloneprofile";
|
||||
Description = "Clones another avatars profile as closely as possible. WARNING: This command will " +
|
||||
"destroy your existing profile! Usage: cloneprofile [targetuuid]";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
void AvatarSeen(Simulator simulator, Avatar avatar, ulong regionHandle, ushort timeDilation)
|
||||
{
|
||||
lock (Avatars)
|
||||
{
|
||||
Avatars.Add(avatar.UUID,avatar.LocalID);
|
||||
}
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
{
|
||||
if (args.Length != 1)
|
||||
return Description;
|
||||
|
@ -58,20 +69,8 @@ namespace libsecondlife.TestClient
|
|||
if (!ReceivedInterests || !ReceivedProperties || !ReceivedGroups)
|
||||
return "Failed to retrieve a complete profile for that UUID";
|
||||
|
||||
// Synchronize our profile
|
||||
Client.Self.ProfileInterests = Interests;
|
||||
Client.Self.ProfileProperties = Properties;
|
||||
Client.Self.SetAvatarInformation();
|
||||
|
||||
// TODO: Leave all the groups we're currently a member of? This could
|
||||
// break TestClient connectivity that might be relying on group authentication
|
||||
|
||||
// Attempt to join all the groups
|
||||
foreach (LLUUID groupID in Groups)
|
||||
{
|
||||
Client.Self.RequestJoinGroup(groupID);
|
||||
}
|
||||
|
||||
return "Synchronized our profile to the profile of " + targetID.ToStringHyphenated();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,51 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Speech.Synthesis;
|
||||
using libsecondlife;
|
||||
using libsecondlife.Packets;
|
||||
using libsecondlife.AssetSystem;
|
||||
|
||||
|
||||
// Since this requires .Net 3.0 I've left it out of the project by default.
|
||||
// To use this: include it in the project and add a reference to the System.Speech.dll
|
||||
|
||||
namespace libsecondlife.TestClient
|
||||
{
|
||||
public class TtsCommand : Command
|
||||
{
|
||||
SpeechSynthesizer _speechSynthesizer;
|
||||
|
||||
public TtsCommand(TestClient testClient)
|
||||
{
|
||||
Name = "tts";
|
||||
Description = "Text To Speech. When activated, client will echo all recieved chat messages out thru the computer's speakers.";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
{
|
||||
if (!Active)
|
||||
{
|
||||
if (_speechSynthesizer == null)
|
||||
_speechSynthesizer = new SpeechSynthesizer();
|
||||
Active = true;
|
||||
Client.Self.OnChat += new MainAvatar.ChatCallback(Self_OnChat);
|
||||
return "TTS is now on.";
|
||||
}
|
||||
else
|
||||
{
|
||||
Active = false;
|
||||
Client.Self.OnChat -= new MainAvatar.ChatCallback(Self_OnChat);
|
||||
return "TTS is now off.";
|
||||
}
|
||||
}
|
||||
|
||||
void Self_OnChat(string message, byte audible, byte type, byte sourcetype, string fromName, LLUUID id, LLUUID ownerid, LLVector3 position)
|
||||
{
|
||||
if (message.Length > 0)
|
||||
{
|
||||
_speechSynthesizer.SpeakAsync(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
<?xml version="1.0" ?>
|
||||
<project name="ExportBot" default="build">
|
||||
<echo message="Using '${nant.settings.currentframework}' Framework"/>
|
||||
|
||||
<property name="bin.dir" value="bin" />
|
||||
<property name="obj.dir" value="obj" />
|
||||
<property name="doc.dir" value="doc" />
|
||||
<property name="project.main.dir" value="${project::get-base-directory()}" />
|
||||
<property name="project.config" value="Release" />
|
||||
|
||||
<target name="Release" description="">
|
||||
<property name="project.config" value="Release" />
|
||||
<property name="build.debug" value="false" />
|
||||
</target>
|
||||
|
||||
|
||||
<target name="Debug" description="">
|
||||
<property name="project.config" value="Debug" />
|
||||
<property name="build.debug" value="true" />
|
||||
</target>
|
||||
|
||||
<target name="net-1.1" description="Sets framework to .NET 1.1">
|
||||
<property name="nant.settings.currentframework" value="net-1.1" />
|
||||
</target>
|
||||
|
||||
<target name="net-2.0" description="Sets framework to .NET 2.0">
|
||||
<property name="nant.settings.currentframework" value="net-2.0" />
|
||||
</target>
|
||||
|
||||
<target name="mono-2.0" description="Sets framework to mono 2.0">
|
||||
<property name="nant.settings.currentframework" value="mono-2.0" />
|
||||
</target>
|
||||
|
||||
<target name="mono-1.0" description="Sets framework to mono 1.0">
|
||||
<property name="nant.settings.currentframework" value="mono-1.0" />
|
||||
</target>
|
||||
|
||||
<target name="init" description="">
|
||||
<call target="${project.config}" />
|
||||
<sysinfo />
|
||||
<echo message="Platform ${sys.os.platform}" />
|
||||
<property name="build.dir" value="${bin.dir}/${project.config}" />
|
||||
</target>
|
||||
|
||||
<target name="clean" description="">
|
||||
<echo message="Deleting all builds from all configurations" />
|
||||
<delete dir="${bin.dir}" failonerror="false" />
|
||||
<delete dir="${obj.dir}" failonerror="false" />
|
||||
<nant buildfile="./ExportBot.exe.build" target="clean" />
|
||||
</target>
|
||||
|
||||
<target name="build" depends="init" description="">
|
||||
<nant buildfile="./ExportBot.exe.build" target="build" />
|
||||
</target>
|
||||
|
||||
<target name="build-release" depends="Release, init, build" description="Builds in Release mode" />
|
||||
|
||||
<target name="build-debug" depends="Debug, init, build" description="Builds in Debug mode" />
|
||||
|
||||
<target name="package" depends="clean, doc" description="Builds all" />
|
||||
|
||||
<target name="doc" depends="build-release">
|
||||
<echo message="Generating all documentation from all builds" />
|
||||
<nant buildfile="./ExportBot.exe.build" target="doc" />
|
||||
</target>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,98 @@
|
|||
<?xml version="1.0" ?>
|
||||
<project name="ExportBot" default="build">
|
||||
<target name="build">
|
||||
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
|
||||
<mkdir dir="${project::get-base-directory()}/${build.dir}" />
|
||||
<copy todir="${project::get-base-directory()}/${build.dir}">
|
||||
<fileset basedir="${project::get-base-directory()}">
|
||||
</fileset>
|
||||
</copy>
|
||||
<csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe">
|
||||
<resources prefix="ExportBot" dynamicprefix="true" >
|
||||
</resources>
|
||||
<sources failonempty="true">
|
||||
<include name="Arguments.cs" />
|
||||
<include name="ClientManager.cs" />
|
||||
<include name="Command.cs" />
|
||||
<include name="Parsing.cs" />
|
||||
<include name="Program.cs" />
|
||||
<include name="TestClient.cs" />
|
||||
<include name="Commands/AppearanceCommand.cs" />
|
||||
<include name="Commands/CloneProfileCommand.cs" />
|
||||
<include name="Commands/DebugCommand.cs" />
|
||||
<include name="Commands/DilationCommand.cs" />
|
||||
<include name="Commands/DumpOutfitCommand.cs" />
|
||||
<include name="Commands/ExportCommand.cs" />
|
||||
<include name="Commands/ExportOutfitCommand.cs" />
|
||||
<include name="Commands/ExportParticlesCommand.cs" />
|
||||
<include name="Commands/FindSimCommand.cs" />
|
||||
<include name="Commands/HelpCommand.cs" />
|
||||
<include name="Commands/ImportCommand.cs" />
|
||||
<include name="Commands/ImportOutfitCommand.cs" />
|
||||
<include name="Commands/LoadCommand.cs" />
|
||||
<include name="Commands/LoginCommand.cs" />
|
||||
<include name="Commands/LogoutCommand.cs" />
|
||||
<include name="Commands/MD5Command.cs" />
|
||||
<include name="Commands/PacketLogCommand.cs" />
|
||||
<include name="Commands/ParcelInfoCommand.cs" />
|
||||
<include name="Commands/PrimCountCommand.cs" />
|
||||
<include name="Commands/QuitCommand.cs" />
|
||||
<include name="Commands/RegionInfoCommand.cs" />
|
||||
<include name="Commands/SetMasterCommand.cs" />
|
||||
<include name="Commands/SetMasterKeyCommand.cs" />
|
||||
<include name="Commands/ShowEffectsCommand.cs" />
|
||||
<include name="Commands/StatsCommand.cs" />
|
||||
<include name="Commands/TouchCommand.cs" />
|
||||
<include name="Commands/TreeCommand.cs" />
|
||||
<include name="Commands/UptimeCommand.cs" />
|
||||
<include name="Commands/WhoCommand.cs" />
|
||||
<include name="Commands/Communication/EchoMasterCommand.cs" />
|
||||
<include name="Commands/Communication/IMCommand.cs" />
|
||||
<include name="Commands/Communication/SayCommand.cs" />
|
||||
<include name="Commands/Communication/ShoutCommand.cs" />
|
||||
<include name="Commands/Communication/WhisperCommand.cs" />
|
||||
<include name="Commands/Inventory/BalanceCommand.cs" />
|
||||
<include name="Commands/Inventory/DeleteFolderCommand.cs" />
|
||||
<include name="Commands/Inventory/GiveAllCommand.cs" />
|
||||
<include name="Commands/Inventory/InventoryCommand.cs" />
|
||||
<include name="Commands/Inventory/WearCommand.cs" />
|
||||
<include name="Commands/Movement/FollowCommand.cs" />
|
||||
<include name="Commands/Movement/GotoCommand.cs" />
|
||||
<include name="Commands/Movement/JumpCommand.cs" />
|
||||
<include name="Commands/Movement/LocationCommand.cs" />
|
||||
<include name="Commands/Movement/MoveToCommand.cs" />
|
||||
<include name="Commands/Movement/SitCommand.cs" />
|
||||
<include name="Commands/Movement/SitOnCommand.cs" />
|
||||
<include name="Commands/Movement/StandCommand.cs" />
|
||||
<include name="Properties/AssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references basedir="${project::get-base-directory()}">
|
||||
<lib>
|
||||
<include name="${project::get-base-directory()}" />
|
||||
<include name="${project::get-base-directory()}/${build.dir}" />
|
||||
</lib>
|
||||
<include name="System.dll" />
|
||||
<include name="System.Xml.dll" />
|
||||
<include name="../bin/libsecondlife.dll" />
|
||||
<include name="../bin/openjpegnet.dll" />
|
||||
<include name="../bin/OpenSim.Framework.dll" />
|
||||
<include name="../bin/OpenSim.Framework.Console.dll" />
|
||||
<include name="../bin/OpenSim.Servers.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
|
||||
<mkdir dir="${project::get-base-directory()}/../bin/"/>
|
||||
<copy todir="${project::get-base-directory()}/../bin/">
|
||||
<fileset basedir="${project::get-base-directory()}/${build.dir}/" >
|
||||
<include name="*.dll"/>
|
||||
<include name="*.exe"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="${bin.dir}" failonerror="false" />
|
||||
<delete dir="${obj.dir}" failonerror="false" />
|
||||
</target>
|
||||
<target name="doc" description="Creates documentation.">
|
||||
</target>
|
||||
</project>
|
|
@ -1,21 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using CommandLine.Utility;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Framework.Console;
|
||||
using OpenSim.Servers;
|
||||
|
||||
namespace libsecondlife.TestClient
|
||||
{
|
||||
public class Program
|
||||
public class Program : conscmd_callback
|
||||
{
|
||||
private static void Usage()
|
||||
{
|
||||
Console.WriteLine("Usage: " + Environment.NewLine +
|
||||
"TestClient.exe --first firstname --last lastname --pass password --contact \"youremail\" [--startpos \"sim/x/y/z\"] [--master \"master name\"] [--masterkey \"master uuid\"]" +
|
||||
Environment.NewLine + "TestClient.exe --file filename --contact \"youremail\" [--master \"master name\"] [--masterkey \"master uuid\"]");
|
||||
}
|
||||
|
||||
public void RunCmd(string cmd, string[] cmdparams) {}
|
||||
public void Show(string ShowWhat) {}
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
ConsoleBase m_console = new ConsoleBase("exportbot-console.log", "ExportBot", new Program() , false);
|
||||
MainConsole.Instance = m_console;
|
||||
|
||||
Arguments arguments = new Arguments(args);
|
||||
|
||||
ClientManager manager;
|
||||
|
@ -115,11 +122,18 @@ namespace libsecondlife.TestClient
|
|||
}
|
||||
|
||||
// Login the accounts and run the input loop
|
||||
if ( arguments["start"] != null ) {
|
||||
manager = new ClientManager(accounts, contact, "Theta/16/229/25");
|
||||
/* if ( arguments["start"] != null ) {
|
||||
manager = new ClientManager(accounts, contact, arguments["start"]);
|
||||
} else {
|
||||
manager = new ClientManager(accounts, contact);
|
||||
}
|
||||
}*/
|
||||
|
||||
Console.WriteLine("Starting the HTTP listener");
|
||||
BaseHttpServer httpServer = new BaseHttpServer(12035);
|
||||
httpServer.AddRestHandler("GET", "/exportaccount/", manager.ExportAvatarRestMethod);
|
||||
httpServer.Start();
|
||||
|
||||
manager.Run();
|
||||
|
||||
}
|
||||
|
|
|
@ -18,12 +18,12 @@ namespace libsecondlife.TestClient
|
|||
public LLUUID GroupID = LLUUID.Zero;
|
||||
public Dictionary<LLUUID, GroupMember> GroupMembers;
|
||||
public Dictionary<uint, Avatar> AvatarList = new Dictionary<uint,Avatar>();
|
||||
public Dictionary<LLUUID, AvatarAppearancePacket> Appearances = new Dictionary<LLUUID, AvatarAppearancePacket>();
|
||||
public Dictionary<string, Command> Commands = new Dictionary<string,Command>();
|
||||
public bool Running = true;
|
||||
public Dictionary<LLUUID, AvatarAppearancePacket> Appearances = new Dictionary<LLUUID, AvatarAppearancePacket>();
|
||||
public Dictionary<string, Command> Commands = new Dictionary<string,Command>();
|
||||
public bool Running = true;
|
||||
public string MasterName = String.Empty;
|
||||
public LLUUID MasterKey = LLUUID.Zero;
|
||||
public ClientManager ClientManager;
|
||||
public ClientManager ClientManager;
|
||||
public int regionX;
|
||||
public int regionY;
|
||||
|
||||
|
@ -41,7 +41,7 @@ namespace libsecondlife.TestClient
|
|||
/// </summary>
|
||||
public TestClient(ClientManager manager)
|
||||
{
|
||||
ClientManager = manager;
|
||||
ClientManager = manager;
|
||||
|
||||
updateTimer = new System.Timers.Timer(1000);
|
||||
updateTimer.Elapsed += new System.Timers.ElapsedEventHandler(updateTimer_Elapsed);
|
||||
|
@ -57,7 +57,7 @@ namespace libsecondlife.TestClient
|
|||
Objects.OnNewPrim += new ObjectManager.NewPrimCallback(Objects_OnNewPrim);
|
||||
Objects.OnObjectUpdated += new ObjectManager.ObjectUpdatedCallback(Objects_OnObjectUpdated);
|
||||
Objects.OnObjectKilled += new ObjectManager.KillObjectCallback(Objects_OnObjectKilled);
|
||||
Objects.OnNewAvatar += new ObjectManager.NewAvatarCallback(Objects_OnNewAvatar);
|
||||
Objects.OnNewAvatar += new ObjectManager.NewAvatarCallback(Objects_OnNewAvatar);
|
||||
Self.OnInstantMessage += new MainAvatar.InstantMessageCallback(Self_OnInstantMessage);
|
||||
Groups.OnGroupMembers += new GroupManager.GroupMembersCallback(GroupMembersHandler);
|
||||
this.OnLogMessage += new LogCallback(TestClient_OnLogMessage);
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" ?>
|
||||
<project name="OpenGrid.Framework.Data.DB4o" default="build">
|
||||
<target name="build">
|
||||
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
|
||||
<mkdir dir="${project::get-base-directory()}/${build.dir}" />
|
||||
<copy todir="${project::get-base-directory()}/${build.dir}">
|
||||
<fileset basedir="${project::get-base-directory()}">
|
||||
</fileset>
|
||||
</copy>
|
||||
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
|
||||
<resources prefix="OpenGrid.Framework.Data.DB4o" dynamicprefix="true" >
|
||||
</resources>
|
||||
<sources failonempty="true">
|
||||
<include name="DB4oGridData.cs" />
|
||||
<include name="DB4oManager.cs" />
|
||||
<include name="DB4oUserData.cs" />
|
||||
<include name="Properties/AssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references basedir="${project::get-base-directory()}">
|
||||
<lib>
|
||||
<include name="${project::get-base-directory()}" />
|
||||
<include name="${project::get-base-directory()}/${build.dir}" />
|
||||
</lib>
|
||||
<include name="System.dll" />
|
||||
<include name="System.Xml.dll" />
|
||||
<include name="System.Data.dll" />
|
||||
<include name="../bin/OpenGrid.Framework.Data.dll" />
|
||||
<include name="../bin/libsecondlife.dll" />
|
||||
<include name="../bin/Db4objects.Db4o.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
|
||||
<mkdir dir="${project::get-base-directory()}/../bin/"/>
|
||||
<copy todir="${project::get-base-directory()}/../bin/">
|
||||
<fileset basedir="${project::get-base-directory()}/${build.dir}/" >
|
||||
<include name="*.dll"/>
|
||||
<include name="*.exe"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="${bin.dir}" failonerror="false" />
|
||||
<delete dir="${obj.dir}" failonerror="false" />
|
||||
</target>
|
||||
<target name="doc" description="Creates documentation.">
|
||||
</target>
|
||||
</project>
|
|
@ -0,0 +1,45 @@
|
|||
<?xml version="1.0" ?>
|
||||
<project name="OpenGrid.Framework.Data.MSSQL" default="build">
|
||||
<target name="build">
|
||||
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
|
||||
<mkdir dir="${project::get-base-directory()}/${build.dir}" />
|
||||
<copy todir="${project::get-base-directory()}/${build.dir}">
|
||||
<fileset basedir="${project::get-base-directory()}">
|
||||
</fileset>
|
||||
</copy>
|
||||
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
|
||||
<resources prefix="OpenGrid.Framework.Data.MSSQL" dynamicprefix="true" >
|
||||
</resources>
|
||||
<sources failonempty="true">
|
||||
<include name="MSSQLGridData.cs" />
|
||||
<include name="MSSQLManager.cs" />
|
||||
<include name="Properties/AssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references basedir="${project::get-base-directory()}">
|
||||
<lib>
|
||||
<include name="${project::get-base-directory()}" />
|
||||
<include name="${project::get-base-directory()}/${build.dir}" />
|
||||
</lib>
|
||||
<include name="System.dll" />
|
||||
<include name="System.Xml.dll" />
|
||||
<include name="System.Data.dll" />
|
||||
<include name="../bin/OpenGrid.Framework.Data.dll" />
|
||||
<include name="../bin/libsecondlife.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
|
||||
<mkdir dir="${project::get-base-directory()}/../bin/"/>
|
||||
<copy todir="${project::get-base-directory()}/../bin/">
|
||||
<fileset basedir="${project::get-base-directory()}/${build.dir}/" >
|
||||
<include name="*.dll"/>
|
||||
<include name="*.exe"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="${bin.dir}" failonerror="false" />
|
||||
<delete dir="${obj.dir}" failonerror="false" />
|
||||
</target>
|
||||
<target name="doc" description="Creates documentation.">
|
||||
</target>
|
||||
</project>
|
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" ?>
|
||||
<project name="OpenGrid.Framework.Data.MySQL" default="build">
|
||||
<target name="build">
|
||||
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
|
||||
<mkdir dir="${project::get-base-directory()}/${build.dir}" />
|
||||
<copy todir="${project::get-base-directory()}/${build.dir}">
|
||||
<fileset basedir="${project::get-base-directory()}">
|
||||
</fileset>
|
||||
</copy>
|
||||
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
|
||||
<resources prefix="OpenGrid.Framework.Data.MySQL" dynamicprefix="true" >
|
||||
</resources>
|
||||
<sources failonempty="true">
|
||||
<include name="MySQLGridData.cs" />
|
||||
<include name="MySQLManager.cs" />
|
||||
<include name="Properties/AssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references basedir="${project::get-base-directory()}">
|
||||
<lib>
|
||||
<include name="${project::get-base-directory()}" />
|
||||
<include name="${project::get-base-directory()}/${build.dir}" />
|
||||
</lib>
|
||||
<include name="System.dll" />
|
||||
<include name="System.Xml.dll" />
|
||||
<include name="System.Data.dll" />
|
||||
<include name="../bin/OpenGrid.Framework.Data.dll" />
|
||||
<include name="../bin/libsecondlife.dll" />
|
||||
<include name="../bin/MySql.Data.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
|
||||
<mkdir dir="${project::get-base-directory()}/../bin/"/>
|
||||
<copy todir="${project::get-base-directory()}/../bin/">
|
||||
<fileset basedir="${project::get-base-directory()}/${build.dir}/" >
|
||||
<include name="*.dll"/>
|
||||
<include name="*.exe"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="${bin.dir}" failonerror="false" />
|
||||
<delete dir="${obj.dir}" failonerror="false" />
|
||||
</target>
|
||||
<target name="doc" description="Creates documentation.">
|
||||
</target>
|
||||
</project>
|
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" ?>
|
||||
<project name="OpenGrid.Framework.Data.SQLite" default="build">
|
||||
<target name="build">
|
||||
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
|
||||
<mkdir dir="${project::get-base-directory()}/${build.dir}" />
|
||||
<copy todir="${project::get-base-directory()}/${build.dir}">
|
||||
<fileset basedir="${project::get-base-directory()}">
|
||||
</fileset>
|
||||
</copy>
|
||||
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
|
||||
<resources prefix="OpenGrid.Framework.Data.SQLite" dynamicprefix="true" >
|
||||
</resources>
|
||||
<sources failonempty="true">
|
||||
<include name="SQLiteGridData.cs" />
|
||||
<include name="SQLiteManager.cs" />
|
||||
<include name="Properties/AssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references basedir="${project::get-base-directory()}">
|
||||
<lib>
|
||||
<include name="${project::get-base-directory()}" />
|
||||
<include name="${project::get-base-directory()}/${build.dir}" />
|
||||
</lib>
|
||||
<include name="System.dll" />
|
||||
<include name="System.Xml.dll" />
|
||||
<include name="System.Data.dll" />
|
||||
<include name="../bin/System.Data.SQLite.dll" />
|
||||
<include name="../bin/OpenGrid.Framework.Data.dll" />
|
||||
<include name="../bin/libsecondlife.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
|
||||
<mkdir dir="${project::get-base-directory()}/../bin/"/>
|
||||
<copy todir="${project::get-base-directory()}/../bin/">
|
||||
<fileset basedir="${project::get-base-directory()}/${build.dir}/" >
|
||||
<include name="*.dll"/>
|
||||
<include name="*.exe"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="${bin.dir}" failonerror="false" />
|
||||
<delete dir="${obj.dir}" failonerror="false" />
|
||||
</target>
|
||||
<target name="doc" description="Creates documentation.">
|
||||
</target>
|
||||
</project>
|
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" ?>
|
||||
<project name="OpenGrid.Framework.Data" default="build">
|
||||
<target name="build">
|
||||
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
|
||||
<mkdir dir="${project::get-base-directory()}/${build.dir}" />
|
||||
<copy todir="${project::get-base-directory()}/${build.dir}">
|
||||
<fileset basedir="${project::get-base-directory()}">
|
||||
</fileset>
|
||||
</copy>
|
||||
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
|
||||
<resources prefix="OpenGrid.Framework.Data" dynamicprefix="true" >
|
||||
</resources>
|
||||
<sources failonempty="true">
|
||||
<include name="GridData.cs" />
|
||||
<include name="SimProfileData.cs" />
|
||||
<include name="UserData.cs" />
|
||||
<include name="UserProfileData.cs" />
|
||||
<include name="Properties/AssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references basedir="${project::get-base-directory()}">
|
||||
<lib>
|
||||
<include name="${project::get-base-directory()}" />
|
||||
<include name="${project::get-base-directory()}/${build.dir}" />
|
||||
</lib>
|
||||
<include name="System.dll" />
|
||||
<include name="System.Xml.dll" />
|
||||
<include name="System.Data.dll" />
|
||||
<include name="../bin/libsecondlife.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
|
||||
<mkdir dir="${project::get-base-directory()}/../bin/"/>
|
||||
<copy todir="${project::get-base-directory()}/../bin/">
|
||||
<fileset basedir="${project::get-base-directory()}/${build.dir}/" >
|
||||
<include name="*.dll"/>
|
||||
<include name="*.exe"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="${bin.dir}" failonerror="false" />
|
||||
<delete dir="${obj.dir}" failonerror="false" />
|
||||
</target>
|
||||
<target name="doc" description="Creates documentation.">
|
||||
</target>
|
||||
</project>
|
Binary file not shown.
61
prebuild.xml
61
prebuild.xml
|
@ -735,8 +735,69 @@
|
|||
|
||||
|
||||
|
||||
<Solution name="ExportBot" path="ExportBot/" >
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<CompilerDefines>TRACE;DEBUG</CompilerDefines>
|
||||
<OptimizeCode>false</OptimizeCode>
|
||||
<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
|
||||
<AllowUnsafe>false</AllowUnsafe>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<WarningsAsErrors>false</WarningsAsErrors>
|
||||
<SuppressWarnings></SuppressWarnings>
|
||||
<OutputPath>bin</OutputPath>
|
||||
<DebugInformation>true</DebugInformation>
|
||||
<IncrementalBuild>true</IncrementalBuild>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
</Options>
|
||||
</Configuration>
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<CompilerDefines>TRACE</CompilerDefines>
|
||||
<OptimizeCode>true</OptimizeCode>
|
||||
<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
|
||||
<AllowUnsafe>false</AllowUnsafe>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<WarningsAsErrors>false</WarningsAsErrors>
|
||||
<SuppressWarnings></SuppressWarnings>
|
||||
<OutputPath>bin</OutputPath>
|
||||
<DebugInformation>false</DebugInformation>
|
||||
<IncrementalBuild>true</IncrementalBuild>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
|
||||
<Project name="ExportBot" path="./" type="Exe">
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<OutputPath>../bin/</OutputPath>
|
||||
</Options>
|
||||
</Configuration>
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<OutputPath>../bin/</OutputPath>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
<ReferencePath>../bin/</ReferencePath>
|
||||
<Reference name="System" localCopy="false"/>
|
||||
<Reference name="System.Xml"/>
|
||||
<Reference name="libsecondlife.dll"/>
|
||||
<Reference name="openjpegnet.dll"/>
|
||||
<Reference name="OpenSim.Framework.dll"/>
|
||||
<Reference name="OpenSim.Framework.Console.dll"/>
|
||||
<Reference name="OpenSim.Servers.dll"/>
|
||||
|
||||
|
||||
<Files>
|
||||
<Match pattern="*.cs" recurse="true"/>
|
||||
</Files>
|
||||
</Project>
|
||||
|
||||
|
||||
</Solution>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue