Fixing Struts 2 build for OSX

WW-1588


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@494148 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald J. Brown
2007-01-08 18:41:13 +00:00
parent 8c9106addb
commit 7928ea7792
5 changed files with 27 additions and 4 deletions
+19
View File
@@ -226,6 +226,25 @@
</plugins>
</build>
</profile>
<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}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>
@@ -39,4 +39,8 @@ public class DivDirective extends AbstractDirective {
protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new Div(stack, req, res);
}
public int getType() {
return BLOCK;
}
}
@@ -2762,7 +2762,7 @@
<name>doubleListKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description><![CDATA[The key expression to use for second list]]></description>
<description><![CDATA[Set the list key of the second attribute]]></description>
</attribute>
<attribute>
<name>doubleListValue</name>
@@ -4958,7 +4958,7 @@
<name>doubleListKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description><![CDATA[The key expression to use for second list]]></description>
<description><![CDATA[Set the list key of the second attribute]]></description>
</attribute>
<attribute>
<name>doubleListValue</name>
@@ -137,7 +137,7 @@ Please do not edit it directly.
<td align="left" valign="top"></td>
<td align="left" valign="top">true</td>
<td align="left" valign="top">String</td>
<td align="left" valign="top">The key expression to use for second list</td>
<td align="left" valign="top">Set the list key of the second attribute</td>
</tr>
<tr>
<td align="left" valign="top">doubleListValue</td>
@@ -241,7 +241,7 @@ Please do not edit it directly.
<td align="left" valign="top"></td>
<td align="left" valign="top">true</td>
<td align="left" valign="top">String</td>
<td align="left" valign="top">The key expression to use for second list</td>
<td align="left" valign="top">Set the list key of the second attribute</td>
</tr>
<tr>
<td align="left" valign="top">doubleListValue</td>