Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project rename #4

Merged
merged 3 commits into from
Mar 19, 2022
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
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ jobs:
${{ runner.os }}-maven-

- name: Pre compile templates
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridgeTemplates.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNetTemplates.sln

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridge\JavaBridge.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNet\JNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v1
Expand All @@ -87,23 +87,23 @@ jobs:
shell: bash

- name: Create Jars
run: mvn --file ./src/java/javabridge/pom.xml --no-transfer-progress package
run: mvn --file ./src/java/jnet/pom.xml --no-transfer-progress package
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

# - name: Compile command line
# run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridgeCLI\JavaBridgeCLI.csproj
# run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNetCLI\JNetCLI.csproj
#
# - uses: nuget/setup-nuget@v1
# with:
# nuget-version: '5.x'
#
# - run: nuget pack src\net\JavaBridgeCLI\JavaBridgeCLI.nuspec -OutputDirectory .\bin
# - run: nuget pack src\net\JNetCLI\JNetCLI.nuspec -OutputDirectory .\bin

- name: Recompile to create nuget packages
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridge.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNet.sln

- name: Clear documentation folder
run: Remove-Item .\docs\* -Recurse -Force -Exclude _config.yml
Expand All @@ -116,7 +116,7 @@ jobs:

- uses: actions/upload-artifact@v2
with:
name: JavaBridge
name: JNet
path: .\bin\*nupkg

- name: Extract commit SHA
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ jobs:

- name: Maven preparation (step 1)
if: matrix.language == 'java'
run: dotnet build --no-incremental --configuration Release --framework net5.0 /p:Platform="Any CPU" ./src/net/JavaBridge.sln
run: dotnet build --no-incremental --configuration Release --framework net5.0 /p:Platform="Any CPU" ./src/net/JNet.sln

- name: Maven preparation (step 2)
if: matrix.language == 'java'
run: mvn "install:install-file" "-DgroupId=JCOBridge" "-DartifactId=JCOBridge" "-Dversion=2.4.7" "-Dpackaging=jar" "-Dfile=./bin/net5.0/JCOBridge.jar"

- if: matrix.language == 'java'
run: mvn --file ./src/java/javabridge/pom.xml --no-transfer-progress package
run: mvn --file ./src/java/jnet/pom.xml --no-transfer-progress package

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
12 changes: 6 additions & 6 deletions .github/workflows/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
${{ runner.os }}-maven-

- name: Pre compile templates
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridgeTemplates.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNetTemplates.sln

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridge\JavaBridge.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNet\JNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v1
Expand All @@ -55,23 +55,23 @@ jobs:
shell: bash

- name: Create Jars
run: mvn --file ./src/java/javabridge/pom.xml --no-transfer-progress package
run: mvn --file ./src/java/jnet/pom.xml --no-transfer-progress package
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

# - name: Compile command line
# run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridgeCLI\JavaBridgeCLI.csproj
# run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNetCLI\JNetCLI.csproj
#
# - uses: nuget/setup-nuget@v1
# with:
# nuget-version: '5.x'
#
# - run: nuget pack src\net\JavaBridgeCLI\JavaBridgeCLI.nuspec -OutputDirectory .\bin
# - run: nuget pack src\net\JNetCLI\JNetCLI.nuspec -OutputDirectory .\bin

- name: Recompile to create nuget packages
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridge.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNet.sln

- name: Clear documentation folder
run: Remove-Item .\docs\* -Recurse -Force -Exclude _config.yml
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
submodules: 'true'

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridge\JavaBridge.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNet\JNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v1
Expand All @@ -46,23 +46,23 @@ jobs:
shell: bash

- name: Create Jars
run: mvn --file ./src/java/javabridge/pom.xml --no-transfer-progress package
run: mvn --file ./src/java/jnet/pom.xml --no-transfer-progress package
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

# - name: Compile command line
# run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridgeCLI\JavaBridgeCLI.csproj
# run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNetCLI\JNetCLI.csproj
#
# - uses: nuget/setup-nuget@v1
# with:
# nuget-version: '5.x'
#
# - run: nuget pack src\net\JavaBridgeCLI\JavaBridgeCLI.nuspec -OutputDirectory .\bin
# - run: nuget pack src\net\JNetCLI\JNetCLI.nuspec -OutputDirectory .\bin

- name: Recompile to create nuget packages
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JavaBridge.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\JNet.sln

- name: Publish to NuGet
run: |
Expand Down
36 changes: 18 additions & 18 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Contributing to JavaBridge
# Contributing to JNet

First off, thanks for taking the time to contribute!

