You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Manuel Teira (JIRA)" <qp...@incubator.apache.org> on 2008/06/23 11:11:45 UTC

[jira] Commented: (QPID-1131) Refactor cpp/examples directory to be build under autotools

    [ https://issues.apache.org/jira/browse/QPID-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607168#action_12607168 ] 

Manuel Teira commented on QPID-1131:
------------------------------------

I think the examples/Makefile was not svn deleted, shouldn't it be?


> Refactor cpp/examples directory to be build under autotools
> -----------------------------------------------------------
>
>                 Key: QPID-1131
>                 URL: https://issues.apache.org/jira/browse/QPID-1131
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Qpid Examples
>    Affects Versions: M3
>         Environment: Any
>            Reporter: Manuel Teira
>            Assignee: Alan Conway
>            Priority: Minor
>             Fix For: M3
>
>         Attachments: examples.patch
>
>
> Using ad-hoc makefiles for example generation and doesn't seem the best way to go, since autotools machinery is avoided, and they don't generate in all circunstances.
> I've changed it to use autotools, and to generate a proper simple staging Makefile, as expected.
> Also included is the refactoring of the directory hierarchy, unfortunately I'm not able to generate a proper patch since directories were moved, so, I'm including the whole procedure:
> (Some of the svn ops need to be forced):
> cd cpp/examples
> # Remove the current Makefiles, as they will be generated using autotools
> svn remove examples/Makefile
> svn remove examples/direct/Makefile
> svn remove examples/fanout/Makefile
> svn remove examples/pub-sub/Makefile
> svn remove examples/request-response/Makefile
> svn remove examples/xml-exchange/Makefile
> # Bring the examples to the current directory
> svn move README README.verify
> svn move examples/README README
> svn move examples/direct .
> svn move examples/fanout .
> svn move examples/pub-sub .
> svn move examples/xml-exchange .
> #After applying the attached patch
> #Add autotools machinery
> svn add makedist.mk
> svn add examples/direct/Makefile.am
> svn add examples/fanout/Makefile.am
> svn add examples/pub-sub/Makefile.am
> svn add examples/request-response/Makefile.am
> svn add examples/xml-exchange/Makefile.am

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