Skip to content

Commit

Permalink
Merge pull request #414 from fujaba/fix/remove-mockups
Browse files Browse the repository at this point in the history
Remove fulibMockups
  • Loading branch information
Clashsoft authored Feb 22, 2024
2 parents 584daa1 + 488ef1a commit 03cb473
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 107 deletions.
14 changes: 4 additions & 10 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,19 @@ repositories {

ext {
// https://mvnrepository.com/artifact/org.fulib/fulib
fulibDependency = [ group: 'org.fulib', name: 'fulib', version: '1.6.1' ]
fulibDependency = [ group: 'org.fulib', name: 'fulib', version: '1.6.2' ]

// https://mvnrepository.com/artifact/org.fulib/fulibScenarios
fulibScenariosDependency = [ group: 'org.fulib', name: 'fulibScenarios', version: '1.7.0' ]
fulibScenariosDependency = [ group: 'org.fulib', name: 'fulibScenarios', version: '1.7.1' ]

// https://mvnrepository.com/artifact/org.fulib/fulibTools
fulibToolsDependency = [ group: 'org.fulib', name: 'fulibTools', version: '1.5.1' ]

// https://mvnrepository.com/artifact/org.fulib/fulibMockups
fulibMockupsDependency = [ group: 'org.fulib', name: 'fulibMockups', version: '0.4.0' ]
fulibToolsDependency = [ group: 'org.fulib', name: 'fulibTools', version: '1.6.0' ]

// https://mvnrepository.com/artifact/org.fulib/fulibTables
fulibTablesDependency = [ group: 'org.fulib', name: 'fulibTables', version: '1.4.0' ]

// https://mvnrepository.com/artifact/org.fulib/fulibWorkflows
fulibWorkflowsDependency = [ group: 'org.fulib', name: 'fulibWorkflows', version: '0.5.6' ]
fulibWorkflowsDependency = [ group: 'org.fulib', name: 'fulibWorkflows', version: '0.6.0' ]

// https://mvnrepository.com/artifact/junit/junit
junitDependency = [ group: 'junit', name: 'junit', version: '4.13.2' ]
Expand All @@ -68,7 +65,6 @@ dependencies {

implementation fulibDependency
implementation fulibScenariosDependency
implementation fulibMockupsDependency
implementation fulibTablesDependency

// --------------- Other Libraries ---------------
Expand Down Expand Up @@ -110,7 +106,6 @@ processResources {
def fulibTablesVersion = getDependencyVersion(config, 'org.fulib', 'fulibTables')
def fulibScenariosVersion = getDependencyVersion(config, 'org.fulib', 'fulibScenarios')
def fulibGradleVersion = getDependencyVersion(rootProject.buildscript.configurations.classpath, 'org.fulib', 'fulibGradle')
def fulibMockupsVersion = getDependencyVersion(config, 'org.fulib', 'fulibMockups')
def junitVersion = getDependencyVersion(config, 'junit', 'junit')
def slf4jVersion = getDependencyVersion(config, 'org.slf4j', 'slf4j-simple')

Expand All @@ -131,7 +126,6 @@ processResources {
it = it.replace('$$fulibYamlVersion$$', fulibYamlVersion)
it = it.replace('$$fulibTablesVersion$$', fulibTablesVersion)
it = it.replace('$$fulibScenariosVersion$$', fulibScenariosVersion)
it = it.replace('$$fulibMockupsVersion$$', fulibMockupsVersion)
it = it.replace('$$fulibGradleVersion$$', fulibGradleVersion)
it = it.replace('$$fulibWorkflowsVersion$$', fulibWorkflowsDependency.version)
it = it.replace('$$junitVersion$$', junitVersion)
Expand Down
3 changes: 0 additions & 3 deletions backend/src/main/java/org/fulib/webapp/tool/Tools.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.fulib.webapp.tool;

import org.fulib.mockups.FulibMockups;
import org.fulib.scenarios.tool.ScenarioCompiler;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
Expand Down Expand Up @@ -64,8 +63,6 @@ public static int scenarioc(
)
{
final List<String> finalArgs = new ArrayList<>(8 + args.length);
finalArgs.add("--classpath");
finalArgs.add(FulibMockups.class.getProtectionDomain().getCodeSource().getLocation().getPath());
finalArgs.add("-m");
finalArgs.add(modelSrcDir.toString());
finalArgs.add("-t");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ dependencies {
// https://mvnrepository.com/artifact/org.fulib/fulibTables
testImplementation group: 'org.fulib', name: 'fulibTables', version: '$$fulibTablesVersion$$'

// https://mvnrepository.com/artifact/org.fulib/fulibMockups
testImplementation group: 'org.fulib', name: 'fulibMockups', version: '$$fulibMockupsVersion$$'

// https://mvnrepository.com/artifact/junit/junit
testImplementation group: 'junit', name: 'junit', version: '$$junitVersion$$'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ fulibTools=$$fulibToolsVersion$$
fulibYaml=$$fulibYamlVersion$$
fulibTables=$$fulibTablesVersion$$
fulibScenarios=$$fulibScenariosVersion$$
fulibMockups=$$fulibMockupsVersion$$
fulibGradle=$$fulibGradleVersion$$
fulibWorkflows=$$fulibWorkflowsVersion$$
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,17 @@ public class ProjectZipControllerTest
dependencies {
\t// https://mvnrepository.com/artifact/org.fulib/fulibScenarios
\tfulibScenarios group: 'org.fulib', name: 'fulibScenarios', version: '1.7.0'
\tfulibScenarios group: 'org.fulib', name: 'fulibScenarios', version: '1.7.1'
\t// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
\tfulibScenarios group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.36'
\t// https://mvnrepository.com/artifact/org.fulib/fulibTools
\ttestImplementation group: 'org.fulib', name: 'fulibTools', version: '1.5.1'
\ttestImplementation group: 'org.fulib', name: 'fulibTools', version: '1.6.0'
\t// https://mvnrepository.com/artifact/org.fulib/fulibTables
\ttestImplementation group: 'org.fulib', name: 'fulibTables', version: '1.4.0'
\t// https://mvnrepository.com/artifact/org.fulib/fulibMockups
\ttestImplementation group: 'org.fulib', name: 'fulibMockups', version: '0.4.0'
\t// https://mvnrepository.com/artifact/junit/junit
\ttestImplementation group: 'junit', name: 'junit', version: '4.13.2'
Expand Down Expand Up @@ -150,7 +147,7 @@ public void handle() throws IOException
assertThat(files, hasItems(EXPECTED_FILES));
for (final Map.Entry<String, String> entry : EXPECTED_CONTENT.entrySet())
{
assertEquals(entry.getKey(), contents.get(entry.getKey()), entry.getValue());
assertEquals(entry.getKey(), entry.getValue(), contents.get(entry.getKey()));
}
}
}
4 changes: 0 additions & 4 deletions frontend/src/app/components/feedback/feedback.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
href="https://github.com/fujaba/fulibWorkflows/issues/new/choose">
The workflows or generated files (fulibWorkflows)
</a>
<a role="button" class="btn btn-outline-secondary"
href="https://github.com/fujaba/fulibMockups/issues/new/choose">
The HTML mockups (fulibMockups)
</a>
<a role="button" class="btn btn-outline-secondary"
href="https://github.com/fujaba/fulib/issues/new/choose">
The generated model classes (fulib)
Expand Down
5 changes: 0 additions & 5 deletions frontend/src/app/editor/examples.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ export class ExamplesService {
{name: 'Piecewise Definition'},
],
},
{
name: 'Prototyping', examples: [
{name: 'UIs'},
],
},
];

constructor(
Expand Down
1 change: 0 additions & 1 deletion frontend/src/app/services/changelog.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const REPOS = [
'fulibYaml',
'fulibTables',
'fulibScenarios',
'fulibMockups',
'fulibGradle',
'fulibWorkflows'
] as const;
Expand Down
67 changes: 0 additions & 67 deletions frontend/src/assets/examples/prototyping/UIs.md

This file was deleted.

4 changes: 0 additions & 4 deletions frontend/src/assets/examples/testing/ObjectDiagrams.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ The Pumps has price 42.42.
![Sneakers, Pumps](images/products.txt)

> The .tables.html format shows nicely formatted tables:
![Amazon](images/products.tables.html)

# More Info

> The documentation goes into more depth about how to create diagrams and display data:
Expand Down
3 changes: 0 additions & 3 deletions projects/fulib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ dependencies {
// https://mvnrepository.com/artifact/org.fulib/fulibTools
testImplementation group: 'org.fulib', name: 'fulibTools', version: '1.5.1'

// https://mvnrepository.com/artifact/org.fulib/fulibMockups
testImplementation group: 'org.fulib', name: 'fulibMockups', version: '0.4.0'

// https://mvnrepository.com/artifact/org.fulib/fulibTables
testImplementation group: 'org.fulib', name: 'fulibTables', version: '1.4.0'
}
Expand Down

0 comments on commit 03cb473

Please sign in to comment.