-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
1,284 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...ore-api/src/main/java/com/devonfw/cobigen/api/exception/CobiGenCancellationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.devonfw.cobigen.api.exception; | ||
|
||
import java.util.concurrent.CancellationException; | ||
|
||
/** | ||
* Exception is thrown if the generation Process is Cancelled | ||
*/ | ||
public class CobiGenCancellationException extends CancellationException { | ||
|
||
/** | ||
* Default serial version UID. | ||
*/ | ||
private static final long serialVersionUID = 1L; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+465 Bytes
(120%)
...-systemtest/src/test/resources/testdata/systemtest/ClassLoadTest/jarredclasses/jarred.jar
Binary file not shown.
11 changes: 11 additions & 0 deletions
11
...urces/testdata/systemtest/GenerationTest/externalIncrementGenerationException/context.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<trigger id="external_incrementref" type="mockplugin" templateFolder="valid_external_incrementref"> | ||
<matcher type="fqn" value="Whatever is still matched"> | ||
</matcher> | ||
</trigger> | ||
<trigger id="valid_increment_composition" type="mockplugin" templateFolder="valid_increment_composition"> | ||
<matcher type="invalid" value="Whatever is still not matched"> | ||
</matcher> | ||
</trigger> | ||
</contextConfiguration> |
10 changes: 10 additions & 0 deletions
10
...t/GenerationTest/externalIncrementGenerationException/external_incrementRef/templates.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<templatesConfiguration xmlns="http://capgemini.com/devonfw/cobigen/TemplatesConfiguration" | ||
version="2.1"> | ||
|
||
<increments> | ||
<increment name="1" description="1"> | ||
<incrementRef ref="valid_increment_composition::0"/> | ||
</increment> | ||
</increments> | ||
</templatesConfiguration> |
14 changes: 14 additions & 0 deletions
14
...rationTest/externalIncrementGenerationException/valid_increment_composition/templates.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<templatesConfiguration xmlns="http://capgemini.com/devonfw/cobigen/TemplatesConfiguration" | ||
version="2.1"> | ||
|
||
<templates> | ||
<template name="templateDecl" destinationPath="src/main/java/templateDecl.java" templateFile="templates/templateDecl.ftl" /> | ||
</templates> | ||
|
||
<increments> | ||
<increment name="0" description="0"> | ||
<templateRef ref="templateDecl"/> | ||
</increment> | ||
</increments> | ||
</templatesConfiguration> |
Empty file.
Oops, something went wrong.