The following is a set of guidelines for contributing to JavaBridge, which are hosted in the [MASES Group Organization](https://github.com/masesgroup) on GitHub. Feel free to propose changes to this document in a pull request. We are trying to have a common idea between all partecipant.
The following is a set of guidelines for contributing to JNet, which are hosted in the [MASES Group Organization](https://github.com/masesgroup) on GitHub. Feel free to propose changes to this document in a pull request. We are trying to have a common idea between all partecipant.

## Code of Conduct

This project and everyone participating in it is governed by the [JavaBridge Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [coc_reporting@masesgroup.com](mailto:coc_reporting@masesgroup.com).
This project and everyone participating in it is governed by the [JNet Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [coc_reporting@masesgroup.com](mailto:coc_reporting@masesgroup.com).

# Project organization

Expand All @@ -15,12 +15,12 @@ The project is organized in this folder structure:
* **docs** (website)
* **src**
* **java**
* **JavaBridge**: contains the JVM side implementation of some classes managed from .NET side; it is structured as a complete Maven project
* **JNet**: contains the JVM side implementation of some classes managed from .NET side; it is structured as a complete Maven project
* **net**
* **JavaBridge**: The folder containing the source and project of the files ported on .NET
* **JNet**: The folder containing the source and project of the files ported on .NET
* **templates**: The folder containing the source and project to generate the NuGet template package
* **tests**
* **JavaBridgeTest**: The folder containing the source and project of the JavaBridge tests
* **JNetTest**: The folder containing the source and project of the JNet tests

# How Can I Contribute?

Expand All @@ -34,7 +34,7 @@ If you are a developer and want to contribute you are welcome.

## Suggesting Enhancements

This section guides you through submitting an enhancement suggestion for JavaBridge, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion and find related suggestions.
This section guides you through submitting an enhancement suggestion for JNet, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion and find related suggestions.

Before creating enhancement suggestions, please check this list as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please include as many details as possible. Fill in [the template](PULL_REQUEST_TEMPLATE.md), including the steps that you imagine you would take if the feature you're requesting existed.

Expand All @@ -46,14 +46,14 @@ Enhancement suggestions are tracked as GitHub issues. Create an issue on that re
* Provide a step-by-step description of the suggested enhancement in as many details as possible.
* Provide specific examples to demonstrate the steps. Include copy/pasteable snippets which you use in those examples, as Markdown code blocks.
* Describe the current behavior and explain which behavior you expected to see instead and why.
* Include screenshots and animated GIFs which help you demonstrate the steps or point out the part of JavaBridge which the suggestion is related to.
* Explain why this enhancement would be useful to most JavaBridge users.
* Specify which version of JavaBridge you're using.
* Include screenshots and animated GIFs which help you demonstrate the steps or point out the part of JNet which the suggestion is related to.
* Explain why this enhancement would be useful to most JNet users.
* Specify which version of JNet you're using.
* Specify the name and version of the OS you're using.

## Reporting Bugs

This section guides you through submitting a bug report for JavaBridge. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
This section guides you through submitting a bug report for JNet. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.

Before creating bug reports, please check this list as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible.

Expand All @@ -66,28 +66,28 @@ Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/).
Explain the problem and include additional details to help maintainers reproduce the problem:

* Use a clear and descriptive title for the issue to identify the problem.
* Describe the exact steps which reproduce the problem in as many details as possible. For example, start by explaining how you started JavaBridge, e.g. which command exactly you used in the terminal, or how you started JavaBridge otherwise. When listing steps, don't just say what you did, but explain how you did it. For example, if you moved the cursor to the end of a line, explain if you used the mouse, or a keyboard shortcut or an JavaBridge command, and if so which one?
* Describe the exact steps which reproduce the problem in as many details as possible. For example, start by explaining how you started JNet, e.g. which command exactly you used in the terminal, or how you started JNet otherwise. When listing steps, don't just say what you did, but explain how you did it. For example, if you moved the cursor to the end of a line, explain if you used the mouse, or a keyboard shortcut or an JNet command, and if so which one?
* Provide specific examples to demonstrate the steps. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use Markdown code blocks.
* Describe the behavior you observed after following the steps and point out what exactly is the problem with that behavior.
* Explain which behavior you expected to see instead and why.
* Include screenshots and animated GIFs which show you following the described steps and clearly demonstrate the problem. If you use the keyboard while following the steps, record the GIF with the Keybinding Resolver shown.
* If you're reporting that JavaBridge crashed, include a crash report with a stack trace from the operating system. On macOS, the crash report will be available in Console.app under "Diagnostic and usage information" > "User diagnostic reports". Include the crash report in the issue in a code block, a file attachment, or put it in a gist and provide link to that gist.
* If you're reporting that JNet crashed, include a crash report with a stack trace from the operating system. On macOS, the crash report will be available in Console.app under "Diagnostic and usage information" > "User diagnostic reports". Include the crash report in the issue in a code block, a file attachment, or put it in a gist and provide link to that gist.
* If the problem is related to performance or memory, include a CPU profile capture with your report.
* If the problem wasn't triggered by a specific action, describe what you were doing before the problem happened and share more information using the guidelines below.

Provide more context by answering these questions:

* Can you reproduce the problem in safe mode?
* Did the problem start happening recently (e.g. after updating to a new version of JavaBridge) or was this always a problem?
* If the problem started happening recently, can you reproduce the problem in an older version of JavaBridge? What's the most recent version in which the problem doesn't happen? You can download older versions of JavaBridge from the releases page.
* Did the problem start happening recently (e.g. after updating to a new version of JNet) or was this always a problem?
* If the problem started happening recently, can you reproduce the problem in an older version of JNet? What's the most recent version in which the problem doesn't happen? You can download older versions of JNet from the releases page.
* Can you reliably reproduce the issue? If not, provide details about how often the problem happens and under which conditions it normally happens.
* If the problem is related to working with files (e.g. opening and editing files), does the problem happen for all files and projects or only some? Does the problem happen only when working with local or remote files (e.g. on network drives), with files of a specific type (e.g. only JavaScript or Python files), with large files or files with very long lines, or with files in a specific encoding? Is there anything else special about the files you are using?

Include details about your configuration and environment:

* Which version of JavaBridge are you using?
* Which version of JNet are you using?
* What's the name and version of the OS you're using?
* Are you running JavaBridge in a virtual machine? If so, which VM software are you using and which operating systems and versions are used for the host and the guest?
* Are you using JavaBridge with multiple monitors? If so, can you reproduce the problem when you use a single monitor?
* Are you running JNet in a virtual machine? If so, which VM software are you using and which operating systems and versions are used for the host and the guest?
* Are you using JNet with multiple monitors? If so, can you reproduce the problem when you use a single monitor?
* Which keyboard layout are you using? Are you using a US layout or some other layout?

Loading