Issue #515 Alternate start modules

Deprecated warning if [Name] used
This commit is contained in:
Greg Wilkins 2016-04-28 11:40:10 +10:00
parent 092ed57a17
commit 728e0a7d57
3 changed files with 9 additions and 0 deletions

View File

@ -344,6 +344,9 @@ public class Module
_license.add(line);
break;
case "NAME":
StartLog.warn("Deprecated [Name] used in %s",basehome.toShortForm(_path));
_provides.add(line);
break;
case "PROVIDE":
case "PROVIDES":
_provides.add(line);

View File

@ -1,2 +1,5 @@
[name]
dynamic
[ini]
dynamic=1.7.0_31-from-mod

View File

@ -1,2 +1,5 @@
[name]
dynamic
[ini]
dynamic=1.8.0_05_from_mod