2 Replies Latest reply on Dec 23, 2012 1:17 PM by lincolnthree

    Use the ocpsoft-rewrite plugin?

    brieweb

      I installed the ocpsoft-rewrite plugin, but now I am not sure how to use it. I see no reference to it in my pom.xml. What is the next step after installing the plugin?

       

      $ forge install-plugin ocpsoft-rewrite

       

      What comes next?

        • 1. Re: Use the ocpsoft-rewrite plugin?
          lincolnthree

          I think now you have to type:

           

          `rewrite setup`

          `rewrite create-config <TAB>`

           

          But that's all it does - it just sets up the dependencies and helps you create a barebones config. Then you need to add the rules like Join() and such yourself using the ConfigurationBuilder.addRule() methods.

           

          I hope this is at least a little helpful!

          ~Lincoln

          • 2. Re: Use the ocpsoft-rewrite plugin?
            lincolnthree

            Also, if you are using Forge 1.1.12 and up, you'll be notified of what new commands are available after you install the plugin (I think.)