Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Exclude .java files from jar.
  • Loading branch information
sebastic committed Feb 9, 2018
1 parent 739c4de commit d8dfde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapscript/java/CMakeLists.txt
Expand Up @@ -21,7 +21,7 @@ ADD_CUSTOM_COMMAND(TARGET javamapscript
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
POST_BUILD
COMMAND ${Java_JAVAC_EXECUTABLE} edu/umn/gis/mapscript/*.java
COMMAND ${Java_JAR_EXECUTABLE} cf mapscript.jar edu
COMMAND ${Java_JAR_EXECUTABLE} cf mapscript.jar edu/umn/gis/mapscript/*.class
COMMENT "Compiling java source files, creating mapscript.jar"
)

Expand Down

0 comments on commit d8dfde1

Please sign in to comment.