Assuming you didn't see any errors as Jetty started up, you should be able
to see various things:

like the base url of Shindig running with Jetty - which would be
localhost:8080

There you would see the "gadgets" subdirectory, which then contains a
"files" subdirectory..
If you don't see these things, then you may not be viewing Shindig.. For
example if something else is already occupying port 8080.
You would've seen an error at startup. Also you can specify the port - info
on how to change the port is in the READMEs.

Also, another typical thing to check after firing up Shindig is the
samplecontainer at:

http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html

If the example gadget renders correctly, then your Shindig build is
operational.

This is also in the READMEs.  Hope this helps!
-Chris

On Mon, May 19, 2008 at 1:34 PM, omri swissa <[EMAIL PROTECTED]> wrote:

> Hi Cassie & Christian,
> Thank you!
> We did as you said and started the jetty server.
> Now, as written in the Shindig site (http://incubator.apache.org/shindig/)
> we tried to use the test Url (
>
> http://localhost:8080/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> )
> and we get:
> ---------------------------------------
>
> *HTTP ERROR: 404*
>
> NOT_FOUND
>
> RequestURI=/gadgets/ifr
>
> *Powered by jetty:// <http://jetty.mortbay.org/>*
>
> ---------------------------------------
>
> Thank you for your fast response,
> Omri
>
> On Mon, May 19, 2008 at 10:31 PM, Christian Schalk <[EMAIL PROTECTED]>
> wrote:
>
> > You can still use "mvn jetty:run-war"
> >
> > but you have to cd to <shindig>/java/server.
> > Though now you can just use the simple hi-level commands which are
> > referenced in the READMEs
> >
> > To build, in the base shindig directory:
> > >mvn
> > or
> > >mvn install
> >
> > and to run:
> > >mvn -Prun
> >
> > Also, I checked out a fresh Shindig a few hours ago, and it still works.
> > :-)
> >
> > -Chris
> >
> >
> >
> > On Mon, May 19, 2008 at 1:19 PM, Cassie <[EMAIL PROTECTED]> wrote:
> >
> > > we no longer use mvn jetty:run-war directly, so you probably want to do
> > > this:
> > >
> > > cd <shindig root>
> > > mvn
> > > mvn -Prun
> > >
> > > This information is also in the BUILD-JAVA file in your main shindig
> > > directory.
> > > Let us know how that goes for you.
> > >
> > > - Cassie
> > >
> > >
> > > On Mon, May 19, 2008 at 10:01 PM, omri swissa <[EMAIL PROTECTED]>
> wrote:
> > > > Hi,
> > > > I'm new to this project, actually I'm new to Java and this
> environment
> > > (I'm
> > > > a very experienced C# developer).
> > > > I tried to get to the point that i can compile, run and test Shindig.
> > > when i
> > > > tried :mvn jetty:run-war I Got:
> > > >
> > >
> >
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > > > [INFO] Scanning for projects...
> > > > [INFO] Searching repository for plugin with prefix: 'jetty'.
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Building Apache Shindig Web App
> > > > [INFO]    task-segment: [jetty:run-war]
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Preparing jetty:run-war
> > > > [INFO] [resources:resources]
> > > > [INFO] Using default encoding to copy filtered resources.
> > > > Downloading:
> > > >
> > >
> >
> http://google-caja.googlecode.com/svn/maven/org/apache/shindig/shindig-gadgets/1-SNAPSHOT/shindig-gadgets-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://oauth.googlecode.com/svn/code/maven/org/apache/shindig/shindig-gadgets/1-SNAPSHOT/shindig-gadgets-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-gadgets/1-SNAPSHOT/shindig-gadgets-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-gadgets/1-SNAPSHOT/shindig-gadgets-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://google-caja.googlecode.com/svn/maven/org/apache/shindig/shindig-social-api/1-SNAPSHOT/shindig-social-api-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://oauth.googlecode.com/svn/code/maven/org/apache/shindig/shindig-social-api/1-SNAPSHOT/shindig-social-api-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-social-api/1-SNAPSHOT/shindig-social-api-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-social-api/1-SNAPSHOT/shindig-social-api-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://google-caja.googlecode.com/svn/maven/org/apache/shindig/shindig-features/1-SNAPSHOT/shindig-features-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://oauth.googlecode.com/svn/code/maven/org/apache/shindig/shindig-features/1-SNAPSHOT/shindig-features-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-features/1-SNAPSHOT/shindig-features-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-features/1-SNAPSHOT/shindig-features-1-SNAPSHOT.pom
> > > > Downloading:
> > > >
> > >
> >
> http://google-caja.googlecode.com/svn/maven/org/apache/shindig/shindig-gadgets/1-SNAPSHOT/shindig-gadgets-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://oauth.googlecode.com/svn/code/maven/org/apache/shindig/shindig-gadgets/1-SNAPSHOT/shindig-gadgets-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-gadgets/1-SNAPSHOT/shindig-gadgets-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-gadgets/1-SNAPSHOT/shindig-gadgets-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://google-caja.googlecode.com/svn/maven/org/apache/shindig/shindig-social-api/1-SNAPSHOT/shindig-social-api-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://oauth.googlecode.com/svn/code/maven/org/apache/shindig/shindig-social-api/1-SNAPSHOT/shindig-social-api-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-social-api/1-SNAPSHOT/shindig-social-api-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-social-api/1-SNAPSHOT/shindig-social-api-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://google-caja.googlecode.com/svn/maven/org/apache/shindig/shindig-features/1-SNAPSHOT/shindig-features-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://oauth.googlecode.com/svn/code/maven/org/apache/shindig/shindig-features/1-SNAPSHOT/shindig-features-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-features/1-SNAPSHOT/shindig-features-1-SNAPSHOT.jar
> > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/shindig/shindig-features/1-SNAPSHOT/shindig-features-1-SNAPSHOT.jar
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Failed to resolve artifact.
> > > >
> > > > Missing:
> > > > ----------
> > > > 1) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT
> > > >
> > > >  Try downloading the file manually from the project website.
> > > >
> > > >  Then, install it using the command:
> > > >      mvn install:install-file -DgroupId=org.apache.shindig
> > > > -DartifactId=shindig-gadgets -Dversion=1-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=/path/to/file
> > > >
> > > >  Alternatively, if you host your own repository you can deploy the
> file
> > > > there:
> > > >      mvn deploy:deploy-file -DgroupId=org.apache.shindig
> > > > -DartifactId=shindig-gadgets -Dversion=1-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> > > >
> > > >  Path to dependency:
> > > >        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
> > > >        2) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT
> > > >
> > > > 2) org.apache.shindig:shindig-social-api:jar:1-SNAPSHOT
> > > >
> > > >  Try downloading the file manually from the project website.
> > > >
> > > >  Then, install it using the command:
> > > >      mvn install:install-file -DgroupId=org.apache.shindig
> > > > -DartifactId=shindig-social-api -Dversion=1-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=/path/to/file
> > > >
> > > >  Alternatively, if you host your own repository you can deploy the
> file
> > > > there:
> > > >      mvn deploy:deploy-file -DgroupId=org.apache.shindig
> > > > -DartifactId=shindig-social-api -Dversion=1-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> > > >
> > > >  Path to dependency:
> > > >        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
> > > >        2) org.apache.shindig:shindig-social-api:jar:1-SNAPSHOT
> > > >
> > > > 3) org.apache.shindig:shindig-features:jar:1-SNAPSHOT
> > > >
> > > >  Try downloading the file manually from the project website.
> > > >
> > > >  Then, install it using the command:
> > > >      mvn install:install-file -DgroupId=org.apache.shindig
> > > > -DartifactId=shindig-features -Dversion=1-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=/path/to/file
> > > >
> > > >  Alternatively, if you host your own repository you can deploy the
> file
> > > > there:
> > > >      mvn deploy:deploy-file -DgroupId=org.apache.shindig
> > > > -DartifactId=shindig-features -Dversion=1-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> > > >
> > > >  Path to dependency:
> > > >        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
> > > >        2) org.apache.shindig:shindig-features:jar:1-SNAPSHOT
> > > >
> > > > ----------
> > > > 3 required artifacts are missing.
> > > >
> > > > for artifact:
> > > >  org.apache.shindig:shindig-server:war:1-SNAPSHOT
> > > >
> > > > from the specified remote repositories:
> > > >  oauth (http://oauth.googlecode.com/svn/code/maven),
> > > >  central (http://repo1.maven.org/maven2),
> > > >  apache-incubating (
> > http://people.apache.org/repo/m2-snapshot-repository
> > > ),
> > > >  apache.snapshots (
> > http://people.apache.org/repo/m2-snapshot-repository
> > > ),
> > > >  caja (http://google-caja.googlecode.com/svn/maven)
> > > >
> > > >
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] For more information, run Maven with the -e switch
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Total time: 12 seconds
> > > > [INFO] Finished at: Mon May 19 21:53:51 GMT+02:00 2008
> > > > [INFO] Final Memory: 5M/11M
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > >
> > >
> >
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > > >
> > > > Can someone help me with that?
> > > >
> > > >
> > > > Thank you,
> > > > Omri
> > > >
> > >
> >
> >
> >
> > --
> > Chris Schalk, Google Developer Advocate
> >
>



-- 
Chris Schalk, Google Developer Advocate

Reply via email to