blob: d219bed656468e895c635152b8ba12a50cd884b5 [file] [log] [blame]
gwt.mirrorbot@gmail.comd54a4bd2010-06-07 19:20:31 +00001#!/bin/bash
2#
3# Copyright 2010 Google Inc.
4#
5# Licensed under the Apache License, Version 2.0 (the "License"); you may not
6# use this file except in compliance with the License. You may obtain a copy of
7# the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14# License for the specific language governing permissions and limitations under
15# the License.
16
17
18# This script should be run from the trunk dir.
amitmanjhi@google.com98b52972010-06-25 15:42:47 +000019ant clean dist-dev
gwt.mirrorbot@gmail.comd54a4bd2010-06-07 19:20:31 +000020
21MAVEN_REPO=~/.m2/repository
22
amitmanjhi@google.coma2d73122010-06-24 21:48:00 +000023for i in dev user servlet
gwt.mirrorbot@gmail.comd54a4bd2010-06-07 19:20:31 +000024do
rjrjr@google.com4e8d28a2010-08-20 15:38:56 +000025 mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-${i} -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=build/lib/gwt-${i}.jar -DgeneratePom=true
gwt.mirrorbot@gmail.comd54a4bd2010-06-07 19:20:31 +000026done
27touch /tmp/empty-fake-soyc-vis.jar
rjrjr@google.com4e8d28a2010-08-20 15:38:56 +000028mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-soyc-vis -Dversion=2.1-SNAPSHOT -Dpackaging=jar -DgeneratePom=true -Dfile=/tmp/empty-fake-soyc-vis.jar
gwt.mirrorbot@gmail.comd54a4bd2010-06-07 19:20:31 +000029echo "installed the gwt libs in the maven repo"