Try using Chrome with either json view [1] or the more powerful rest console [2].
hopefully you'll get the gist! Cheers Dan [1] https://chrome.google.com/webstore/detail/chklaanhfefbnpoihckbnefhakgolnmc [2] https://chrome.google.com/webstore/detail/cokgbflfommojglbmbpenpphppikmonn On 22 November 2011 17:39, Mike Burton <[email protected]> wrote: > oops... > > Please ignore my hasty comments re ... just gave me JSON text on browser > page... > I know see that this is exactly the point > > Mike > > > On 22 Nov 2011, at 17:32, Mike Burton wrote: > > > Hi Dan, > > > > I had a quick go at this, looks good. > > I found a few problems, some maybe down to config/ environment issues... > > > > When I first ran your suggested: mvn site-deploy -D modules=site -D > deploy=local -o > > it errored with 2 missing artefacts: > > org.apache.isis:applib:jar:0.1.2-RC3-incubating > > org.apache.isis.core:testsupport:jar:0.1.2-RC3-incubating > > > > I found I needed to do the following instead, as per Wiki, which was OK: > > mvn site-deploy -D modules=standard -D site=full -D deploy=local > > > > Looking at the target/site/index.html that this created, the links under > "Isis Modules" all gave "not found", I'm missing these folders under my > local target/site: > > - runtimes/ viewer/ progmodels/ security/ > > Do I need a different mvn command to generate these? > > > > > > Looking in "Presentation Materials" (pdf slides) I tried this command: > > mvn archetype:generate \ > > -D archetypeCatalog=http://incubator.apache.org/isis \ > > -D archetypeGroupId=org.apache.isis.support \ > > -D archetypeArtifactId=quickstart-archetype > > Which seemed to work OK, as per wiki > > > > > > I think I'm missing something re the JSON viewer... > > I built and ran the app as per wiki, then when I did: > > - cd tmp/myapp ; > > - cd quickrun; mvn antrun:run -D exec=json > > an Isis splash-screen appeared briefly, then browsing to > http://localhost:8080/ just showed the JSON as text. > > > > > > Trying the other way to run JSON viewer, after: > > cd viewer-json; mvn jetty:run > > The URI on page: http://incubator.apache.org/isis/quickstart-app.htmlneeds > > correcting, > > instead of: http://localhost:8080/myapp-quickviewer-scimpi > > I needed to do: http://localhost:8080/myapp-viewer-json/ > > Again it just gave me JSON text on browser page. > > > > HTML restful viewer worked (in Safari as well as Firefox) , but gave a > stacktrace when clicking "user" and a few other places. > > As above, page http://incubator.apache.org/isis/quickstart-app.htmlneeds > > changing, > > http://localhost:8080/myapp-quickviewer-xhtml should read: > http://localhost:8080/myapp-viewer-xhtml/ > > > > Mike > > > > > > On 22 Nov 2011, at 00:02, Dan Haywood wrote: > > > >> just as an fyi, I've done some initial work on updating the site. > >> > >> To check it out: > >> - svn up > >> - mvn site-deploy -D modules=site -D deploy=local -o > >> - cd /tmp/m2-sites/isis > >> - open index.html > >> > >> Opinions welcome! > >> > >> Dan > >> > >> > > > >
