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:15:53 +08:00
parent 9574a82506
commit 831d0a83f5
3 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="build"/>
</classpath>

View File

@ -6,7 +6,7 @@ Bundle-Version: 0.0.0.1
Require-Bundle: org.eclipse.osgi.services;bundle-version="3.1.100",
org.eclipse.core.runtime;bundle-version="3.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.base;bundle-version="0.0.0",
org.adempiere.tools;bundle-version="0.0.0",

View File

@ -4,7 +4,7 @@
<!-- ======================================================== -->
<!-- $Header: /cvs/adempiere/webStore/build.xml,v 1.2 2006/06/10 21:59:22 jjanke Exp $-->
<project name="adempiereWebStore" default="plugin-dist" basedir=".">
<project name="adempiereWebStore" default="plugin" basedir=".">
<!--<property environment="env"/>-->
<import file="../utils_dev/properties.xml"/>
@ -16,11 +16,11 @@
<!-- =================================================================== -->
<!-- Creates the plugin -->
<!-- =================================================================== -->
<target name="plugin-dist">
<buildPlugin workspaceDirectory=".."
projectName="wstore"
<target name="plugin">
<buildPlugin workspaceDirectory="${workspace}"
projectName="webStore"
targetPlatformId="target.platform"
destination="${env.ADEMPIERE_ROOT}/Adempiere/osgi"
destination="../lib"
buildSourceJar="false"
clean="no"/>
</target>
@ -30,7 +30,9 @@
<!-- =================================================================== -->
<target name="clean">
<delete>
<fileset includes="${env.ADEMPIERE_ROOT}/Adempiere/osgi/*wstore*.jar"></fileset>
<fileset dir="../lib/plugins">
<include name="org.adempiere.wstore*.jar"/>
</fileset>
</delete>
</target>