From: jihye kim Date: Mon, 26 Nov 2012 05:18:07 +0000 (+0900) Subject: [Title] emulator-manager : build.xml is separated (mac vs win, ubuntu) X-Git-Tag: 2.2.1_release^2~75^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b73460db4e821ea803b1333b478240a34dcf26c;p=sdk%2Femulator%2Femulator-manager.git [Title] emulator-manager : build.xml is separated (mac vs win, ubuntu) [Desc.] build.xml is separated (mac vs win, ubuntu) because of jar bundler [Issue] N/A --- diff --git a/build.xml b/build-mac.xml similarity index 100% rename from build.xml rename to build-mac.xml diff --git a/build-other.xml b/build-other.xml new file mode 100644 index 0000000..64f61ec --- /dev/null +++ b/build-other.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/package/build.linux b/package/build.linux index 28fd4d8..35cf37f 100755 --- a/package/build.linux +++ b/package/build.linux @@ -12,7 +12,9 @@ clean() build() { cd $SRCDIR + cp build-other.xml build.xml ant -buildfile build.xml -Dclasspath.dibs=${ROOTDIR}/tools/emulator/bin make-jar-dibs + rm build.xml } # install @@ -23,7 +25,7 @@ install() mkdir -p $BIN_DIR/icons mkdir -p $BIN_DIR/templates - cp $SRCDIR/emulator-manager.jar $BIN_DIR/bin + mv $SRCDIR/emulator-manager.jar $BIN_DIR/bin cp $SRCDIR/supplement/emulator-manager.sh $BIN_DIR/bin/emulator-manager cp $SRCDIR/resource/res/em.ico $BIN_DIR/icons cp $SRCDIR/standard.xml $BIN_DIR/templates diff --git a/package/build.macos-64 b/package/build.macos-64 index 9d2a95a..fc76673 100644 --- a/package/build.macos-64 +++ b/package/build.macos-64 @@ -12,7 +12,9 @@ clean() build() { cd $SRCDIR + cp build-mac.xml build.xml ant -buildfile build.xml -Dclasspath.dibs=${ROOTDIR}/tools/emulator/bin make-jar-mac + rm build.xml # for emulator-manager.app cp ${ROOTDIR}/tools/emulator/bin/swt.jar ./ diff --git a/package/build.windows b/package/build.windows index d529aa0..021d976 100755 --- a/package/build.windows +++ b/package/build.windows @@ -29,7 +29,10 @@ build() prepare cd $SRCDIR + cp build-other.xml build.xml ant -buildfile build.xml -Dclasspath.dibs=${PURIFIED_ROOTDIR}/tools/emulator/bin make-jar-dibs + rm build.xml + gcc $SRCDIR/supplement/emulator-manager.c -o $SRCDIR/emulator-manager.exe -mwindows } @@ -41,7 +44,7 @@ install() mkdir -p $BIN_DIR/icons mkdir -p $BIN_DIR/templates - cp $SRCDIR/emulator-manager.jar $BIN_DIR/bin + mv $SRCDIR/emulator-manager.jar $BIN_DIR/bin cp $SRCDIR/emulator-manager.exe $BIN_DIR/bin cp $SRCDIR/resource/res/em.ico $BIN_DIR/icons cp $SRCDIR/standard.xml $BIN_DIR/templates