Skip to content

Commit

Permalink
Renamed io-hotmoka-toolsinto io-hotmoka-moka
Browse files Browse the repository at this point in the history
  • Loading branch information
spoto committed Mar 29, 2024
1 parent ddf9ebb commit b3de382
Show file tree
Hide file tree
Showing 38 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion io-hotmoka-tools/moka → io-hotmoka-moka/moka
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
done
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"

java --module-path $DIR/modules/explicit:$DIR/modules/automatic --class-path $DIR"/modules/unnamed/*" --module io.hotmoka.tools/io.hotmoka.tools.Moka "$@"
java --module-path $DIR/modules/explicit:$DIR/modules/automatic --class-path $DIR"/modules/unnamed/*" --module io.hotmoka.moka/io.hotmoka.moka.Moka "$@"
2 changes: 1 addition & 1 deletion io-hotmoka-tools/moka.bat → io-hotmoka-moka/moka.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set SOURCE=%~dp0
set DIR=%SOURCE%

java --module-path "%DIR%modules\explicit";"%DIR%modules\automatic" --class-path "%DIR%modules\unnamed\*" --module io.hotmoka.tools/io.hotmoka.tools.Moka %*
java --module-path "%DIR%modules\explicit";"%DIR%modules\automatic" --class-path "%DIR%modules\unnamed\*" --module io.hotmoka.moka/io.hotmoka.moka.Moka %*
4 changes: 2 additions & 2 deletions io-hotmoka-tools/pom.xml → io-hotmoka-moka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<artifactId>io-hotmoka-tools</artifactId>
<artifactId>io-hotmoka-moka</artifactId>
<packaging>jar</packaging>
<name>io-hotmoka-tools</name>
<name>io-hotmoka-moka</name>
<version>${hotmoka.version}</version>

<parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@
limitations under the License.
*/

package io.hotmoka.tools;
package io.hotmoka.moka;

import java.io.IOException;
import java.net.URL;
import java.util.logging.LogManager;

import io.hotmoka.tools.internal.moka.BindKey;
import io.hotmoka.tools.internal.moka.BuyValidation;
import io.hotmoka.tools.internal.moka.Call;
import io.hotmoka.tools.internal.moka.Create;
import io.hotmoka.tools.internal.moka.CreateAccount;
import io.hotmoka.tools.internal.moka.CreateKey;
import io.hotmoka.tools.internal.moka.Faucet;
import io.hotmoka.tools.internal.moka.ImportAccount;
import io.hotmoka.tools.internal.moka.Info;
import io.hotmoka.tools.internal.moka.InitDisk;
import io.hotmoka.tools.internal.moka.InitTendermint;
import io.hotmoka.tools.internal.moka.Install;
import io.hotmoka.tools.internal.moka.Instrument;
import io.hotmoka.tools.internal.moka.PrintExceptionMessageHandler;
import io.hotmoka.tools.internal.moka.ResumeTendermint;
import io.hotmoka.tools.internal.moka.RotateKey;
import io.hotmoka.tools.internal.moka.SellValidation;
import io.hotmoka.tools.internal.moka.Send;
import io.hotmoka.tools.internal.moka.ShowAccount;
import io.hotmoka.tools.internal.moka.StartTendermint;
import io.hotmoka.tools.internal.moka.State;
import io.hotmoka.tools.internal.moka.Verify;
import io.hotmoka.tools.internal.moka.Version;
import io.hotmoka.moka.internal.BindKey;
import io.hotmoka.moka.internal.BuyValidation;
import io.hotmoka.moka.internal.Call;
import io.hotmoka.moka.internal.Create;
import io.hotmoka.moka.internal.CreateAccount;
import io.hotmoka.moka.internal.CreateKey;
import io.hotmoka.moka.internal.Faucet;
import io.hotmoka.moka.internal.ImportAccount;
import io.hotmoka.moka.internal.Info;
import io.hotmoka.moka.internal.InitDisk;
import io.hotmoka.moka.internal.InitTendermint;
import io.hotmoka.moka.internal.Install;
import io.hotmoka.moka.internal.Instrument;
import io.hotmoka.moka.internal.PrintExceptionMessageHandler;
import io.hotmoka.moka.internal.ResumeTendermint;
import io.hotmoka.moka.internal.RotateKey;
import io.hotmoka.moka.internal.SellValidation;
import io.hotmoka.moka.internal.Send;
import io.hotmoka.moka.internal.ShowAccount;
import io.hotmoka.moka.internal.StartTendermint;
import io.hotmoka.moka.internal.State;
import io.hotmoka.moka.internal.Verify;
import io.hotmoka.moka.internal.Version;
import picocli.CommandLine;
import picocli.CommandLine.Command;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.io.IOException;
import java.math.BigInteger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.nio.file.Paths;
import java.util.Base64;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.math.BigInteger;
import java.security.KeyPair;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.lang.annotation.Annotation;
import java.lang.reflect.Executable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.math.BigInteger;
import java.nio.file.Paths;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.nio.file.Paths;
import java.security.KeyPair;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import static io.hotmoka.beans.StorageTypes.BIG_INTEGER;
import static io.hotmoka.beans.StorageTypes.GAMETE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import io.hotmoka.crypto.BIP39Dictionaries;
import io.hotmoka.crypto.BIP39Mnemonics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import io.hotmoka.helpers.ManifestHelpers;
import io.hotmoka.node.remote.RemoteNodes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.io.IOException;
import java.math.BigInteger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.math.BigInteger;
import java.nio.file.Files;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.io.IOException;
import java.io.UncheckedIOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import picocli.CommandLine;
import picocli.CommandLine.IExecutionExceptionHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.math.BigInteger;
import java.nio.file.Path;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.math.BigInteger;
import java.security.KeyPair;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.math.BigInteger;
import java.security.KeyPair;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.math.BigInteger;
import java.security.KeyPair;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.math.BigInteger;
import java.security.KeyPair;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.util.stream.Stream;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import java.io.IOException;
import java.io.UncheckedIOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.hotmoka.tools.internal.moka;
package io.hotmoka.moka.internal;

import io.hotmoka.constants.Constants;
import picocli.CommandLine.Command;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
limitations under the License.
*/

module io.hotmoka.tools {
exports io.hotmoka.tools;
module io.hotmoka.moka {
exports io.hotmoka.moka;
requires io.hotmoka.node.tendermint;
requires io.hotmoka.node.disk;
requires io.hotmoka.node.local;
Expand All @@ -29,7 +29,7 @@
requires io.hotmoka.crypto;
requires info.picocli;
requires java.logging;
opens io.hotmoka.tools to info.picocli; // for injecting CLI options
opens io.hotmoka.tools.internal.moka to info.picocli; // for injecting CLI options
opens io.hotmoka.moka to info.picocli; // for injecting CLI options
opens io.hotmoka.moka.internal to info.picocli; // for injecting CLI options
requires jdk.unsupported;
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Note: submodules whose artifact must be deployed on Maven Central must activate
<module>io-hotmoka-node-remote</module>
<module>io-hotmoka-patricia-api</module>
<module>io-hotmoka-patricia</module>
<module>io-hotmoka-tools</module>
<module>io-hotmoka-moka</module>
<module>io-hotmoka-stores</module>
<module>io-hotmoka-node-disk-api</module>
<module>io-hotmoka-node-disk</module>
Expand Down

0 comments on commit b3de382

Please sign in to comment.