Skip to content
Browse files

Generate the symlink used to share test code.

This used to be committed to Git, but that has always caused problems for
Windows users. Maybe now it will be possible to run the tests on Windows...
  • Loading branch information...
1 parent 2bbceca commit e517a5d09fafff92fb826b50a476ef1aa0e64410 @samskivert samskivert committed
Showing with 29 additions and 3 deletions.
  1. +5 −2 .gitignore
  2. +24 −0 html/pom.xml
  3. +0 −1 html/tests/playn/shared/json
View
7 .gitignore
@@ -1,8 +1,8 @@
+*.iml
+.DS_Store
.classpath
.project
-*.iml
.settings
-.DS_Store
target
# /android/
@@ -13,6 +13,9 @@ target
/core/bin
/core/.gwt
+# /html/
+/html/tests/playn/shared/json
+
# /server/
/server/bin
View
24 html/pom.xml
@@ -95,6 +95,30 @@
</configuration>
</plugin>
+ <!-- this symlinks some shared test code into tests/...; we can't commit
+ a symlink in Git (breaks on Windows), so this should be more robust -->
+ <plugin>
+ <groupId>com.pyx4j</groupId>
+ <artifactId>maven-junction-plugin</artifactId>
+ <version>1.0.3</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>link</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <links>
+ <link>
+ <src>${basedir}/../core/tests/playn/shared/json</src>
+ <dst>${basedir}/tests/playn/shared/json</dst>
+ </link>
+ </links>
+ </configuration>
+ </plugin>
+
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
View
1 html/tests/playn/shared/json

0 comments on commit e517a5d

Please sign in to comment.
Something went wrong with that request. Please try again.