Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| java:portlint [2005/03/01 17:10] – Fix typos and case HerveQuiroz | java:portlint [2017/09/18 06:51] (current) – renamed from JavaPortlint KubilayKocak | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| I am no Perl hacker nor I have time to learn Perl for now. Still there are many Java related sanity checks that could be performed by portlint. I will list them here just in case some volunteer shows up... | I am no Perl hacker nor I have time to learn Perl for now. Still there are many Java related sanity checks that could be performed by portlint. I will list them here just in case some volunteer shows up... | ||
| - | |||
| - | ==== bsd.java.mk 2.0 syntax ==== | ||
| - | |||
| - | **WHEN:** defined(_USE_BSD_JAVA_MK_1_0) | ||
| - | |||
| - | **LEVEL:** Warning (but will soon be Critical) | ||
| - | |||
| - | **MESSAGE: | ||
| ==== Use of Java features without USE_JAVA ==== | ==== Use of Java features without USE_JAVA ==== | ||
| Line 18: | Line 10: | ||
| **MESSAGE: | **MESSAGE: | ||
| - | |||
| - | ==== Use of Ant and GNU Make ==== | ||
| - | |||
| - | **WHEN:** defined(USE_ANT) && defined(USE_GMAKE) | ||
| - | |||
| - | **LEVEL:** Warning | ||
| - | |||
| - | **MESSAGE: | ||
| - | |||
| - | ==== Use of Ant and do-build ==== | ||
| - | |||
| - | **WHEN:** defined(USE_ANT) && target(do-build) | ||
| - | |||
| - | **LEVEL:** Critical | ||
| - | |||
| - | **MESSAGE: | ||
| ==== Use of Java features without the ' | ==== Use of Java features without the ' | ||
| Line 42: | Line 18: | ||
| **MESSAGE: | **MESSAGE: | ||
| - | |||
| - | ==== Only ' | ||
| - | |||
| - | **WHEN:** '' | ||
| - | |||
| - | **LEVEL:** Critical | ||
| - | |||
| - | **MESSAGE: | ||
| - | |||
| - | ==== ' | ||
| - | |||
| - | **WHEN:** echo " | ||
| - | |||
| - | **LEVEL:** Warning | ||
| - | |||
| - | **MESSAGE: | ||
| - | |||
| - | //NOTE: This check is only to be performed for new ports// | ||
| ==== NO_BUILD and JAVA_BUILD ==== | ==== NO_BUILD and JAVA_BUILD ==== | ||
| Line 102: | Line 60: | ||
| **MESSAGE: | **MESSAGE: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | //Now that 1.0 syntax support, was removed from bsd.java.mk, | ||
| + | |||
| + | ==== Syntax for USE_JAVA ==== | ||
| + | |||
| + | **WHEN:** USE_JAVA is not of the form '' | ||
| + | |||
| + | **LEVEL:** Critical | ||
| + | |||
| + | **MESSAGE: | ||
| + | |||
| + | ==== Use of %%JAVAJARDIR%% in pkg-plist ==== | ||
| + | |||
| + | **WHEN:** pkg-plist contains '' | ||
| + | |||
| + | **LEVEL:** Critical | ||
| + | |||
| + | **MESSAGE: | ||
| + | |||
| + | ==== Use of %%JAVAJARDIR%% in rc scripts ==== | ||
| + | |||
| + | **WHEN:** some file as ${FILESDIR}/ | ||
| + | |||
| + | **LEVEL:** Warning | ||
| + | |||
| + | **MESSAGE: | ||