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 <[EMAIL PROTECTED]> 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... > > <profile> > <id>default-tools.jar</id> > <activation> > <property> > <name>java.vendor</name> > <value>Sun Microsystems Inc.</value> > </property> > </activation> > <dependencies> > <dependency> > <groupId>com.sun</groupId> > <artifactId>tools</artifactId> > <version>1.5.0</version> > <scope>system</scope> > <systemPath>${java.home}/../Classes/classes.jar</ > systemPath> > </dependency> > </dependencies> > </profile> > > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]