activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r819609 [2/2] - in /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk: Apache.NMS.Stomp.Test.nunit LICENSE.txt NOTICE.txt README.txt nant-common.xml nant.build nmsprovider-stomp.config nmsprovider-tcp.config nmsprovider-test.config package.ps1
Date Mon, 28 Sep 2009 15:51:42 GMT
Added: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nant.build
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nant.build?rev=819609&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nant.build (added)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nant.build Mon Sep 28 15:51:41 2009
@@ -0,0 +1,126 @@
+<?xml version="1.0"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<project name="Apache.NMS.Stomp" default="default" xmlns="http://nant.sourceforge.net/release/0.85/nant.xsd">
+    <!-- ============================================================================================
-->
+    <!--      I N I T I A L I Z A T I O N                                            
                -->
+    <!-- ============================================================================================
-->
+    <property name="basedir" value="${project::get-base-directory()}" />
+    <property name="project.name" value="Apache.NMS.Stomp" />
+    <property name="project.group" value="org.apache.activemq" />
+    <property name="project.version" value="1.2.0" unless="${property::exists('project.version')}"
/>
+    <property name="project.release.type" value="SNAPSHOT" unless="${property::exists('project.release.type')}"
/>
+    <property name="project.short_description" value="Apache NMS for Stomp Class Library"
/>
+    <property name="project.description" value="Apache NMS for Stomp Class Library (.Net
Messaging Library Implementation): An implementation of the NMS API for Stomp" />
+
+    <!-- Lib organized as: module/plaform/artifact, platform might be something like 'all'
or 'net-2.0/release' -->
+    <property name="nunit.dll" value="${basedir}/lib/NUnit/${current.build.framework}/nunit.framework.dll"
dynamic="true" />
+    <property name="nunit.extensions.dll" value="${basedir}/lib/NUnit/${current.build.framework}/nunit.framework.extensions.dll"
dynamic="true" />
+    <property name="Apache.NMS.dll" value="${basedir}/lib/Apache.NMS/${current.build.framework}/Apache.NMS.dll"
dynamic="true" />
+    <property name="Apache.NMS.pdb" value="${basedir}/lib/Apache.NMS/${current.build.framework}/Apache.NMS.pdb"
dynamic="true" />
+    <property name="Apache.NMS.Test.dll" value="${basedir}/lib/Apache.NMS/${current.build.framework}//Apache.NMS.Test.dll"
dynamic="true" />
+    <property name="Apache.NMS.Test.pdb" value="${basedir}/lib/Apache.NMS/${current.build.framework}/Apache.NMS.Test.pdb"
dynamic="true" />
+    <property name="NUnit.Projectfile" value="Apache.NMS.Stomp.Test.nunit" />
+
+    <target name="vendor-init" description="Initializes Vendor library from local repository.">
+        <!--
+           Vendor specific info.  The prefix of 'vendor.apache.org' is taken from the property
+           'vendor.fileset.names'.  This comma-delimited list is iterated, and properties
with
+           well-known suffixes are used to access and copy down vendor file dependencies.
+        -->
+        <property name="vendor.fileset.names" value="vendor.apache.org,vendor.nunit.org"
/>
+
+        <!-- Property grouping for 'vendor.apache.org' -->
+        <property name="vendor.apache.org.name" value="Apache.NMS" />
+        <property name="vendor.apache.org.group" value="org.apache.activemq" />
+        <property name="vendor.apache.org.version" value="1.2.0" />
+        <property name="vendor.apache.org.filenames" value="Apache.NMS.dll,Apache.NMS.pdb,Apache.NMS.dll.mdb,Apache.NMS.Test.dll,Apache.NMS.Test.pdb,Apache.NMS.Test.dll.mdb"
/>
+
+        <!-- Property grouping for 'vendor.nunit.org' -->
+        <property name="vendor.nunit.org.name" value="NUnit" />
+        <property name="vendor.nunit.org.group" value="org.nunit" />
+        <property name="vendor.nunit.org.version" value="2.4.8" />
+        <property name="vendor.nunit.org.filenames" value="nunit.framework.dll,nunit.framework.extensions.dll"
/>
+    </target>
+
+    <target name="dependency-init" description="Initializes build dependencies">
+        <if test="${not file::exists(Apache.NMS.dll)}">
+            <echo message="Apache.NMS assembly for ${current.build.framework.name} is
not available. Build skipped." />
+            <property name="build.skip" value="true" />
+        </if>
+
+        <assemblyfileset failonempty="true" id="dependencies">
+            <include name="${current.build.framework.assembly.dir}/mscorlib.dll" />
+            <include name="${current.build.framework.assembly.dir}/System.dll" />
+            <include name="${current.build.framework.assembly.dir}/System.Xml.dll" />
+            <include name="${Apache.NMS.dll}" />
+        </assemblyfileset>
+
+        <assemblyfileset failonempty="true" id="test.dependencies">
+            <include name="${current.build.framework.assembly.dir}/mscorlib.dll" />
+            <include name="${current.build.framework.assembly.dir}/System.dll" />
+            <include name="${current.build.framework.assembly.dir}/System.Xml.dll" />
+            <include name="${Apache.NMS.dll}" />
+            <include name="${Apache.NMS.Test.dll}" />
+            <include name="${build.bin.dir}/${project.name}.dll" />
+            <include name="${nunit.dll}" />
+            <include name="${nunit.extensions.dll}" />
+        </assemblyfileset>
+
+        <fileset id="content.filenames">
+            <include name="LICENSE.txt" />
+            <include name="NOTICE.txt" />
+            <include name="nmsprovider-*.config" />
+            <include name="${Apache.NMS.dll}" />
+            <include name="${Apache.NMS.pdb}" />
+            <include name="${Apache.NMS.Test.dll}" />
+            <include name="${Apache.NMS.Test.pdb}" />
+            <include name="${nunit.dll}" />
+            <include name="${nunit.extensions.dll}" />
+            <include name="${NUnit.Projectfile}" />
+        </fileset>
+
+        <fileset id="install.filenames">
+            <include name="LICENSE.txt" />
+            <include name="NOTICE.txt" />
+            <include name="${build.bin.dir}/${project.name}.dll" />
+            <include name="${build.bin.dir}/${project.name}.pdb" />
+            <include name="${build.bin.dir}/${project.name}.dll.mdb" />
+            <include name="nmsprovider-tcp.config" />
+            <include name="nmsprovider-stomp.config" />
+        </fileset>
+
+        <fileset id="deploy.filenames">
+            <include name="LICENSE.txt" />
+            <include name="NOTICE.txt" />
+            <include name="${build.bin.dir}/${project.name}.dll" />
+            <include name="${build.bin.dir}/${project.name}.pdb" />
+            <include name="${build.bin.dir}/${project.name}.dll.mdb" />
+            <include name="${build.bin.dir}/${project.name}.xml" />
+            <include name="${build.bin.dir}/${project.name}.Test.dll" />
+            <include name="${build.bin.dir}/${project.name}.Test.pdb" />
+            <include name="${build.bin.dir}/${project.name}.Test.dll.mdb" />
+            <include name="${build.bin.dir}/${project.name}.Test.xml" />
+            <include name="${build.bin.dir}/nmsprovider-*.config" />
+        </fileset>
+    </target>
+
+    <target name="default" depends="download-vendor-all, install-all" />
+
+    <!-- Load the common target definitions  -->
+    <include buildfile="${basedir}/nant-common.xml" />
+</project>

