Re: [Scalawithsails-users] Problems with rev 16
Status: Pre-Alpha
Brought to you by:
dpp
From: David P. <dp...@at...> - 2007-01-09 00:58:55
|
Tobias, Sorry it took so long, I've created a Maven repository with the correct resources (Scala 2.3.1) in it. Please do an SVN update, a mvn install in the top directory of SwS and let me know if that works. Thanks, David Tobias Gerdin wrote: > Hi there, > > Thought I'd try out Sails but I ran into some initial problems... I > admit I'm not all that familiar with Maven but following the > instructions in main/readme.txt, I had problems with "mvn install". > The first time I ran it it complained about scala-compiler, scala- > library and scala-actors. I'm on Scala 2.3.1 on Mac OS X and believe > the files Maven was looking for were already present in the sbaz/lib > directory (/usr/local/share/scala/lib on a UNIX system), that is > scala-(compiler|actors|library).jar files. As indicated by Maven I > then pointed Maven to them manually. However, "mvn jetty:run" from > the scalawithsails-example dir complains it can't find with > scalawithsails-core, or more precisely: > > Downloading: http://millstone.iodp.tamu.edu/maven2/com/scalawithsails/ > scalawithsails-core/0.0.4/scalawithsails-core-0.0.4.jar > [WARNING] Unable to get resource from repository maven2.iodp.usio > (http://millstone.iodp.tamu.edu/maven2) > Downloading: http://repo1.maven.org/maven2/com/scalawithsails/ > scalawithsails-core/0.0.4/scalawithsails-core-0.0.4.jar > [WARNING] Unable to get resource from repository central (http:// > repo1.maven.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) com.scalawithsails:scalawithsails-core:jar:0.0.4 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.scalawithsails - > DartifactId=scalawithsails-core \ > -Dversion=0.0.4 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) com.scalawithsails:scalawithsails-example:war:0.0.4 > 2) com.scalawithsails:scalawithsails-core:jar:0.0.4 > > ---------- > 1 required artifact is missing. > > for artifact: > com.scalawithsails:scalawithsails-example:war:0.0.4 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > maven2.iodp.usio (http://millstone.iodp.tamu.edu/maven2) > > ------ snip > > For kicks I tried to do "mvn install" from the main directory again, > and then mvn starts to complain about the following: > > ----------------------------------------------------- > this realm = app0.child-container[iodp.usio:maven-scala-plugin] > urls[0] = file:/Users/tgerdin/.m2/repository/iodp/usio/maven-scala- > plugin/1.0/maven-scala-plugin-1.0.jar > Number of imports: 0 > > > this realm = plexus.core.maven > urls[0] = file:/Users/tgerdin/maven/lib/commons-cli-1.0.jar > urls[1] = file:/Users/tgerdin/maven/lib/doxia-sink-api-1.0-alpha-7.jar > urls[2] = file:/Users/tgerdin/maven/lib/jsch-0.1.24.jar > urls[3] = file:/Users/tgerdin/maven/lib/maven-artifact-2.0.4.jar > urls[4] = file:/Users/tgerdin/maven/lib/maven-artifact-manager-2.0.4.jar > urls[5] = file:/Users/tgerdin/maven/lib/maven-core-2.0.4.jar > urls[6] = file:/Users/tgerdin/maven/lib/maven-error- > diagnostics-2.0.4.jar > urls[7] = file:/Users/tgerdin/maven/lib/maven-model-2.0.4.jar > urls[8] = file:/Users/tgerdin/maven/lib/maven-monitor-2.0.4.jar > urls[9] = file:/Users/tgerdin/maven/lib/maven-plugin-api-2.0.4.jar > urls[10] = file:/Users/tgerdin/maven/lib/maven-plugin- > descriptor-2.0.4.jar > urls[11] = file:/Users/tgerdin/maven/lib/maven-plugin-parameter- > documenter-2.0.4.jar > urls[12] = file:/Users/tgerdin/maven/lib/maven-plugin-registry-2.0.4.jar > urls[13] = file:/Users/tgerdin/maven/lib/maven-profile-2.0.4.jar > urls[14] = file:/Users/tgerdin/maven/lib/maven-project-2.0.4.jar > urls[15] = file:/Users/tgerdin/maven/lib/maven-reporting-api-2.0.4.jar > urls[16] = file:/Users/tgerdin/maven/lib/maven-repository- > metadata-2.0.4.jar > urls[17] = file:/Users/tgerdin/maven/lib/maven-settings-2.0.4.jar > urls[18] = file:/Users/tgerdin/maven/lib/plexus-interactivity-api-1.0- > alpha-4.jar > urls[19] = file:/Users/tgerdin/maven/lib/wagon-file-1.0-alpha-7.jar > urls[20] = file:/Users/tgerdin/maven/lib/wagon-http-lightweight-1.0- > alpha-6.jar > urls[21] = file:/Users/tgerdin/maven/lib/wagon-provider-api-1.0- > alpha-6.jar > urls[22] = file:/Users/tgerdin/maven/lib/wagon-ssh-1.0-alpha-7.jar > urls[23] = file:/Users/tgerdin/maven/lib/wagon-ssh-external-1.0- > alpha-6.jar > Number of imports: 0 > > this realm = plexus.core > urls[0] = file:/Users/tgerdin/maven/core/plexus-container-default-1.0- > alpha-9.jar > urls[1] = file:/Users/tgerdin/maven/core/plexus-utils-1.1.jar > Number of imports: 0 > ----------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Internal error in the plugin manager executing goal > 'iodp.usio:maven-scala-plugin:1.0:compile': Unable to find the mojo > 'iodp.usio:maven-scala-plugin:1.0:compile' in the plugin > 'iodp.usio:maven-scala-plugin' > iodp/usio/ScalaCompileMojo (Unsupported major.minor version 49.0) > > ---- snip > > Sorry for this long mail but I figured some diagnostic information > would prove useful. As mentioned in the subject, I'm on revision 16 > from the SVN repositiory. > > Anyways, Sails looks interesting, I hope we can figure this out so I > can play around with it. > > > Regards, > > Tobias > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Scalawithsails-users mailing list > Sca...@li... > https://lists.sourceforge.net/lists/listinfo/scalawithsails-users > -- Blog: http://blog.lostlake.org |