[jira] Created: (AMQCPP-17) Visual Studio project files shouldn't contain absolute include paths

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

[jira] Created: (AMQCPP-17) Visual Studio project files shouldn't contain absolute include paths

JIRA jira@apache.org
Visual Studio project files shouldn't contain absolute include paths
--------------------------------------------------------------------

                 Key: AMQCPP-17
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-17
             Project: ActiveMQ C++ Client
          Issue Type: Improvement
            Reporter: Albert Strasheim
         Assigned To: Nathan Mittler
            Priority: Minor
         Attachments: vspaths.diff

The Visual Studio 2005 project files contain some absolute paths to ActiveMQ includes that should simply be paths relative to the project files.

Patch for main library and example attached. Tests probably need to still be fixed.

--
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-17) Visual Studio project files shouldn't contain absolute include paths

JIRA jira@apache.org
    [ https://issues.apache.org/activemq/browse/AMQCPP-17?page=comments#action_37569 ]
           
Albert Strasheim commented on AMQCPP-17:
----------------------------------------

Patch has a bit of an issue. Seems Visual Studio gets confused about the paths to Queue.h because there are two Queue.h files in cms and activemq/util.

The best thing to do in this case is probably to add two filters underneath Header Files, one for CMS headers and one for the ActiveMQ headers. And the same for the source files.

> Visual Studio project files shouldn't contain absolute include paths
> --------------------------------------------------------------------
>
>                 Key: AMQCPP-17
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-17
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>         Assigned To: Nathan Mittler
>            Priority: Minor
>         Attachments: vspaths.diff
>
>
> The Visual Studio 2005 project files contain some absolute paths to ActiveMQ includes that should simply be paths relative to the project files.
> Patch for main library and example attached. Tests probably need to still be fixed.

--
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] Work started: (AMQCPP-17) Visual Studio project files shouldn't contain absolute include paths

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

Work on AMQCPP-17 started by Timothy Bish.

> Visual Studio project files shouldn't contain absolute include paths
> --------------------------------------------------------------------
>
>                 Key: AMQCPP-17
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-17
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>            Priority: Minor
>         Attachments: vspaths.diff
>
>
> The Visual Studio 2005 project files contain some absolute paths to ActiveMQ includes that should simply be paths relative to the project files.
> Patch for main library and example attached. Tests probably need to still be fixed.

--
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-17) Visual Studio project files shouldn't contain absolute include paths

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

Timothy Bish reassigned AMQCPP-17:
----------------------------------

    Assignee: Timothy Bish  (was: Nathan Mittler)

> Visual Studio project files shouldn't contain absolute include paths
> --------------------------------------------------------------------
>
>                 Key: AMQCPP-17
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-17
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>            Priority: Minor
>         Attachments: vspaths.diff
>
>
> The Visual Studio 2005 project files contain some absolute paths to ActiveMQ includes that should simply be paths relative to the project files.
> Patch for main library and example attached. Tests probably need to still be fixed.

--
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-17) Visual Studio project files shouldn't contain absolute include paths

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org
    [ https://issues.apache.org/activemq/browse/AMQCPP-17?page=comments#action_37592 ]
           
Timothy Bish commented on AMQCPP-17:
------------------------------------

I've committed a new versions of the project files in trunk that I hope addresses your concerns.  Take a look at let me know if they resolve your issues.


> Visual Studio project files shouldn't contain absolute include paths
> --------------------------------------------------------------------
>
>                 Key: AMQCPP-17
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-17
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>            Priority: Minor
>         Attachments: vspaths.diff
>
>
> The Visual Studio 2005 project files contain some absolute paths to ActiveMQ includes that should simply be paths relative to the project files.
> Patch for main library and example attached. Tests probably need to still be fixed.

--
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-17) Visual Studio project files shouldn't contain absolute include paths

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

Problem mostly solved.

You might consider using a different path for CppUnit. If there's a Win32 installer for CppUnit, maybe it can provide some guidance for picking a sensible default path. Otherwise, I'd personally be inclined to go for something like C:\Program Files\CppUnit, or maybe %ProgramFiles%\CppUnit (don't know if MSVS does environment variables).

> Visual Studio project files shouldn't contain absolute include paths
> --------------------------------------------------------------------
>
>                 Key: AMQCPP-17
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-17
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>            Priority: Minor
>         Attachments: vspaths.diff
>
>
> The Visual Studio 2005 project files contain some absolute paths to ActiveMQ includes that should simply be paths relative to the project files.
> Patch for main library and example attached. Tests probably need to still be fixed.

--
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-17) Visual Studio project files shouldn't contain absolute include paths

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

Timothy Bish resolved AMQCPP-17.
--------------------------------

    Resolution: Fixed

I've added a C:\Program Files\CPPUnit\lib to the library search path.  That's about the best I can do because of the many limitation of this product.  The user will more than likely have to tweak some of the hard coded paths as we can't guess where everyone will want to place their libraries.  



> Visual Studio project files shouldn't contain absolute include paths
> --------------------------------------------------------------------
>
>                 Key: AMQCPP-17
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-17
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>         Assigned To: Timothy Bish
>            Priority: Minor
>         Attachments: vspaths.diff
>
>
> The Visual Studio 2005 project files contain some absolute paths to ActiveMQ includes that should simply be paths relative to the project files.
> Patch for main library and example attached. Tests probably need to still be fixed.

--
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