You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2007/02/18 21:23:11 UTC

svn commit: r508979 - /tapestry/tapestry5/tapestry-component-report/trunk/pom.xml

Author: hlship
Date: Sun Feb 18 12:23:10 2007
New Revision: 508979

URL: http://svn.apache.org/viewvc?view=rev&rev=508979
Log:
Get the tools.jar onto the classpath when compiling using Sun's JDK (i.e., on the integration server).

Modified:
    tapestry/tapestry5/tapestry-component-report/trunk/pom.xml

Modified: tapestry/tapestry5/tapestry-component-report/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-component-report/trunk/pom.xml?view=diff&rev=508979&r1=508978&r2=508979
==============================================================================
--- tapestry/tapestry5/tapestry-component-report/trunk/pom.xml (original)
+++ tapestry/tapestry5/tapestry-component-report/trunk/pom.xml Sun Feb 18 12:23:10 2007
@@ -117,4 +117,25 @@
       </plugin>
     </plugins>
   </reporting>
+  
+  <profiles>
+    <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>
 </project>