mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +03:00
JAVA: Unified Java Example names
Unified all Java examples to *match* <LIBRARY>[_otherstuf]_Example.java. Note, a handful of the examples have a pseudo-random string for the first component (see FlexSensor_Example.java, ideally this would be Flex_Example.java). This commit allows for quick development on a single sensor library since a -DMODULE_LIST=mysensorlib now works with Java examples (previously Java examples would fail generation when using MODULE_LIST). * Renamed examples * Updated class names * Updated library descriptor .json files * Updated sample mapping file TODO: Make this work like the C/C++ examples - grab the target library name from the filename and grab all dependencies from that target library. Fix the handful of example names which don't conform. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -1,32 +1,32 @@
|
||||
{
|
||||
"Library": "lol",
|
||||
"Description": "API for the Olimex LoL Array",
|
||||
"Sensor Class":
|
||||
{
|
||||
"LoL":
|
||||
{
|
||||
"Name": "Lots of LEDs (LoL) Array Rev A",
|
||||
"Description": "This module defines the LoL API and implementation for a simple framebuffer.",
|
||||
"Aliases": ["lol"],
|
||||
"Categories": ["display"],
|
||||
"Connections": ["gpio"],
|
||||
"Project Type": ["prototyping"],
|
||||
"Manufacturers": ["olimex"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["LoLSample.java", "LoL_exampleSample.java"],
|
||||
"Python": [],
|
||||
"Node.js": [],
|
||||
"C++": ["lol.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.olimex.com/Products/Duino/Shields/SHIELD-LOL/"],
|
||||
"Datasheets": [],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "lol",
|
||||
"Description": "API for the Olimex LoL Array",
|
||||
"Sensor Class":
|
||||
{
|
||||
"LoL":
|
||||
{
|
||||
"Name": "Lots of LEDs (LoL) Array Rev A",
|
||||
"Description": "This module defines the LoL API and implementation for a simple framebuffer.",
|
||||
"Aliases": ["lol"],
|
||||
"Categories": ["display"],
|
||||
"Connections": ["gpio"],
|
||||
"Project Type": ["prototyping"],
|
||||
"Manufacturers": ["olimex"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["LoL_Example.java", "LoL_example_Example.java"],
|
||||
"Python": [],
|
||||
"Node.js": [],
|
||||
"C++": ["lol.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.olimex.com/Products/Duino/Shields/SHIELD-LOL/"],
|
||||
"Datasheets": [],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user