Skip to content
Permalink
Browse files
Move trunk to 1.4.0 SNAPSHOT versions
  • Loading branch information
Timothy A. Bish committed May 24, 2010
1 parent 0d37113 commit b51aa5f5bcea9289950c95379cb8e4649127ce35
Showing 2 changed files with 32 additions and 32 deletions.
@@ -22,7 +22,7 @@
<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.3.0" unless="${property::exists('project.version')}" />
<property name="project.version" value="1.4.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" />
@@ -47,7 +47,7 @@
<!-- 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.3.0" />
<property name="vendor.apache.org.version" value="1.4.0" />
<if test="${current.build.framework == 'mono-2.0'}">
<property name="vendor.apache.org.filenames" value="Apache.NMS.dll,Apache.NMS.dll.mdb,Apache.NMS.Test.dll,Apache.NMS.Test.dll.mdb" />
</if>
@@ -14,49 +14,49 @@
# limitations under the License.

$pkgname = "Apache.NMS.Stomp"
$pkgver = "1.2.0"
$pkgver = "1.4.0-SNAPSHOT"
$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
md package
}

if(test-path build)
{
pushd build
pushd build

$pkgdir = "..\package"
$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\$pkgname.xml"
zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.xml"
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"
}
}
}
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\$pkgname.xml"
zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.xml"
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
popd
}

write-progress "Packaging Source code files." "Scanning..."

0 comments on commit b51aa5f

Please sign in to comment.