Skip to content

Commit 45ffc58

Browse files
committed
chore(sandbox): Remove the Sandbox Directory
1 parent 5ce7d69 commit 45ffc58

File tree

22 files changed

+42
-134
lines changed

22 files changed

+42
-134
lines changed

.dockerignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Dockerfile
1919
.dockerignore
2020
.git/**
2121
**/target/**
22-
sandbox/plc4py/.eggs
23-
sandbox/plc4py/.pytest_cache
24-
sandbox/plc4py/build
25-
sandbox/plc4py/dist
26-
sandbox/plc4py/plc4py.egg-info
27-
sandbox/plc4py/venv
22+
plc4py/.eggs
23+
plc4py/.pytest_cache
24+
plc4py/build
25+
plc4py/dist
26+
plc4py/plc4py.egg-info
27+
plc4py/venv

.github/workflows/python-platform.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ on:
2424
paths:
2525
- code-generation/**
2626
- protocols/**
27-
- sandbox/plc4py**
27+
- plc4py**
2828
pull_request:
2929
branches: [ "develop", "plc4py" ]
3030
paths:
3131
- code-generation/**
3232
- protocols/**
33-
- sandbox/plc4py**
33+
- plc4py**
3434
workflow_dispatch:
3535
inputs:
3636
forceUpdates:
@@ -136,9 +136,9 @@ jobs:
136136
# - name: Lint with flake8
137137
# run: |
138138
# # stop the build if there are Python syntax errors or undefined names
139-
# flake8 ./sandbox/plc4py --count --select=E9,F63,F7,F82 --show-source --statistics
139+
# flake8 ./plc4py --count --select=E9,F63,F7,F82 --show-source --statistics
140140
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
141-
# flake8 ./sandbox/plc4py --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
141+
# flake8 ./plc4py --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
142142

143143
# - name: Initialize CodeQL
144144
# uses: github/codeql-action/init@v2
@@ -147,7 +147,7 @@ jobs:
147147

148148
- name: Run mvnw
149149
run: |
150-
./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} ${{ steps.extra_options.outputs.extra_options }} -B -P'with-sandbox,with-python,enable-all-checks,update-generated-code' -pl :plc4py -am ${{ steps.platform_opts.outputs.platform_opts }} install
150+
./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} ${{ steps.extra_options.outputs.extra_options }} -B -P'with-python,enable-all-checks,update-generated-code' -pl :plc4py -am ${{ steps.platform_opts.outputs.platform_opts }} install
151151
152152
# - name: Perform CodeQL Analysis
153153
# uses: github/codeql-action/analyze@v2

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,10 @@ build-iPhoneSimulator/
175175
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
176176
.rvmrc
177177

178-
# When running the cpp module in clion, it adds another ".idea" directory.
179-
/sandbox/plc4cpp/.idea/
180-
181178
# Exclude VSCode project settings.
182179
.vscode/
183180

184181
# Temp stuff ...
185-
/sandbox/plc4go/temp/
186182
/plc4go/.idea/
187183
plc4j/examples/hello-storage-elasticsearch/.factorypath
188184

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pipeline {
9494
}
9595
steps {
9696
echo 'Building'
97-
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-sandbox,with-c,with-go,with-java ${MVN_TEST_FAIL_IGNORE} ${MVN_LOCAL_REPO_OPT} clean install'
97+
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java ${MVN_TEST_FAIL_IGNORE} ${MVN_LOCAL_REPO_OPT} clean install'
9898
}
9999
post {
100100
always {
@@ -117,7 +117,7 @@ pipeline {
117117

118118
// We'll deploy to a relative directory so we can save
119119
// that and deploy in a later step on a different node
120-
sh './mvnw -U -P${JENKINS_PROFILE},skip-prerequisite-check,with-sandbox,with-c,with-go,with-java,update-generated-code,enable-all-checks ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy'
120+
sh './mvnw -U -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java,update-generated-code,enable-all-checks ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy'
121121

122122
// Stash the build results so we can deploy them on another node
123123
stash name: 'plc4x-build-snapshots', includes: 'local-snapshots-dir/**'
@@ -137,8 +137,8 @@ pipeline {
137137
steps {
138138
echo 'Checking Code Quality on SonarCloud'
139139
withCredentials([string(credentialsId: 'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
140-
//sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-python,with-proxies,with-sandbox sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'
141-
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java,with-sandbox sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.token=${SONAR_TOKEN}'
140+
//sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-python,with-proxies sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'
141+
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.token=${SONAR_TOKEN}'
142142
}
143143
}
144144
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,16 +200,16 @@ In order to be able to build the `C# / .Net` module, you currently need to activ
200200

201201
The Python implementation is currently in a somewhat unclean state and still needs refactoring.
202202
In order to be able to build the Python module, you currently need to activate the:
203-
`with-sandbox` and `with-python` profiles.
203+
`with-python` profiles.
204204

205205
```
206-
./mvnw -P with-sandbox,with-python install
206+
./mvnw -P with-python install
207207
```
208208

209209
In order to build everything the following command should work:
210210

211211
```
212-
./mvnw -P with-c,with-dotnet,with-go,with-java,with-python,with-sandbox,enable-all-checks,update-generated-code install
212+
./mvnw -P with-c,with-dotnet,with-go,with-java,with-python,enable-all-checks,update-generated-code install
213213
```
214214

215215
## Community

build-reproducible.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# Run a standard build
3939
function build() {
4040
echo "Building ..."
41-
mvn -U -P apache-release,with-c,with-dotnet,with-go,with-java,with-python,with-sandbox -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy
41+
mvn -U -P apache-release,with-c,with-dotnet,with-go,with-java,with-python -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy
4242
echo "Done"
4343
}
4444

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
build:
2424
context: .
2525
dockerfile: Dockerfile
26-
command: ["/ws/mvnw", "-e", "-Dskip-pgp-signing=true", "-P", "with-c,with-dotnet,with-go,with-java,with-python,with-sandbox,enable-all-checks,apache-release", "-Dmaven.repo.local=/ws/out/.repository", "clean", "install"]
26+
command: ["/ws/mvnw", "-e", "-Dskip-pgp-signing=true", "-P", "with-c,with-dotnet,with-go,with-java,with-python,enable-all-checks,apache-release", "-Dmaven.repo.local=/ws/out/.repository", "clean", "install"]
2727
volumes:
2828
# Bind the local directory as "/ws"
2929
- type: bind

plc4j/examples/hello-docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ RUN dos2unix .mvn/wrapper/maven-wrapper.properties
6363
# Tell Maven to fetch all needed dependencies first, so they can get cached
6464
# (Tried a patched version of the plugin to allow exclusion of inner artifacts.
6565
# See https://issues.apache.org/jira/browse/MDEP-568 for details)
66-
RUN ./mvnw -P with-c,with-dotnet,with-go,with-java,with-sandbox com.offbytwo.maven.plugins:maven-dependency-plugin:3.1.1.MDEP568:go-offline -DexcludeGroupIds=org.apache.plc4x,org.apache.plc4x.examples,org.apache.plc4x.sandbox
66+
RUN ./mvnw -P with-c,with-dotnet,with-go,with-java com.offbytwo.maven.plugins:maven-dependency-plugin:3.1.1.MDEP568:go-offline -DexcludeGroupIds=org.apache.plc4x,org.apache.plc4x.examples,org.apache.plc4x.sandbox
6767

6868
# Build everything with all tests
69-
RUN ./mvnw -P with-c,with-dotnet,with-go,with-java,with-sandbox install
69+
RUN ./mvnw -P with-c,with-dotnet,with-go,with-java install
7070

7171
# Get the version of the project and save it in a local file on the container
7272
RUN ./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -DforceStdout -q -pl . > project_version

pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,14 +1630,6 @@
16301630
</modules>
16311631
</profile>
16321632

1633-
<!-- Build PLC4X including the Sandbox modules -->
1634-
<profile>
1635-
<id>with-sandbox</id>
1636-
<modules>
1637-
<module>sandbox</module>
1638-
</modules>
1639-
</profile>
1640-
16411633
<!-- Profile for linux amd64 (Self-Enabling) -->
16421634
<profile>
16431635
<id>.os-linux-amd64</id>

reactors/all-drivers/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
<module>../../code-generation</module>
3737
<module>../../protocols</module>
3838
<module>../../plc4j/drivers</module>
39-
<module>../../sandbox/test-java-bacnetip-driver</module>
40-
<module>../../sandbox/test-java-df1-driver</module>
39+
<!--module>../../sandbox/test-java-bacnetip-driver</module-->
40+
<!--module>../../sandbox/test-java-df1-driver</module-->
4141
</modules>
4242

4343
</project>

0 commit comments

Comments
 (0)