refactored packages of OpenWire.Net

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367569 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-01-10 11:29:06 +00:00
parent 788bfbef25
commit 434c38ff94
2 changed files with 15 additions and 12 deletions

View File

@ -24,7 +24,7 @@ import org.apache.activemq.openwire.tool.OpenWireScript
class GenerateCSharpClasses extends OpenWireScript { class GenerateCSharpClasses extends OpenWireScript {
Object run() { Object run() {
def destDir = new File("../openwire-dotnet/src/OpenWire.Core/Commands") def destDir = new File("../openwire-dotnet/src/OpenWire.Client/Commands")
destDir.mkdirs() destDir.mkdirs()
def messageClasses = classes.findAll { def messageClasses = classes.findAll {
@ -78,9 +78,10 @@ ${jclass.simpleName}.class
using System; using System;
using System.Collections; using System.Collections;
using OpenWire.Core; using OpenWire.Client;
using OpenWire.Client.Core;
namespace OpenWire.Core.Commands namespace OpenWire.Client.Commands
{ {
public class ${jclass.simpleName} : $baseClass public class ${jclass.simpleName} : $baseClass
{ {

View File

@ -24,7 +24,7 @@ import org.apache.activemq.openwire.tool.OpenWireScript
class GenerateCSharpMarshalling extends OpenWireScript { class GenerateCSharpMarshalling extends OpenWireScript {
Object run() { Object run() {
def destDir = new File("../openwire-dotnet/src/OpenWire.Core/IO") def destDir = new File("../openwire-dotnet/src/OpenWire.Client/IO")
destDir.mkdirs() destDir.mkdirs()
def messageClasses = classes.findAll { def messageClasses = classes.findAll {
@ -101,11 +101,12 @@ using System;
using System.Collections; using System.Collections;
using System.IO; using System.IO;
using OpenWire.Core; using OpenWire.Client;
using OpenWire.Core.Commands; using OpenWire.Client.Commands;
using OpenWire.Core.IO; using OpenWire.Client.Core;
using OpenWire.Client.IO;
namespace OpenWire.Core.IO namespace OpenWire.Client.IO
{ {
public ${abstractText}class $marshallerType : $baseClass public ${abstractText}class $marshallerType : $baseClass
{ {
@ -326,11 +327,12 @@ using System;
using System.Collections; using System.Collections;
using System.IO; using System.IO;
using OpenWire.Core; using OpenWire.Client;
using OpenWire.Core.Commands; using OpenWire.Client.Commands;
using OpenWire.Core.IO; using OpenWire.Client.Core;
using OpenWire.Client.IO;
namespace OpenWire.Core.IO namespace OpenWire.Client.IO
{ {
public class CommandMarshallerRegistry public class CommandMarshallerRegistry
{ {