Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/emc/EMC_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@ The following properties and methods are available for this class:

<hr/>

#### `String` **`directoryName`**
#### `String` **`directoryPath`**

Returns the directory name if available. Otherwise returns `null`
Returns the directory path if available. Otherwise returns `null`

<hr/>

Expand Down
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/entityc/compiler/ASTVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -2264,6 +2264,7 @@ public Object visitTemplates(EntityLanguageParser.TemplatesContext ctx) {
MTRepositoryImport thisImport = new MTRepositoryImport(ctx.templatesBody().templatesImport(), false);
thisImport.setRepositoryName(repositoryImport.getRepositoryName());
thisImport.setFilename(template.getFilename());
thisImport.setDirectoryPath(template.getDirectoryPath());
template.setRepositoryImport(thisImport);
}
}
Expand All @@ -2283,7 +2284,7 @@ public MTTemplate visitTemplate(EntityLanguageParser.TemplateContext ctx) {
MTTemplate template = new MTTemplate(ctx, currentConfiguration, ctx.id().getText());

if (ctx.STRING() != null) {
template.setDirectoryName(ECStringUtil.ProcessParserString(ctx.STRING().getText()));
template.setDirectoryPath(ECStringUtil.ProcessParserString(ctx.STRING().getText()));
}
EntityLanguageParser.TemplateBodyContext body = ctx.templateBody();
if (body == null) {
Expand Down
192 changes: 0 additions & 192 deletions src/main/java/org/entityc/compiler/CommandLineParser.java

This file was deleted.

Loading