creating Riot CMS Spring Java project

The steps used for creating Riot CMS Spring Java project

  1. I created Java dynamic project called newRiotDemo and put setup.xml (riotfamily.org/setup.xml) in WebContent
  2. Then ran wget riotfamily.org/setup.xml && ant -f setup.xml terminal
  3. Then refreshed project.put index.html in Webcontent.
  4. no exception in console,no markers now but not getting my desired admin page while giving localhost:8080/newRiotDemo/riot (Refernce-->http://www.riotfamily.org/docs/quickstart.html)

Can anyone help me on how to proceed further? Where should we include riot code obtained from https://github.com/riotfamily/riot/downloads

Answers


Hi,

I tried following commands in terminal==>

mkdir my-riot cd my-riot git clone git://github.com/riotfamily/riot.git

git clone git://github.com/riotfamily/riot-skeleton.git

cd riot

git checkout 9.0.x

ant install-release

cd ../riot-skeleton

git checkout 9.0.x & then ant war

Output obtained==> riot-skeleton.jar & riot-skeleton-mysystemloginname.war & classes folder in build folder

Then I imported the above riot-skeleton-mysystemloginname.war into eclipse & got localhost:8080/riot-skeleton-mysystemloginname/home/ page in browser.

While logging in as admin,admin localhost:8080/riot-skeleton-mysystemloginname/riot/,am able to see Toolbar in Pets & home page too. NB:-If you face,"CSRF SECURITY ERROR" just put this code in riot-servlet.xml:

        <override:properties ref="dwrController">
         <property name="configParams">
           <props>
          <prop key="crossDomainSessionSecurity">false</prop>
           </props>
           </property>
        </override:properties>

I hope that solution will be useful to someone.


Need Your Help

Angular JS Unknown Provider Error

angularjs angularjs-service angularjs-factory

I am getting this error in my angular js app and can't figure out what's causing the problem. It seems to be a common issue but all my troubleshooting hasn't helped at all. If anyone can point to w...

Xcode 7 swiftc failed with exit code 1

swift2 runtime-error ios9 xcode7.1

I've downloaded code from Apple Sample Source Code and try to run on Xcode 7.1 and OS X 10.11.1. I'm getting error as SwiftC failed with exit code 1. I've tried all solutions mentioned on Stackover...