Skip to content

Commit b131270

Browse files
committed
Wrap archetype generation in xvfb
1 parent a32b4cb commit b131270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-android-app.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ log "Using local Maven repository at $LOCAL_MAVEN_REPO"
8282
MAVEN_CMD=("$MAVEN_HOME/bin/mvn" -Dmaven.repo.local="$LOCAL_MAVEN_REPO")
8383

8484
log "Generating Codename One application skeleton"
85-
"${MAVEN_CMD[@]}" -q --offline archetype:generate \
85+
xvfb-run -a "${MAVEN_CMD[@]}" -q --offline archetype:generate \
8686
-DarchetypeArtifactId=cn1app-archetype \
8787
-DarchetypeGroupId=com.codenameone \
8888
-DarchetypeVersion="$CN1_VERSION" \

0 commit comments

Comments
 (0)