activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes (JIRA)" <>
Subject [jira] Commented: (AMQNET-175) Trunk fails to build for compact-framework, due to [Serializable] attributes on exception classes.
Date Wed, 08 Jul 2009 19:14:07 GMT


Jim Gomes commented on AMQNET-175:

Hi Daniel,

I am able to build the Compact Framework assemblies without a problem with the code as-is.
 I have a build machine set up that builds the assemblies, and it works just fine.  I am curious
about your compiler environment, and what Windows SDK version you are using.  You can see
that the current source code from the 1.1.0 branch, which includes the same attributes as
the trunk, can be built by downloading the shipping candidate assemblies from here:

I'm not necessarily against removing the Serializable attribute, but it just makes me wonder
what is causing the discrepancy in the two build environments that is not allowing your build
to work.  Perhaps you have an older SDK?

> Trunk fails to build for compact-framework, due to [Serializable] attributes on exception
> --------------------------------------------------------------------------------------------------
>                 Key: AMQNET-175
>                 URL:
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>         Environment: Building trunk using nant on Windows XP
>            Reporter: Daniel Ellis
>            Assignee: Jim Gomes
>         Attachments: RemoveSerializableAttributes.patch
> The trunk fails to build due to the [Serializable] attributes that are on many of the
exception classes.  Removing the attributes, which I have done in the attached patch, resolves
the issue and compilation then succeeds.
> I am not sure about the consequences of removing the serializable attributes, but did
look through the revision history and cannot see any consistency of when certain exceptions
have this attribute.
> Another option would be to wrap compile time directives around the attributes so they
are not included in the compact framework build.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message