This is a known issue with Candy for AppFuse that can be tracked to the JRE used to run eclipse.
When using Candy for AppFuse, you are not using the mvn command, but the an embedded maven. This means that maven is run with the same jre/jdk you use to run eclipse. For the build to work, you need to use a JDK. Some people reported success by defining the java.home property when launching eclipse[1]. Other people reported needing to put the JDK bin folder in their path [2]. Another option would be to follow maven's advice and install tools.jar in your local repo. That will allow you to run eclipse with any runtime (in theory, this hasn't been tested). There's also some information in the forums: http://sourceforge.net/forum/message.php?msg_id=4298641 [1] http://sourceforge.net/tracker/index.php?func=detail&aid=1697580&group_id=192415&atid=941302 [2] http://sourceforge.net/tracker/index.php?func=detail&aid=1706966&group_id=192415&atid=941302 Thanks for test-driving Candy for AppFuse! jpoley wrote: > > I am trying to use Candy 4 appfuse, but I am getting this message > > > 6/6/07 1:53:49 PM EDT: Reading /psm/pom.xml > 6/6/07 1:53:50 PM EDT: Missing: > 1) com.sun:tools:jar:1.5.0 > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=com.sun -DartifactId=tools \ > -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file > Path to dependency: > 1) com.mycompany:psm:war:1.0-SNAPSHOT > 2) org.appfuse:appfuse-struts:warpath:2.0-m5 > 3) org.apache.struts:struts2-core:jar:2.0.6 > 4) com.sun:tools:jar:1.5.0 > 1 required artifact is missing. > for artifact: > com.mycompany:psm:war:1.0-SNAPSHOT > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > appfuse (http://static.appfuse.org/repository) > > however i do have tools.jar in my jdk install (and it is mapped into > eclipse) > not sure why maven is complaining > -- View this message in context: http://www.nabble.com/candy-4-appfuse-tf3879414s2369.html#a10995904 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
