Heroku

17 views
Skip to first unread message

Justin Knotzke

unread,
May 9, 2012, 4:15:19 PM5/9/12
to cometd...@googlegroups.com

  Hi

  Has anyone tried to publish a cometd application to Heroku ? Any comments or experiences you'd like to share ?

  Thanks

  J

Justin Knotzke

unread,
May 18, 2012, 3:14:15 PM5/18/12
to cometd...@googlegroups.com

  Hi

  After doing some research and some digging, getting this to work is quite easy:

   You need to add the following to your pom.xml

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.4</version>
                <executions>
                    <execution>
                        <id>copy-dependencies</id>
                        <phase>package</phase>
                        <goals><goal>copy-dependencies</goal></goals>
                    </execution>
                </executions>
            </plugin>

  Then read and follow:


  Start from the section that says "Add Jetty Runner" and everything should work.. I didn't have to do much else then this.. other then opening a Heroku account etc..

  So far my app appears to be working relatively well.

  J




---
Justin Knotzke
Mobile 514 825-3552

--
You received this message because you are subscribed to the Google Groups "cometd-users" group.
To post to this group, send email to cometd...@googlegroups.com
To unsubscribe from this group, send email to cometd-users...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cometd-users
 
Visit the CometD website at http://www.cometd.org

Simone Bordet

unread,
May 22, 2012, 4:17:50 AM5/22/12
to cometd...@googlegroups.com
Hi Justin,

On Fri, May 18, 2012 at 9:14 PM, Justin Knotzke <jkno...@shampoo.ca> wrote:
>
>   Hi
>
>   After doing some research and some digging, getting this to work is quite
> easy:
>
>    You need to add the following to your pom.xml
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-dependency-plugin</artifactId>
> <version>2.4</version>
> <executions>
> <execution>
> <id>copy-dependencies</id>
> <phase>package</phase>
> <goals><goal>copy-dependencies</goal></goals>
> </execution>
> </executions>
> </plugin>
>
>
>   Then read and follow:
>
>   https://devcenter.heroku.com/articles/spring-mvc-hibernate
>
>   Start from the section that says "Add Jetty Runner" and everything should
> work.. I didn't have to do much else then this.. other then opening a Heroku
> account etc..
>
>   So far my app appears to be working relatively well.

Great news, thanks for the update !

Simon
--
http://cometd.org
http://intalio.com
http://bordet.blogspot.com
----
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz
Reply all
Reply to author
Forward
0 new messages