Announcement Announcement Module
Collapse
No announcement yet.
Custom web port in generated code Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom web port in generated code

    I've been working my way through the example at http://blog.springsource.com/2009/05/27/roo-part-2/ and have run into a bit of a snag. It's something I can work around, but it's a pain and it's something that I could see being more of an issue in actual projects.

    I have Tomcat running on port 8180 rather than the usual 8080 since I also have an OC4J container which is already using that. I have my maven.tomcat.port set in settings.xml, so it starts up no problem with mvn tomcat:run.

    However, when I use Roo to generate Selenium tests, it still puts the default port of 8080 in the generated code. Is there somewhere in Roo (or elsewhere) to customize that?

    Thanks.

  • #2
    Give this a try:

    Code:
    selenium test --controller ~.web.RsvpController --serverUrl http://localhost:8180/
    Good luck. Hope you enjoy using Roo. :-)

    Comment


    • #3
      Great, that works. Thanks!

      Comment

      Working...
      X