Fixed classpath to depends only on plugin dependency. Modify build file for osgi deployment

This commit is contained in:
Heng Sin Low 2010-07-13 16:18:12 +08:00
parent 9b92369053
commit 1ea701cb54
3 changed files with 8 additions and 25 deletions

View File

@ -2,7 +2,6 @@
<classpath> <classpath>
<classpathentry kind="src" path="WEB-INF/src"/> <classpathentry kind="src" path="WEB-INF/src"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/classes/"/> <classpathentry exported="true" kind="lib" path="WEB-INF/classes/"/>
<classpathentry kind="src" path="/base"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/asm.jar"/> <classpathentry exported="true" kind="lib" path="WEB-INF/lib/asm.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/bsh.jar"/> <classpathentry exported="true" kind="lib" path="WEB-INF/lib/bsh.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/commons-el.jar"/> <classpathentry exported="true" kind="lib" path="WEB-INF/lib/commons-el.jar"/>
@ -27,17 +26,12 @@
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zul.jar" sourcepath="WEB-INF/lib/zul-sources.jar"/> <classpathentry exported="true" kind="lib" path="WEB-INF/lib/zul.jar" sourcepath="WEB-INF/lib/zul-sources.jar"/>
<classpathentry kind="lib" path="WEB-INF/lib/junit.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/junit.jar"/>
<classpathentry kind="lib" path="WEB-INF/lib/keylistener.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/keylistener.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/tools"/>
<classpathentry kind="src" path="/client"/>
<classpathentry kind="src" path="/JasperReports"/>
<classpathentry kind="src" path="/JasperReportsTools"/>
<classpathentry kind="lib" path="WEB-INF/lib/zkmax.jar" sourcepath="WEB-INF/lib/zkmax-sources.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/zkmax.jar" sourcepath="WEB-INF/lib/zkmax-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zkex.jar" sourcepath="WEB-INF/lib/zkex-sources.jar"/> <classpathentry exported="true" kind="lib" path="WEB-INF/lib/zkex.jar" sourcepath="WEB-INF/lib/zkex-sources.jar"/>
<classpathentry kind="lib" path="WEB-INF/lib/zkplus.jar" sourcepath="WEB-INF/lib/zkplus-sources.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/zkplus.jar" sourcepath="WEB-INF/lib/zkplus-sources.jar"/>
<classpathentry kind="lib" path="WEB-INF/lib/zhtml.jar" sourcepath="WEB-INF/lib/zhtml-sources.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/zhtml.jar" sourcepath="WEB-INF/lib/zhtml-sources.jar"/>
<classpathentry kind="lib" path="WEB-INF/lib/timelinez.jar" sourcepath="WEB-INF/lib/timelinez-sources.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/timelinez.jar" sourcepath="WEB-INF/lib/timelinez-sources.jar"/>
<classpathentry kind="lib" path="WEB-INF/lib/zweb.jar" sourcepath="WEB-INF/lib/zweb-sources.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/zweb.jar" sourcepath="WEB-INF/lib/zweb-sources.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/extend"/>
<classpathentry kind="lib" path="WEB-INF/lib/cglib.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/cglib.jar"/>
<classpathentry kind="lib" path="WEB-INF/lib/fckez.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/fckez.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>

View File

@ -370,9 +370,10 @@ Require-Bundle: org.eclipse.osgi.services;bundle-version="3.1.100",
org.apache.xerces;bundle-version="2.9.0", org.apache.xerces;bundle-version="2.9.0",
org.apache.xml.serializer;bundle-version="2.7.1", org.apache.xml.serializer;bundle-version="2.7.1",
com.springsource.javax.servlet;bundle-version="2.5.0", com.springsource.javax.servlet;bundle-version="2.5.0",
JasperReports;bundle-version="1.0.0", org.adempiere.JasperReports;bundle-version="1.0.0",
org.adempiere.client;bundle-version="0.0.0", org.adempiere.client;bundle-version="0.0.0",
org.adempiere.base;bundle-version="0.0.0", org.adempiere.base;bundle-version="0.0.0",
org.adempiere.tools;bundle-version="0.0.0", org.adempiere.tools;bundle-version="0.0.0",
org.adempiere.JasperReportsTools;bundle-version="1.0.0" org.adempiere.JasperReportsTools;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Eclipse-ExtensibleAPI: true

View File

@ -3,39 +3,27 @@
<!-- Zk Ajax UI (Web UI) --> <!-- Zk Ajax UI (Web UI) -->
<!-- ======================================================== --> <!-- ======================================================== -->
<project name="ZkWebUI" default="plugin-dist" basedir="."> <project name="ZkWebUI" default="plugin" basedir=".">
<description> <description>
This buildfile is used to build the Zk WebUI client. This buildfile is used to build the Zk WebUI client.
</description> </description>
<import file="../utils_dev/properties.xml"/>
<target name="clean" description="delete class directory"> <target name="clean" description="delete class directory">
<delete> <delete>
<fileset dir="../lib"> <fileset dir="../lib/plugins">
<include name="*webui*.jar"/>
</fileset>
</delete>
<delete>
<fileset dir="${env.ADEMPIERE_ROOT}/Adempiere/osgi">
<include name="*webui*.jar"/> <include name="*webui*.jar"/>
</fileset> </fileset>
</delete> </delete>
</target> </target>
<target name="plugin"> <target name="plugin">
<buildPlugin workspaceDirectory=".." <buildPlugin workspaceDirectory="${workspace}"
projectName="webui" projectName="zkwebui"
targetPlatformId="target.platform" targetPlatformId="target.platform"
destination="../lib" destination="../lib"
buildSourceJar="false" buildSourceJar="false"
clean="no"/> clean="no"/>
</target> </target>
<target name="plugin-dist">
<buildPlugin workspaceDirectory=".."
projectName="webui"
targetPlatformId="target.platform"
destination="${env.ADEMPIERE_ROOT}/Adempiere/osgi"
buildSourceJar="false"
clean="no"/>
</target>
</project> </project>