[mapserver-commits] r7230 - trunk/mapserver/mapscript/java
svn at osgeo.org
svn at osgeo.org
Sun Dec 30 16:42:11 EST 2007
Author: tamas
Date: 2007-12-30 16:42:11 -0500 (Sun, 30 Dec 2007)
New Revision: 7230
Modified:
trunk/mapserver/mapscript/java/makefile.vc
Log:
Added the threadtests target
Modified: trunk/mapserver/mapscript/java/makefile.vc
===================================================================
--- trunk/mapserver/mapscript/java/makefile.vc 2007-12-30 09:38:31 UTC (rev 7229)
+++ trunk/mapserver/mapscript/java/makefile.vc 2007-12-30 21:42:11 UTC (rev 7230)
@@ -59,8 +59,16 @@
$(JAVA) -cp ./;examples/;./mapscript.jar -Djava.library.path=. DumpShp ../../tests/point.shp
$(JAVA) -cp ./;examples/;./mapscript.jar -Djava.library.path=. ShapeInfo ..\..\tests\point.shp ..\..\tests\point.dbf
$(JAVA) -cp ./;examples/;./mapscript.jar -Djava.library.path=. DrawMap ..\..\tests\test.map .\map.png
- $(JAVA) -cp ./;examples/;./mapscript.jar -Djava.library.path=. RFC24 ..\..\tests\test.map .\map.png
+ $(JAVA) -cp ./;examples/;./mapscript.jar -Djava.library.path=. RFC24 ..\..\tests\test.map
+threadtests:
+ $(JAVAC) -cp ./mapscript.jar -d tests/threadtest/ tests/threadtest/*.java
+ @echo "-------------------------------------------------------------------------"
+ @echo " You can use your own map! Copy the following command in your shell"
+ @echo " and change the file to the map file (the last argument)"
+ @echo "-------------------------------------------------------------------------"
+ $(JAVA) -cp tests/threadtest/;./mapscript.jar -Djava.library.path=. MapTest -t 10 -i 5 ../../tests/test.map
+
clean:
-del *.obj
-del *.lib
More information about the mapserver-commits
mailing list