Added: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-stomp.config
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-stomp.config?rev=819609&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-stomp.config (added)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-stomp.config Mon Sep 28 15:51:41
2009
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+<configuration>
+    <provider assembly="Apache.NMS.Stomp.dll" classFactory="Apache.NMS.Stomp.ConnectionFactory"/>
+</configuration>

Propchange: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-stomp.config
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-tcp.config
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-tcp.config?rev=819609&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-tcp.config (added)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-tcp.config Mon Sep 28 15:51:41
2009
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+<configuration>
+    <provider assembly="Apache.NMS.Stomp.dll" classFactory="Apache.NMS.Stomp.ConnectionFactory"/>
+</configuration>

Propchange: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-tcp.config
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config?rev=819609&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config (added)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config Mon Sep 28 15:51:41
2009
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+<configuration>
+    <defaultURI value="stomp:tcp://${activemqhost}:61616?connection.AsyncClose=false"/>
+
+    <maxInactivityDurationURI value="stomp:tcp://${activemqhost}:61613"/>
+
+    <openWireURI value="stomp:tcp://${activemqhost}:61616?connection.AsyncClose=false">
+        <factoryParams>
+            <param type="string" value="StompTestClient"/>
+        </factoryParams>
+        <userName value="guest"/>
+        <passWord value="guest"/>
+    </openWireURI>
+</configuration>

Propchange: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/package.ps1?rev=819609&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/package.ps1 (added)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/package.ps1 Mon Sep 28 15:51:41 2009
@@ -0,0 +1,67 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+$pkgname = "Apache.NMS.ActiveMQ"
+$pkgver = "1.2.0"
+$configurations = "release", "debug"
+$frameworks = "mono-2.0", "net-2.0", "net-3.5", "netcf-2.0"
+
+write-progress "Creating package directory." "Initializing..."
+if(!(test-path package))
+{
+	md package
+}
+
+if(test-path build)
+{
+	pushd build
+
+	$pkgdir = "..\package"
+
+	write-progress "Packaging Application files." "Scanning..."
+	$zipfile = "$pkgdir\$pkgname-$pkgver-bin.zip"
+	zip -9 -u -j "$zipfile" ..\LICENSE.txt
+	zip -9 -u -j "$zipfile" ..\NOTICE.txt
+	foreach($configuration in $configurations)
+	{
+		foreach($framework in $frameworks)
+		{
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			if($framework -ieq "mono-2.0")
+			{
+				zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
+				zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
+			}
+			else
+			{
+				zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
+				zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			}
+		}
+	}
+
+	popd
+}
+
+write-progress "Packaging Source code files." "Scanning..."
+$pkgdir = "package"
+$zipfile = "$pkgdir\$pkgname-$pkgver-src.zip"
+
+zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-activemq-test.csproj
vs2008-activemq.csproj vs2008-activemq.sln nmsprovider*.config
+zip -9 -u -r "$zipfile" keyfile src
+
+write-progress -Completed "Packaging" "Complete."



Mime
View raw message