Skip to content

Commit 5d2d901

Browse files
Rename ProtoData to Spine Compiler
1 parent e5d1619 commit 5d2d901

File tree

436 files changed

+2612
-2555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

436 files changed

+2612
-2555
lines changed

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 1 addition & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ProtoData
1+
# Spine Compiler
22

33
[![Build on Ubuntu](https://github.com/SpineEventEngine/ProtoData/actions/workflows/build-on-ubuntu.yml/badge.svg)][ubuntu-build]
44
[![Build on Windows](https://github.com/SpineEventEngine/ProtoData/actions/workflows/build-on-windows.yml/badge.svg)][windows-build]
@@ -7,7 +7,8 @@
77

88
[![license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)][apache-license]
99

10-
_ProtoData_ is a collection of tools for generating quality domain models from Protobuf definitions.
10+
Spine Compiler is a collection of tools for generating quality
11+
domain models from Protobuf definitions.
1112

1213
The project is under development right now. Proceed with caution.
1314

@@ -20,14 +21,14 @@ See the [Gradle plugin](gradle-plugin/README.md) doc for more info.
2021

2122
### *nix
2223

23-
To install ProtoData on a *nix system:
24+
To install Spine Compiler on a *nix system:
2425

2526
1. [Download](https://github.com/SpineEventEngine/ProtoData/packages/710696)
26-
the `protodata-setup-<version>.jar` archive.
27+
the `compiler-setup-<version>.jar` archive.
2728

2829
2. Unzip the archive:
2930
```
30-
unzip -d ./target/dir path/to/protodata.jar
31+
unzip -d ./target/dir path/to/compiler.jar
3132
```
3233

3334
3. Run the installer script:
@@ -44,9 +45,9 @@ To install ProtoData on a *nix system:
4445
the `PATH` environmental variable. If you use another shell, you will have to update the `PATH`
4546
variable manually.
4647

47-
Now ProtoData CLI should be accessible. To check the correctness of the installation, run:
48+
Now Spine Compiler CLI should be accessible. To check the correctness of the installation, run:
4849
```
49-
protodata -h
50+
compiler -h
5051
```
5152

5253
### Windows
@@ -56,9 +57,9 @@ There is currently no installation script for Windows.
5657
Start using the app:
5758

5859
1. [Download](https://github.com/SpineEventEngine/ProtoData/packages/710696) and extract
59-
the `protodata-setup-<version>.jar` archive.
60+
the `compiler-setup-<version>.jar` archive.
6061

61-
2. To launch the app, launch the `bin/protodata.bat` script.
62+
2. To launch the app, launch the `bin/compiler.bat` script.
6263

6364
Note that it is necessary to keep the structure of the archive intact: the scripts in `bin` rely
6465
on the relative path to other files in the archive.

api-tests/src/test/kotlin/io/spine/protodata/context/MemberSpec.kt renamed to api-tests/src/test/kotlin/io/spine/compiler/context/MemberSpec.kt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@
2424
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2525
*/
2626

27-
package io.spine.protodata.context
27+
package io.spine.compiler.context
2828

2929
import io.kotest.matchers.shouldNotBe
3030
import io.kotest.matchers.string.shouldEndWith
31-
import io.spine.protodata.ast.EnumInFile
32-
import io.spine.protodata.ast.MessageInFile
33-
import io.spine.protodata.ast.ProtoFileHeader
34-
import io.spine.protodata.ast.ServiceInFile
35-
import io.spine.protodata.given.members.Person
36-
import io.spine.protodata.params.WorkingDirectory
37-
import io.spine.protodata.protobuf.toMessageType
38-
import io.spine.protodata.render.Renderer
39-
import io.spine.protodata.render.SourceFileSet
40-
import io.spine.protodata.testing.PipelineSetup
41-
import io.spine.protodata.testing.RenderingTestbed
42-
import io.spine.protodata.testing.pipelineParams
43-
import io.spine.protodata.testing.withRequestFile
31+
import io.spine.compiler.ast.EnumInFile
32+
import io.spine.compiler.ast.MessageInFile
33+
import io.spine.compiler.ast.ProtoFileHeader
34+
import io.spine.compiler.ast.ServiceInFile
35+
import io.spine.compiler.given.members.Person
36+
import io.spine.compiler.params.WorkingDirectory
37+
import io.spine.compiler.protobuf.toMessageType
38+
import io.spine.compiler.render.Renderer
39+
import io.spine.compiler.render.SourceFileSet
40+
import io.spine.compiler.testing.PipelineSetup
41+
import io.spine.compiler.testing.RenderingTestbed
42+
import io.spine.compiler.testing.pipelineParams
43+
import io.spine.compiler.testing.withRequestFile
4444
import io.spine.tools.code.Java
4545
import io.spine.tools.code.SourceSetName
4646
import java.nio.file.Path

api-tests/src/testFixtures/proto/given/members/common.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ package given.members;
3131
import "spine/options.proto";
3232

3333
option (type_url_prefix) = "type.spine.io";
34-
option java_package = "io.spine.protodata.given.members";
34+
option java_package = "io.spine.compiler.given.members";
3535
option java_outer_classname = "CommonProto";
3636
option java_multiple_files = true;
3737

api-tests/src/testFixtures/proto/given/members/election.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ package given.members;
3131
import "spine/options.proto";
3232

3333
option (type_url_prefix) = "type.spine.io";
34-
option java_package = "io.spine.protodata.given.members";
34+
option java_package = "io.spine.compiler.given.members";
3535
option java_outer_classname = "ElectionProto";
3636
option java_multiple_files = true;
3737

api-tests/src/testFixtures/proto/given/members/groups.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ package given.members;
3131
import "spine/options.proto";
3232

3333
option (type_url_prefix) = "type.spine.io";
34-
option java_package = "io.spine.protodata.given.members";
34+
option java_package = "io.spine.compiler.given.members";
3535
option java_outer_classname = "GroupsProto";
3636
option java_multiple_files = true;
3737

api/src/main/java/io/spine/protodata/Constants.java renamed to api/src/main/java/io/spine/compiler/Constants.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2023, TeamDev. All rights reserved.
2+
* Copyright 2025, TeamDev. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Redistribution and use in source and/or binary forms, with or without
1111
* modification, must retain the above copyright notice and the following
@@ -24,17 +24,17 @@
2424
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2525
*/
2626

27-
package io.spine.protodata;
27+
package io.spine.compiler;
2828

2929
/**
30-
* Main constants of the ProtoData SDK.
30+
* Main constants of the Spine Compiler SDK.
3131
*/
3232
public final class Constants {
3333

3434
/**
3535
* The logging domain for operations performed by Spine Logging.
3636
*/
37-
public static final String LOGGING_DOMAIN = "ProtoData";
37+
public static final String LOGGING_DOMAIN = "Spine Compiler";
3838

3939
/**
4040
* The prefix for logging operations performed by loggers other than Spine Logging.
@@ -44,7 +44,7 @@ public final class Constants {
4444
/**
4545
* The name of the ProtoData command-line application main class.
4646
*/
47-
public static final String CLI_APP_CLASS = "io.spine.protodata.cli.app.MainKt";
47+
public static final String CLI_APP_CLASS = "io.spine.compiler.cli.app.MainKt";
4848

4949
/**
5050
* Prevents instantiation of this utility class.

api/src/main/java/io/spine/protodata/ast/package-info.java renamed to api/src/main/java/io/spine/compiler/ast/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024, TeamDev. All rights reserved.
2+
* Copyright 2025, TeamDev. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
3030
*/
3131
@CheckReturnValue
3232
@ParametersAreNonnullByDefault
33-
package io.spine.protodata.ast;
33+
package io.spine.compiler.ast;
3434

3535
import com.google.errorprone.annotations.CheckReturnValue;
3636

api/src/main/java/io/spine/protodata/package-info.java renamed to api/src/main/java/io/spine/compiler/package-info.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2023, TeamDev. All rights reserved.
2+
* Copyright 2025, TeamDev. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Redistribution and use in source and/or binary forms, with or without
1111
* modification, must retain the above copyright notice and the following
@@ -27,9 +27,10 @@
2727
@CheckReturnValue
2828
@ParametersAreNonnullByDefault
2929
@JvmLoggingDomain(Constants.LOGGING_DOMAIN)
30-
package io.spine.protodata;
30+
package io.spine.compiler;
3131

3232
import com.google.errorprone.annotations.CheckReturnValue;
33+
import io.spine.compiler.Constants;
3334
import io.spine.logging.JvmLoggingDomain;
3435

3536
import javax.annotation.ParametersAreNonnullByDefault;

0 commit comments

Comments
 (0)