summaryrefslogtreecommitdiffstats
path: root/Tests/Java
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Bump CMake minimum required in tests to 3.5Brad King2023-03-011-1/+1
| | | | | | | | | | | | | | | | | | | CMake 3.27 deprecates compatibility with CMake < 3.5. Update tests that do not cover older interfaces to avoid the deprecation warning. Follow the pattern from: * commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions, 2020-06-15, v3.19.0-rc1~629^2~1) * commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12, 2020-12-22, v3.20.0-rc1~224^2) * commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12, 2021-04-04, v3.21.0-rc1~372^2) Also remove explicit `cmake_policy` settings made redundant by the version.
* UseJava: Add RESOURCES with NAMESPACE to add_jar()Smit tay2021-05-103-0/+56
| | | | | | | | | | | add_jar() currently requires (undocumented) that resources be supplied as relative paths. The resources *may* then end up in a path which does not reflect the original path particularly when performing out-of-source builds. This change adds a RESOURCE (and NAMESPACE) parameter and a function to add the names resources into the named namespace within the jar- and thus address both of these problems. Fixes: #22101
* Tests: bump cmake_minimum_required version to 2.8.12Rolf Eike Beer2021-04-051-1/+1
| | | | | This needlessly produces warnings during the test runs that no-one sees but that are distracting when actually inspecting the logs.
* FindJava: tests clean-upMarc Chevrier2019-10-021-0/+9
|
* UseJava: OUTPUT_DIR must exists in all cases.Marc Chevrier2017-10-101-0/+3
| | | | Fixes: #17316
* Tests/Java: Clean up style of Java test codeMatthew Woehlke2016-06-072-12/+12
|
* UseJava: Teach add_jar to support file syntax for sourcesMarc Chevrier2015-08-041-0/+4
|
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-132-4/+4
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Tests: Java tests should test UseJava.cmakeAndreas Schneider2011-03-291-39/+6
|
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* BUG: For in-source version do not use a custom command output and custom ↵Brad King2007-06-271-1/+1
| | | | target with the same name. This accidentally worked before but with a circular dependency.
* STYLE: add some more output, so it is easier to understandAlexander Neundorf2007-06-211-5/+10
| | | | Alex
* ENH: create the correct jar nameBill Hoffman2006-04-241-1/+1
|
* ENH: use the right name for the testBill Hoffman2006-04-231-3/+3
|
* ENH: fix buildBill Hoffman2006-04-231-8/+9
|
* ENH: fix in source build for vs ideBill Hoffman2006-04-221-0/+5
|
* try and get this java test to workBill Hoffman2004-09-242-15/+1
|
* ENH: add some java code to try and find the system pathBill Hoffman2004-09-242-0/+16
|
* ENH: remove classpath so that this test passes with older java compilers ↵Bill Hoffman2004-09-241-2/+0
| | | | that clober the system class path with the -classpath option
* use verbose makefilesBill Hoffman2004-09-221-0/+1
|
* ENH: major changes to support addition of languages from cmake modules ↵Bill Hoffman2004-09-223-0/+51
directory.