1.1 --- a/boot-truffle/pom.xml Fri Jul 01 23:34:06 2016 +0200
1.2 +++ b/boot-truffle/pom.xml Sat Jul 02 08:40:14 2016 +0200
1.3 @@ -13,6 +13,7 @@
1.4 <properties>
1.5 <netbeans.compile.on.save>NONE</netbeans.compile.on.save>
1.6 <publicPackages>net.java.html.boot.truffle</publicPackages>
1.7 + <trufflejs>${java.home}/language/js/trufflejs.jar</trufflejs>
1.8 </properties>
1.9 <build>
1.10 <plugins>
1.11 @@ -116,4 +117,23 @@
1.12 <type>jar</type>
1.13 </dependency>
1.14 </dependencies>
1.15 -</project>
1.16 \ No newline at end of file
1.17 + <profiles>
1.18 + <profile>
1.19 + <id>graalvm</id>
1.20 + <activation>
1.21 + <file>
1.22 + <exists>${trufflejs}</exists>
1.23 + </file>
1.24 + </activation>
1.25 + <dependencies>
1.26 + <dependency>
1.27 + <groupId>com.oracle.graaljs</groupId>
1.28 + <artifactId>truffle-js</artifactId>
1.29 + <version>0.07</version>
1.30 + <systemPath>${trufflejs}</systemPath>
1.31 + <scope>system</scope>
1.32 + </dependency>
1.33 + </dependencies>
1.34 + </profile>
1.35 + </profiles>
1.36 +</project>