[jira] Created: (AMQCPP-22) Use common name for ActiveMQ C++ library on Windows and Linux

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (AMQCPP-22) Use common name for ActiveMQ C++ library on Windows and Linux

JIRA jira@apache.org
Use common name for ActiveMQ C++ library on Windows and Linux
-------------------------------------------------------------

                 Key: AMQCPP-22
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-22
             Project: ActiveMQ C++ Client
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Albert Strasheim
         Assigned To: Nathan Mittler


We're using SCons to build our application that links against the ActiveMQ-CPP library on Windows and Linux.

The Visual Studio files included with ActiveMQ-CPP builds a library called "activemq.lib" whereas the Linux Autotools build builds a library called "libactivemq-cpp.a". SCons takes care of the platform-specific prefix (lib or nothing) and the suffix (.a or .lib), but the base names of the library still differs, i.e. activemq vs activemq-cpp.

I think it would make sense to standardise on one library name across all platforms. Personally, I'd go for "activemq", but "activemq-cpp" is fine, as long as it's the same everywhere.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (AMQCPP-22) Use common name for ActiveMQ C++ library on Windows and Linux

JIRA jira@apache.org
     [ https://issues.apache.org/activemq/browse/AMQCPP-22?page=all ]

Timothy Bish reassigned AMQCPP-22:
----------------------------------

    Assignee: Timothy Bish  (was: Nathan Mittler)

> Use common name for ActiveMQ C++ library on Windows and Linux
> -------------------------------------------------------------
>
>                 Key: AMQCPP-22
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-22
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>
> We're using SCons to build our application that links against the ActiveMQ-CPP library on Windows and Linux.
> The Visual Studio files included with ActiveMQ-CPP builds a library called "activemq.lib" whereas the Linux Autotools build builds a library called "libactivemq-cpp.a". SCons takes care of the platform-specific prefix (lib or nothing) and the suffix (.a or .lib), but the base names of the library still differs, i.e. activemq vs activemq-cpp.
> I think it would make sense to standardise on one library name across all platforms. Personally, I'd go for "activemq", but "activemq-cpp" is fine, as long as it's the same everywhere.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (AMQCPP-22) Use common name for ActiveMQ C++ library on Windows and Linux

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org
     [ https://issues.apache.org/activemq/browse/AMQCPP-22?page=all ]

Timothy Bish resolved AMQCPP-22.
--------------------------------

    Fix Version/s: 1.1
       Resolution: Fixed

Changed the VC projects to create:

1. libactivemq-cppd.lib in debug mode
2. libactivemq-cpp.lib in release mode.

Modified the other projects to link to these new names.

> Use common name for ActiveMQ C++ library on Windows and Linux
> -------------------------------------------------------------
>
>                 Key: AMQCPP-22
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-22
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>             Fix For: 1.1
>
>
> We're using SCons to build our application that links against the ActiveMQ-CPP library on Windows and Linux.
> The Visual Studio files included with ActiveMQ-CPP builds a library called "activemq.lib" whereas the Linux Autotools build builds a library called "libactivemq-cpp.a". SCons takes care of the platform-specific prefix (lib or nothing) and the suffix (.a or .lib), but the base names of the library still differs, i.e. activemq vs activemq-cpp.
> I think it would make sense to standardise on one library name across all platforms. Personally, I'd go for "activemq", but "activemq-cpp" is fine, as long as it's the same everywhere.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (AMQCPP-22) Use common name for ActiveMQ C++ library on Windows and Linux

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org
    [ https://issues.apache.org/activemq/browse/AMQCPP-22?page=comments#action_37684 ]
           
Albert Strasheim commented on AMQCPP-22:
----------------------------------------

The convention on Windows seems to be to leave off the lib- prefix. In build tools like SCons (and many others), calling a library 'foo' means 'foo.lib' on Windows and 'libfoo.a' on Linux.

> Use common name for ActiveMQ C++ library on Windows and Linux
> -------------------------------------------------------------
>
>                 Key: AMQCPP-22
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-22
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>             Fix For: 1.1
>
>
> We're using SCons to build our application that links against the ActiveMQ-CPP library on Windows and Linux.
> The Visual Studio files included with ActiveMQ-CPP builds a library called "activemq.lib" whereas the Linux Autotools build builds a library called "libactivemq-cpp.a". SCons takes care of the platform-specific prefix (lib or nothing) and the suffix (.a or .lib), but the base names of the library still differs, i.e. activemq vs activemq-cpp.
> I think it would make sense to standardise on one library name across all platforms. Personally, I'd go for "activemq", but "activemq-cpp" is fine, as long as it's the same everywhere.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (AMQCPP-22) Use common name for ActiveMQ C++ library on Windows and Linux

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org
     [ https://issues.apache.org/activemq/browse/AMQCPP-22?page=all ]

Timothy Bish reopened AMQCPP-22:
--------------------------------

             

> Use common name for ActiveMQ C++ library on Windows and Linux
> -------------------------------------------------------------
>
>                 Key: AMQCPP-22
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-22
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>             Fix For: 1.1
>
>
> We're using SCons to build our application that links against the ActiveMQ-CPP library on Windows and Linux.
> The Visual Studio files included with ActiveMQ-CPP builds a library called "activemq.lib" whereas the Linux Autotools build builds a library called "libactivemq-cpp.a". SCons takes care of the platform-specific prefix (lib or nothing) and the suffix (.a or .lib), but the base names of the library still differs, i.e. activemq vs activemq-cpp.
> I think it would make sense to standardise on one library name across all platforms. Personally, I'd go for "activemq", but "activemq-cpp" is fine, as long as it's the same everywhere.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (AMQCPP-22) Use common name for ActiveMQ C++ library on Windows and Linux

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org
     [ https://issues.apache.org/activemq/browse/AMQCPP-22?page=all ]

Timothy Bish resolved AMQCPP-22.
--------------------------------

    Resolution: Fixed

removed the lib part of the name from the VC build of the library so that things are done the way they've always been done on windows.

> Use common name for ActiveMQ C++ library on Windows and Linux
> -------------------------------------------------------------
>
>                 Key: AMQCPP-22
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-22
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>             Fix For: 1.1
>
>
> We're using SCons to build our application that links against the ActiveMQ-CPP library on Windows and Linux.
> The Visual Studio files included with ActiveMQ-CPP builds a library called "activemq.lib" whereas the Linux Autotools build builds a library called "libactivemq-cpp.a". SCons takes care of the platform-specific prefix (lib or nothing) and the suffix (.a or .lib), but the base names of the library still differs, i.e. activemq vs activemq-cpp.
> I think it would make sense to standardise on one library name across all platforms. Personally, I'd go for "activemq", but "activemq-cpp" is fine, as long as it's the same everywhere.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira