<?xml version="1.0" standalone="yes"?>
<project name="mobile-plugin" basedir="." default="make-jar">
- <property name="plugin.file" value="mobile-plugin.jar" />
+ <property name="plugin.file" value="mobile-3.0-plugin.jar" />
<property name="swt.file" value="swt.jar" />
- <property name="platform.version" value="default" />
+ <property name="platform.version" value="3.0" />
<property name="platform.profile" value="mobile"/>
<property name="item.factory" value="org.tizen.emulator.manager.mobile.ui.detail.ItemListFactory" />
<property name="launcher" value="org.tizen.emulator.manager.mobile.launcher.Launcher" />
</copy>
<jar jarfile="${plugin.file}" basedir="build" duplicate="add">
<manifest>
- <attribute name="Platform-Version" value="${platform.version}"/>
+ <attribute name="Platform-Version" value="${platform.version}"/>
<attribute name="Platform-Profile" value="${platform.profile}"/>
<attribute name="Item-Factory" value="${item.factory}"/>
<attribute name="VM-Launcher" value="${launcher}" />
</manifest>
</jar>
<delete dir="build" />
+ <!--
<move todir="${em.dir}/em-plugins">
<fileset file="${plugin.file}" />
</move>
+ -->
</target>
<target name="make-jar" depends="compile, create-jar" />
</javac>
</target>
- <target name="make-jar-dibs" depends="compile-dibs, create-jar" />
+ <target name="create-jar-dibs">
+ <echo message="creating jar..." />
+ <mkdir dir="build/res" />
+ <copy todir="build/res">
+ <fileset dir="res" />
+ </copy>
+ <jar jarfile="${plugin.file}" basedir="build" duplicate="add">
+ <manifest>
+ <attribute name="Platform-Version" value="${platform.version}"/>
+ <attribute name="Platform-Profile" value="${platform.profile}"/>
+ <attribute name="Item-Factory" value="${item.factory}"/>
+ <attribute name="VM-Launcher" value="${launcher}" />
+ <attribute name="VMButton-Painter" value="${vmbutton.painter}" />
+ </manifest>
+ </jar>
+ <delete dir="build" />
+
+ <move todir="${em.dir}/em-plugins">
+ <fileset file="${plugin.file}" />
+ </move>
+
+ </target>
+
+ <target name="make-jar-dibs" depends="compile-dibs, create-jar-dibs" />
</project>