Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 34341 invoked from network); 26 Jul 2007 17:47:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2007 17:47:32 -0000 Received: (qmail 49451 invoked by uid 500); 26 Jul 2007 17:47:29 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 49434 invoked by uid 500); 26 Jul 2007 17:47:29 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 49423 invoked by uid 99); 26 Jul 2007 17:47:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 10:47:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 10:47:27 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IE7QY-00034C-Ti for dev@struts.apache.org; Thu, 26 Jul 2007 10:47:06 -0700 Message-ID: <11815681.post@talk.nabble.com> Date: Thu, 26 Jul 2007 10:47:06 -0700 (PDT) From: mraible To: dev@struts.apache.org Subject: Re: Maven dependencies and tools.jar In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: matt@raibledesigns.com References: <11813371.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Could this happen if the user has their JAVA_HOME pointing to the JRE instead of the JDK? Matt Musachy Barroso wrote: > > The reference to tools.jar is used to build the tld file, so it is > only a build time dependency. Wasn't this fixed long time ago? > > musachy > > On 7/26/07, James Mitchell wrote: >> It's hard to say without knowing exactly how they are trying to build >> it and on what OS, JVM, etc. >> >> The reference to tools.jar that I can find is in core (as you >> mentioned) and it's only used if you are enabling the 'default- >> tools.jar' profile. If that's the case, then this user needs to >> ensure that they have the correct jar in the correct place or change >> the pom.xml to reflect their system. (struts2/core/pom.xml) >> >> The first thing that jumps out at me is to ask if this user is on a >> Mac, if so, then this path to tools.jar will never work. >> >> http://developer.apple.com/documentation/Java/Conceptual/ >> Java14Development/02-JavaDevTools/JavaDevTools.html >> >> >> This would be for OS/X... >> >> >> default-tools.jar >> >> >> java.vendor >> Sun Microsystems Inc. >> >> >> >> >> com.sun >> tools >> 1.5.0 >> system >> ${java.home}/../Classes/classes.jar> systemPath> >> >> >> >> >> >> I use a Mac, but I do not have to do the above, it builds fine for >> me....not sure what this guy/gal is doing. >> >> >> >> >> -- >> James Mitchell >> >> >> >> On Jul 26, 2007, at 11:51 AM, mraible wrote: >> >> > >> > Mornin' fellas, >> > >> > An AppFuse user reported the following issue with Struts 2.0.9 today: >> > >> > >> > >> >> I am tried to build my application with Maven 2.0.7 and I got this >> >> error: >> >> >> >> 26/07/07 12h36min59s GMT-03:00: 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) br.com.bluesoft.tec2:tec2-web:war:2.0.0 >> >> 2) org.apache.struts:struts2-core:jar:2.0.9 >> >> 3) com.sun:tools:jar:1.5.0 >> >> 1 required artifact is missing. >> >> for artifact: >> >> br.com.bluesoft.tec2:tec2-web:war:2.0.0 >> >> from the specified remote repositories: >> >> appfuse (http://static.appfuse.org/repository), >> >> central (http://repo1.maven.org/maven2), >> >> bluesoft (http://www.bluesoft.com.br/maven2) >> >> >> > >> > Does Struts 2 have a dependency on tools.jar? If so, shouldn't >> > something >> > like the following be used? >> > >> > http://maven.apache.org/general.html#tools-jar-dependency >> > >> > Thanks, >> > >> > Matt >> > -- >> > View this message in context: http://www.nabble.com/Maven- >> > dependencies-and-tools.jar-tf4152498.html#a11813371 >> > Sent from the Struts - Dev mailing list archive at Nabble.com. >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org >> > For additional commands, e-mail: dev-help@struts.apache.org >> > >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org >> For additional commands, e-mail: dev-help@struts.apache.org >> >> > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Maven-dependencies-and-tools.jar-tf4152498.html#a11815681 Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org