public class ApplicationPropertyConstantCreator extends Object
| Constructor and Description |
|---|
ApplicationPropertyConstantCreator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Generates a .java file containing constants for all the
Properties defined in
the given application.xml. |
public static void main(String[] args) throws IOException, JAXBException
Properties defined in
the given application.xml. Tries to read the name and the version from pom.xml that should be
located two folders above (../../) of the application.xml.args - args[0] - the path to application.xml (required)IOException - if the file can not be found or the target class can not be writtenJAXBException - if the file can not unmarshalledIllegalArgumentException - if one of the parameters is missingCopyright © 2011–2023 aiticon GmbH. All rights reserved.