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

Example does not work on windows. #121

Open
vjay82 opened this issue Jan 11, 2021 · 6 comments
Open

Example does not work on windows. #121

vjay82 opened this issue Jan 11, 2021 · 6 comments

Comments

@vjay82
Copy link

vjay82 commented Jan 11, 2021

Hello,

I tried following your getting started under https://github.com/google/j2cl/blob/master/docs/getting-started.md
The following happens on my machine (Windows (sadly)). Installing bazelisk through npm or chocolatey does not result in any different outcome.

Using WSL2:

bazel build src/main/java/com/google/j2cl/samples/helloworld:helloworld --verbose_failures
INFO: Analyzed target //src/main/java/com/google/j2cl/samples/helloworld:helloworld (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: C:/users/volker.gronau/_bazel_volker.gronau/re5it7lm/external/com_google_j2cl/jre/java/BUILD:45:16: error executing shell command: 'C:/WINDOWS/system32/bash.exe -c set -eu
shopt -s extglob
zip_args="c bazel-out/x64_windows-fastbuild/bin/external/com_google_j2cl/jre/java/jre_java_files.srcjar"
for src in "$@"
do
relative_name=...' failed (Exit -1): bash.exe failed: error executing command
cd C:/users/volker.gronau/_bazel_volker.gronau/re5it7lm/execroot/com_google_j2cl_samples_helloworld
C:/WINDOWS/system32/bash.exe -c set -eu
shopt -s extglob
zip_args="c bazel-out/x64_windows-fastbuild/bin/external/com_google_j2cl/jre/java/jre_java_files.srcjar"
for src in "$@"
do
relative_name=${src#/emul/}
relative_name=${relative_name#?(
/)jre/java/}
relative_name=${relative_name#javasynth/}
zip_args+=" ${relative_name}=${src}"
done
"external/bazel_tools/tools/zip/zipper/zipper.exe" $zip_args external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/beans/Beans.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/BufferedWriter.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/ByteArrayInputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/ByteArrayOutputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Closeable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Externalizable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/FilterInputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/FilterOutputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Flushable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/HasSerializableTypeMarker.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/IOException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/IOUtils.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/InputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/OutputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/OutputStreamWriter.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/PrintStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Reader.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Serializable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/StringReader.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/UncheckedIOException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/UnsupportedEncodingException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Writer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/AbstractStringBuilder.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Appendable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ArithmeticException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ArrayIndexOutOfBoundsException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ArrayStoreException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/AssertionError.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/AutoCloseable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Boolean.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Byte.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/CharSequence.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Character.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ClassCastException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/CloneNotSupportedException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Cloneable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Comparable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Deprecated.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Double.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Error.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Exception.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Float.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/FunctionalInterface.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/HasCharSequenceTypeMarker.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/HasCloneableTypeMarker.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/HasComparableTypeMarker.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/IllegalArgumentException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/IllegalStateException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/IndexOutOfBoundsException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Integer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/InterruptedException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Iterable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/JsException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Long.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Math.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/NegativeArraySizeException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/NullPointerException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Number.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/NumberFormatException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Override.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Runnable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/RuntimeException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/SafeVarargs.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/SecurityException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Short.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StackTraceElement.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StrictMath.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/String.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StringBuffer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StringBuilder.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StringIndexOutOfBoundsException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/SuppressWarnings.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/System.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ThreadLocal.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/UnsupportedOperationException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Void.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Annotation.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/AnnotationFormatError.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/AnnotationTypeMismatchException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Documented.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/ElementType.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/IncompleteAnnotationException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Inherited.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Native.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Repeatable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Retention.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/RetentionPolicy.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Target.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/reflect/Array.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/reflect/Type.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/BigDecimal.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/BigInteger.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/BitLevel.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Conversion.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Division.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Elementary.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Logical.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/MathContext.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Multiplication.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Primality.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/RoundingMode.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/nio/charset/Charset.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/nio/charset/IllegalCharsetNameException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/nio/charset/StandardCharsets.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/nio/charset/UnsupportedCharsetException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/DigestException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/GeneralSecurityException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/MessageDigest.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/MessageDigestSpi.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/NoSuchAlgorithmException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/SHA256Digest.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/sql/Date.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/sql/Time.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/sql/Timestamp.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/text/ParseException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractCollection.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractHashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractList.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractMapEntry.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractNavigableMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractQueue.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractSequentialList.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ArrayDeque.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ArrayList.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Arrays.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/BitSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Collection.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Collections.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Comparator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Comparators.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ConcurrentModificationDetector.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ConcurrentModificationException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Date.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Deque.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/EmptyStackException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/EnumMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Enumeration.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/EventListener.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/EventObject.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/HashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/HashSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/IdentityHashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/IntSummaryStatistics.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/InternalHashCodeMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/InternalJsMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/InternalStringMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Iterator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/LinkedHashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/LinkedHashSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/LinkedList.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/List.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ListIterator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Locale.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/LongSummaryStatistics.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Map.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/MissingResourceException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/NavigableMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/NavigableSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/NoSuchElementException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Objects.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Optional.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/OptionalDouble.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/OptionalInt.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/OptionalLong.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/PrimitiveIterator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/PriorityQueue.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Queue.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Random.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/RandomAccess.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Set.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/SortedMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/SortedSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Spliterator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Spliterators.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Stack.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/StringJoiner.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/TooManyListenersException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/TreeMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/TreeSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Vector.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Callable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/CancellationException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ConcurrentHashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ConcurrentMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Delayed.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ExecutionException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Executor.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ExecutorService.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Executors.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Flow.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Future.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/RejectedExecutionException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/RunnableFuture.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ScheduledExecutorService.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ScheduledFuture.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/TimeUnit.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/TimeoutException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicBoolean.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicInteger.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicLong.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicReference.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicReferenceArray.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BiConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BiFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BiPredicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BinaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BooleanSupplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/Consumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleBinaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoublePredicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleSupplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleToIntFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleToLongFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleUnaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/Function.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntBinaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntPredicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntSupplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntToDoubleFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntToLongFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntUnaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongBinaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongPredicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongSupplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongToDoubleFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongToIntFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongUnaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ObjDoubleConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ObjIntConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ObjLongConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/Predicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/Supplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToDoubleBiFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToDoubleFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToIntBiFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToIntFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToLongBiFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToLongFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/UnaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/Formatter.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/Handler.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/Level.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/LogManager.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/LogRecord.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/Logger.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/SimpleConsoleLogHandler.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/BaseStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/Collector.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/CollectorImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/Collectors.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/DoubleStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/DoubleStreamImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/IntStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/IntStreamImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/LongStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/LongStreamImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/Stream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/StreamImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/StreamSupport.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/TerminatableStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javax/annotation/Generated.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javax/annotation/processing/Generated.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/ArrayHelper.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/ConsoleLogger.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/EmulatedCharset.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/HashCodes.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/InternalPreconditions.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/JsUtils.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/NativeArray.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/NativeRegExp.java external/com_google_j2cl/jre/java/java/lang/Class.java external/com_google_j2cl/jre/java/java/lang/Enum.java external/com_google_j2cl/jre/java/java/lang/Object.java external/com_google_j2cl/jre/java/java/lang/Throwable.java external/com_google_j2cl/jre/java/java/util/EnumSet.java external/com_google_j2cl/jre/java/java/util/InternalJsMapFactory.java external/com_google_j2cl/jre/java/javaemul/internal/ArrayStamper.java external/com_google_j2cl/jre/java/javaemul/internal/Asserts.java external/com_google_j2cl/jre/java/javaemul/internal/Casts.java external/com_google_j2cl/jre/java/javaemul/internal/Coercions.java external/com_google_j2cl/jre/java/javaemul/internal/Constructor.java external/com_google_j2cl/jre/java/javaemul/internal/Enums.java external/com_google_j2cl/jre/java/javaemul/internal/Exceptions.java external/com_google_j2cl/jre/java/javaemul/internal/LongUtils.java external/com_google_j2cl/jre/java/javaemul/internal/ObjectHashing.java external/com_google_j2cl/jre/java/javaemul/internal/Primitives.java external/com_google_j2cl/jre/java/javaemul/internal/ValueType.java external/com_google_j2cl/jre/java/javasynth/java/lang/NoSuchFieldError.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/LambdaMetafactory.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/MethodHandle.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/MethodHandles.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/MethodType.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/SerializedLambda.java
Execution platform: @local_config_platform//:host
The parameter is incorrect.
Target //src/main/java/com/google/j2cl/samples/helloworld:helloworld failed to build

INFO: Elapsed time: 3.231s, Critical Path: 1.73s
INFO: 7 processes: 4 internal, 2 local, 1 worker.
FAILED: Build did NOT complete successfully

If using MSYS2:

C:\temp\j2cl\samples\helloworld>set BAZEL_SH=C:\bin\msys64\usr\bin\bash.exe

C:\temp\j2cl\samples\helloworld>bazel build src/main/java/com/google/j2cl/samples/helloworld:helloworld --verbose_failures
WARNING: Running Bazel server needs to be killed, because the startup options are different.
Starting local Bazel server and connecting to it...
INFO: Analyzed target //src/main/java/com/google/j2cl/samples/helloworld:helloworld (107 packages loaded, 1959 targets configured).
INFO: Found 1 target...
ERROR: C:/users/volker.gronau/_bazel_volker.gronau/re5it7lm/external/com_google_j2cl/jre/java/BUILD:45:16: error executing shell command: 'C:/bin/msys64/usr/bin/bash.exe -c set -eu
shopt -s extglob
zip_args="c bazel-out/x64_windows-fastbuild/bin/external/com_google_j2cl/jre/java/jre_java_files.srcjar"
for src in "$@"
do
relative_nam...' failed (Exit 126): bash.exe failed: error executing command
cd C:/users/volker.gronau/_bazel_volker.gronau/re5it7lm/execroot/com_google_j2cl_samples_helloworld
C:/bin/msys64/usr/bin/bash.exe -c set -eu
shopt -s extglob
zip_args="c bazel-out/x64_windows-fastbuild/bin/external/com_google_j2cl/jre/java/jre_java_files.srcjar"
for src in "$@"
do
relative_name=${src#/emul/}
relative_name=${relative_name#?(
/)jre/java/}
relative_name=${relative_name#javasynth/}
zip_args+=" ${relative_name}=${src}"
done
"external/bazel_tools/tools/zip/zipper/zipper.exe" $zip_args external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/beans/Beans.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/BufferedWriter.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/ByteArrayInputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/ByteArrayOutputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Closeable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Externalizable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/FilterInputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/FilterOutputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Flushable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/HasSerializableTypeMarker.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/IOException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/IOUtils.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/InputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/OutputStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/OutputStreamWriter.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/PrintStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Reader.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Serializable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/StringReader.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/UncheckedIOException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/UnsupportedEncodingException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/io/Writer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/AbstractStringBuilder.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Appendable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ArithmeticException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ArrayIndexOutOfBoundsException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ArrayStoreException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/AssertionError.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/AutoCloseable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Boolean.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Byte.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/CharSequence.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Character.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ClassCastException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/CloneNotSupportedException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Cloneable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Comparable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Deprecated.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Double.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Error.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Exception.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Float.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/FunctionalInterface.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/HasCharSequenceTypeMarker.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/HasCloneableTypeMarker.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/HasComparableTypeMarker.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/IllegalArgumentException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/IllegalStateException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/IndexOutOfBoundsException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Integer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/InterruptedException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Iterable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/JsException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Long.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Math.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/NegativeArraySizeException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/NullPointerException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Number.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/NumberFormatException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Override.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Runnable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/RuntimeException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/SafeVarargs.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/SecurityException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Short.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StackTraceElement.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StrictMath.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/String.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StringBuffer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StringBuilder.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/StringIndexOutOfBoundsException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/SuppressWarnings.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/System.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/ThreadLocal.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/UnsupportedOperationException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/Void.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Annotation.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/AnnotationFormatError.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/AnnotationTypeMismatchException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Documented.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/ElementType.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/IncompleteAnnotationException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Inherited.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Native.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Repeatable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Retention.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/RetentionPolicy.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/annotation/Target.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/reflect/Array.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/lang/reflect/Type.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/BigDecimal.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/BigInteger.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/BitLevel.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Conversion.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Division.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Elementary.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Logical.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/MathContext.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Multiplication.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/Primality.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/math/RoundingMode.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/nio/charset/Charset.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/nio/charset/IllegalCharsetNameException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/nio/charset/StandardCharsets.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/nio/charset/UnsupportedCharsetException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/DigestException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/GeneralSecurityException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/MessageDigest.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/MessageDigestSpi.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/NoSuchAlgorithmException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/security/SHA256Digest.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/sql/Date.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/sql/Time.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/sql/Timestamp.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/text/ParseException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractCollection.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractHashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractList.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractMapEntry.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractNavigableMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractQueue.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractSequentialList.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/AbstractSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ArrayDeque.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ArrayList.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Arrays.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/BitSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Collection.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Collections.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Comparator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Comparators.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ConcurrentModificationDetector.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ConcurrentModificationException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Date.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Deque.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/EmptyStackException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/EnumMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Enumeration.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/EventListener.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/EventObject.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/HashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/HashSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/IdentityHashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/IntSummaryStatistics.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/InternalHashCodeMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/InternalJsMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/InternalStringMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Iterator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/LinkedHashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/LinkedHashSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/LinkedList.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/List.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/ListIterator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Locale.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/LongSummaryStatistics.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Map.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/MissingResourceException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/NavigableMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/NavigableSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/NoSuchElementException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Objects.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Optional.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/OptionalDouble.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/OptionalInt.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/OptionalLong.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/PrimitiveIterator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/PriorityQueue.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Queue.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Random.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/RandomAccess.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Set.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/SortedMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/SortedSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Spliterator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Spliterators.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Stack.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/StringJoiner.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/TooManyListenersException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/TreeMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/TreeSet.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/Vector.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Callable.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/CancellationException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ConcurrentHashMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ConcurrentMap.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Delayed.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ExecutionException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Executor.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ExecutorService.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Executors.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Flow.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/Future.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/RejectedExecutionException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/RunnableFuture.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ScheduledExecutorService.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/ScheduledFuture.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/TimeUnit.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/TimeoutException.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicBoolean.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicInteger.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicLong.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicReference.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/concurrent/atomic/AtomicReferenceArray.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BiConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BiFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BiPredicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BinaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/BooleanSupplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/Consumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleBinaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoublePredicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleSupplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleToIntFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleToLongFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/DoubleUnaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/Function.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntBinaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntPredicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntSupplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntToDoubleFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntToLongFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/IntUnaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongBinaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongPredicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongSupplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongToDoubleFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongToIntFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/LongUnaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ObjDoubleConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ObjIntConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ObjLongConsumer.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/Predicate.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/Supplier.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToDoubleBiFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToDoubleFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToIntBiFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToIntFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToLongBiFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/ToLongFunction.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/function/UnaryOperator.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/Formatter.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/Handler.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/Level.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/LogManager.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/LogRecord.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/Logger.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/logging/SimpleConsoleLogHandler.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/BaseStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/Collector.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/CollectorImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/Collectors.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/DoubleStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/DoubleStreamImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/IntStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/IntStreamImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/LongStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/LongStreamImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/Stream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/StreamImpl.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/StreamSupport.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/java/util/stream/TerminatableStream.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javax/annotation/Generated.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javax/annotation/processing/Generated.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/ArrayHelper.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/ConsoleLogger.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/EmulatedCharset.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/HashCodes.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/InternalPreconditions.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/JsUtils.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/NativeArray.java external/org_gwtproject_gwt/user/super/com/google/gwt/emul/javaemul/internal/NativeRegExp.java external/com_google_j2cl/jre/java/java/lang/Class.java external/com_google_j2cl/jre/java/java/lang/Enum.java external/com_google_j2cl/jre/java/java/lang/Object.java external/com_google_j2cl/jre/java/java/lang/Throwable.java external/com_google_j2cl/jre/java/java/util/EnumSet.java external/com_google_j2cl/jre/java/java/util/InternalJsMapFactory.java external/com_google_j2cl/jre/java/javaemul/internal/ArrayStamper.java external/com_google_j2cl/jre/java/javaemul/internal/Asserts.java external/com_google_j2cl/jre/java/javaemul/internal/Casts.java external/com_google_j2cl/jre/java/javaemul/internal/Coercions.java external/com_google_j2cl/jre/java/javaemul/internal/Constructor.java external/com_google_j2cl/jre/java/javaemul/internal/Enums.java external/com_google_j2cl/jre/java/javaemul/internal/Exceptions.java external/com_google_j2cl/jre/java/javaemul/internal/LongUtils.java external/com_google_j2cl/jre/java/javaemul/internal/ObjectHashing.java external/com_google_j2cl/jre/java/javaemul/internal/Primitives.java external/com_google_j2cl/jre/java/javaemul/internal/ValueType.java external/com_google_j2cl/jre/java/javasynth/java/lang/NoSuchFieldError.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/LambdaMetafactory.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/MethodHandle.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/MethodHandles.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/MethodType.java external/com_google_j2cl/jre/java/javasynth/java/lang/invoke/SerializedLambda.java
Execution platform: @local_config_platform//:host
: line 11: external/bazel_tools/tools/zip/zipper/zipper.exe: Argument list too long
Target //src/main/java/com/google/j2cl/samples/helloworld:helloworld failed to build
INFO: Elapsed time: 58.968s, Critical Path: 28.68s
INFO: 22 processes: 5 internal, 11 local, 6 worker.
FAILED: Build did NOT complete successfully

My suspicion is that in both cases you are trying to put lots of stuff on a command line and that on Windows the maximum is less than under Linux or macOS. As Windows is probably pretty rare, I hit this bug. Sooner or later it may hit anyone. Putting long list of files on a command line is not very reliable.

Regards

@tbroyer
Copy link
Contributor

tbroyer commented Jan 11, 2021

See #9

@rluble
Copy link
Collaborator

rluble commented Jan 11, 2021

We welcome patches, especially for Windows since none the current contributors (myself including) develop on Windows. For this case where the command line to zip is to long it could be changed to use -@ and pass the arguments on stdin.

@gkdn
Copy link
Member

gkdn commented Jan 11, 2021

The relevant code is here:

"set -eu",
"shopt -s extglob",
# Process all source into a zip, paying attention to directory structure
# This also generates a module-info for all sources.
'zip_args="c %s"' % src_jar.path,
'for src in "$@"',
"do",
# Extract source path relative to 'root'.
# We will check all the potenital roots here...
" relative_name=${src#*/emul/}",
" relative_name=${relative_name#?(*/)jre/java/}",
" relative_name=${relative_name#javasynth/}",
' zip_args+=" ${relative_name}=${src}"',
"done",
# Zip all copied sources including the generated module-info
'"%s" $zip_args' % zip_tool.path,

The arguments could be converted to a file arg instead as well.
However when you pass this you may just hit another problem.

@AugustNagro
Copy link

The community developed maven plugin works on Windows (without WSL), and also has features the bazel plugin does not, such as testing and iterative-development source maps.

I've also submitted a PR for a live-reloading dev server. So soon it will get even better!

I must say that while I'm a big fan of J2CL, I absolutely and passionately hate bazel. But that is a bikeshed not productive to discuss.

@vjay82
Copy link
Author

vjay82 commented Jan 12, 2021

Off topic:
@AugustNagro Thank you very much. Had to remove 3 test-subprojects from the plugin to have it building successfully but it did after that, even your "mvn j2cl:watch" works perfectly. Had to implement this feature myself back when using the GWT transpiler. You absolutely made my day sir. First you solved my build issue and second my headache, which I got by thinking about on how to explain all those nasty new dependencies to my colleagues. Maven->Plugin->there you go. Platform independent, lean and clean. Thank you, big thumbs up!

@ashutosh887
Copy link

@tbroyer I want to start contributing to this project.
Can you please guide me a bit.
Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants