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

Reply via email to