Skip to content

Commit e48dec7

Browse files
committed
Fixed the way binaries are fetched
1 parent 0933a0c commit e48dec7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/setup-workspace.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,8 @@ log "Maven version:"; "$MAVEN_HOME/bin/mvn" -version
150150

151151
PATH="$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH"
152152

153-
log "Downloading cn1-binaries"
154-
"$MAVEN_HOME/bin/mvn" -f maven/pom.xml -DskipTests -Djava.awt.headless=true download-cn1-binaries
155-
156153
log "Building Codename One core modules"
157-
"$MAVEN_HOME/bin/mvn" -f maven/pom.xml -DskipTests -Djava.awt.headless=true install "$@"
154+
"$MAVEN_HOME/bin/mvn" -f maven/pom.xml -Pdownload-cn1-binaries -DskipTests -Djava.awt.headless=true install "$@"
158155

159156
BUILD_CLIENT="$HOME/.codenameone/CodeNameOneBuildClient.jar"
160157
log "Ensuring CodeNameOneBuildClient.jar is installed"

0 commit comments

Comments
 (0)