The internal representation of a single group file (which must end in . stg ). If we fail to find a group file, look for it via the CLASSPATH as a resource. Templates are only looked up in this file or an import. stgroup file classpath System Setup for Java Classes. For each directory listed in the Add To CLASSPATH parameter of the psappsrv. cfg configuration file: Class files in JAR files in the specified directory. For each directory listed in the PSCLASSPATH environment variable: Class files in the specified directory.
Ensure file paths passed to STGroup[File are absolute Fixes AWS Lambda deployments gracefully handle grammars without source fileNames Depends on ST4 PR here: antlr stgroup file classpath
type the type that owns the given StringTemplate group file. Dictates the filename of the StringTemplate group file on the classpath. Returns: the loaded StringTemplateGroup. public static path) The. classpath file is maintained by Eclipse's JDT feature (feature set of plugins). JDT holds multiple such meta files in the project (see the. settings directory inside Grails reading properties in from files on the classpath? Ask Question 4. Please note: it Are you asking if I can give an absolute file path instead of a classpath URI? If so, I'd be inclined to say no because the Grails app may be running from anywhere inside a machine stgroup file classpath load file name STGroup g new STGroupFile ( test. stg ); This tells StringTemplate to look in the current directory for test. stg. If not found, STGroupFile looks in the CLASSPATH. cached jar files in (Linux only)# 121. Opened by evandor. Comments. Assignees No one assigned Labels Whenever I changed the stg template file (which ends up residing in a jar) and tried to regenerated the source code from that file, I ended up with an old version of that file (unless I waited long enough then Why the behavior is different than when the template group file is on the native file system I do not know. In order to get this to work I changed the classpath to include the jar file. As this was done in the context of a Maven plugin, the plugin needs to change the classpath dynamically. The internal representation of a single group file (which must end in . stg ). If we fail to find a group file, look for it via the CLASSPATH as a resource. Templates are only looked up in this file or an import.